English
Language : 

MC908KX2MDWE Datasheet, PDF (168/210 Pages) Freescale Semiconductor, Inc – High-performance M68HC08 architecture, Fully upward-compatible object code with M6805, M146805, and M68HC05 Families
Timer Interface Module (TIM)
OVERFLOW
OVERFLOW
PERIOD
PTAx/TCH
OVERFLOW
OVERFLOW
OVERFLOW
CHxMAX
OUTPUT
COMPARE
OUTPUT
COMPARE
OUTPUT
COMPARE
OUTPUT
COMPARE
Figure 15-9. CHxMAX Latency
15.8.5 TIM Channel Registers
These read/write registers (TCH0H/L and TCH1H/L) contain the captured TIM counter value of the input
capture function or the output compare value of the output compare function. The state of the TIM channel
registers after reset is unknown.
In input capture mode (MSxB:MSxA = 0:0), reading the high byte of the TIM channel x registers (TCHxH)
inhibits input captures until the low byte (TCHxL) is read.
In output compare mode (MSxB:MSxA ≠ 0:0), writing to the high byte of the TIM channel x registers
(TCHxH) inhibits output compares until the low byte (TCHxL) is written.
Register name and address: TCH0H — $0026
Bit 7
6
5
4
3
2
Read:
Bit 15
14
13
12
11
10
Write:
Reset:
Indeterminate after reset
Register name and address: TCH0L — $0027
1
Bit 0
9
Bit 8
Bit 7
6
5
4
3
2
1
Bit 0
Read:
Bit 7
6
5
4
3
2
1
Bit 0
Write:
Reset:
Indeterminate after reset
Register name and address: TCH1H — $0029
Bit 7
6
5
4
3
2
1
Bit 0
Read:
Bit 15
14
Write:
Reset:
13
12
11
10
Indeterminate after reset
9
Bit 8
Register name and address: TCH1L — $002A
Bit 7
6
5
4
3
2
Read:
Bit 7
6
5
4
3
2
Write:
Reset:
Indeterminate after reset
1
Bit 0
1
Bit 0
Figure 15-10. TIM Channel Registers (TCH0H/L and TCH1H/L)
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 Data Sheet, Rev. 2.1
168
Freescale Semiconductor