
PIC18F66K80 FAMILY
DS39977F-page 202
2010-2012 Microchip Technology Inc.
REGISTER 12-2:
MDSRC: MODULATION SOURCE CONTROL REGISTER
R/W-0
U-0
R/W-x
MDSODIS
—
MDSRC3
MDSRC2
MDSRC1
MDSRC0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
MDSODIS:
Modulation Source Output Disable bit
1
= Output signal driving the peripheral output pin (selected by MDMS<3:0>) is disabled
0
= Output signal driving the peripheral output pin (selected by MDMS<3:0>) is enabled
bit 6-4
Unimplemented:
Read as ‘0’
bit 3-0
MDSRC<3:0>
Modulation Source Selection bits
1111
-1010 = Reserved; no channel connected
1001
= CCP5 output (PWM Output mode only)
1000
= CCP4 output (PWM Output mode only)
0111
= CCP3 output (PWM Output mode only)
0110
= CCP2 output (PWM Output mode only)
0101
= ECCP1 output (PWM Output mode only)
0100
= EUSART2 TX output
0011
= EUSART1 TX output
0010
= MSSP SDO output
0001
= MDMIN port pin
0000
= MDBIT bit of the MDCON register is the modulation source