BSB Developer Docs
Loading...
Searching...
No Matches
bh1730.h
1#pragma once
2
3#include <stdint.h>
4#include <stdbool.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
11
18bool bh1730_init(FuriHalI2cBusHandle* handle);
19
28bool bh1730_read_raw_data0(FuriHalI2cBusHandle* handle, uint16_t* value);
29
38bool bh1730_read_raw_data1(FuriHalI2cBusHandle* handle, uint16_t* value);
39
48bool bh1730_read_lux(FuriHalI2cBusHandle* handle, float* value);
49
57bool bh1730_sleep_mode(FuriHalI2cBusHandle* handle, bool sleep);
58
59#ifdef __cplusplus
60}
61#endif
FuriHal i2c handle.
Definition furi_hal_i2c_types.h:44