English
Language : 

RF60 Datasheet, PDF (120/157 Pages) –
RF60 CRYSTAL-LESS SOC TRANSMITTER v1.0
SFR Definition 29.1. P0
Bit
7
6
5
4
3
2
1
0
Name
P0[7:0]
Type R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
1
1
0
1
1
1
1
1
SFR Address = 0x80
Bit Name
Function
7:0 P0[7:0] Port 0 register, GPIO[7:0], bit addressable.
Write appears at the GPIO[7:0] outputs, read reads directly the GPIO input values.
Write:
0 .. output low value
1 .. output open-drain or high drive value in push-pull mode
Read:
0 .. GPIO pin is at logic low value
1 .. GPIO pin is at logic high value
Special pins:
The GPIO[0] is input only. Write to GPIO[0] has no effect. The GPIO[5] is output LED
driver only and requires setting of the proper LED drive current. Then GPIO[5] just
turns the LED current on (1) or off (0). Reading from GPIO[5] returns the user
intended driver of LED (1 .. driving, 0 .. off). The read value will be read as 0 if, for
example, the user writes GPIO[5] as 1, but the LED current value
PORT_CTRL.PORT_LED will be 0.
The read GPIO[5] value does not represent the actual driving status of the LED drive,
since the debug logic and C2 can disable the LED. The actual LED driving status can
be read as RBIT_DATA.GPIO_LED_DRIVE bit.
Tel: +86-755-82973805
Fax: +86-755-82973550
120
E-mail: sales@hoperf.com http://www.hoperf.com