English
Language : 

W79E225A_08 Datasheet, PDF (123/203 Pages) Winbond – 8-bit Microcontroller
Preliminary W79E225A/226A/227A Data Sheet
Figure 14-22: PWM0 Center Aligned Waveform Output
14.9 Single Shot (Up-Counter)
Figure 14-23: Single Shot Mode
The single shot mode PWM module will produce single pulse output. Single-pulse operation is
configured when the PMOD1:PMOD0 bits are set to ‘01’ in PWMCON3 register. This mode of
operation is useful for driving certain types of ECMs. In this mode, the PWM counter will start counting
upwards when the PWMRUN is set to 1. When the counter value matches with the PWMP register,
PWM interrupt will be generated if it is enable and PWMF is set and counter will reset to zero on the
following input clock edge and PWMRUN will be cleared by hardware. Duty cycle of PWM channels
are determined by the respective PWMx registers, where x = 0,2,4,6
- 123 -
Publication Release Date: April 15, 2008
Revision A4.0