![]() |
LibDriver VS1053B
|
vs1053b handle structure definition More...
#include <driver_vs1053b.h>
Data Fields | |
| uint8_t(* | reset_gpio_init )(void) |
| uint8_t(* | reset_gpio_deinit )(void) |
| uint8_t(* | reset_gpio_write )(uint8_t data) |
| uint8_t(* | dreq_gpio_init )(void) |
| uint8_t(* | dreq_gpio_deinit )(void) |
| uint8_t(* | dreq_gpio_read )(uint8_t *data) |
| uint8_t(* | spi_cmd_init )(void) |
| uint8_t(* | spi_cmd_deinit )(void) |
| uint8_t(* | spi_cmd_read_address16 )(uint16_t addr, uint8_t *buf, uint16_t len) |
| uint8_t(* | spi_cmd_write_address16 )(uint16_t addr, uint8_t *buf, uint16_t len) |
| uint8_t(* | spi_dat_init )(void) |
| uint8_t(* | spi_dat_deinit )(void) |
| uint8_t(* | spi_dat_write_cmd )(uint8_t *buf, uint16_t len) |
| void(* | delay_ms )(uint32_t ms) |
| void(* | debug_print )(const char *const fmt,...) |
| void(* | receive_callback )(uint8_t type, uint32_t cur_pos) |
| uint8_t(* | audio_init )(uint8_t type, char *name, uint32_t *size) |
| uint8_t(* | audio_deinit )(void) |
| uint8_t(* | audio_read )(uint32_t addr, uint16_t size, uint8_t *buffer) |
| uint8_t(* | audio_write )(uint32_t addr, uint16_t size, uint8_t *buffer) |
| void(* | timestamp_read )(uint32_t *sec, uint32_t *us) |
| uint8_t | buf [VS1053B_BUFFER_SIZE] |
| uint8_t | inited |
| uint8_t | record_type |
| uint8_t | plugin_patch_type |
| uint8_t | status |
| uint8_t | pause |
| uint32_t | cur_pos |
| uint32_t | buf_pos |
| uint32_t | size |
| uint64_t | timestamp |
| uint64_t | period |
| uint8_t | period_enable |
| vs1053b_wav_t | wav |
vs1053b handle structure definition
Definition at line 664 of file driver_vs1053b.h.
| uint8_t(* audio_deinit) (void) |
point to a audio_deinit function address
Definition at line 683 of file driver_vs1053b.h.
| uint8_t(* audio_init) (uint8_t type, char *name, uint32_t *size) |
point to a audio_init function address
Definition at line 682 of file driver_vs1053b.h.
| uint8_t(* audio_read) (uint32_t addr, uint16_t size, uint8_t *buffer) |
point to a audio_read function address
Definition at line 684 of file driver_vs1053b.h.
| uint8_t(* audio_write) (uint32_t addr, uint16_t size, uint8_t *buffer) |
point to a audio_write function address
Definition at line 685 of file driver_vs1053b.h.
| uint8_t buf[VS1053B_BUFFER_SIZE] |
buffer
Definition at line 687 of file driver_vs1053b.h.
| uint32_t buf_pos |
buffer position
Definition at line 694 of file driver_vs1053b.h.
| uint32_t cur_pos |
current position
Definition at line 693 of file driver_vs1053b.h.
| void(* debug_print) (const char *const fmt,...) |
point to a debug_print function address
Definition at line 680 of file driver_vs1053b.h.
| void(* delay_ms) (uint32_t ms) |
point to a delay_ms function address
Definition at line 679 of file driver_vs1053b.h.
| uint8_t(* dreq_gpio_deinit) (void) |
point to a dreq_gpio_deinit function address
Definition at line 670 of file driver_vs1053b.h.
| uint8_t(* dreq_gpio_init) (void) |
point to a dreq_gpio_init function address
Definition at line 669 of file driver_vs1053b.h.
| uint8_t(* dreq_gpio_read) (uint8_t *data) |
point to a dreq_gpio_read function address
Definition at line 671 of file driver_vs1053b.h.
| uint8_t inited |
inited flag
Definition at line 688 of file driver_vs1053b.h.
| uint8_t pause |
pause
Definition at line 692 of file driver_vs1053b.h.
| uint64_t period |
period
Definition at line 697 of file driver_vs1053b.h.
| uint8_t period_enable |
period enable
Definition at line 698 of file driver_vs1053b.h.
| uint8_t plugin_patch_type |
plugin patch type
Definition at line 690 of file driver_vs1053b.h.
| void(* receive_callback) (uint8_t type, uint32_t cur_pos) |
point to a receive_callback function address
Definition at line 681 of file driver_vs1053b.h.
| uint8_t record_type |
record type
Definition at line 689 of file driver_vs1053b.h.
| uint8_t(* reset_gpio_deinit) (void) |
point to a reset_gpio_deinit function address
Definition at line 667 of file driver_vs1053b.h.
| uint8_t(* reset_gpio_init) (void) |
point to a reset_gpio_init function address
Definition at line 666 of file driver_vs1053b.h.
| uint8_t(* reset_gpio_write) (uint8_t data) |
point to a reset_gpio_write function address
Definition at line 668 of file driver_vs1053b.h.
| uint32_t size |
size
Definition at line 695 of file driver_vs1053b.h.
| uint8_t(* spi_cmd_deinit) (void) |
point to a spi_cmd_deinit function address
Definition at line 673 of file driver_vs1053b.h.
| uint8_t(* spi_cmd_init) (void) |
point to a spi_cmd_init function address
Definition at line 672 of file driver_vs1053b.h.
| uint8_t(* spi_cmd_read_address16) (uint16_t addr, uint8_t *buf, uint16_t len) |
point to a spi_cmd_read_address16 function address
Definition at line 674 of file driver_vs1053b.h.
| uint8_t(* spi_cmd_write_address16) (uint16_t addr, uint8_t *buf, uint16_t len) |
point to a spi_cmd_write_address16 function address
Definition at line 675 of file driver_vs1053b.h.
| uint8_t(* spi_dat_deinit) (void) |
point to a spi_dat_deinit function address
Definition at line 677 of file driver_vs1053b.h.
| uint8_t(* spi_dat_init) (void) |
point to a spi_dat_init function address
Definition at line 676 of file driver_vs1053b.h.
| uint8_t(* spi_dat_write_cmd) (uint8_t *buf, uint16_t len) |
point to a spi_dat_write_cmd function address
Definition at line 678 of file driver_vs1053b.h.
| uint8_t status |
status
Definition at line 691 of file driver_vs1053b.h.
| uint64_t timestamp |
timestamp
Definition at line 696 of file driver_vs1053b.h.
| void(* timestamp_read) (uint32_t *sec, uint32_t *us) |
point to a timestamp_read function address
Definition at line 686 of file driver_vs1053b.h.
| vs1053b_wav_t wav |
wav header
Definition at line 699 of file driver_vs1053b.h.