c2x30wamp 2.0.0.0
|
This file contains API for c2x30W Amp Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | c2x30wamp_t |
Click ctx object definition. More... | |
struct | c2x30wamp_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | C2X30WAMP_MAP_MIKROBUS(cfg, mikrobus) |
#define | C2X30WAMP_RETVAL int8_t |
#define | C2X30WAMP_OK 0 |
#define | C2X30WAMP_INIT_ERROR (-1) |
#define | C2X30WAMP_ENABLE 1 |
#define | C2X30WAMP_DISABLE 0 |
#define | C2X30WAMP_MUTE 1 |
#define | C2X30WAMP_UNMUTE 0 |
Functions | |
void | c2x30wamp_cfg_setup (c2x30wamp_cfg_t *cfg) |
Config Object Initialization function. | |
C2X30WAMP_RETVAL | c2x30wamp_init (c2x30wamp_t *ctx, c2x30wamp_cfg_t *cfg) |
Initialization function. | |
void | c2x30wamp_enable (c2x30wamp_t *ctx, uint8_t state) |
Device Enable function. | |
void | c2x30wamp_mute (c2x30wamp_t *ctx, uint8_t state) |
Device Mute function. | |
uint8_t | c2x30wamp_check_diagnostic (c2x30wamp_t *ctx) |
Diagnostic Check function. | |
This file contains API for c2x30W Amp Click driver.