mc68hc908gr8b Freescale Semiconductor, Inc, mc68hc908gr8b Datasheet - Page 201

no-image

mc68hc908gr8b

Manufacturer Part Number
mc68hc908gr8b
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
17.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.
17.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
into the TIM channel registers, TCHxH:TCHxL. The polarity of the active edge is programmable. Input
captures can generate TIM CPU interrupt requests.
Freescale Semiconductor
$002C
$002D
$002E
$002F
$0030
$0031
$0032
$0033
$0034
$0035
Addr.
Timer 2 Channel 0 Status and
Control Register (T2SC0)
Register High (T2MODH)
Register High (T2CNTH)
Register High (T2CH0H)
Timer 2 Counter Modulo
Timer 2 Counter Modulo
Register Low (T2MODL)
Register Low (T2CNTL)
Register Low (T2CH0L)
Register Name
Timer 2 Channel 0
Timer 2 Channel 0
Timer 2 Counter
Timer 2 Counter
See page 208.
See page 208.
See page 209.
See page 209.
See page 209.
See page 212.
See page 212.
Reserved
Reserved
Figure 17-3. TIM I/O Register Summary (Sheet 2 of 2)
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Read:
Read:
Read:
Read:
Read:
Read:
Read:
Read:
Read:
Write:
Write:
Write:
Write:
Write:
Write:
Write:
Write:
Write:
Bit 15
Bit 15
CH0F
Bit 15
MC68HC908GR8B Data Sheet, Rev. 3.0
Bit 7
Bit 7
Bit 7
Bit 7
R
R
0
0
1
1
0
0
0
= Unimplemented
CH0IE
14
14
14
R
R
6
0
6
0
1
6
1
0
6
0
MS0B
13
13
13
R
R
5
0
5
0
1
5
1
0
5
0
Indeterminate after reset
Indeterminate after reset
Indeterminate after reset
MS0A
12
12
12
R
R
4
0
4
0
1
4
1
0
4
0
ELS0B
11
11
11
R
R
3
0
3
0
1
3
1
0
3
0
ELS0A
10
10
10
R
R
2
0
2
0
1
2
1
0
2
0
Functional Description
TOV0
R
R
1
9
0
1
0
9
1
1
1
0
9
1
0
CH0MAX
Bit 0
Bit 8
Bit 0
Bit 8
Bit 0
Bit 8
Bit 0
R
R
0
0
1
1
0
0
201

Related parts for mc68hc908gr8b