XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 163

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
11.4 Functional Description
MC68HC(7)08KH12
MOTOROLA
BUS CLOCK
PTE0/TCLK
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
Rev. 1.0
PRESCALER
TCLK
Figure 11-1
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.
The two TIM channels are programmable independently as input
capture or output compare channels.
Figure 11-1. TIM Block Diagram
ELS0B
ELS1B
Timer Interface Module (TIM)
MS0A
MS1A
shows the structure of the TIM. The central component of
PS2
ELS0A
ELS1A
PRESCALER SELECT
PS1
MS0B
CH0F
CH1F
PS0
CH0MAX
CH1MAX
CH0IE
CH1IE
TOV0
TOV1
TOIE
TOF
Timer Interface Module (TIM)
INTERRUPT
INTERRUPT
INTERRUPT
LOGIC
LOGIC
LOGIC
LOGIC
LOGIC
PTE1
PTE2
Functional Description
Advance Information
PTE1/TCH0
PTE2/TCH1
163

Related parts for XC68HC08KH12