KubOS
|
KubOS-Core 0.0.3
Main Page
Modules
Files
File List
Globals
kubos-core
modules
sensors
htu21d.h
Go to the documentation of this file.
1
/*
2
* KubOS Core
3
* Copyright (C) 2016 Kubos Corporation
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
43
#ifdef YOTTA_CFG_SENSORS_HTU21D
44
#ifndef HTU21D_H
45
#define HTU21D_H
46
47
#include "kubos-hal/i2c.h"
48
#include "
kubos-core/modules/sensors/sensors.h
"
49
53
void
htu21d_setup
(
void
);
54
59
KSensorStatus
htu21d_read_temperature
(
float
* temp);
60
65
KSensorStatus
htu21d_read_humidity
(
float
* hum);
66
70
void
htu21d_reset
(
void
);
71
72
#endif
73
#endif
74
75
/* @} */
htu21d_setup
void htu21d_setup(void)
htu21d_read_humidity
KSensorStatus htu21d_read_humidity(float *hum)
KSensorStatus
KSensorStatus
Definition:
sensors.h:22
sensors.h
htu21d_read_temperature
KSensorStatus htu21d_read_temperature(float *temp)
htu21d_reset
void htu21d_reset(void)
Generated by
1.8.11