XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 165

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
11.4.1 TIM Counter Prescaler
11.4.2 Input Capture
11.4.3 Output Compare
MC68HC(7)08KH12
MOTOROLA
$001A
$001B
TIM Channel 1
TIM Channel 1
Register High
Register Low
Rev. 1.0
(TCH1H)
(TCH1L)
The TIM clock source can be one of the seven prescaler outputs or the
TIM clock pin, PTE0/TCLK. The prescaler generates seven clock rates
from the internal bus clock. The prescaler select bits, PS[2:0], in the TIM
status and control register (TSC) select the TIM clock source.
With the input capture function, the TIM can capture the time at which an
external event occurs. When an active edge occurs on the pin of an input
capture channel, the TIM latches the contents of the TIM counter into the
TIM channel registers, TCHxH:TCHxL. The polarity of the active edge is
programmable. Input captures can generate TIM CPU interrupt
requests.
With the output compare function, the TIM can generate a periodic pulse
with a programmable polarity, duration, and frequency. When the
counter reaches the value in the registers of an output compare channel,
the TIM can set, clear, or toggle the channel pin. Output compares can
generate TIM CPU interrupt requests.
Reset:
Reset:
Read:
Read:
Write:
Write:
Timer Interface Module (TIM)
Bit15
Bit7
X
X
= Unimplemented
Bit14
Bit6
X
X
Bit13
Bit5
X
X
Bit12
Bit4
X
X
X = Indeterminate
Bit11
Bit3
X
X
Timer Interface Module (TIM)
Bit10
Bit2
X
X
Functional Description
Advance Information
Bit9
Bit1
X
X
Bit8
Bit0
X
X
165

Related parts for XC68HC08KH12