Reference Design Example

4.8.5Data direction

The GPIO_DIRN location is used to set the direction of each GPIO pin as follows: 1 = pin is an output

0 = pin is an input (default).

Figure 4-6 shows the data direction control for one GPIO bit.

Data direction register

Data register

Read data output Read data input

Pin/pad

Figure 4-6 GPIO direction control (1 bit)

4-22

Copyright © 2001-2003. All rights reserved.

ARM DUI 0163B

Page 68
Image 68
Arm Enterprises IM-AD1 manual Data direction, Gpio direction control 1 bit