English
Language : 

CC2430 Datasheet, PDF (84/212 Pages) Texas Instruments – A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee-TM
CC2430
Peripherals : I/O ports
P2SEL (0xF5) – Port 2 Function Select
Bit Name
7-
6 PRI3P1
5 PRI2P1
4 PRI1P1
3 PRI0P1
2 SELP2_4
1 SELP2_3
0 SELP2_0
Reset R/W
0
R0
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
Not used
Port 1 peripheral priority control. These bits shall determine which
module has priority in the case when modules are assigned to the
same pins.
0 USART0 has priority
1 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.
0 USART1 has priority
1 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 Timer 1 has priority
1 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 USART0 has priority
1 Timer 1 has priority
P2_4 function select
0 General purpose I/O
1 Peripheral function
P2_3 function select
0 General purpose I/O
1 Peripheral function
P2_0 function select
0 General purpose I/O
1 Peripheral function
P0DIR (0xFD) – Port 0 Direction
Bit Name
Reset R/W
7:0 DIRP0_[7:0] 0x00 R/W
Description
P0_7 to P0_0 I/O direction
0 Input
1 Output
P1DIR (0xFE) – Port 1 Direction
Bit Name
Reset R/W
7:0 DIRP1_[7:0] 0x00 R/W
Description
P1_7 to P1_0 I/O direction
0 Input
1 Output
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 84 of 211