Texas Instruments MSP430x1xx Computer Hardware User Manual


 
Digital I/O Introduction
9-2
Digital I/O
9.1 Digital I/O Introduction
MSP430 devices have up to 6 digital I/O ports implemented, P1 - P6. Each port
has eight I/O pins. Every I/O pin is individually configurable for input or output
direction, and each I/O line can be individually read or written to.
Ports P1 and P2 have interrupt capability. Each interrupt for the P1 and P2 I/O
lines can be individually enabled and configured to provide an interrupt on a
rising edge or falling edge of an input signal. All P1 I/O lines source a single
interrupt vector, and all P2 I/O lines source a different, single interrupt vector.
The digital I/O features include:
- Independently programmable individual I/Os
- Any combination of input or output
- Individually configurable P1 and P2 interrupts
- Independent input and output data registers