Datasheet

Table Of Contents
Section 19 14-Bit PWM
Rev. 2.00 Jul. 04, 2007 Page 439 of 692
REJ09B0309-0200
19.4.5 PWM Operating States
The states of PWM module registers in each operating mode are shown in table 19.3.
Table 19.3 PWM Operating States
Operating
Mode
Reset
Active
Sleep
Watch
Subactive
Subsleep
Standby
Module
Standby
PWCRm Reset Functioning Functioning Retained Retained Retained Retained Retained
PWDRm Reset Functioning Functioning Retained Retained Retained Retained Retained
Note: m = 4 to 1
19.5 Usage Notes
19.5.1 Timing of Writing to PWDR and Reflection in the PWM Waveform
If the PWDR register is rewritten while a PWM waveform is output, the operation will be as
follows depending on in which state of the PWM waveform the writing was performed.
During low level output: The new PWDR value is reflected from the next pulse.
During high level output:
When the new value increases the duty cycle
The new PWDR value is reflected immediately after writing.
When the new value decreases the duty cycle
If the high-level width of the pulse at the time of rewriting exceeds the high-level width
specified by the new PWDR value, a high level is output for a single pulse period.
If the high-level width of the pulse at the time of rewriting does not exceed the high-
level width specified by the new PWDR value, the new value is reflected immediately
after writing.