|
static void | aic23b_ssc_rx_pdca_int_handler (void) |
| SSC RX PDCA interrupt handler managing the out-of-samples condition. More...
|
|
static void | aic23b_ssc_tx_pdca_int_handler (void) |
| SSC TX PDCA interrupt handler managing the out-of-samples condition. More...
|
|
static void | aic23b_write_control_word (aic23b_ctrl_t ctrl) |
| Writes the ctrl control word. More...
|
|
|
void | aic23b_configure_freq (int master_clock_hz, int sample_rate_hz) |
| Used to configure the codec frequency. More...
|
|
uint16_t | aic23b_read_reg (uint8_t reg) |
| Reads the reg register. More...
|
|
void | aic23b_write_reg (uint8_t reg, uint16_t val) |
| Writes val to the reg register. More...
|
|
|
int8_t | aic23b_get_line_in_volume (uint8_t ch) |
| Gets the ch line input channel volume. More...
|
|
void | aic23b_set_line_in_volume (uint8_t ch_mask, int8_t vol) |
| Sets the ch_mask line input channels volume to vol. More...
|
|
uint8_t | aic23b_dac_get_average_headphone_volume (void) |
| Gets the average headphone volume. More...
|
|
void | aic23b_dac_set_average_headphone_volume (uint8_t volume) |
| Sets the average headphone volume. More...
|
|
bool | aic23b_dac_is_headphone_volume_muted (void) |
| Returns the state of the mute mode of the DAC. More...
|
|
bool | aic23b_dac_is_headphone_volume_boosted (void) |
| Returns the state of the boost mode of the DAC. More...
|
|
int8_t | aic23b_get_headphone_volume (uint8_t ch) |
| Gets the ch channel headphone volume. More...
|
|
void | aic23b_set_headphone_volume (uint8_t ch_mask, int8_t vol, bool z_cross) |
| Sets the ch_mask channels headphone volume to vol, with zero-cross detect if z_cross is true . More...
|
|
aic23b_aapc_t | aic23b_get_analog_audio_path (void) |
| Gets the analog audio path. More...
|
|
void | aic23b_set_analog_audio_path (aic23b_aapc_t aapc) |
| Sets the analog audio path to aapc. More...
|
|
aic23b_dapc_t | aic23b_get_digital_audio_path (void) |
| Gets the digital audio path. More...
|
|
void | aic23b_set_digital_audio_path (aic23b_dapc_t dapc) |
| Sets the digital audio path to dapc. More...
|
|
aic23b_pdc_t | aic23b_get_power_down_state (void) |
| Gets the power down state. More...
|
|
void | aic23b_set_power_down_state (aic23b_pdc_t pdc) |
| Sets the power down state to pdc. More...
|
|
bool | aic23b_is_dig_audio_activated (void) |
| Tells whether the digital audio interface is activated. More...
|
|
void | aic23b_activate_dig_audio (bool act) |
| Activates or deactivates the digital audio interface according to act. More...
|
|
void | aic23b_reset (void) |
| Resets the CODEC. More...
|
|
|
bool | aic23b_dac_output (void *sample_buffer, size_t sample_length) |
| Outputs a sample buffer to the DAC. More...
|
|
void | aic23b_dac_increase_volume (void) |
| Increases the output volume of the DAC. More...
|
|
void | aic23b_dac_decrease_volume (void) |
| Decreases the output volume of the DAC. More...
|
|
void | aic23b_dac_mute (bool mute) |
| Mute audio if mute is set to true. More...
|
|
bool | aic23b_adc_input (void *sample_buffer, size_t sample_length) |
| Input a sample buffer from the ADC. More...
|
|
void | aic23b_codec_start (uint32_t sample_rate_hz, uint8_t num_channels, uint8_t bits_per_sample, bool swap_channels, void(*callback)(uint32_t arg), uint32_t callback_opt, uint32_t pba_hz) |
| Starts the CODEC. More...
|
|
void | aic23b_codec_setup (uint32_t sample_rate_hz, uint8_t num_channels, uint8_t bits_per_sample, bool swap_channels, void(*callback)(uint32_t opt), uint32_t callback_opt, uint32_t pba_hz) |
|
void | aic23b_codec_flush (void) |
| Flushes the sample buffers being input from the ADC and output to the DAC. More...
|
|
void | aic23b_codec_stop (void) |
| Stops the CODEC. More...
|
|