Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
coretemp.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Bas Stottelaar <basstottelaar@gmail.com>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
35
#include <stdint.h>
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
40
50
int
coretemp_init
(
void
);
51
60
int16_t
coretemp_read
(
void
);
61
62
#ifdef __cplusplus
63
}
64
#endif
65
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 Jun 26 2025 14:14:44 by
1.9.1