|
void | color12_cfg_setup (color12_cfg_t *cfg) |
| Color 12 configuration object setup function. More...
|
|
err_t | color12_init (color12_t *ctx, color12_cfg_t *cfg) |
| Color 12 initialization function. More...
|
|
err_t | color12_default_cfg (color12_t *ctx) |
| Color 12 default configuration function. More...
|
|
err_t | color12_generic_write (color12_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| Color 12 I2C writing function. More...
|
|
err_t | color12_generic_read (color12_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| Color 12 I2C reading function. More...
|
|
err_t | color12_sw_reset (color12_t *ctx) |
| Color 12 software reset function. More...
|
|
err_t | color12_set_config (color12_t *ctx, color12_config_t config) |
| Color 12 sets the configuration function. More...
|
|
err_t | color12_get_config (color12_t *ctx, color12_config_t *config) |
| Color 12 gets the configuration function. More...
|
|
err_t | color12_get_color_data (color12_t *ctx, color12_color_sel_t color_sel, uint16_t *color_data) |
| Color 12 gets the color measurement result function. More...
|
|
err_t | color12_get_device_id (color12_t *ctx, uint8_t *device_id) |
| Color 12 gets the device ID function. More...
|
|
uint8_t | color12_get_int_pin (color12_t *ctx) |
| Color 12 gets the interrupt function. More...
|
|
This file contains API for Color 12 Click Driver.