Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
bh1900nux_params.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2020 Nalys
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "board.h"
19
#include "
bh1900nux.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#ifndef BH1900NUX_PARAM_I2C
30
#define BH1900NUX_PARAM_I2C I2C_DEV(0)
31
#endif
32
#ifndef BH1900NUX_PARAM_ADDR
33
#define BH1900NUX_PARAM_ADDR (BH1900NUX_DEFAULT_ADDR)
34
#endif
35
36
#ifndef BH1900NUX_PARAMS
37
#define BH1900NUX_PARAMS { .i2c = BH1900NUX_PARAM_I2C, \
38
.addr = BH1900NUX_PARAM_ADDR }
39
#endif
41
45
static
const
bh1900nux_params_t
bh1900nux_params
[] =
46
{
47
BH1900NUX_PARAMS
48
};
49
50
#ifdef __cplusplus
51
}
52
#endif
53
bh1900nux.h
Interface definition for the BH1900NUX temperature sensor.
bh1900nux_params
static const bh1900nux_params_t bh1900nux_params[]
BH1900NUX configuration.
Definition
bh1900nux_params.h:45
bh1900nux_params_t
Set of configuration parameters for BH1900NUX devices.
Definition
bh1900nux.h:83
Generated on Wed Apr 15 2026 03:46:09 by
1.13.2