11.4.17 P2MASK: Port 2 Mask
Bit
7
6
5
4
3
2
1
0
Name
Reserved
B1
B0
Access
R
RW
RW
Reset
0x00
0
0
SFR Page = 0x20; SFR Address: 0xFC
Bit
Name
Reset
Access Description
7:2
Reserved
Must write reset value.
1
B1
0
RW
Port 2 Bit 1 Mask Value.
Value
Name
Description
0
IGNORED
P2.1 pin logic value is ignored and will not cause a port mismatch
event.
1
COMPARED
P2.1 pin logic value is compared to P2MAT.1.
0
B0
0
RW
Port 2 Bit 0 Mask Value.
See bit 1 description
11.4.18 P2MAT: Port 2 Match
Bit
7
6
5
4
3
2
1
0
Name
Reserved
B1
B0
Access
R
RW
RW
Reset
0x00
0
0
SFR Page = 0x20; SFR Address: 0xFB
Bit
Name
Reset
Access Description
7:2
Reserved
Must write reset value.
1
B1
0
RW
Port 2 Bit 1 Match Value.
Value
Name
Description
0
LOW
P2.1 pin logic value is compared with logic LOW.
1
HIGH
P2.1 pin logic value is compared with logic HIGH.
0
B0
0
RW
Port 2 Bit 0 Match Value.
See bit 1 description
EFM8UB3 Reference Manual
Port I/O, Crossbar, External Interrupts, and Port Match
silabs.com
| Building a more connected world.
Rev. 0.2 | 118