English
Language : 

MC908AB32CFUE Datasheet, PDF (215/392 Pages) Freescale Semiconductor, Inc – Microcontrollers
Timer Interface Module B (TIMB)
Address: $0032
Bit 7
6
5
4
3
2
1
Bit 0
Read:
Write:
Reset:
CH2F
0
0
CH2IE
0
MS2B
0
MS2A
0
ELS2B ELS2A
0
0
TOV2 CH2MAX
0
0
Figure 12-11. TIMB Channel 2 Status and Control Register (TBSC2)
Address: $0035
Bit 7
6
5
4
3
2
1
Bit 0
Read: CH3F
0
CH3IE
MS3A ELS3B ELS3A TOV3 CH3MAX
Write: 0
Reset: 0
0
0
0
0
0
0
0
Figure 12-12. TIMB Channel 3 Status and Control Register (TBSC3)
CHxF — Channel x Flag Bit
When channel x is an input capture channel, this read/write bit is set
when an active edge occurs on the channel x pin. When channel x is
an output compare channel, CHxF is set when the value in the TIMB
counter registers matches the value in the TIMB channel x registers.
When TIM CPU interrupt requests are enabled (CHxIE = 1), clear
CHxF by reading TIMB channel x status and control register with
CHxF set and then writing a logic zero to CHxF. If another interrupt
request occurs before the clearing sequence is complete, then writing
logic zero to CHxF has no effect. Therefore, an interrupt request
cannot be lost due to inadvertent clearing of CHxF.
Reset clears the CHxF bit. Writing a logic one to CHxF has no effect.
1 = Input capture or output compare on channel x
0 = No input capture or output compare on channel x
CHxIE — Channel x Interrupt Enable Bit
This read/write bit enables TIMB CPU interrupts on channel x.
Reset clears the CHxIE bit.
1 = Channel x CPU interrupt requests enabled
0 = Channel x CPU interrupt requests disabled
MC68HC908AB32 — Rev. 1.1
Freescale Semiconductor
Timer Interface Module B (TIMB)
Technical Data
215