Bit
Name
Reset
Access
Description
1
HIGH_DRIVE
P1.1 output has high output drive strength.
0
B0
0
RW
Port 1 Bit 0 Drive Strength.
Value
Name
Description
0
LOW_DRIVE
P1.0 output has low output drive strength.
1
HIGH_DRIVE
P1.0 output has high output drive strength.
Port 1 consists of 8 bits (P1.0-P1.7) on QFN32 and LQFP32 packages and 7 bits (P1.0-P1.6) on QFN24 packages.
12.4.18 P2: Port 2 Pin Latch
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
1
1
1
1
1
1
1
1
SFR Page = ALL; SFR Address: 0xA0 (bit-addressable)
Bit
Name
Reset
Access
Description
7
B7
1
RW
Port 2 Bit 7 Latch.
Value
Name
Description
0
LOW
P2.7 is low. Set P2.7 to drive low.
1
HIGH
P2.7 is high. Set P2.7 to drive or float high.
6
B6
1
RW
Port 2 Bit 6 Latch.
See bit 7 description
5
B5
1
RW
Port 2 Bit 5 Latch.
See bit 7 description
4
B4
1
RW
Port 2 Bit 4 Latch.
See bit 7 description
3
B3
1
RW
Port 2 Bit 3 Latch.
See bit 7 description
2
B2
1
RW
Port 2 Bit 2 Latch.
See bit 7 description
1
B1
1
RW
Port 2 Bit 1 Latch.
See bit 7 description
0
B0
1
RW
Port 2 Bit 0 Latch.
See bit 7 description
Writing this register sets the port latch logic value for the associated I/O pins configured as digital I/O.
Reading this register returns the logic value at the pin, regardless if it is configured as output or input.
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 | 118