
TMS370Cx9x
8-BIT MICROCONTROLLER
SPNS036B –  JANUARY 1996 – REVISED FEBRUARY 1997
19
POST OFFICE BOX 1443 
 HOUSTON, TEXAS 77251–1443
timer 1 module (continued)
T1IC/CR
Edge
Select
16-Bit
Counter
T1EVT
MUX
MUX
16-Bit
Capt/Comp
Register
T1PWM
PWM
Toggle
16
16-Bit
WatchdogCounter
(Aux. Timer)
Interrupt
Logic
16-Bit
Compare
Register
Interrupt
Logic
8-Bit
Prescaler
Figure 5. Timer 1 Block Diagram
Three T1 I/O pins:
–
T1IC/CR: Timer 1 input capture / counter reset input pin, or general-purpose bidirectional I/O pin
–
T1PWM: Timer 1 pulse-width-modulation (PWM) output pin, or general-purpose bidirectional I/O pin
–
T1EVT: Timer 1 event input pin, or general-purpose  bidirectional  I/O pin
Two operation modes:
–
Dual-compare mode: Provides PWM signal.
–
Capture/compare mode: Provides input capture pin.
One 16-bit general-purpose resettable counter
One 16-bit compare register with associated compare logic
One 16-bit capture/compare register, which, depending on the mode of operation, operates as either
capture or compare registers.
One 16-bit watchdog counter can be used as an event counter, a pulse accumulator, or an interval timer
if watchdog feature is not needed.
Prescaler/clock sources that determines one of eight clock sources for general-purpose timer
Selectable edge-detection circuitry that, depending on the mode of operation, senses active transitions on
the input capture pins (T1IC/CR).