dsp 2.0.0.0
|
This file contains API for DSP Click Driver. More...
#include "drv_digital_out.h"
Go to the source code of this file.
Data Structures | |
struct | dsp_t |
DSP Click context object. More... | |
struct | dsp_cfg_t |
DSP Click configuration object. More... | |
Macros | |
#define | DSP_SET_EFFECT_MEDIUM 0x00 |
DSP reverb and multi-effects setting. | |
#define | DSP_SET_EFFECT_CHAMBR7B 0x01 |
#define | DSP_SET_EFFECT_ROOM3B 0x02 |
#define | DSP_SET_EFFECT_CHAMBER2 0x03 |
#define | DSP_SET_EFFECT_REVERS3B 0x04 |
#define | DSP_SET_EFFECT_GATED4B 0x05 |
#define | DSP_SET_EFFECT_ROOM2A 0x06 |
#define | DSP_SET_EFFECT_SPRING3B 0x07 |
#define | DSP_SET_EFFECT_PHASER1 0x08 |
#define | DSP_SET_EFFECT_FLANGER2 0x09 |
#define | DSP_SET_EFFECT_DELAY7 0x0A |
#define | DSP_SET_EFFECT_CHORUS4 0x0B |
#define | DSP_SET_EFFECT_EARLREF4 0x0C |
#define | DSP_SET_EFFECT_AMB4 0x0D |
#define | DSP_SET_EFFECT_DELAY3 0x0E |
#define | DSP_SET_EFFECT_DELAY1 0x0F |
#define | DSP_SET_PIN_STATE_LOW 0x00 |
DSP pin setting function. | |
#define | DSP_SET_PIN_STATE_HIGH 0x01 |
#define | dsp_retval_t uint8_t |
DSP error code settings. | |
#define | DSP_OK 0x00 |
#define | DSP_ERROR 0xFF |
#define | DSP_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Functions | |
void | dsp_cfg_setup (dsp_cfg_t *cfg) |
DSP configuration object setup function. | |
err_t | dsp_init (dsp_t *ctx, dsp_cfg_t *cfg) |
DSP initialization function. | |
void | dsp_default_cfg (dsp_t *ctx) |
DSP default configuration function. | |
void | dsp_pin_set_p0 (dsp_t *ctx, uint8_t pin_state) |
DSP P0 pin setting function. | |
void | dsp_pin_set_p1 (dsp_t *ctx, uint8_t pin_state) |
DSP P1 pin setting function. | |
void | dsp_pin_set_p2 (dsp_t *ctx, uint8_t pin_state) |
DSP P2 pin setting function. | |
void | dsp_pin_set_p3 (dsp_t *ctx, uint8_t pin_state) |
DSP P3 pin setting function. | |
void | dsp_power_on (dsp_t *ctx) |
DSP power on the device function. | |
void | dsp_reset (dsp_t *ctx) |
DSP reset the device function. | |
dsp_retval_t | dsp_set_effect (dsp_t *ctx, uint8_t effects) |
DSP reverb and multi-effects setting function. | |
This file contains API for DSP Click Driver.