338
PMR2—Port mode register 2
H'99
I/O ports
Bit
Initial value
Read/Write
7
IRQ0
0
R/W
6
—
1
—
5
POF1
0
R/W
4
NCS
0
R/W
3
SO1
0
R/W
0
IRQ4
0
R/W
2
SI1
0
R/W
1
SCK1
0
R/W
P2 /SCK pin function switch
0
Functions as P2 I/O pin
1
Functions as SCK I/O pin
P2 /SI pin function switch
0
Functions as P2 I/O pin
1
Functions as SI input pin
TMIG noise canceller select
0
Noise canceller function not selected
1
Noise canceller function selected
P2 /SO pin PMOS control
P2 /IRQ /ADTRG pin function switch
1
0
CMOS output
1
NMOS open drain output
0
Functions as P2 I/O pin
1
Functions as IRQ /ADTRG input pin
1
2
3
0
1
0
1
4
4
1
P2 /SO pin function switch
1
0
Functions as P2 I/O pin
1
Functions as SO output pin
3
3
1
1
1
1
2
1
P2 /IRQ pin function switch
1
0
Functions as P2 input pin
1
Functions as IRQ input pin
7
7
0
0