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
Summary of Contents for ROM-5780
Page 1: ...User Manual ROM 5780 Rockchip RK3399 Cortex A72 A53 SMARC 2 1 Computer on Module...
Page 6: ...ROM 5780 User Manual vi...
Page 8: ...ROM 5780 User Manual viii...
Page 14: ...ROM 5780 User Manual 6...
Page 18: ...ROM 5780 User Manual 10...
Page 38: ...ROM 5780 User Manual 30...
Page 47: ...39 ROM 5780 User Manual Chapter 5 Advantech Services...