Specifications
5-1
Digital Input/Output (I/O)
The digital I/O ports module provides a flexible method for controlling both
dedicated I/O and shared pin functions. All I/O and shared pin functions are
controlled using nine 16-bit registers. These registers are divided into two
types:
- I/O MUX Control registers (MCRx) – Used to control the multiplexor selec-
tion that chooses between the primary function of a pin or the general-
purpose I/O function.
- Data and Direction Control registers (PxDATDIR) – Used to control the
data and data direction of bidirectional I/O pins.
The GPIO pins are controlled through “data-memory mapped registers.” Note
that there is no relationship between the GPIO pins and the I/O space of the
device.
Topic Page
5.1 Digital I/O Ports Register Implementation on ’240x Devices 5-2. . . . . . .
5.2 Differences in GPIO Implementation in ’240x 5-4. . . . . . . . . . . . . . . . . . . .
5.3 I/O MUX Control Registers 5-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4 Data and Direction Control Registers 5-9. . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 5










