Motorola DSP56309 User Manual page 15

24-bit digital signal processor
Table of Contents

Advertisement

SECTION
9
9.1
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
9.2
TRIPLE TIMER MODULE ARCHITECTURE . . . . . . . . . . . . 9-3
9.2.1
Triple Timer Module Block Diagram . . . . . . . . . . . . . . . . . 9-3
9.2.2
Timer Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
9.3
TRIPLE TIMER MODULE PROGRAMMING MODEL. . . . . . 9-5
9.3.1
Prescaler Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7
9.3.2
Timer Prescaler Load Register (TPLR). . . . . . . . . . . . . . . 9-7
9.3.2.1
TPLR Prescaler Preload Value (PL[20:0]) Bits 20-0 . . 9-7
9.3.2.2
TPLR Prescaler Source (PS[1:0]) Bits 22-21 . . . . . . . . 9-7
9.3.2.3
TPLR Reserved Bit 23 . . . . . . . . . . . . . . . . . . . . . . . . . 9-8
9.3.3
Timer Prescaler Count Register (TPCR). . . . . . . . . . . . . . 9-8
9.3.3.1
TPCR Prescaler Counter Value (PC[20:0]) Bits 20-0 . . 9-9
9.3.3.2
TPCR Reserved Bits 23-21 . . . . . . . . . . . . . . . . . . . . . 9-9
9.3.4
Timer Control/Status Register (TCSR) . . . . . . . . . . . . . . . 9-9
9.3.4.1
Timer Enable (TE) Bit 0 . . . . . . . . . . . . . . . . . . . . . . . . 9-9
9.3.4.2
Timer Overflow Interrupt Enable (TOIE) Bit 1 . . . . . . . 9-9
9.3.4.3
Timer Compare Interrupt Enable (TCIE) Bit 2 . . . . . . 9-10
9.3.4.4
Timer Control (TC[3:0]) Bits 4-7 . . . . . . . . . . . . . . . . . 9-10
9.3.4.5
Inverter (INV) Bit 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11
9.3.4.6
Timer Reload Mode (TRM) Bit 9 . . . . . . . . . . . . . . . . 9-13
9.3.4.7
Direction (DIR) Bit 11 . . . . . . . . . . . . . . . . . . . . . . . . . 9-14
9.3.4.8
Data Input (DI) Bit 12 . . . . . . . . . . . . . . . . . . . . . . . . . 9-14
9.3.4.9
Data Output (DO) Bit 13 . . . . . . . . . . . . . . . . . . . . . . . 9-14
9.3.4.10
Prescaler Clock Enable (PCE) Bit 15 . . . . . . . . . . . . . 9-14
9.3.4.11
Timer Overflow Flag (TOF) Bit 20 . . . . . . . . . . . . . . . 9-14
9.3.4.12
Timer Compare Flag (TCF) Bit 21 . . . . . . . . . . . . . . . 9-15
9.3.4.13
TCSR Reserved Bits 3, 10, 14, 16-19, 22, 23 . . . . . . 9-15
9.3.5
Timer Load Register (TLR) . . . . . . . . . . . . . . . . . . . . . . . 9-15
9.3.6
Timer Compare Register (TCPR) . . . . . . . . . . . . . . . . . . 9-16
9.3.7
Timer Count Register (TCR) . . . . . . . . . . . . . . . . . . . . . . 9-16
9.4
TIMER OPERATIONAL MODES. . . . . . . . . . . . . . . . . . . . . 9-16
9.4.1
Timing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-17
9.4.1.1
Timer GPIO (Mode 0) . . . . . . . . . . . . . . . . . . . . . . . . . 9-17
9.4.1.2
Timer Pulse (Mode 1) . . . . . . . . . . . . . . . . . . . . . . . . . 9-18
9.4.1.3
Timer Toggle (Mode 2) . . . . . . . . . . . . . . . . . . . . . . . . 9-19
xii
TRIPLE TIMER MODULE . . . . . . . . . . . . . . . . . . . . 9-1
DSP56309UM/D
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents