libnx  v4.6.0
Enumerations | Functions
bpc.h File Reference

Board power control (bpc) service IPC wrapper. More...

#include "../types.h"
#include "../sf/service.h"

Go to the source code of this file.

Enumerations

enum  BpcSleepButtonState {
  BpcSleepButtonState_Held = 0 ,
  BpcSleepButtonState_Released = 1
}
 

Functions

Result bpcInitialize (void)
 Initialize bpc.
 
void bpcExit (void)
 Exit bpc.
 
ServicebpcGetServiceSession (void)
 Gets the Service object for the actual bpc service session.
 
Result bpcShutdownSystem (void)
 
Result bpcRebootSystem (void)
 
Result bpcGetSleepButtonState (BpcSleepButtonState *out)
 [2.0.0-13.2.1]
 
Result bpcGetPowerButton (bool *out_is_pushed)
 [6.0.0+]
 

Detailed Description

Board power control (bpc) service IPC wrapper.

Author
XorTroll, SciresM