D-34
DSP56309UM/D MOTOROLA
Programming Reference
Figure D-20
Timer Control/Status Register (TCSR)
Application:
Date:
Programmer:
Sheet 2 of 3
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
TC3
TC1
TC0
TCIE TQIE
TE
19 18 17 16
23 22 21 20
TCF
TC2
PCE
DO
DI
DIR
TOF
TRM
INV
Timers
*
0
*
0
*
0
*
0
*
0
*
0
*
0
*
0
*
0
Timer Enable Bit 0
0 = Timer Disabled
1 = Timer Enabled
Timer Overflow Interrupt Enable Bit 1
0 = Overflow Interrupts Disabled
1 = Overflow Interrupts Enabled
Inverter Bit 8
0 = 0- to-1 transitions on TIO input increment the counter,
or high pulse width measured, or high pulse output on TIO
1 = 1-to-0 transitions on TIO input increment the counter,
or low pulse width measured, or low pulse output on TIO
Timer Compare Interrupt Enable Bit 2
0 = Compare Interrupts Disabled
1 = Compare Interrupts Enabled
Timer Control/Status Register
TCSR0:$FFFF8F Read/Write
TCSR1:$FFFF8B Read/Write
TCSR2:$FFFF87 Read/Write
Reset = $000000
*
= Reserved, Program as 0
Timer Control Bits 4 Ð 7 (TC0 Ð TC3)
TC (3:0)
TIO
Clock
Mode
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
GPIO
Output
Output
Input
Input
Input
Input
Output
Ð
Output
Output
Ð
Ð
Ð
Ð
Ð
Internal
Internal
Internal
External
Internal
Internal
Internal
Internal
Ð
Internal
Internal
Ð
Ð
Ð
Ð
Ð
Timer
Timer Pulse
Timer Toggle
Event Counter
Input Width
Input Period
Capture
Pulse Width Modulation
Reserved
Watchdog Pulse
Watchdog Toggle
Reserved
Reserved
Reserved
Reserved
Reserved
Timer Reload Mode Bit 9
1 = Timer is reloaded when
selected condition occurs
0 = Timer operates as a free
running counter
Timer Overflow Flag Bit 20
0 = Ò1Ó has been written to TCSR(TOF),
or timer Overflow interrupt serviced
1 = Counter wraparound has occurred
Direction Bit 11
0 = TIO pin is input
1 = TIO pin is output
Data Output Bit 13
0 = Zero written to TIO pin
1 = One written to TIO pin
Data Input Bit 12
0 = Zero read on TIO pin
1 = One read on TIO pin
Timer Compare Flag Bit 21
0 = Ò1Ó has been written to TCSR(TCF),
or timer compare interrupt serviced
1 = Timer Compare has occurred
Prescaled Clock Enable Bit 15
0 = Clock source is CLK/2 or TIO
1 = Clock source is prescaler output
Содержание DSP56309
Страница 25: ...xxii DSP56309UM D MOTOROLA Figure D 25 Port E Registers PCRE PRRE PDRE D 39 ...
Страница 30: ...MOTOROLA DSP56309UM D 1 1 SECTION 1 DSP56309 OVERVIEW ...
Страница 47: ...1 18 DSP56309UM D MOTOROLA DSP56309 Overview DSP56309 Architecture Overview ...
Страница 48: ...MOTOROLA DSP56309UM D 2 1 SECTION 2 SIGNAL CONNECTION DESCRIPTIONS ...
Страница 85: ...2 38 DSP56309UM D MOTOROLA Signal Connection Descriptions OnCE JTAG Interface ...
Страница 86: ...MOTOROLA DSP56309UM D 3 1 SECTION 3 MEMORY CONFIGURATION ...
Страница 104: ...MOTOROLA DSP56309UM D 4 1 SECTION 4 CORE CONFIGURATION ...
Страница 124: ...MOTOROLA DSP56309UM D 5 1 SECTION 5 GENERAL PURPOSE I O ...
Страница 125: ...5 2 DSP56309UM D MOTOROLA General Purpose I O 5 1 INTRODUCTION 5 3 5 2 PROGRAMMING MODEL 5 3 ...
Страница 128: ...MOTOROLA DSP56309UM D 6 1 SECTION 6 HOST INTERFACE HI08 ...
Страница 166: ...MOTOROLA DSP56309UM D 7 1 SECTION 7 ENHANCED SYNCHRONOUS SERIAL INTERFACE ESSI ...
Страница 212: ...MOTOROLA DSP56309UM D 8 1 SECTION 8 SERIAL COMMUNICATION INTERFACE SCI ...
Страница 241: ...8 30 DSP56309UM D MOTOROLA Serial Communication Interface SCI GPIO Signals and Registers ...
Страница 242: ...MOTOROLA DSP56309UM D 9 1 SECTION 9 TRIPLE TIMER MODULE ...
Страница 269: ...9 28 DSP56309UM D MOTOROLA Triple Timer Module Timer Operational Modes ...
Страница 270: ...MOTOROLA DSP56309UM D 10 1 SECTION 10 ON CHIP EMULATION MODULE ...
Страница 302: ...MOTOROLA DSP56309UM D 11 1 SECTION 11 JTAG PORT ...
Страница 369: ...C 22 DSP56309UM D MOTOROLA DSP56309 BSDL Listing ...
Страница 370: ...MOTOROLA DSP56309UM D D 1 APPENDIX D PROGRAMMING REFERENCE ...
Страница 405: ......
Страница 409: ......