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
* 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
19
#ifndef BH1750FVI_INTERNAL_H
20
#define BH1750FVI_INTERNAL_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
33
#define RES_DIV (78642)
34
39
#define OP_POWER_DOWN (0x00)
40
#define OP_POWER_ON (0x01)
41
#define OP_RESET (0x03)
42
#define OP_CONT_HRES1 (0x10)
43
#define OP_CONT_HRES2 (0x11)
44
#define OP_CONT_LRES (0x13)
45
#define OP_SINGLE_HRES1 (0x20)
46
#define OP_SINGLE_HRES2 (0x21)
47
#define OP_SINGLE_LRES (0x23)
48
#define OP_CHANGE_TIME_H_MASK (0x40)
49
#define OP_CHANGE_TIME_L_MASK (0x60)
56
#define DELAY_HMODE (120000)
57
#define DELAY_LMODE (16000)
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
/* BH1750FVI_INTERNAL_H */
Generated on Sat Nov 9 2024 01:05:30 by
1.9.8