Datasheet
PIC16(L)F1782/3
DS41579D-page 238 Preliminary 2011-2012 Microchip Technology Inc.
REGISTER 24-2: PSMCxMDL: PSMC MODULATION CONTROL REGISTER
R/W-0/0 R/W-0/0 R/W-0/0 U-0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
PxMDLEN PxMDLPOL PxMDLBIT
— PxMSRC<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
PxMDLEN: PSMC Periodic Modulation Mode Enable bit
1 = PSMCx is active when input signal selected by PxMSRC<3:0> is in its active state (see PxMPOL)
0 = PSMCx module is always active
bit 6
PxMDLPOL: PSMC Periodic Modulation Polarity bit
1 = PSMCx is active when the PSMCx Modulation source output equals logic ‘0’ (active-low)
0 = PSMCx is active when the PSMCx Modulation source output equals logic ‘1’ (active-high)
bit 5
PxMDLBIT: PSMC Periodic Modulation Software Control bit
PxMDLEN = 1 AND PxMSRC<3:0> = 0000
1 = PSMCx is active when the PxMDLPOL equals logic ‘0’
0 = PSMCx is active when the PxMDLPOL equals logic ‘1’
PxMDLEN = 0 OR (PxMDLEN = 1 and PxMSRC<3:0> <> ‘0000’)
Does not affect module operation
bit 4
Unimplemented: Read as ‘0’
bit 3-0
PxMSRC<3:0> PSMC Periodic Modulation Source Selection bits
1111 = Reserved
1110 = Reserved
1101 = Reserved
1100 = Reserved
1011 = Reserved
1010 = Reserved
1001 = Reserved
1000 = PSMCx Modulation Source is PSMCxIN pin
0111 = Reserved
0110 = PSMCx Modulation Source is CCP2
0101 = PSMCx Modulation Source is CCP1
0100 = Reserved
0011 = PSMCx Modulation Source is sync_C3OUT
0010 = PSMCx Modulation Source is sync_C2OUT
0001 = PSMCx Modulation Source is sync_C1OUT
0000 = PSMCx Modulation Source is PxMDLBIT register bit