libnx  v4.7.0
Data Structures | Functions
fan.h File Reference

Fan service IPC wrapper. More...

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

Go to the source code of this file.

Data Structures

struct  FanController
 

Functions

Result fanInitialize (void)
 Initialize fan.
 
void fanExit (void)
 Exit fan.
 
ServicefanGetServiceSession (void)
 Gets the Service object for the actual fan service session.
 
Result fanOpenController (FanController *out, u32 device_code)
 Opens IController session.
 
void fanControllerClose (FanController *controller)
 Close IController session.
 
Result fanControllerSetRotationSpeedLevel (FanController *controller, float level)
 
Result fanControllerGetRotationSpeedLevel (FanController *controller, float *level)
 

Detailed Description

Fan service IPC wrapper.

Author
Behemoth

Function Documentation

◆ fanControllerSetRotationSpeedLevel()

Result fanControllerSetRotationSpeedLevel ( FanController controller,
float  level 
)
Warning
Disabling your fan can damage your system.