mc68hc908rf2 Freescale Semiconductor, Inc, mc68hc908rf2 Datasheet - Page 139

no-image

mc68hc908rf2

Manufacturer Part Number
mc68hc908rf2
Description
M68hc08 Microcontrollers Microcontroller / Transmitter
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC68HC908RF2
Quantity:
119
Part Number:
mc68hc908rf2CFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908rf2CFA
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc68hc908rf2CFA
Quantity:
119
Part Number:
mc68hc908rf2MFA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
11.7.2 TIM Channel I/O Pins (TCH0)
11.8 I/O Registers
11.8.1 TIM Status and Control Register
MC68HC908RF2 — Rev. 4.0
MOTOROLA
The channel I/O pins are programmable independently as an input capture pin or
an output compare pin. TCH0 can be configured as buffered output compare or
buffered PWM pins.
These I/O registers control and monitor operation of the TIM:
The TIM status and control register (TSC):
TOF — TIM Overflow Flag Bit
Address:
This read/write flag is set when the TIM counter reaches the modulo value
programmed in the TIM counter modulo registers. Clear TOF by reading the TIM
status and control register when TOF is set and then writing a 0 to TOF. If
another TIM overflow occurs before the clearing sequence is complete, then
writing 0 to TOF has no effect. Therefore, a TOF interrupt request cannot be lost
due to inadvertent clearing of TOF. Reset clears the TOF bit. Writing a 1 to TOF
has no effect.
Reset:
Read:
Write:
1 = TIM counter has reached modulo value.
0 = TIM counter has not reached modulo value.
TIM status and control register, TSC
TIM control registers, TCNTH and TCNTL
TIM counter modulo registers, TMODH and TMODL
TIM channel status and control registers, TSC0 and TSC1
TIM channel registers, TCH0H, TCH0L, TCH1H, and TCH1L
Enables TIM overflow interrupts
Flags TIM overflows
Stops the TIM counter
Resets the TIM counter
Prescales the TIM counter clock
Freescale Semiconductor, Inc.
For More Information On This Product,
$0020
Bit 7
TOF
0
0
Figure 11-5. TIM Status and Control Register
Go to: www.freescale.com
Timer Interface Module (TIM)
= Unimplemented
TOIE
6
0
TSTOP
5
1
TRST
4
0
0
3
0
0
Timer Interface Module (TIM)
PS2
2
0
PS1
1
0
I/O Registers
Data Sheet
Bit 0
PS0
0
139

Related parts for mc68hc908rf2