beautypg.com

Table 7-5, Gpio command usage – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual

Page 107

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95C)

107

For more information, see

GPIO

on page 78

.

The U-Boot provides several GPIO utility commands.

The parameters used in the GPIO utility commands are described below.

GPIO07

O

I

GPO4 of COM-E connectors

GPIO19

O

I

Clock Generator Enable

GPIO20

O

I

Carried board reset output

GPIO23

I

I

Clock generator of bank 1 frequency selection input

GPIO24

I

I

Clock generator of bank 2/3 frequency selection input

Table 7-5 GPIO Command Usage

Command

Description

gpio dump

Dumps the direction, od and level information for all pins

gpio get

Gets the direction, od and level information for the specified pin

gpio set dir

Sets the direction of the specified pin

gpio set dir

Sets the od of the specified pin

gpio set dir

Sets the level of the specified pin

-

0, 1, 2, 3, 4, 5, 6, 7, 19, 20, 23, 24

-

0 for input

1 for output

-

0 for output

1 for open drain

-

0 for low level

1 for high level

Table 7-4 GPIO States (continued)

GPIO#

Input/Output

Reset State

Description