Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
32
#include <stdint.h>
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
47
int
coretemp_init
(
void
);
48
57
int16_t
coretemp_read
(
void
);
58
59
#ifdef __cplusplus
60
}
61
#endif
62
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 Sat Sep 6 2025 20:14:01 by
1.9.1