![Artesyn COMX-P40x0 ENP2 Скачать руководство пользователя страница 97](http://html1.mh-extra.com/html/artesyn/comx-p40x0-enp2/comx-p40x0-enp2_manual_2977668097.webp)
BSP
COMX-P40x0 ENP2 Installation and Use (6806800R95B)
97
The U-Boot provides several GPIO utility commands.
The parameters used in the GPIO utility commands are described below.
For the GPIO signals connected to the I2C expander, these are controlled via the "i2c" command
using the I2C address = 0x18. For more information, see
7.12 UART
There are a total of four universal asynchronous receiver/transmitters (UART) in the COMX-
P40x0, each with Tx and Rx signals routed to the COM-E connectors.
Table 7-5 GPIO Command Usage
Command
Description
gpio dump
Dumps the direction, od and level information for all pins
gpio get <pin>
Gets the direction, od and level information for the specified pin
gpio set dir <pin> <dir>
Sets the direction of the specified pin
gpio set dir <pin> <ol>
Sets the od of the specified pin
gpio set dir <pin> <lvl>
Sets the level of the specified pin
<pin>
-
0, 1, 2, 3, 4, 5, 6, 7, 19, 20, 23, 24
<dir>
-
0 for input
1 for output
<od>
-
0 for output
1 for open drain
<lvl>
-
0 for low level
1 for high level
Содержание COMX-P40x0 ENP2
Страница 1: ...COMX P40x0 ENP2 Installation and Use P N 6806800R95B August 2014...
Страница 8: ...COMX P40x0 ENP2 Installation and Use 6806800R95B 8 List of Tables...
Страница 10: ...COMX P40x0 ENP2 Installation and Use 6806800R95B 10 List of Figures...
Страница 26: ...Introduction COMX P40x0 ENP2 Installation and Use 6806800R95B 26...
Страница 56: ...Controls LEDs and Connectors COMX P40x0 ENP2 Installation and Use 6806800R95B 56...
Страница 78: ...Functional Description COMX P40x0 ENP2 Installation and Use 6806800R95B 78...
Страница 126: ...Related Documentation COMX P40x0 ENP2 Installation and Use 6806800R95B 126...
Страница 128: ...COMX P40x0 ENP2 Installation and Use 6806800R95B Safety Notes 128...
Страница 129: ......