|
void | tpa6130_dac_decrease_volume (void) |
| Decreases the output volume of the DACs. More...
|
|
void | tpa6130_dac_flush (void) |
| Flushes the sample buffer being output to the DACs. More...
|
|
uint8_t | tpa6130_dac_get_volume (void) |
| Returns the current volume of the DAC. More...
|
|
void | tpa6130_dac_increase_volume (void) |
| Increases the output volume of the DACs. More...
|
|
bool | tpa6130_dac_is_volume_boosted (void) |
| Returns the state of the boost mode of the DAC. More...
|
|
bool | tpa6130_dac_is_volume_muted (void) |
| Returns the state of the mute mode of the DAC. More...
|
|
void | tpa6130_dac_mute (bool mute) |
| No more audio if input is true. More...
|
|
bool | tpa6130_dac_output (void *sample_buffer, size_t sample_length) |
| Outputs a sample buffer to the DACs. More...
|
|
void | tpa6130_dac_set_volume (uint8_t volume) |
| Set the volume of the DAC. More...
|
|
void | tpa6130_dac_setup (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) |
| Sets the DACs up with new settings. More...
|
|
void | tpa6130_dac_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 ABDAC. More...
|
|
void | tpa6130_dac_stop (void) |
| Stops the DACs. More...
|
|
int8_t | tpa6130_get_volume (void) |
| Gets the current volume settings. More...
|
|
int8_t | tpa6130_init (void) |
| Probes and initializes the amplifier. Probes the TWI bus for the amplifier by using the slave address specified in the configuration (TPA6130_TWI_ADDRESS). If the device responds with an ACK the version register is read out and compared to the valid versions (TPA6130_VERSION). Last step is to set volume to 0, unmute and set the configuration specified in the conf_tpa6130.h file (stereo, mono ..). More...
|
|
void | tpa6130_powerup (void) |
| Powers up the amplifier from low power mode. This is the software low power mode described in the datasheet. More...
|
|
void | tpa6130_set_volume (int8_t volume) |
| Sets the volume of the amplifier. Valid values are between 0 (min -59dB) and 63 (max 4dB) although the function takes care of any values higher than that by setting it to max. More...
|
|
void | tpa6130_shutdown (void) |
| Shuts down the amplifier and sets it into low power mode. This is the software low power mode described in the datasheet. More...
|
|