|
void | mp32_cfg_setup (mp32_cfg_t *cfg) |
| Config Object Initialization function.
|
|
MP32_RETVAL | mp32_init (mp32_t *ctx, mp32_cfg_t *cfg) |
| Initialization function.
|
|
void | mp32_generic_write (mp32_t *ctx, char *data_buf, uint16_t len) |
| Generic write function.
|
|
int32_t | mp32_generic_read (mp32_t *ctx, char *data_buf, uint16_t max_len) |
| Generic read function.
|
|
void | mp32_hw_reset (mp32_t *ctx) |
| Reset the device function.
|
|
void | mp32_rx_cmd (mp32_t *ctx, uint8_t *rd_data, uint8_t len) |
| Received response data function.
|
|
void | mp32_tx_cmd (mp32_t *ctx, uint8_t cmd, uint16_t spec_data) |
| Write command function.
|
|
void | mp32_sw_reset (mp32_t *ctx) |
| Software reset function.
|
|
void | mp32_play_specific (mp32_t *ctx, uint16_t track_index) |
| Play specific function.
|
|
void | mp32_play_mode (mp32_t *ctx) |
| Play mode function.
|
|
void | mp32_pause_mode (mp32_t *ctx) |
| Pause mode function.
|
|
void | mp32_stop_mode (mp32_t *ctx) |
| Stop mode function.
|
|
void | mp32_set_volume (mp32_t *ctx, uint8_t perc) |
| Set Volume function.
|
|
void | mp32_volume_up (mp32_t *ctx) |
| Volume up function.
|
|
void | mp32_volume_down (mp32_t *ctx) |
| Play next command function.
|
|
void | mp32_play_next (mp32_t *ctx) |
| Play previous command function.
|
|
void | mp32_play_previous (mp32_t *ctx) |
| Play previous command function.
|
|
void | mp32_set_eq (mp32_t *ctx, uint8_t eq) |
| Set equalizer mode function.
|
|
void | mp32_repeat_current (mp32_t *ctx) |
| Repeat current mode function.
|
|
void | mp32_set_device (mp32_t *ctx, uint8_t device) |
| Set device function.
|
|
void | mp32_set_low_power_mode (mp32_t *ctx) |
| Set Low power mode function.
|
|
void | mp32_play_spec_in_fol (mp32_t *ctx, uint8_t fol_inx, uint8_t track_inx) |
| Specify a certain folder and play tracks inside function.
|
|
void | mp32_loop_all (mp32_t *ctx, uint8_t loop_mode) |
| Play specific in loop mode function.
|
|
void | mp32_play_fol (mp32_t *ctx, uint8_t fol_inx) |
| Play folder function.
|
|
void | mp32_loop_fol (mp32_t *ctx, uint8_t fol_inx) |
| Loop folder function.
|
|
void | mp32_random_all (mp32_t *ctx) |
| Random Play function.
|
|
void | mp32_loop (mp32_t *ctx, uint8_t state) |
| Repeat a current song function.
|
|
This file contains API for MP3 2 Click driver.