Jump to: navigation, search

Fitlet GPIO SDK for Linux

13 bytes added, 13:12, 17 December 2015
__TOC__== GPIO Overview ==* '''NOTE!''' Not supported in mainline Linux kernel. * [[Fitlet:_Linux:_Kernel | Linux Kernel for Fitlet]] should must be installed to make this feature work
* GPIO interface on fitlet consists of 9 GPIOs provided by AMD FCH (Fusion Controller Hub)
* The responsible kernel module is gpio_fch
== Usage ==
* The GPIO sysfs interface allows users to manipulate any GPIO from userspace dynamically.
* A basic example of GPIO P-1 (Brown) usage (as root user):
$ echo 89 > /sys/class/gpio/unexport
== Documentation ==
* The GPIO framework and GPIO sysfs interface are documented in