C2510Fx / CC2511Fx
P2DIR (0xFF) – Port 2 Direction
Bit
Name
Reset
R/W
Description
7:6
PRIP0[1:0]
00
R/W
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
01
10
11
USART0 – USART1
USART1 – USART0
Timer 1 channels 0 and 1 – USART1
Timer 1 channel 2 – USART0
5
-
R0
Not used
4:0
DIRP2_[4:0]
00000
R/W
P2_4 to P2_0 I/O direction
0
1
Input
Output
P0INP (0x8F) – Port 0 Input Mode
Bit
Name
Reset
R/W
Description
7:0
MDP0_[7:0]
0x00
R/W
P0_7 to P0_0 I/O input mode
0
1
Pull-up / pull-down
Tristate
P1INP (0xF6) – Port 1 Input Mode
Bit
Name
Reset
R/W
Description
7:2
MDP1_[7:2]
000000
R/W
P1_7 to P1_2 I/O input mode
0
1
Pull-up / pull-down
Tristate
1:0
-
R0
Not used
P2INP (0xF7) – Port 2 Input Mode
Bit
Name
Reset
R/W
Description
7
PDUP2
0
R/W
Port 2 pull-up/down select. Selects function for all Port 2 pins configured as
pull-up/pull-down inputs.
0
1
Pull-up
Pull-down
6
PDUP1
0
R/W
R/W
R/W
Port 1 pull-up/down select. Selects function for all Port 1 pins configured as
pull-up/pull-down inputs.
0
1
Pull-up
Pull-down
5
PDUP0
0
Port 0 pull-up/down select. Selects function for all Port 0 pins configured as
pull-up/pull-down inputs.
0
1
Pull-up
Pull-down
4:0
MDP2_[4:0]
00000
P2_4 to P2_0 I/O input mode
0
1
Pull-up / pull-down
Tristate
SWRS055D
Page 96 of 243