MC68HC708XL36 FREESCALE [Freescale Semiconductor, Inc], MC68HC708XL36 Datasheet - Page 192

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
TIM
TIM Counter
Modulo Registers
TIM Channel Status
and Control
Registers
MC68HC708XL36
192
NOTE:
Address: $0024
The read/write TIM modulo registers contain the modulo value for the
TIM counter. When the TIM counter reaches the modulo value, the
overflow flag (TOF) becomes set, and the TIM counter resumes counting
from $0000 at the next clock. Writing to the high byte (TMODH) inhibits
the TOF bit and overflow interrupts until the low byte (TMODL) is written.
Reset sets the TIM counter modulo registers.
Reset the TIM counter before writing to the TIM counter modulo registers.
Each of the TIM channel status and control registers:
Reset:
Reset:
Read:
Write:
Read:
Write:
Freescale Semiconductor, Inc.
Figure 7. TIM Counter Modulo Registers (TMODH:TMODL)
For More Information On This Product,
Flags input captures and output compares.
Enables input capture and output compare interrupts.
Selects input capture, output compare, or PWM operation.
Selects high, low, or toggling output on output compare.
Selects rising, falling, or any edge as the input capture trigger.
Selects output toggling on TIM overflow.
Selects 100% PWM duty cycle.
Selects buffered or unbuffered output compare/PWM operation.
Bit 15
Bit 7
Bit 7
Bit 7
1
1
:
$0025
Go to: www.freescale.com
14
6
1
6
6
1
TIM
13
5
1
5
5
1
12
4
1
4
4
1
11
3
1
3
3
1
10
2
1
2
2
1
1
9
1
1
1
1
MOTOROLA
22-tim4_b
Bit 0
Bit 8
Bit 0
Bit 0
1
1

Related parts for MC68HC708XL36