English
Language : 

MC68HC05X4 Datasheet, PDF (115/156 Pages) Motorola, Inc – HCMOS Microcontroller Unit
7-ptimer
MOTOROLA
Freescale Semiconductor, Inc.
16-Bit Programmable Timer
Timer functions
ICIE — Input capture interrupt enable
If this bit is set, a timer interrupt is enabled whenever the ICF1 or ICF2
status flag in the timer status register (TSR) is set.
1 = Interrupt enabled.
0 = Interrupt disabled.
OCIE — Output compare interrupt enable
If this bit is set, a timer interrupt is enabled whenever the OCF1 or OCF2
status flag in TSR is set.
1 = Interrupt enabled.
0 = Interrupt disabled.
TOIE — Timer overflow interrupt enable
If this bit is set, a timer interrupt is enabled whenever the TOF status flag
in TSR is set.
1 = Interrupt enabled.
0 = Interrupt disabled.
IEDG — Input edge
When IEDG is set, a positive-going edge on the TCAP pin will trigger a
transfer of the free-running counter value to the input capture register.
When clear, a negative-going edge triggers the transfer.
1 = TCAP is positive-going edge sensitive.
0 = TCAP is negative-going edge sensitive.
OLVL — Output level
When OLVL is set, a high output level is clocked into the output level
register by the next successful output compare, and appears on the
TCMP pin. When clear, a low level appears on the TCMP pin.
1 = A high output level will appear on the TCMP pin.
0 = A low output level will appear on the TCMP pin.
16-Bit Programmable Timer
For More Information On This Product,
Go to: www.freescale.com
MC68HC05X4 Rev 1.0
115