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
* 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
33
#ifndef DRIVERS_CORETEMP_H
34
#define DRIVERS_CORETEMP_H
35
36
#include <stdint.h>
37
38
#ifdef __cplusplus
39
extern
"C"
{
40
#endif
41
51
int
coretemp_init
(
void
);
52
61
int16_t
coretemp_read
(
void
);
62
63
#ifdef __cplusplus
64
}
65
#endif
66
67
#endif
/* DRIVERS_CORETEMP_H */
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 Fri Nov 15 2024 22:46:35 by
1.9.8