AN2262 Motorola / Freescale Semiconductor, AN2262 Datasheet - Page 21

no-image

AN2262

Manufacturer Part Number
AN2262
Description
Wireless HC08 Modem
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
16-Bit Timer (TIM)
Operation in
Manchester Mode
MOTOROLA
BUS CLOCK
INTERNAL
TSTOP
TRST
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT COMPARATOR
16-BIT COUNTER
TMODH:TMODL
TCH0H:TCH0L
TCH1H:TCH1L
16-BIT LATCH
16-BIT LATCH
CHANNEL 0
CHANNEL 1
PRESCALER
The timer interface module (TIM) is the peripheral found in almost all members
of Motorola M68HC08 Family. TIM can operate in several modes.
Figure 12
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 two TIM channels are independently programmable as input
capture or output compare channels.
Figure 12. TIM Block Diagram
shows the structure of the TIM. The central component of each TIM
ELS0B
ELS1B
MS0A
MS1A
Wireless HC08 Modem
PS2
ELS0A
ELS1A
PRESCALER SELECT
PS1
MS0B
CH0F
CH1F
PS0
CH0MAX
CH1MAX
CH0IE
CH1IE
TOV0
TOV1
TOIE
TOF
INTER-
INTER-
INTER-
LOGIC
LOGIC
LOGIC
LOGIC
LOGIC
RUPT
PORT
RUPT
PORT
RUPT
PTA2/KBD2/TCH0
PTA3/KBD3/TCH1
AN2262/D
Software
21

Related parts for AN2262