c2x30wamp 2.0.0.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. | |
void c2x30wamp_cfg_setup | ( | c2x30wamp_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint8_t c2x30wamp_check_diagnostic | ( | c2x30wamp_t * | ctx | ) |
Diagnostic Check function.
ctx | Click object. |
@description Function checks is the device in fault condition or in normal operation state.
void c2x30wamp_enable | ( | c2x30wamp_t * | ctx, |
uint8_t | state ) |
Device Enable function.
ctx | Click object. |
state | 0 - Disable, 1 - Enable |
@description Function allows the device to be enabled or disabled.
C2X30WAMP_RETVAL c2x30wamp_init | ( | c2x30wamp_t * | ctx, |
c2x30wamp_cfg_t * | cfg ) |
Initialization function.
c2x30wamp | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.
void c2x30wamp_mute | ( | c2x30wamp_t * | ctx, |
uint8_t | state ) |
Device Mute function.
ctx | Click object. |
state | 0 - Unmute, 1 - Mute |
@description Function performs the mute or the unmute operation.