English
Language : 

MC68HC08AZ60A Datasheet, PDF (428/480 Pages) Motorola, Inc – Microcontrollers
Timer Interface Module A (TIMA)
Table 23-2. Mode, Edge, and Level Selection
MSxB:MSxA ELSxB:ELSxA Mode
Configuration
Pin under Port Control;
X0
00
Initialize Timer
Output
Output Level High
Preset Pin under Port Control;
X1
00
Initialize Timer
Output Level Low
00
01
Capture on Rising Edge Only
00
10
Input
Capture
Capture on Falling Edge Only
00
11
Capture on Rising or Falling Edge
01
01
Toggle Output on Compare
Output
01
10
Compare Clear Output on Compare
or PWM
01
11
Set Output on Compare
1X
01
Buffered Toggle Output on Compare
Output
1X
10
Compare Clear Output on Compare
or Buffered
1X
11
PWM Set Output on Compare
NOTE:
Before enabling a TIMA channel register for input capture operation,
make sure that the PTEx/TACHx pin or PTFx/TACHx 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.
Advance Information
428
Timer Interface Module A (TIMA)
MC68HC08AZ60A — Rev 0.0
MOTOROLA