English
Language : 

CC2430 Datasheet, PDF (73/234 Pages) Texas Instruments – A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee-TM
CC2430
13.1.7 32.768 kHz XOSC input
Ports P2_3 and P2_4 are used to connect an
external 32.768 kHz crystal. These port pins
will be used by the 32.768 kHz crystal
oscillator when CLKCON.OSC32K is low,
regardless of register settings. The port pins
will be set in analog mode when
CLKCON.OSC32K is low.
13.1.8 Unused I/O pins
Unused I/O pins should have a defined level
and not be left floating. One way to do this is to
leave the pin unconnected and configure the
pin as a general purpose I/O input with pull-up
resistor. This is also the state of all pins during
reset. Alternatively the pin can be configured
as a general purpose I/O output. In both cases
the pin should not be connected directly to
VDD or GND in order to avoid excessive
power consumption.
13.1.9 I/O registers
The registers for the I/O ports are described in
this section. The registers are:
• P0 Port 0
• P1 Port 1
• P2 Port 2
• PERCFG Peripheral control register
• ADCCFG ADC input configuration
register
• P0SEL Port 0 function select register
• P1SEL Port 1 function select register
• P2SEL Port 2 function select register
• P0DIR Port 0 direction register
• P1DIR Port 1 direction register
• P2DIR Port 2 direction register
• P0INP Port 0 input mode register
• P1INP Port 1 input mode register
• P2INP Port 2 input mode register
• P0IFG Port 0 interrupt status flag
register
• P1IFG Port 1 interrupt status flag
register
• P2IFG Port 2 interrupt status flag
register
• PICTL Interrupt mask and edge
register
• P1IEN Port 1 interrupt mask register
P0 (0x80) – Port 0
Bit Name
7:0 P0[7:0]
Reset R/W Description
0xFF R/W Port 0. General purpose I/O port. Bit-addressable.
P1 (0x90) – Port 1
Bit Name
7:0 P1[7:0]
Reset R/W Description
0xFF R/W Port 1. General purpose I/O port. Bit-addressable.
P2 (0xA0) – Port 2
Bit Name
7:5 -
4:0 P2[4:0]
Reset R/W
000 R0
0x1F R/W
Description
Not used
Port 2. General purpose I/O port. Bit-addressable.
CC2430 PRELIMINARY Data Sheet (rev. 1.03) SWRS036A
Page 73 of 232