CC2430
Peripherals
P2SEL (0xF5) – Port 2 Function Select
: I/O ports
Bit
Name
-
Reset
R/W
Description
7
0
R0
Not used
6
5
4
3
0
0
0
0
R/W
R/W
R/W
R/W
Port 1 peripheral priority control. These bits shall determine which
module has priority in the case when modules are assigned to the
same pins.
PRI3P1
0
1
USART0 has priority
USART1 has priority
Port 1 peripheral priority control. These bits shall determine the
order of priority in the case when PERCFG assigns USART1 and
timer 3 to the same pins.
PRI2P1
PRI1P1
PRI0P1
0
1
USART1 has priority
Timer 3 has priority
Port 1 peripheral priority control. These bits shall determine the
order of priority in the case when PERCFG assigns timer 1 and
timer 4 to the same pins.
0
1
Timer 1 has priority
Timer 4 has priority
Port 1 peripheral priority control. These bits shall determine the
order of priority in the case when PERCFG assigns USART0 and
timer 1 to the same pins.
0
1
USART0 has priority
Timer 1 has priority
2
1
0
0
0
0
R/W
R/W
R/W
P2_4 function select
SELP2_4
SELP2_3
SELP2_0
0
1
General purpose I/O
Peripheral function
P2_3 function select
0
1
General purpose I/O
Peripheral function
P2_0 function select
0
1
General purpose I/O
Peripheral function
P0DIR (0xFD) – Port 0 Direction
Bit
Name
Reset
R/W
Description
7:0
0x00
R/W
P0_7 to P0_0 I/O direction
DIRP0_[7:0]
0
1
Input
Output
P1DIR (0xFE) – Port 1 Direction
Bit
Name
Reset
R/W
Description
7:0
0x00
R/W
P1_7 to P1_0 I/O direction
DIRP1_[7:0]
0
1
Input
Output
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 84 of 211