s908gr32ag3vfa Freescale Semiconductor, Inc, s908gr32ag3vfa Datasheet - Page 228

no-image

s908gr32ag3vfa

Manufacturer Part Number
s908gr32ag3vfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Interface Module (TIM1)
17.3.1 TIM1 Counter Prescaler
The TIM1 clock source is 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 TIM1 status and control register
(T1SC) select the TIM1 clock source.
17.3.2 Input Capture
With the input capture function, the TIM1 can capture the time at which an external event occurs. When
an active edge occurs on the pin of an input capture channel, the TIM1 latches the contents of the TIM1
counter into the TIM1 channel registers, T1CHxH:T1CHxL. The polarity of the active edge is
programmable. Input captures can generate TIM1 central processor unit (CPU) interrupt requests.
228
$0023
$0024
$0025
$0026
$0027
$0028
$0029
$002A
Addr.
TIM1 Counter Modulo Register
TIM1 Counter Modulo Register
TIM1 Channel 0 Register High
TIM1 Channel 1 Register High
TIM1 Channel 0 Register Low
TIM1 Channel 1 Register Low
TIM1 Channel 0 Status and
TIM1 Channel 1 Status and
Control Register (T1SC0)
Control Register (T1SC1)
Register Name
MC68HC908GR60A • MC68HC908GR48A • MC68HC908GR32A Data Sheet, Rev. 5
High (T1MODH)
Low (T1MODL)
See page 236.
See page 236.
See page 237.
See page 240.
See page 240.
See page 237.
See page 240.
See page 240.
(T1CH0H)
(T1CH1H)
(T1CH0L)
(T1CH1L)
Figure 17-3. TIM1 I/O Register Summary (Continued)
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Reset:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Read:
Write:
Bit 15
CH0F
Bit 15
CH1F
Bit 15
Bit 7
Bit 7
Bit 7
Bit 7
1
1
0
0
0
0
= Unimplemented
CH0IE
CH1IE
Bit 14
Bit 14
Bit 14
Bit 6
Bit 6
Bit 6
6
1
1
0
0
MS0B
Bit 13
Bit 13
Bit 13
Bit 5
Bit 5
Bit 5
5
1
1
0
0
0
Indeterminate after reset
Indeterminate after reset
Indeterminate after reset
Indeterminate after reset
MS0A
MS1A
Bit 12
Bit 12
Bit 12
Bit 4
Bit 4
Bit 4
4
1
1
0
0
ELS0B
ELS1B
Bit 11
Bit 11
Bit 11
Bit 3
Bit 3
Bit 3
3
1
1
0
0
ELS0A
ELS1A
Bit 10
Bit 10
Bit 10
Bit 2
Bit 2
Bit 2
2
1
1
0
0
Freescale Semiconductor
TOV0
TOV1
Bit 9
Bit 1
Bit 9
Bit 1
Bit 9
Bit 1
1
1
1
0
0
CH0MAX
CH1MAX
Bit 0
Bit 8
Bit 0
Bit 8
Bit 0
Bit 8
Bit 0
1
1
0
0

Related parts for s908gr32ag3vfa