Microchip Technology DV164136 Data Sheet
PIC18F87J11 FAMILY
DS39778E-page 138
2007-2012 Microchip Technology Inc.
REGISTER 11-1:
ODCON1: PERIPHERAL OPEN-DRAIN CONTROL REGISTER 1
U-0
U-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
—
—
—
CCP5OD
CCP4OD
ECCP3OD
ECCP2OD
ECCP1OD
bit 7
bit 0
Legend:
R = Readable bit
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-5
Unimplemented:
Read as ‘0’
bit 4-3
CCP5OD:CCP4OD:
CCPx Open-Drain Output Enable bits
1
= Open-drain output is on the CCPx pin (Capture/PWM modes) is enabled
0
= Open-drain output is disabled
bit 2-0
ECCP3OD:ECCP1OD:
ECCPx Open-Drain Output Enable bits
1
= Open-drain output is on the ECCPx pin (Capture mode) is enabled
0
= Open-drain output is disabled
REGISTER 11-2:
ODCON2: PERIPHERAL OPEN-DRAIN CONTROL REGISTER 2
U-0
U-0
U-0
U-0
U-0
U-0
R/W-0
R/W-0
—
—
—
—
—
—
U2OD
U1OD
bit 7
bit 0
Legend:
R = Readable bit
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-2
Unimplemented:
Read as ‘0’
bit 1-0
U2OD:U1OD:
EUSARTx Open-Drain Output Enable bits
1
= Open-drain output is on the TXx pin is enabled
0
= Open-drain output is disabled
REGISTER 11-3:
ODCON3: PERIPHERAL OPEN-DRAIN CONTROL REGISTER 3
U-0
U-0
U-0
U-0
U-0
U-0
R/W-0
R/W-0
—
—
—
—
—
—
SPI2OD
SPI1OD
bit 7
bit 0
Legend:
R = Readable bit
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-2
Unimplemented:
Read as ‘0’
bit 1-0
SPI2OD:SPI1OD:
SPI Open-Drain Output Enable bits
1
= Open-drain output is on the SDOx pin is enabled
0
= Open-drain output is disabled