29.9.9 PWMxCON

Name: PWMxCON
Offset: 0x0495,0x0515

PWM Control Register

Bit 76543210 
 EN    LDERSPOLERSNOW 
Access R/WR/W/HCR/WR/W 
Reset 0000 

Bit 7 – EN PWM Module Enable

ValueDescription
1 PWM module is enabled
0 PWM module is disabled. The prescaler, postscaler, and all internal logic is reset. Outputs go to their default states. Register values remain unchanged.

Bit 2 – LD Reload Registers

Reload the period and duty cycle registers on the next period event
ValueDescription
1 Reload PR/P1/P2 registers
0 Reload not enabled or reload complete

Bit 1 – ERSPOL External Reset Polarity Select

ValueDescription
1 External Reset input is active-low
0 External Reset input is active-high

Bit 0 – ERSNOW External Reset Mode Select

Determines when an external Reset event takes effect.
ValueDescription
1 Stop counter on the next PWM clock. Output goes to the Inactive state.
0 Stop counter at the end of the period. Output goes to the Inactive state.