libnx  v4.8.0
tc.h
Go to the documentation of this file.
1 /**
2  * @file tc.h
3  * @brief Temperature control (tc) service IPC wrapper.
4  * @author Behemoth
5  * @copyright libnx Authors
6  */
7 #pragma once
8 #include "../types.h"
9 #include "../sf/service.h"
10 
11 /// Initialize tc.
13 
14 /// Exit tc.
15 void tcExit(void);
16 
17 /// Gets the Service for tc.
19 
20 Result tcEnableFanControl(void);
21 /// @warning Disabling your fan can damage your system.
23 Result tcIsFanControlEnabled(bool *status);
24 /// Only available on [5.0.0+].
26 
Service object structure.
Definition: service.h:14
Result tcInitialize(void)
Initialize tc.
void tcExit(void)
Exit tc.
Result tcDisableFanControl(void)
Result tcGetSkinTemperatureMilliC(s32 *skinTemp)
Only available on [5.0.0+].
Service * tcGetServiceSession(void)
Gets the Service for tc.
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27