Module gpio::sysfs [] [src]

Linux /sys-fs based GPIO control

Uses the Linux GPIO Sysfs filesystem operations to control GPIO ports. It tries to reduce the otherwise hefty syscall overhead by keeping the sysfs files open, instead of reopening them on each read.

Every open call to a GPIO pin will automatically export the necessary pin and unexport it on close.

Structs

SysFsGpioInput

/sys-fs based GPIO output

SysFsGpioOutput

/sys-fs based GPIO output