English
Language : 

CC2510FX Datasheet, PDF (96/244 Pages) List of Unclassifed Manufacturers – True System-on-Chip with Low Power RF Transceiver and 8051 MCU
C2510Fx / CC2511Fx
P2DIR (0xFF) – Port 2 Direction
Bit Name
7:6 PRIP0[1:0]
Reset
R/W
00
R/W
5
-
R0
4:0 DIRP2_[4:0] 00000 R/W
Description
Port 0 peripheral priority control. These bits shall determine the order of
precedence in the case when PERCFG assigns two peripherals to the same
pins
00 USART0 – USART1
01 USART1 – USART0
10 Timer 1 channels 0 and 1 – USART1
11 Timer 1 channel 2 – USART0
Not used
P2_4 to P2_0 I/O direction
0 Input
1 Output
P0INP (0x8F) – Port 0 Input Mode
Bit Name
Reset
R/W
7:0 MDP0_[7:0]
0x00
R/W
Description
P0_7 to P0_0 I/O input mode
0 Pull-up / pull-down
1 Tristate
P1INP (0xF6) – Port 1 Input Mode
Bit Name
7:2 MDP1_[7:2]
Reset
R/W
000000 R/W
1:0
-
R0
Description
P1_7 to P1_2 I/O input mode
0 Pull-up / pull-down
1 Tristate
Not used
P2INP (0xF7) – Port 2 Input Mode
Bit Name
7
PDUP2
Reset R/W
0
R/W
6
PDUP1
0
R/W
5
PDUP0
0
R/W
4:0 MDP2_[4:0]
00000 R/W
Description
Port 2 pull-up/down select. Selects function for all Port 2 pins configured as
pull-up/pull-down inputs.
0 Pull-up
1 Pull-down
Port 1 pull-up/down select. Selects function for all Port 1 pins configured as
pull-up/pull-down inputs.
0 Pull-up
1 Pull-down
Port 0 pull-up/down select. Selects function for all Port 0 pins configured as
pull-up/pull-down inputs.
0 Pull-up
1 Pull-down
P2_4 to P2_0 I/O input mode
0 Pull-up / pull-down
1 Tristate
SWRS055D
Page 96 of 243