The GPIO ports can be accessed using sysfs interface located in
/sys/class/gpio. However, I failed to found more detailed documentation, most of which only describes plain read/write operation.
What I specifically interested are:
- When a GPIO port is configured as input, how to monitor its edge interrupt?
- Actually, I even don't know how to configure a port to be triggering edge interrupts, via the sysfs interface.
- Does the sysfs interface capable to switch GPIO ports into alternative modes?