PWMxCON
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EN | LD | ERSPOL | ERSNOW | ||||
AccessR/W | R/W/HC | R/W | R/W | ||||
Reset0 | 0 | 0 | 0 |
PWM Module Enable
Value | Description |
---|---|
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. |
Reload Registers
Value | Description |
---|---|
1 |
Reload PR/P1/P2 registers |
0 |
Reload not enabled or reload complete |
External Reset Polarity Select
Value | Description |
---|---|
1 |
External Reset input is active-low |
0 |
External Reset input is active-high |
External Reset Mode Select
Value | Description |
---|---|
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. |