ambient11 2.0.0.0
|
This file contains API for Ambient 11 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 | ambient11_t |
Click ctx object definition. More... | |
struct | ambient11_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | ambient11_cfg_setup (ambient11_cfg_t *cfg) |
Config Object Initialization function. | |
AMBIENT11_RETVAL | ambient11_init (ambient11_t *ctx, ambient11_cfg_t *cfg) |
Initialization function. | |
void | ambient11_default_cfg (ambient11_t *ctx) |
Click Default Configuration function. | |
void | ambient11_generic_write (ambient11_t *ctx, uint8_t wr_cmd, uint16_t wr_data) |
Generic write function. | |
uint16_t | ambient11_generic_read (ambient11_t *ctx, uint8_t reg_addr) |
Generic read function. | |
float | ambient11_calc_illumination (ambient11_t *ctx, float typical_res) |
Calculate Illumination function. | |
uint8_t | ambient11_check_int (ambient11_t *ctx) |
Check interrupt function. | |
This file contains API for Ambient 11 Click driver.