![]() |
LibDriver VS1053B
|
driver vs1053b interface template source file More...
#include "driver_vs1053b_interface.h"Go to the source code of this file.
Functions | |
| uint8_t | vs1053b_interface_spi_cmd_init (void) |
| interface spi cmd bus init | |
| uint8_t | vs1053b_interface_spi_cmd_deinit (void) |
| interface spi cmd bus deinit | |
| uint8_t | vs1053b_interface_spi_cmd_read_address16 (uint16_t reg, uint8_t *buf, uint16_t len) |
| interface spi cmd bus read | |
| uint8_t | vs1053b_interface_spi_cmd_write_address16 (uint16_t reg, uint8_t *buf, uint16_t len) |
| interface spi cmd bus write | |
| uint8_t | vs1053b_interface_spi_dat_init (void) |
| interface spi dat bus init | |
| uint8_t | vs1053b_interface_spi_dat_deinit (void) |
| interface spi dat bus deinit | |
| uint8_t | vs1053b_interface_spi_dat_write_cmd (uint8_t *buf, uint16_t len) |
| interface spi dat bus write command | |
| uint8_t | vs1053b_interface_audio_init (uint8_t type, char *name, uint32_t *size) |
| interface audio init | |
| uint8_t | vs1053b_interface_audio_read (uint32_t addr, uint16_t size, uint8_t *buffer) |
| interface audio read | |
| uint8_t | vs1053b_interface_audio_write (uint32_t addr, uint16_t size, uint8_t *buffer) |
| interface audio write | |
| uint8_t | vs1053b_interface_audio_deinit (void) |
| interface audio deinit | |
| void | vs1053b_interface_timestamp_read (uint32_t *sec, uint32_t *us) |
| interface timestamp read | |
| uint8_t | vs1053b_interface_reset_gpio_init (void) |
| interface reset gpio init | |
| uint8_t | vs1053b_interface_reset_gpio_deinit (void) |
| interface reset gpio deinit | |
| uint8_t | vs1053b_interface_reset_gpio_write (uint8_t data) |
| interface reset gpio write | |
| uint8_t | vs1053b_interface_dreq_gpio_init (void) |
| interface dreq gpio init | |
| uint8_t | vs1053b_interface_dreq_gpio_deinit (void) |
| interface dreq gpio deinit | |
| uint8_t | vs1053b_interface_dreq_gpio_read (uint8_t *data) |
| interface dreq gpio read | |
| void | vs1053b_interface_delay_ms (uint32_t ms) |
| interface delay ms | |
| void | vs1053b_interface_debug_print (const char *const fmt,...) |
| interface print format data | |
| void | vs1053b_interface_receive_callback (uint8_t type, uint32_t cur_pos) |
| interface receive callback | |
driver vs1053b interface template source file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2023/06/30 | 1.0 | Shifeng Li | first upload |
Definition in file driver_vs1053b_interface_template.c.