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,
44 } GpioInterruptStatus;
58 Result gpioIsWakeEventActive(
bool *out, GpioPadName name);
59 Result gpioIsWakeEventActive2(
bool *out,
u32 device_code);