ambient6 2.0.0.0
|
This file contains API for Ambient 6 Click driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | ambient6_t |
Click ctx object definition. More... | |
struct | ambient6_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | ambient6_cfg_setup (ambient6_cfg_t *cfg) |
Config Object Initialization function. | |
AMBIENT6_RETVAL | ambient6_init (ambient6_t *ctx, ambient6_cfg_t *cfg) |
Initialization function. | |
void | ambient6_default_cfg (ambient6_t *ctx) |
Click Default Configuration function. | |
void | ambient6_generic_write (ambient6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | ambient6_generic_read (ambient6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint16_t | ambient6_get_ambient_data (ambient6_t *ctx) |
Functions for read 16bit Ambient Data (ALS) | |
void | ambient6_settings (ambient6_t *ctx, uint16_t config_data) |
Functions for configuration device for measurement. | |
float | ambient6_get_ambient_light (ambient6_t *ctx) |
Functions for get Ambient Light Data. | |
This file contains API for Ambient 6 Click driver.