English
Language : 

MC68HC08AZ0 Datasheet, PDF (275/444 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
Timer Interface Module A (TIMA)
I/O registers
Table 3. Mode, edge, and level selection
MSxB:MSxA ELSxB:ELSxA
X0
00
X1
00
00
01
00
10
00
11
01
01
01
10
01
11
1X
01
1X
10
1X
11
mode
Output Preset
Input Capture
Output
Compare or
PWM
Buffered
Output
Compare or
Buffered PWM
configuration
Pin under Port Control; Initial Output Level High
Pin under Port Control; Initial Output Level Low
Capture on Rising Edge Only
Capture on Falling Edge Only
Capture on Rising or Falling Edge
Toggle Output on Compare
Clear Output on Compare
Set Output on Compare
Toggle Output on Compare
Clear Output on Compare
Set Output on Compare
NOTE: Before enabling a TIMA channel register for input capture operation,
make sure that the PTE/TCHxB pin is stable for at least two bus clocks.
TOVx — Toggle-On-Overflow Bit
When channel x is an output compare channel, this read/write bit
controls the behavior of the channel x output when the TIMA counter
overflows. When channel x is an input capture channel, TOVx has no
effect. Reset clears the TOVx bit.
1 = Channel x pin toggles on TIMA counter overflow.
0 = Channel x pin does not toggle on TIMA counter overflow.
NOTE: When TOVx is set, a TIMA counter overflow takes precedence over a
channel x output compare if both occur at the same time.
23-tima
MOTOROLA
Timer Interface Module A (TIMA)
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AZ0
273