ambient3 2.0.0.0
|
This file contains API for Ambient 3 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 | ambient3_t |
Click ctx object definition. More... | |
struct | ambient3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | ambient3_cfg_setup (ambient3_cfg_t *cfg) |
Config Object Initialization function. | |
AMBIENT3_RETVAL | ambient3_init (ambient3_t *ctx, ambient3_cfg_t *cfg) |
Initialization function. | |
void | ambient3_default_cfg (ambient3_t *ctx) |
Default Config Initialization function. | |
void | ambient3_write_byte (ambient3_t *ctx, uint8_t virtual_reg, uint8_t data_buf) |
Write function. | |
uint8_t | ambient3_read_byte (ambient3_t *ctx, uint8_t virtual_reg) |
Read function. | |
void | ambient3_hardware_reset (ambient3_t *ctx) |
Hardware reset function. | |
uint8_t | ambient3_get_device_temperature (ambient3_t *ctx) |
Getting temperature function. | |
uint16_t | ambient3_get_data_in_lux (ambient3_t *ctx) |
This function reads data in LUX. | |
uint16_t | ambient3_get_cct_data (ambient3_t *ctx) |
This function reads CCT data in K. | |
uint8_t | ambient3_get_interrupt (ambient3_t *ctx) |
This function reads interrupt state. | |
This file contains API for Ambient 3 Click driver.