© 2004 Microchip Technology Inc. DS70062C-page 15-31
Section 15. Motor Control PWM
Motor Control
PWM
15
Table 15-6: PWM Output Override Example #2
Figure 15-18: PWM Output Override Example #2
State OVDCON<15:8> OVDCON<7:0>
1 11000011b 00000000b
2 11110000b 00000000b
3 00111100b 00000000b
4 00001111b 00000000b
PWM4H
PWM4L
PWM3H
PWM3L
PWM2H
PWM2L
123
4
PWM1H
PWM1L
STATE
Note: Switching times between states 1-4 are controlled by user software. The state switch
is controlled by writing a new value to OVDCON. The PWM outputs are operated in the
independent mode for this example.