mc68hc908rk2 Freescale Semiconductor, Inc, mc68hc908rk2 Datasheet - Page 199

no-image

mc68hc908rk2

Manufacturer Part Number
mc68hc908rk2
Description
Hcmos Microcontroller Unit
Manufacturer
Freescale Semiconductor, Inc
Datasheet
15.5.1 TIM Counter Prescaler
15.5.2 Input Capture
15.5.3 Output Compare
MC68HC908RK2
MOTOROLA
Addr.
$002A
$0029
Timer Channel 1 Register
Timer Channel 1 Register
Register Name
High (TCH1H))
See page 216.
See page 216.
Low (TCH1L))
Rev. 4.0
Figure 15-2. TIM I/O Register Summary (Continued)
The TIM clock source can be one of the seven prescaler outputs or the
TIM clock pin, 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 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 and 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:
Bit 15
Bit 7
Bit 7
Timer Interface Module (TIM)
= Unimplemented
14
6
6
13
5
5
Indeterminate after reset
Indeterminate after reset
12
4
4
11
3
3
Timer Interface Module (TIM)
10
2
2
Functional Description
Advance Information
1
9
1
Bit 0
Bit 8
Bit 0
199

Related parts for mc68hc908rk2