Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
bh1750fvi_params.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2016 Freie Universität Berlin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "board.h"
19
#include "
bh1750fvi.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#ifndef BH1750FVI_PARAM_I2C
30
#define BH1750FVI_PARAM_I2C I2C_DEV(0)
31
#endif
32
#ifndef BH1750FVI_PARAM_ADDR
33
#define BH1750FVI_PARAM_ADDR (BH1750FVI_DEFAULT_ADDR)
34
#endif
35
36
#ifndef BH1750FVI_PARAMS
37
#define BH1750FVI_PARAMS { .i2c = BH1750FVI_PARAM_I2C, \
38
.addr = BH1750FVI_PARAM_ADDR }
39
#endif
41
45
static
const
bh1750fvi_params_t
bh1750fvi_params
[] =
46
{
47
BH1750FVI_PARAMS
48
};
49
50
#ifdef __cplusplus
51
}
52
#endif
53
bh1750fvi.h
Interface definition for the Rohm BH1750FVI ambient light sensor.
bh1750fvi_params
static const bh1750fvi_params_t bh1750fvi_params[]
BH1750FVI configuration.
Definition
bh1750fvi_params.h:45
bh1750fvi_params_t
Set of configuration parameters for BH1750FV devices.
Definition
bh1750fvi.h:68
Generated on Wed Apr 15 2026 03:46:09 by
1.13.2