6.11.19 Open-Drain Configuration for PortB

This register configures each I/O pin individually for either normal digital output or open-drain output, associated with each I/O pin.
Name: ODCB
Offset: 0x140
Reset: 0x0
Property: -

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   ODCBxODCBxODCBxODCBxODCBxODCBx 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
 ODCBxODCBxODCBxODCBxODCBxODCBxODCBxODCBx 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 0,1,2,3,4,5,6,7,8,9,10,11,12,13 – ODCBx (x = 0 to 13; x = 0 for bit0 mapped to PB0, … x = 13 for bit13 mapped to PB13) Open-Drain Configuration for PortB

Note: After a Reset, the status of all the bits of the ODCB register is set to ‘0’.
ValueDescription
1 Configures an I/O pin as an open-drain output.
0 Configures an I/O pin as an normal digital output.