s908gr32ag3vfa Freescale Semiconductor, Inc, s908gr32ag3vfa Datasheet - Page 236

no-image

s908gr32ag3vfa

Manufacturer Part Number
s908gr32ag3vfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer Interface Module (TIM1)
17.8.3 TIM1 Counter Modulo Registers
The read/write TIM1 modulo registers contain the modulo value for the TIM1 counter. When the TIM1
counter reaches the modulo value, the overflow flag (TOF) becomes set, and the TIM1 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.
17.8.4 TIM1 Channel Status and Control Registers
Each of the TIM1 channel status and control registers does the following:
236
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
Address: $0023
Address: $0024
Reset the TIM1 counter before writing to the TIM1 counter modulo registers.
Reset:
Reset:
Read:
Read:
Write:
Write:
MC68HC908GR60A • MC68HC908GR48A • MC68HC908GR32A Data Sheet, Rev. 5
Figure 17-7. TIM1 Counter Modulo Registers (T1MODH:T1MODL)
Bit15
Bit 7
Bit 7
Bit7
1
1
T1MODH
T1MODL
Bit14
Bit6
6
1
6
1
Bit13
Bit5
5
1
5
1
NOTE
Bit12
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 s908gr32ag3vfa