English
Language : 

MC908JB12DWE Datasheet, PDF (139/332 Pages) Freescale Semiconductor, Inc – MC68HC908JB16 Technical Data
Timer Interface Module (TIM)
10.4 Pin Name Conventions
The text that follows describes both timers, TIM1 and TIM2. The TIM
input/output (I/O) pin names are T[1,2]CH01 (timer channel 01), where
“1” is used to indicate TIM1 and “2” is used to indicate TIM2. The two
TIMs share two I/O pins with two I/O port pins. The full names of the TIM
I/O pins are listed in Table 10-1. The generic pin names appear in the
text that follows.
Table 10-1. Pin Name Conventions
TIM Generic Pin Names:
Full TIM
Pin Names:
TIM1
TIM2
T[1,2]CH01
PTE1/T1CH01
PTE2/T2CH01
TCLK
PTE0/TCLK
NOTE:
References to either timer 1 or timer 2 may be made in the following text
by omitting the timer number. For example, TCH01 may refer generically
to T1CH01 and T2CH01.
10.5 Functional Description
Figure 10-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:TMODL, control the modulo value of
the TIM counter. Software can read the TIM counter value at any time
without affecting the counting sequence.
Channel 0 and channel 1 I/Os are connected together, forming a
common I/O. Although the two TIM channels are programmable
independently as input capture channels, the input capture signal will be
the same for both channels. Output compare functions should only be
enabled for one channel to avoid I/O contention.
MC68HC908JB16 — Rev. 1.1
Freescale Semiconductor
Timer Interface Module (TIM)
Technical Data
139