Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
coretemp.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2020 Bas Stottelaar <basstottelaar@gmail.com>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
38
39
#include <stdint.h>
40
41
#ifdef __cplusplus
42
extern
"C"
{
43
#endif
44
55
int
coretemp_init
(
void
);
56
68
int16_t
coretemp_read
(
void
);
69
70
#ifdef __cplusplus
71
}
72
#endif
73
coretemp_read
int16_t coretemp_read(void)
Read the current temperature from the sensor.
coretemp_init
int coretemp_init(void)
Initialize the sensor.
Generated on Thu Sep 3 2026 21:30:11 by
1.13.2