MC68HC908AS60ACFN FREESCALE [Freescale Semiconductor, Inc], MC68HC908AS60ACFN Datasheet - Page 238

no-image

MC68HC908AS60ACFN

Manufacturer Part Number
MC68HC908AS60ACFN
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Timer Interface Module B (TIMB)
20.8.3 TIMB Counter Modulo Registers
The read/write TIMB modulo registers contain the modulo value for the TIMB counter. When the TIMB
counter reaches the modulo value, the overflow flag (TOF) becomes set and the TIMB counter resumes
counting from $0000 at the next timer clock. Writing to the high byte (TBMODH) inhibits the TOF bit and
overflow interrupts until the low byte (TBMODL) is written. Reset sets the TIMB counter modulo registers.
20.8.4 TIMB Channel Status and Control Registers
Each of the TIMB channel status and control registers:
238
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 edge, falling edge or any edge as the active input capture trigger
Selects output toggling on TIMB overflow
Selects 0% and 100% PWM duty cycle
Selects buffered or unbuffered output compare/PWM operation
Register Name and Address
Register Name and Address
Figure 20-6. TIMB Counter Modulo Registers (TBMODH and TBMODL)
Reset the TIMB counter before writing to the TIMB counter modulo registers.
Reset:
Reset:
Read:
Read:
Write:
Write:
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
BIT 15
BIT 7
Bit 7
Bit 7
1
1
BIT 14
BIT 6
6
1
6
1
TBMODH — $0043
TBMODL — $0044
BIT 13
BIT 5
5
1
5
1
NOTE
BIT 12
BIT 4
4
1
4
1
BIT 11
BIT 3
3
1
3
1
BIT 10
BIT 2
2
1
2
1
BIT 9
BIT 1
1
1
1
1
Freescale Semiconductor
BIT 8
BIT 0
Bit 0
Bit 0
1
1

Related parts for MC68HC908AS60ACFN