PWMxCON

Name:
PWMxCON
Offset:
0x0495,0x0515
Reset:
Access:
Bit76543210
ENLDERSPOLERSNOW
AccessR/WR/W/HCR/WR/W
Reset0000

Bit 7 – EN: PWM Module Enable

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 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

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

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.