adac3 2.0.0.0
|
This file contains API for ADAC 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 | adac3_t |
ADAC 3 Click context object. More... | |
struct | adac3_cfg_t |
ADAC 3 Click configuration object. More... | |
Enumerations | |
enum | adac3_return_value_t { ADAC3_OK = 0 , ADAC3_ERROR = -1 } |
ADAC 3 Click return value data. More... | |
Functions | |
void | adac3_cfg_setup (adac3_cfg_t *cfg) |
ADAC 3 configuration object setup function. | |
err_t | adac3_init (adac3_t *ctx, adac3_cfg_t *cfg) |
ADAC 3 initialization function. | |
err_t | adac3_default_cfg (adac3_t *ctx) |
ADAC 3 default configuration function. | |
err_t | adac3_write_control (adac3_t *ctx, uint8_t control) |
ADAC 3 write control function. | |
err_t | adac3_write_dac (adac3_t *ctx, uint8_t dac) |
ADAC 3 write dac function. | |
err_t | adac3_read_adc (adac3_t *ctx, uint8_t *adc) |
ADAC 3 read adc function. | |
This file contains API for ADAC 3 Click Driver.
enum adac3_return_value_t |