English
Language : 

MC68HC08AS32 Datasheet, PDF (230/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Timer Interface (TIM)
Table 16-3. 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
orBuffered
1X
11
PWM Set Output on Compare
NOTE:
Before enabling a TIM channel register for input capture operation, make
sure that the PTEx/TCHx pin or PTFx/TCHx 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 TIM 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 TIM counter overflow.
0 = Channel x pin does not toggle on TIM counter overflow.
NOTE: When TOVx is set, a TIM counter overflow takes precedence over a
channel x output compare if both occur at the same time.
Advance Information
230
Timer Interface (TIM)
MC68HC08AS32 — Rev. 3.0
MOTOROLA