Intel Galileo I/O and Muxing
Table A-1 presents the I/O mappings for Intel Galileo. This table is the official port I/O mapping provided by Intel and also can be found accessing “https://communities.intel.com/docs/DOC-21920”.
Table A-1. Intel Galileo I/O Mappings
Following are acronyms for Table A-1:
Table A-2 presents the Mux Selectors for Intel Galileo.
Table A-2. Intel Galileo Muxing
Following are acronyms for Table A-2:
The following commands demonstrated some examples how to use the table using Linux terminal shell:
echo -n "27" > /sys/class/gpio/export
echo -n "out" > /sys/class/gpio/gpio27/direction
echo 0 > /sys/class/gpio/gpio27/value # will set OUTPUT as LOW
echo 1 > /sys/class/gpio/gpio27/value # will set OUTPUT as HIGH
echo -n "27" > /sys/class/gpio/export
echo -n "in" > /sys/class/gpio/gpio27/direction
cat /sys/class/gpio/gpio27/value
3.140.252.192