
41
RSB-4810 User Manual
C
ha
pte
r 3
So
ftw
are
F
un
ctio
na
lity
NOTE:
You have to configure GPIO to input
rising: Trigger on rising edge
falling: Trigger on falling edge
both: Trigger on both edges
none: Disable interrupt on both edges
Unexport GPIO.
GPIO1 and GPIO2 are taken as an example:
Connect GPIO1 and GPIO2.
Export GPIO1 and GPIO2.
Set GPIO1 to output and GPIO2 to input.
Change GPIO1 to 1 and read GPIO2 value.
Change GPIO1 to 0 and read GPIO2 value.
$ echo 96 > /sys/class/gpio/unexport
$ echo 96 > /sys/class/gpio/export
$ echo 98 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio96/direction
echo "in" > /sys/class/gpio/gpio98/direction
echo 1 > /sys/class/gpio/gpio96/value
cat /sys/class/gpio/gpio98/value
1
echo 0 > /sys/class/gpio/gpio96/value
cat /sys/class/gpio/gpio98/value
0
Summary of Contents for RSB-4810
Page 1: ...User Manual RSB 4810 3 5 Single board Computer with Rockchip Arm Cortex A55 Processor...
Page 6: ...RSB 4810 User Manual vi...
Page 14: ...RSB 4810 User Manual 6 2 1 Jumper and Connector Locations 2 2 Board Dimensions...
Page 30: ...RSB 4810 User Manual 22 Figure 2 9 M 2 Connector...
Page 37: ...29 RSB 4810 User Manual Chapter 2 Hardware Installation Figure 2 18 LAN1 Ethernet Connector...
Page 45: ...Chapter 3 3 Software Functionality This chapter details the software functions on RSB 4810...
Page 64: ...RSB 4810 User Manual 56...
Page 73: ...65 RSB 4810 User Manual Chapter 4 Advantech Services...