evc 2.0.0.0
|
This file contains API for EVC 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 | evc_t |
Click ctx object definition. More... | |
struct | evc_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | evc_cfg_setup (evc_cfg_t *cfg) |
Config Object Initialization function. | |
EVC_RETVAL | evc_init (evc_t *ctx, evc_cfg_t *cfg) |
Initialization function. | |
void | evc_default_cfg (evc_t *ctx) |
Click Default Configuration function. | |
void | evc_generic_write (evc_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | evc_generic_read (evc_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | evc_set_volume_part (evc_t *ctx, uint8_t channel, uint8_t volume1, uint8_t volume2) |
Set volume for the channel. | |
void | evc_set_volume_full (evc_t *ctx, uint8_t channel, int8_t volume) |
Set volume for the channel. | |
void | evc_clear (evc_t *ctx) |
Clear register. | |
void | evc_mute (evc_t *ctx, uint8_t mute) |
Mute and Unmute. | |
This file contains API for EVC Click driver.