9#include "../kernel/event.h" 
   10#include "../sf/service.h" 
   13    GpioPadName_AudioCodec    = 1,
 
   14    GpioPadName_ButtonVolUp   = 25,
 
   15    GpioPadName_ButtonVolDown = 26,
 
   16    GpioPadName_SdCd          = 56,
 
   24    GpioDirection_Input  = 0,
 
   25    GpioDirection_Output = 1,
 
   34    GpioInterruptMode_LowLevel    = 0,
 
   35    GpioInterruptMode_HighLevel   = 1,
 
   36    GpioInterruptMode_RisingEdge  = 2,
 
   37    GpioInterruptMode_FallingEdge = 3,
 
   38    GpioInterruptMode_AnyEdge     = 4,
 
   42    GpioInterruptStatus_Inactive = 0,
 
   43    GpioInterruptStatus_Active   = 1,
 
   58Result gpioIsWakeEventActive(
bool *out, GpioPadName name);
 
   59Result gpioIsWakeEventActive2(
bool *out, 
u32 device_code);
 
Result gpioPadGetInterruptStatus(GpioPadSession *p, GpioInterruptStatus *out)
[1.0.0-16.1.0]
Result gpioInitialize(void)
Initialize gpio.
Result gpioPadClearInterruptStatus(GpioPadSession *p)
[1.0.0-16.1.0]
void gpioExit(void)
Exit gpio.
Service * gpioGetServiceSession(void)
Gets the Service object for the actual gpio service session.
Kernel-mode event structure.
Definition event.h:13
Service object structure.
Definition service.h:14
u32 Result
Function error code result type.
Definition types.h:44
int32_t s32
32-bit signed integer.
Definition types.h:27
uint32_t u32
32-bit unsigned integer.
Definition types.h:21