English
Language : 

C8051F58X Datasheet, PDF (200/356 Pages) Silicon Laboratories – Programmable hysteresis and response time Configurble as interrupt or reset source Low current
C8051F58x/F59x
SFR Definition 20.9. P2MASK: Port 2 Mask Register
Bit
7
6
5
4
3
2
1
0
Name
P2MASK[7:0]
Type
R/W
Reset
0
0
0
0
0
0
0
0
SFR Address = 0xB2; SFR Page = 0x00
Bit
Name
Function
7:0 P2MASK[7:0] Port 2 Mask Value.
Selects P2 pins to be compared to the corresponding bits in P2MAT.
0: P2.n pin logic value is ignored and cannot cause a Port Mismatch event.
1: P2.n pin logic value is compared to P2MAT.n.
SFR Definition 20.10. P2MAT: Port 2 Match Register
Bit
7
6
5
4
3
2
1
0
Name
P2MAT[7:0]
Type
R/W
Reset
1
1
1
1
1
1
1
1
SFR Address = 0xB1; SFR Page = 0x00
Bit
Name
Function
7:0 P2MAT[7:0] Port 2 Match Value.
Match comparison value used on Port 2 for bits in P2MAT which are set to 1.
0: P2.n pin logic value is compared with logic LOW.
1: P2.n pin logic value is compared with logic HIGH.
200
Rev. 1.2