English
Language : 

RF60 Datasheet, PDF (122/157 Pages) –
RF60 CRYSTAL-LESS SOC TRANSMITTER v1.0
SFR Definition 29.4. P1CON
Bit
7
6
5
4
3
2
1
0
Name
P1CON[7:0]
Type R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
SFR Address = 0xA5
Bit Name
Function
7:0 P1CON[7:0] Port 1 register GPIO[15:8], bit addressable.
This bit controls configuration of each corresponding output bit in P1.
0 .. open-drain, pull up resistor connected (see PORT_ROFF)
1 .. push-pull, pull up resistor disabled
If the pin to be input, it must be configured as open-drain and 1 has to be written as
output value to it. Only bits [1:0] corresponding to GPIO[9:8] are used, write to the
rest of the register has no effect, read returns 0 for those bits.
SFR Definition 29.5. P2
Bit
7
6
5
4
3
2
1
0
Name
P2[7:0]
Type R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
SFR Address = 0xA0
Bit Name
Function
7:0 P2[7:0] Port 2 register, bit addressable.
It is not a port, but a regular register. This register is used as a page MSB address
byte for XDATA addressing in mode, using the PDATA memory accesses. The sole
purpose for it is to support the PDATA model.
Tel: +86-755-82973805
Fax: +86-755-82973550
122
E-mail: sales@hoperf.com http://www.hoperf.com