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
* Copyright (C) 2016 Freie Universität Berlin
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
20
21
#include "board.h"
22
#include "
bh1750fvi.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#ifndef BH1750FVI_PARAM_I2C
33
#define BH1750FVI_PARAM_I2C I2C_DEV(0)
34
#endif
35
#ifndef BH1750FVI_PARAM_ADDR
36
#define BH1750FVI_PARAM_ADDR (BH1750FVI_DEFAULT_ADDR)
37
#endif
38
39
#ifndef BH1750FVI_PARAMS
40
#define BH1750FVI_PARAMS { .i2c = BH1750FVI_PARAM_I2C, \
41
.addr = BH1750FVI_PARAM_ADDR }
42
#endif
44
48
static
const
bh1750fvi_params_t
bh1750fvi_params
[] =
49
{
50
BH1750FVI_PARAMS
51
};
52
53
#ifdef __cplusplus
54
}
55
#endif
56
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:48
bh1750fvi_params_t
Set of configuration parameters for BH1750FV devices.
Definition
bh1750fvi.h:68
Generated on Mon Sep 15 2025 13:46:11 by
1.13.2