s908qc16vdse Freescale Semiconductor, Inc, s908qc16vdse Datasheet - Page 200

no-image

s908qc16vdse

Manufacturer Part Number
s908qc16vdse
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Interface Module (TIM1)
16.8.3 TIM1 Counter Modulo Registers
The read/write TIM1 modulo registers contain the modulo value for the counter. When the counter
reaches the modulo value, the overflow flag (TOF) becomes set, and the counter resumes counting from
$0000 at the next timer clock. Writing to the high byte (T1MODH) inhibits the TOF bit and overflow
interrupts until the low byte (T1MODL) is written. Reset sets the TIM1 counter modulo registers.
16.8.4 TIM1 Channel Status and Control Registers
Each of the TIM1 channel status and control registers does the following:
200
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 TIM1 overflow
Selects 0% and 100% PWM duty cycle
Selects buffered or unbuffered output compare/PWM operation
Reset:
Reset:
Read:
Write:
Read:
Write:
Reset the counter before writing to the TIM1 counter modulo registers.
MC68HC908QC16 • MC68HC908QC8 • MC68HC908QC4 Data Sheet, Rev. 4
Figure 16-7. TIM1 Counter Modulo High Register (T1MODH)
Figure 16-8. TIM1 Counter Modulo Low Register (T1MODL)
Bit15
Bit 7
Bit 7
Bit7
1
1
Bit14
Bit6
6
1
6
1
Bit13
Bit5
5
1
5
1
Bit12
NOTE
Bit4
4
1
4
1
Bit11
Bit3
3
1
3
1
Bit10
Bit2
2
1
2
1
Bit9
Bit1
1
1
1
1
Freescale Semiconductor
Bit 0
Bit 0
Bit8
Bit0
1
1

Related parts for s908qc16vdse