Skip to main content

Module sysfs

Module sysfs 

Expand description

Legacy sysfs GPIO interface in /sys/class/gpio.

Structsยง

Pin ๐Ÿ”’
Exported pin.
ValueFile ๐Ÿ”’
Open value file of a pin.

Enumsยง

Direction ๐Ÿ”’
Direction of a pin.

Constantsยง

EDGE ๐Ÿ”’ Android or Linux
sysfs reports an edge as POLLPRI on the value file.
ROOT ๐Ÿ”’

Functionsยง

write ๐Ÿ”’