color6 2.0.0.0
|
This file contains API for Color 6 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | color6_t |
Click ctx object definition. More... | |
struct | color6_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | color6_cfg_setup (color6_cfg_t *cfg) |
Config Object Initialization function. | |
COLOR6_RETVAL | color6_init (color6_t *ctx, color6_cfg_t *cfg) |
Initialization function. | |
void | color6_default_cfg (color6_t *ctx) |
Click Default Configuration function. | |
void | color6_generic_write (color6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | color6_generic_read (color6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | color6_write_byte (color6_t *ctx, uint8_t reg, uint8_t r_data) |
Functions for write one byte in register. | |
uint8_t | color6_read_byte (color6_t *ctx, uint8_t reg) |
Functions for read one byte data from register. | |
uint16_t | color6_read_data (color6_t *ctx, uint8_t reg) |
Functions for read data from register. | |
float | color6_get_temperature (color6_t *ctx) |
Functions for read temperature. | |
void | color6_software_reset (color6_t *ctx) |
Functions for software reset. | |
void | color6_go_to_measurement_mode (color6_t *ctx) |
Functions for go to measurement mode. | |
float | color6_converting_to_ee (color6_t *ctx, uint8_t channel, uint16_t mres_data) |
Functions for go to measurement mode. | |
This file contains API for Color 6 Click driver.