Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
bh1750fvi_internal.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
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
29
#define RES_DIV (78642)
30
35
#define OP_POWER_DOWN (0x00)
36
#define OP_POWER_ON (0x01)
37
#define OP_RESET (0x03)
38
#define OP_CONT_HRES1 (0x10)
39
#define OP_CONT_HRES2 (0x11)
40
#define OP_CONT_LRES (0x13)
41
#define OP_SINGLE_HRES1 (0x20)
42
#define OP_SINGLE_HRES2 (0x21)
43
#define OP_SINGLE_LRES (0x23)
44
#define OP_CHANGE_TIME_H_MASK (0x40)
45
#define OP_CHANGE_TIME_L_MASK (0x60)
47
52
#define DELAY_HMODE (120000)
53
#define DELAY_LMODE (16000)
55
56
#ifdef __cplusplus
57
}
58
#endif
59
Generated on Wed Apr 15 2026 03:46:09 by
1.13.2