9-14
DSP56309UM/D MOTOROLA
Triple Timer Module
Triple Timer Module Programming Model
9.3.4.7
Direction (DIR) Bit 11
The DIR bit determines the behavior of the TIO signal when it is used as a GPIO signal.
When the DIR bit is set, the TIO signal is an output; when the DIR bit is cleared, the TIO
signal is an input. The TIO signal can be used as a GPIO signal only when all of the
TC[3:0] bits are cleared. If any of the TC[3:0] bits are set, then the GPIO function is
disabled and the DIR bit has no effect.
The DIR bit is cleared by a hardware RESET signal or a software RESET instruction.
9.3.4.8
Data Input (DI) Bit 12
The DI bit reflects the value of the TIO signal. If the INV bit is set, the value of the TIO
signal is inverted before it is written to the DI bit. If the INV bit is cleared, the value of
the TIO signal is written directly to the DI bit.
DI is cleared by a hardware RESET signal or a software RESET instruction.
9.3.4.9
Data Output (DO) Bit 13
The DO bit is the source of the TIO value when it is a data output signal. The TIO signal
is data output when GPIO mode is enabled and DIR is set. A value written to the DO bit
is written to the TIO signal. If the INV bit is set, the value of the DO bit is inverted when
written to the TIO signal. When the INV bit is cleared, the value of the DO bit is written
directly to the TIO signal. When GPIO mode is disabled, writing the DO bit has no effect.
The DO bit is cleared by a hardware RESET signal or a software RESET instruction.
9.3.4.10
Prescaler Clock Enable (PCE) Bit 15
The PCE bit is used to select the prescaler clock as the timer source clock. When the PCE
bit is cleared, the timer uses either an internal (CLK/2) signal or an external (TIO) signal
as its source clock. When the PCE bit is set, the prescaler output is used as the timer
source clock for the counter regardless of the timer operating mode. To insure proper
operation, the PCE bit should be changed only when the timer is disabled (when the TE
bit is cleared). Which source clock is used for the prescaler is determined by the PS[1:0]
bits of the TPLR. A timer can be clocked by a prescaler clock that is derived from the TIO
of another timer.
9.3.4.11
Timer Overflow Flag (TOF) Bit 20
The TOF bit is set to indicate that counter overflow has occurred. This bit is cleared by
writing a 1 to the TOF bit. Writing a 0 to the TOF bit has no effect. The bit is also cleared
when the timer overflow interrupt is serviced.
The TOF bit is cleared by a hardware RESET signal, a software RESET instruction, the
STOP instruction, or by clearing the TE bit to disable the timer.
Содержание 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: ......