English
Language : 

MC68HC908GR16A Datasheet, PDF (219/270 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Functional Description
Addr.
Register Name
Bit 7
6
5
4
3
2
Timer 2 Counter Read: Bit 15
14
13
12
11
10
$002C Register High (T2CNTH) Write:
See page 226. Reset:
0
0
0
0
0
0
Timer 2 Counter Read: Bit 7
6
5
4
3
2
$002D Register Low (T2CNTL) Write:
See page 226. Reset:
0
0
0
0
0
0
Timer 2 Counter Modulo Read: Bit 15
14
13
12
11
10
$002E Register High (T2MODH) Write:
See page 227. Reset:
1
1
1
1
1
1
Timer 2 Counter Modulo Read: Bit 7
6
5
4
3
2
$002F Register Low (T2MODL) Write:
See page 227. Reset:
1
1
1
1
1
1
Timer 2 Channel 0 Status and Read:
$0030 Control Register (T2SC0) Write:
See page 227. Reset:
CH0F
0
0
CH0IE
0
MS0B
0
MS0A
0
ELS0B
0
ELS0A
0
Timer 2 Channel 0 Read: Bit 15
14
$0031 Register High (T2CH0H) Write:
See page 230. Reset:
13
12
11
10
Indeterminate after reset
Timer 2 Channel 0 Read: Bit 7
6
$0032 Register Low (T2CH0L) Write:
See page 230. Reset:
5
4
3
2
Indeterminate after reset
Timer 2 Channel 1 Status and Read: CH1F
CH1IE
0
MS1A ELS1B ELS1A
$0033 Control Register (T2SC1) Write: 0
See page 227. Reset:
0
0
0
0
0
0
Timer 2 Channel 1 Read: Bit 15
14
$0034 Register High (T2CH1H) Write:
See page 230. Reset:
13
12
11
10
Indeterminate after reset
Timer 2 Channel 1 Read: Bit 7
6
$0035 Register Low (T2CH1L) Write:
See page 230. Reset:
5
4
3
2
Indeterminate after reset
= Unimplemented
Figure 18-3. TIM I/O Register Summary (Sheet 2 of 2)
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
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
MC68HC908GR16A Data Sheet, Rev. 1.0
Freescale Semiconductor
219