LibDriver MAX44009
Loading...
Searching...
No Matches
driver_max44009_basic.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_MAX44009_BASIC_H
38#define DRIVER_MAX44009_BASIC_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
52
56#define MAX44009_BASIC_DEFAULT_AUTO_RANGE MAX44009_BOOL_TRUE
57#define MAX44009_BASIC_DEFAULT_CONTINUOUS_MODE MAX44009_BOOL_TRUE
58#define MAX44009_BASIC_DEFAULT_CURRENT_DIV_8 MAX44009_BOOL_FALSE
59#define MAX44009_BASIC_DEFAULT_INTEGRATION_TIME MAX44009_INTEGRATION_TIME_200MS
60
70
79uint8_t max44009_basic_read(float *lux);
80
88uint8_t max44009_basic_deinit(void);
89
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif
driver max44009 interface header file
max44009_address_t
max44009 address enumeration definition
uint8_t max44009_basic_init(max44009_address_t addr_pin)
basic example init
uint8_t max44009_basic_read(float *lux)
basic example read
uint8_t max44009_basic_deinit(void)
basic example deinit