Bouffalo SDK
1.0
Bouffalolab Software Development Kit
|
![]() |
Modules | |
audac feature control cmd definition | |
Data Structures | |
struct | bflb_audac_init_config_s |
AUDAC initialization configuration structure. More... | |
struct | bflb_audac_volume_config_s |
AUDAC volume configuration structure. More... | |
Macros | |
#define | AUDAC_INTSTS_VOLUME_RAMP (1 << 0) |
#define | AUDAC_INTSTS_FIFO_OVER (1 << 1) |
#define | AUDAC_INTSTS_FIFO_UNDER (1 << 2) |
#define | AUDAC_INTSTS_FIFO_AVAILABLE (1 << 3) |
Functions | |
int | bflb_audac_init (struct bflb_device_s *dev, const struct bflb_audac_init_config_s *config) |
int | bflb_audac_volume_init (struct bflb_device_s *dev, const struct bflb_audac_volume_config_s *vol_cfg) |
int | bflb_audac_link_rxdma (struct bflb_device_s *dev, bool enable) |
int | bflb_audac_int_mask (struct bflb_device_s *dev, uint32_t mask) |
int | bflb_audac_get_intstatus (struct bflb_device_s *dev) |
int | bflb_audac_int_clear (struct bflb_device_s *dev, uint32_t int_clear) |
int | bflb_audac_feature_control (struct bflb_device_s *dev, int cmd, size_t arg) |
#define AUDAC_INTSTS_FIFO_AVAILABLE (1 << 3) |
Definition at line 113 of file bflb_audac.h.
#define AUDAC_INTSTS_FIFO_OVER (1 << 1) |
Definition at line 111 of file bflb_audac.h.
#define AUDAC_INTSTS_FIFO_UNDER (1 << 2) |
Definition at line 112 of file bflb_audac.h.
#define AUDAC_INTSTS_VOLUME_RAMP (1 << 0) |
Definition at line 110 of file bflb_audac.h.
int bflb_audac_feature_control | ( | struct bflb_device_s * | dev, |
int | cmd, | ||
size_t | arg | ||
) |
int bflb_audac_get_intstatus | ( | struct bflb_device_s * | dev | ) |
int bflb_audac_init | ( | struct bflb_device_s * | dev, |
const struct bflb_audac_init_config_s * | config | ||
) |
int bflb_audac_int_clear | ( | struct bflb_device_s * | dev, |
uint32_t | int_clear | ||
) |
int bflb_audac_int_mask | ( | struct bflb_device_s * | dev, |
uint32_t | mask | ||
) |
int bflb_audac_link_rxdma | ( | struct bflb_device_s * | dev, |
bool | enable | ||
) |
int bflb_audac_volume_init | ( | struct bflb_device_s * | dev, |
const struct bflb_audac_volume_config_s * | vol_cfg | ||
) |