English
Language : 

MC68HC08GZ32 Datasheet, PDF (244/320 Pages) Freescale Semiconductor, Inc – Microcontrollers
Timer Interface Module (TIM1)
Addr.
$0024
$0025
$0026
$0027
$0028
$0029
$002A
Register Name
TIM1 Counter Modulo Register
Low (T1MODL)
See page 251.
Read:
Write:
Reset:
TIM1 Channel 0 Status and
Control Register (T1SC0)
See page 252.
Read:
Write:
Reset:
TIM1 Channel 0 Register High
(T1CH0H)
See page 255.
Read:
Write:
Reset:
TIM1 Channel 0 Register Low
(T1CH0L)
See page 255.
Read:
Write:
Reset:
TIM1 Channel 1 Status and
Control Register (T1SC1)
See page 252.
Read:
Write:
Reset:
TIM1 Channel 1 Register High
(T1CH1H)
See page 255.
Read:
Write:
Reset:
TIM1 Channel 1 Register Low
(T1CH1L)
See page 255.
Read:
Write:
Reset:
Bit 7
Bit 7
1
CH0F
0
0
Bit 15
Bit 7
CH1F
0
0
Bit 15
Bit 7
6
5
4
3
2
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
1
1
1
1
1
CH0IE MS0B MS0A ELS0B ELS0A
0
0
0
0
0
Bit 14 Bit 13 Bit 12 Bit 11 Bit 10
Indeterminate after reset
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
CH1IE
Indeterminate after reset
0
MS1A ELS1B ELS1A
0
0
0
0
0
Bit 14 Bit 13 Bit 12 Bit 11 Bit 10
Indeterminate after reset
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
= Unimplemented
Indeterminate after reset
Figure 18-3. TIM1 I/O Register Summary (Continued)
1
Bit 0
Bit 1
Bit 0
1
1
TOV0 CH0MAX
0
0
Bit 9
Bit 8
Bit 1
Bit 0
TOV1 CH1MAX
0
0
Bit 9
Bit 8
Bit 1
Bit 0
18.4.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.
18.4.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.
18.4.3 Output Compare
With the output compare function, the TIM1 can generate a periodic pulse with a programmable polarity,
duration, and frequency. When the counter reaches the value in the registers of an output compare
channel, the TIM1 can set, clear, or toggle the channel pin. Output compares can generate TIM1 CPU
interrupt requests.
MC68HC08GZ32 Data Sheet, Rev. 3
244
Freescale Semiconductor