48 #ifndef __DRV_COLOR_H__ 49 #define __DRV_COLOR_H__ 51 #include "drv_bh1745.h" 63 nrf_drv_twi_t
const * p_twi_instance;
64 nrf_drv_twi_config_t
const * p_twi_cfg;
uint32_t drv_color_stop(void)
Function for stopping the color sensor.
uint32_t drv_color_start(void)
Function for starting the color sensor.
uint32_t drv_color_sample(void)
Function for acquiring a sample from the color sensor.
void(* drv_color_data_handler_t)(drv_color_data_t const *p_evt)
Color sensor driver event handler callback type.
Definition: drv_color.h:57
uint32_t drv_color_init(drv_color_init_t *p_init)
Function for initializing the color sensor.
Measurement result.
Definition: drv_bh1745.h:126
drv_bh1745_data_t drv_color_data_t
Resulting color data for red, green, blue, and clear.
Definition: drv_color.h:53
Color sensor configuration struct.
Definition: drv_color.h:61