libnx
v4.7.0
|
GPIO service IPC wrapper. More...
Go to the source code of this file.
Data Structures | |
struct | GpioPadSession |
Functions | |
Result | gpioInitialize (void) |
Initialize gpio. | |
void | gpioExit (void) |
Exit gpio. | |
Service * | gpioGetServiceSession (void) |
Gets the Service object for the actual gpio service session. | |
Result | gpioOpenSession (GpioPadSession *out, GpioPadName name) |
Result | gpioOpenSession2 (GpioPadSession *out, u32 device_code, u32 access_mode) |
Result | gpioIsWakeEventActive (bool *out, GpioPadName name) |
Result | gpioIsWakeEventActive2 (bool *out, u32 device_code) |
Result | gpioPadSetDirection (GpioPadSession *p, GpioDirection dir) |
Result | gpioPadGetDirection (GpioPadSession *p, GpioDirection *out) |
Result | gpioPadSetInterruptMode (GpioPadSession *p, GpioInterruptMode mode) |
Result | gpioPadGetInterruptMode (GpioPadSession *p, GpioInterruptMode *out) |
Result | gpioPadSetInterruptEnable (GpioPadSession *p, bool en) |
Result | gpioPadGetInterruptEnable (GpioPadSession *p, bool *out) |
Result | gpioPadGetInterruptStatus (GpioPadSession *p, GpioInterruptStatus *out) |
[1.0.0-16.1.0] | |
Result | gpioPadClearInterruptStatus (GpioPadSession *p) |
[1.0.0-16.1.0] | |
Result | gpioPadSetValue (GpioPadSession *p, GpioValue val) |
Result | gpioPadGetValue (GpioPadSession *p, GpioValue *out) |
Result | gpioPadBindInterrupt (GpioPadSession *p, Event *out) |
Result | gpioPadUnbindInterrupt (GpioPadSession *p) |
Result | gpioPadSetDebounceEnabled (GpioPadSession *p, bool en) |
Result | gpioPadGetDebounceEnabled (GpioPadSession *p, bool *out) |
Result | gpioPadSetDebounceTime (GpioPadSession *p, s32 ms) |
Result | gpioPadGetDebounceTime (GpioPadSession *p, s32 *out) |
void | gpioPadClose (GpioPadSession *p) |
GPIO service IPC wrapper.