Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
isl29020-internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2014 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 ISL29020_INTERNAL_H
20
#define ISL29020_INTERNAL_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#define ISL29020_REG_CMD 0x00
31
#define ISL29020_REG_LDATA 0x01
32
#define ISL29020_REG_HDATA 0x02
39
#define ISL29020_CMD_EN 0x80
40
#define ISL29020_CMD_MODE 0x40
41
#define ISL29020_CMD_LIGHT 0x20
42
#define ISL29020_CMD_RES 0x1c
43
#define ISL29020_CMD_RAGNE 0x03
50
#define ISL29020_RES_INT_16 0x00
51
#define ISL29020_RES_INT_12 0x04
52
#define ISL29020_RES_INT_8 0x08
53
#define ISL29020_RES_INT_4 0x0c
54
#define ISL29020_RES_EXT_ADC 0x10
55
#define ISL29020_RES_EXT_TIM 0x14
62
#define ISL29020_RANGE_1 0x00
63
#define ISL29020_RANGE_2 0x01
64
#define ISL29020_RANGE_3 0x02
65
#define ISL29020_RANGE_4 0x03
68
#ifdef __cplusplus
69
}
70
#endif
71
72
#endif
/* ISL29020_INTERNAL_H */
Generated on Sat Nov 23 2024 16:31:09 by
1.9.8