Datasheet

2011-2012 Microchip Technology Inc. Preliminary DS41579D-page 237
PIC16(L)F1782/3
24.12 Register Definitions: PSMC Control
REGISTER 24-1: PSMCxCON: PSMC CONTROL REGISTER
R/W-0/0 R/W/HC-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
PSMCxEN PSMCxLD PxDBFE PxDBRE PxMODE<3:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7
PSMCxEN: PSMC Module Enable bit
1 = PSMCx module is enabled
0 = PSMCx module is disabled
bit 6
PSMCxLD: PSMC Load Buffer Enable bit
1 = PSMCx registers are ready to be updated with the appropriate register contents
0 = PSMCx buffer update complete
bit 5 PxDBFE: PSMC Falling Edge Dead-Band Enable bit
1 = PSMCx falling edge dead band enabled
0 = PSMCx falling edge dead band disabled
bit 4
PxDBRE: PSMC Rising Edge Dead-Band Enable bit
1 = PSMCx rising edge dead band enabled
0 = PSMCx rising edge dead band disabled
bit 3-0
PxMODE<3:0> PSMC Operating Mode bits
1111 = Reserved
1110 = Reserved
1101 = Reserved
1100 = 3-phase steering PWM
1011 = Fixed duty cycle, variable frequency, complementary PWM
1010 = Fixed duty cycle, variable frequency, single PWM
1001 = ECCP compatible Full-Bridge forward output
1000 = ECCP compatible Full-Bridge reverse output
0111 = Pulse-skipping with complementary output
0110 = Pulse-skipping PWM output
0101 = Push-pull with four full-bridge outputs and complementary outputs
0100 = Push-pull with four full-bridge outputs
0011 = Push-pull with complementary outputs
0010 = Push-pull output
0001 = Single PWM with complementary output (with PWM steering capability)
0000 = Single PWM waveform generation (with PWM steering capability)