English
Language : 

MC68HC908RF2 Datasheet, PDF (199/254 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Timer Interface Module (TIM)
Pin Name Conventions
15.4 Pin Name Conventions
The TIM module shares pins with two port B input/output (I/O) port pins.
The full names of the TIM I/O pins and generic pin names are listed in
Table 15-1.
Table 15-1. Pin Name Conventions
TIM Generic
Pin Names
Full TIM
Pin Names
TCH0
TCLK
PTB2/TCH0 PTB3/TCLK
15.5 Functional Description
Figure 15-1 shows the structure of the TIM. The central component of
the TIM is the 16-bit TIM counter that can operate as a free-running
counter or a modulo up-counter. The TIM counter provides the timing
reference for the input capture and output compare functions. The TIM
counter modulo registers, TMODH and TMODL, control the modulo
value of the TIM counter. Software can read the TIM counter value at any
time without affecting the counting sequence.
The TIM channel 0 is programmable independently as input capture or
output compare.
The TIM channel 1 is programmable only as output compare. The output
compare is detected only through an interrupt.
WARNING:
TIM channel 1 should not be configured as an input capture
because this would result in a floating input that would cause a
higher IDD.
Refer to Figure 15-2 for a summary of the TIM I/O registers.
MC68HC908RF2 — Rev. 1
MOTOROLA
Timer Interface Module (TIM)
Advance Information
199