English
Language : 

MC68HC08GP32A Datasheet, PDF (207/258 Pages) Freescale Semiconductor, Inc – Microcontrollers
Functional Description
Addr.
Register Name
$002C
Timer 2 Counter Read:
Register High (T2CNTH) Write:
See page 214. Reset:
$002D
Timer 2 Counter Read:
Register Low (T2CNTL) Write:
See page 214. Reset:
$002E
Timer 2 Counter Modulo Read:
Register High (T2MODH) Write:
See page 215. Reset:
$002F
Timer 2 Counter Modulo Read:
Register Low (T2MODL) Write:
See page 215. Reset:
Timer 2 Channel 0 Status and Read:
$0030 Control Register (T2SC0) Write:
See page 215. Reset:
$0031
Timer 2 Channel 0 Read:
Register High (T2CH0H) Write:
See page 218. Reset:
$0032
Timer 2 Channel 0 Read:
Register Low (T2CH0L) Write:
See page 218. Reset:
Timer 2 Channel 1 Status and Read:
$0033 Control Register (T2SC1) Write:
See page 215. Reset:
$0034
Timer 2 Channel 1 Read:
Register High (T2CH1H) Write:
See page 218. Reset:
$0035
Timer 2 Channel 1 Read:
Register Low (T2CH1L) Write:
See page 218. Reset:
Bit 7
Bit 15
0
Bit 7
0
Bit 15
1
Bit 7
1
CH0F
0
0
Bit 15
Bit 7
CH1F
0
0
Bit 15
Bit 7
6
5
14
13
0
0
6
5
0
14
1
6
1
CH0IE
0
14
0
13
1
5
1
MS0B
0
13
6
5
0
CH1IE
0
0
14
13
6
5
= Unimplemented
4
3
2
12
11
10
0
0
0
4
3
2
0
0
0
12
11
10
1
1
1
4
3
2
1
1
1
MS0A ELS0B ELS0A
0
0
0
12
11
10
Indeterminate after reset
4
3
2
Indeterminate after reset
MS1A ELS1B ELS1A
0
0
0
12
11
10
Indeterminate after reset
4
3
2
Indeterminate after reset
1
Bit 0
9
Bit 8
0
0
1
Bit 0
0
9
1
1
1
TOV0
0
9
0
Bit 8
1
Bit 0
1
CH0MAX
0
Bit 8
1
Bit 0
TOV1
0
9
CH1MAX
0
Bit 8
1
Bit 0
Figure 18-3. TIM I/O Register Summary (Sheet 2 of 2)
18.4.1 TIM Counter Prescaler
The TIM clock source can be one of the seven prescaler outputs. 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.
18.4.2 Input Capture
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
MC68HC08GP32A • MC68HC08GP16A Data Sheet, Rev. 1.0
Freescale Semiconductor
207