libnx  v4.2.2
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.
12 Result tcInitialize(void);
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 
tcGetServiceSession
Service * tcGetServiceSession(void)
Gets the Service for tc.
tcInitialize
Result tcInitialize(void)
Initialize tc.
s32
int32_t s32
32-bit signed integer.
Definition: types.h:27
tcGetSkinTemperatureMilliC
Result tcGetSkinTemperatureMilliC(s32 *skinTemp)
Only available on [5.0.0+].
tcExit
void tcExit(void)
Exit tc.
tcDisableFanControl
Result tcDisableFanControl(void)
Result
u32 Result
Function error code result type.
Definition: types.h:44
Service
Service object structure.
Definition: service.h:13