6.11.19 Open-Drain Configuration for PortB
Name: | ODCB |
Offset: | 0x140 |
Reset: | 0x0 |
Property: | - |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
ODCBx | ODCBx | ODCBx | ODCBx | ODCBx | ODCBx | ||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ODCBx | ODCBx | ODCBx | ODCBx | ODCBx | ODCBx | ODCBx | ODCBx | ||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
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
’.Value | Description |
---|---|
1 | Configures an I/O pin as an open-drain output. |
0 | Configures an I/O pin as an normal digital output. |