ROM-5780 User Manual
28
Export GPIO then you can use control GPIO from user space through sysfs.
Export GPIO0
Set GPIO direction to in/out
Set GPIO value 0/1 if GPIO pin define is output
Used as IRQ signal
Note:
You have to configure GPIO to input
Unexport GPIO0
GPIO 0 and GPIO 1 are taken as an example:
Connect GPIO 0 and GPIO 1
Export GPIO 0 and GPIO 1
Set GPIO 1 to output
Set GPIO 2 to input
Change GPIO 0 to 1 and read GPIO 2 value
GPIO10
GPIO2_A3
67
GPIO11
GPIO4_C5
149
Содержание ROM-5780
Страница 1: ...User Manual ROM 5780 Rockchip RK3399 Cortex A72 A53 SMARC 2 1 Computer on Module...
Страница 6: ...ROM 5780 User Manual vi...
Страница 8: ...ROM 5780 User Manual viii...
Страница 14: ...ROM 5780 User Manual 6...
Страница 17: ...9 ROM 5780 User Manual Chapter 2 H W Installation 2 2 Block Diagram Figure 2 1 ROM 5780 Block Diagram...
Страница 18: ...ROM 5780 User Manual 10...
Страница 19: ...Chapter 3 3 Pin Definitions Quick Start Guide This chapter comprises pin defini tions and a quick start guide...
Страница 25: ...Chapter 4 4 Software Functionality This chapter details the software programs on the ROM 5780 plat form...
Страница 38: ...ROM 5780 User Manual 30...
Страница 47: ...39 ROM 5780 User Manual Chapter 5 Advantech Services...