12.4.20 P2MDOUT: Port 2 Output Mode
Bit
7
6
5
4
3
2
1
0
Name
B7
B6
B5
B4
B3
B2
B1
B0
Access
RW
RW
RW
RW
RW
RW
RW
RW
Reset
0
0
0
0
0
0
0
0
SFR Page = 0x0; SFR Address: 0xA6
Bit
Name
Reset
Access
Description
7
B7
0
RW
Port 2 Bit 7 Output Mode.
Value
Name
Description
0
OPEN_DRAIN
P2.7 output is open-drain.
1
PUSH_PULL
P2.7 output is push-pull.
6
B6
0
RW
Port 2 Bit 6 Output Mode.
See bit 7 description
5
B5
0
RW
Port 2 Bit 5 Output Mode.
See bit 7 description
4
B4
0
RW
Port 2 Bit 4 Output Mode.
See bit 7 description
3
B3
0
RW
Port 2 Bit 3 Output Mode.
See bit 7 description
2
B2
0
RW
Port 2 Bit 2 Output Mode.
See bit 7 description
1
B1
0
RW
Port 2 Bit 1 Output Mode.
See bit 7 description
0
B0
0
RW
Port 2 Bit 0 Output Mode.
See bit 7 description
Port 2 consists of 8 bits (P2.0-P2.7) on QFN32 and LQFP32 packages and 1 bit (P2.7) on QFN24 packages.
EFM8SB2 Reference Manual
Port I/O, Crossbar, External Interrupts, and Port Match
silabs.com
| Smart. Connected. Energy-friendly.
Rev. 0.1 | 120