Timer Interface Module B (TIMB)
Pin Name Conventions
MC68HC908AB32 — Rev. 1.0 Technical Data
MOTOROLA Timer Interface Module B (TIMB) 197
12.4 Pin Name Conventions
The TIMB share five I/O pins with port D and F I/O pins. The full name
of the TIMB I/O pin is listed in Table 12-1. The generic pin name appear
in the text that follows.
12.5 Functional Description
Figure 12-1 shows the structure of the TIMB. The central component of
the TIMB is the 16-bit TIMB counter that can operate as a free-running
counter or a modulo up-counter. The TIMB counter provides the timing
reference for the input capture and output compare functions. The TIMB
counter modulo registers, TBMODH:TBMODL, control the modulo value
of the TIMB counter. Software can read the TIMB counter value at any
time without affecting the counting sequence.
The four TIMB channels are programmable independently as input
capture or output compare channels.
12.5.1 TIMB Counter Prescaler
The TIMB clock source can be one of the seven prescaler outputs or the
TIMB clock pin, PTD4/TBCLK. The prescaler generates seven clock
rates from the internal bus clock. The prescaler select bits, PS[2:0], in
the TIMB status and control register select the TIMB clock source.
Table 12-1. Pin Name Conventions
TIMB Generic Pin Names: Full TIMB Pin Names:
TBCLK PTD4/TBCLK
TBCH0 PTF4/TBCH0
TBCH1 PTF5/TBCH1
TBCH2 PTF2/TBCH2
TBCH3 PTF3/TBCH3