LibDriver VS1053B
Loading...
Searching...
No Matches
driver_vs1053b.c File Reference

driver vs1053b source file More...

Include dependency graph for driver_vs1053b.c:

Go to the source code of this file.

Macros

#define CHIP_NAME   "VLSI VS1053B"
 chip information definition
#define MANUFACTURER_NAME   "VLSI"
#define SUPPLY_VOLTAGE_MIN   2.6f
#define SUPPLY_VOLTAGE_MAX   3.6f
#define MAX_CURRENT   60.0f
#define TEMPERATURE_MIN   -40.0f
#define TEMPERATURE_MAX   85.0f
#define DRIVER_VERSION   1000
#define VS1053B_COMMAND_READ   0x03
 chip command definition
#define VS1053B_COMMAND_WRITE   0x02
#define VS1053B_REG_MODE   0x00
 chip register definition
#define VS1053B_REG_STATUS   0x01
#define VS1053B_REG_BASS   0x02
#define VS1053B_REG_CLOCKF   0x03
#define VS1053B_REG_DECODE_TIME   0x04
#define VS1053B_REG_AUDATA   0x05
#define VS1053B_REG_WRAM   0x06
#define VS1053B_REG_WRAMADDR   0x07
#define VS1053B_REG_HDAT0   0x08
#define VS1053B_REG_HDAT1   0x09
#define VS1053B_REG_AIADDR   0x0A
#define VS1053B_REG_VOL   0x0B
#define VS1053B_REG_AICTRL0   0x0C
#define VS1053B_REG_AICTRL1   0x0D
#define VS1053B_REG_AICTRL2   0x0E
#define VS1053B_REG_AICTRL3   0x0F
#define VS1053B_STATUS_STOP   0x00
 chip status definition
#define VS1053B_STATUS_PLAY   0x01
#define VS1053B_STATUS_RECORD   0x02
#define MIN(a, b)
 inner function definition

Functions

uint8_t vs1053b_set_diff (vs1053b_handle_t *handle, vs1053b_diff_t diff)
 set the audio differential
uint8_t vs1053b_get_diff (vs1053b_handle_t *handle, vs1053b_diff_t *diff)
 get the audio differential
uint8_t vs1053b_set_mpeg_layer_i_and_ii (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable mpeg layer i and ii
uint8_t vs1053b_get_mpeg_layer_i_and_ii (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get mpeg layer i and ii status
uint8_t vs1053b_set_soft_reset (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable soft reset
uint8_t vs1053b_get_soft_reset (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get soft reset status
uint8_t vs1053b_set_cancel_decoding_current_file (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable cancel decoding current file
uint8_t vs1053b_get_cancel_decoding_current_file (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get cancel decoding current file status
uint8_t vs1053b_set_ear_speaker_low_setting (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable ear speaker low setting
uint8_t vs1053b_get_ear_speaker_low_setting (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get ear speaker low setting status
uint8_t vs1053b_set_allow_sdi_test (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable allow sdi test
uint8_t vs1053b_get_allow_sdi_test (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get allow sdi test status
uint8_t vs1053b_set_stream_mode (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable stream mode
uint8_t vs1053b_get_stream_mode (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get stream mode status
uint8_t vs1053b_set_ear_speaker_high_setting (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable ear speaker high setting
uint8_t vs1053b_get_ear_speaker_high_setting (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get ear speaker high setting status
uint8_t vs1053b_set_dclk_edge (vs1053b_handle_t *handle, vs1053b_dclk_edge_t edge)
 set dclk edge
uint8_t vs1053b_get_dclk_edge (vs1053b_handle_t *handle, vs1053b_dclk_edge_t *edge)
 get dclk edge
uint8_t vs1053b_set_sdi_bit_order (vs1053b_handle_t *handle, vs1053b_bit_order_t order)
 set sdi bit order
uint8_t vs1053b_get_sdi_bit_order (vs1053b_handle_t *handle, vs1053b_bit_order_t *order)
 get sdi bit order
uint8_t vs1053b_set_share_spi_chip_select (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable share spi chip select
uint8_t vs1053b_get_share_spi_chip_select (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get share spi chip select status
uint8_t vs1053b_set_native_spi_modes (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable native spi modes
uint8_t vs1053b_get_native_spi_modes (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get native spi modes status
uint8_t vs1053b_set_pcm_adpcm_recording_active (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable pcm adpcm recording active
uint8_t vs1053b_get_pcm_adpcm_recording_active (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get pcm adpcm recording active status
uint8_t vs1053b_set_selector (vs1053b_handle_t *handle, vs1053b_selector_t selector)
 set selector
uint8_t vs1053b_get_selector (vs1053b_handle_t *handle, vs1053b_selector_t *selector)
 get selector
uint8_t vs1053b_set_clock_range (vs1053b_handle_t *handle, vs1053b_clock_range_t range)
 set clock range
uint8_t vs1053b_get_clock_range (vs1053b_handle_t *handle, vs1053b_clock_range_t *range)
 get clock range
uint8_t vs1053b_set_do_not_jump (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable do not jump
uint8_t vs1053b_get_do_not_jump (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get do not jump status
uint8_t vs1053b_set_swing (vs1053b_handle_t *handle, uint8_t swing)
 set swing
uint8_t vs1053b_get_swing (vs1053b_handle_t *handle, uint8_t *swing)
 get swing
uint8_t vs1053b_swing_convert_to_register (vs1053b_handle_t *handle, float db, uint8_t *reg)
 convert the swing to the register raw data
uint8_t vs1053b_swing_convert_to_data (vs1053b_handle_t *handle, uint8_t reg, float *db)
 convert the register raw data to the swing
uint8_t vs1053b_set_overload_indicator (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable overload indicator
uint8_t vs1053b_get_overload_indicator (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get overload indicator status
uint8_t vs1053b_set_overload_detection (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable overload detection
uint8_t vs1053b_get_overload_detection (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get overload detection status
uint8_t vs1053b_get_version (vs1053b_handle_t *handle, uint8_t *version)
 get version
uint8_t vs1053b_set_analog_driver_power_down (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable analog driver power down
uint8_t vs1053b_get_analog_driver_power_down (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get analog driver power down status
uint8_t vs1053b_set_analog_internal_power_down (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable analog internal power down
uint8_t vs1053b_get_analog_internal_power_down (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get analog internal power down status
uint8_t vs1053b_set_ad_clock (vs1053b_handle_t *handle, vs1053b_ad_clock_t ad_clock)
 set ad clock
uint8_t vs1053b_get_ad_clock (vs1053b_handle_t *handle, vs1053b_ad_clock_t *ad_clock)
 get ad clock
uint8_t vs1053b_set_reference_voltage (vs1053b_handle_t *handle, vs1053b_reference_voltage_t voltage)
 set reference voltage
uint8_t vs1053b_get_reference_voltage (vs1053b_handle_t *handle, vs1053b_reference_voltage_t *voltage)
 get reference voltage
uint8_t vs1053b_set_treble_control (vs1053b_handle_t *handle, uint8_t db)
 set treble control
uint8_t vs1053b_get_treble_control (vs1053b_handle_t *handle, uint8_t *db)
 get treble control
uint8_t vs1053b_treble_control_convert_to_register (vs1053b_handle_t *handle, float db, uint8_t *reg)
 convert the treble control to the register raw data
uint8_t vs1053b_treble_control_convert_to_data (vs1053b_handle_t *handle, uint8_t reg, float *db)
 convert the register raw data to the treble control
uint8_t vs1053b_set_lower_limit_frequency_in_1000_hz (vs1053b_handle_t *handle, uint8_t step)
 set lower limit frequency in 1000 hz
uint8_t vs1053b_get_lower_limit_frequency_in_1000_hz (vs1053b_handle_t *handle, uint8_t *step)
 get lower limit frequency in 1000 hz
uint8_t vs1053b_lower_limit_frequency_in_1000_hz_convert_to_register (vs1053b_handle_t *handle, uint32_t hz, uint8_t *reg)
 convert the lower limit frequency in 1000 hz to the register raw data
uint8_t vs1053b_lower_limit_frequency_in_1000_hz_convert_to_data (vs1053b_handle_t *handle, uint8_t reg, uint32_t *hz)
 convert the register raw data to the lower limit frequency in 1000 hz
uint8_t vs1053b_set_bass_enhancement (vs1053b_handle_t *handle, uint8_t db)
 set bass enhancement
uint8_t vs1053b_get_bass_enhancement (vs1053b_handle_t *handle, uint8_t *db)
 get bass enhancement
uint8_t vs1053b_set_lower_limit_frequency_in_10_hz (vs1053b_handle_t *handle, uint8_t step)
 set lower limit frequency in 10 hz
uint8_t vs1053b_get_lower_limit_frequency_in_10_hz (vs1053b_handle_t *handle, uint8_t *step)
 get lower limit frequency in 10 hz
uint8_t vs1053b_lower_limit_frequency_in_10_hz_convert_to_register (vs1053b_handle_t *handle, uint32_t hz, uint8_t *reg)
 convert the lower limit frequency in 10 hz to the register raw data
uint8_t vs1053b_lower_limit_frequency_in_10_hz_convert_to_data (vs1053b_handle_t *handle, uint8_t reg, uint32_t *hz)
 convert the register raw data to the lower limit frequency in 10 hz
uint8_t vs1053b_set_clock_multiplier (vs1053b_handle_t *handle, vs1053b_clock_multiplier_t multiplier)
 set clock multiplier
uint8_t vs1053b_get_clock_multiplier (vs1053b_handle_t *handle, vs1053b_clock_multiplier_t *multiplier)
 get clock multiplier
uint8_t vs1053b_set_allowed_multiplier_addition (vs1053b_handle_t *handle, vs1053b_allowed_multiplier_addition_t addition)
 set allowed multiplier addition
uint8_t vs1053b_get_allowed_multiplier_addition (vs1053b_handle_t *handle, vs1053b_allowed_multiplier_addition_t *addition)
 get allowed multiplier addition
uint8_t vs1053b_set_clock_frequency (vs1053b_handle_t *handle, uint16_t clk)
 set clock frequency
uint8_t vs1053b_get_clock_frequency (vs1053b_handle_t *handle, uint16_t *clk)
 get clock frequency
uint8_t vs1053b_clock_frequency_convert_to_register (vs1053b_handle_t *handle, float hz, uint16_t *reg)
 convert the clock frequency to the register raw data
uint8_t vs1053b_clock_frequency_convert_to_data (vs1053b_handle_t *handle, uint16_t reg, float *hz)
 convert the register raw data to the clock frequency
uint8_t vs1053b_set_decode_time (vs1053b_handle_t *handle, uint16_t decode_time)
 set decode time
uint8_t vs1053b_get_decode_time (vs1053b_handle_t *handle, uint16_t *decode_time)
 get decode time
uint8_t vs1053b_set_sample_rate (vs1053b_handle_t *handle, uint16_t rate, vs1053b_channel_t channel)
 set sample rate
uint8_t vs1053b_get_sample_rate (vs1053b_handle_t *handle, uint16_t *rate, vs1053b_channel_t *channel)
 get sample rate
uint8_t vs1053b_write_ram (vs1053b_handle_t *handle, uint8_t *buf, uint16_t len)
 write ram
uint8_t vs1053b_read_ram (vs1053b_handle_t *handle, uint8_t *buf, uint16_t len)
 read ram
uint8_t vs1053b_set_ram_address (vs1053b_handle_t *handle, uint16_t addr)
 set ram address
uint8_t vs1053b_get_hdata (vs1053b_handle_t *handle, uint16_t *dat0, uint16_t *dat1)
 get hdata
uint8_t vs1053b_get_hdata0 (vs1053b_handle_t *handle, uint16_t *dat0)
 get hdata0
uint8_t vs1053b_get_hdata1 (vs1053b_handle_t *handle, uint16_t *dat1)
 get hdata1
uint8_t vs1053b_set_start_address (vs1053b_handle_t *handle, uint16_t addr)
 set start address
uint8_t vs1053b_get_start_address (vs1053b_handle_t *handle, uint16_t *addr)
 get start address
uint8_t vs1053b_set_vol (vs1053b_handle_t *handle, uint8_t left, uint8_t right)
 set vol
uint8_t vs1053b_get_vol (vs1053b_handle_t *handle, uint8_t *left, uint8_t *right)
 get vol
uint8_t vs1053b_vol_convert_to_register (vs1053b_handle_t *handle, float db, uint8_t *reg)
 convert vol to the register raw data
uint8_t vs1053b_vol_convert_to_data (vs1053b_handle_t *handle, uint8_t reg, float *db)
 convert the register raw data to vol
uint8_t vs1053b_write_application (vs1053b_handle_t *handle, vs1053b_application_t num, uint8_t *buf, uint16_t len)
 write application
uint8_t vs1053b_read_application (vs1053b_handle_t *handle, vs1053b_application_t num, uint8_t *buf, uint16_t len)
 read application
uint8_t vs1053b_set_play_speed (vs1053b_handle_t *handle, vs1053b_play_speed_t speed)
 set play speed
uint8_t vs1053b_get_play_speed (vs1053b_handle_t *handle, vs1053b_play_speed_t *speed)
 get play speed
uint8_t vs1053b_get_byte_rate (vs1053b_handle_t *handle, uint16_t *rate)
 get byte rate
uint8_t vs1053b_get_end_fill_byte (vs1053b_handle_t *handle, uint16_t *byte)
 get end fill byte
uint8_t vs1053b_set_iis_mclk (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable iis mclk
uint8_t vs1053b_get_iis_mclk (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get iis mclk status
uint8_t vs1053b_set_iis (vs1053b_handle_t *handle, vs1053b_bool_t enable)
 enable or disable iis
uint8_t vs1053b_get_iis (vs1053b_handle_t *handle, vs1053b_bool_t *enable)
 get iis status
uint8_t vs1053b_set_iis_rate (vs1053b_handle_t *handle, vs1053b_iis_rate_t iis_rate)
 set iis rate
uint8_t vs1053b_get_iis_rate (vs1053b_handle_t *handle, vs1053b_iis_rate_t *iis_rate)
 get iis rate
uint8_t vs1053b_set_gpio_direction (vs1053b_handle_t *handle, uint16_t mask)
 set gpio direction
uint8_t vs1053b_get_gpio_direction (vs1053b_handle_t *handle, uint16_t *mask)
 get gpio direction
uint8_t vs1053b_get_gpio_input (vs1053b_handle_t *handle, uint16_t *data)
 get gpio input
uint8_t vs1053b_set_gpio_output (vs1053b_handle_t *handle, uint16_t data)
 set gpio output
uint8_t vs1053b_get_gpio_output (vs1053b_handle_t *handle, uint16_t *data)
 get gpio output
uint8_t vs1053b_set_record_format (vs1053b_handle_t *handle, vs1053b_record_format_t format)
 set record format
uint8_t vs1053b_get_record_format (vs1053b_handle_t *handle, vs1053b_record_format_t *format)
 get record format
uint8_t vs1053b_init (vs1053b_handle_t *handle)
 initialize the chip
uint8_t vs1053b_deinit (vs1053b_handle_t *handle)
 deinit the chip
uint8_t vs1053b_process (vs1053b_handle_t *handle)
 audio process
uint8_t vs1053b_pause (vs1053b_handle_t *handle)
 pause audio
uint8_t vs1053b_play (vs1053b_handle_t *handle, char *path)
 play audio
uint8_t vs1053b_record (vs1053b_handle_t *handle, char *path, uint32_t sample_rate)
 record audio
uint8_t vs1053b_stop (vs1053b_handle_t *handle)
 stop audio
uint8_t vs1053b_hard_reset (vs1053b_handle_t *handle)
 hard reset
uint8_t vs1053b_set_period_callback (vs1053b_handle_t *handle, uint32_t second, uint32_t microsecond, vs1053b_bool_t enable)
 set period callback
uint8_t vs1053b_get_period_callback (vs1053b_handle_t *handle, uint32_t *second, uint32_t *microsecond, vs1053b_bool_t *enable)
 get period callback
uint8_t vs1053b_parse_info (vs1053b_handle_t *handle, uint16_t dat0, uint16_t dat1, vs1053b_audio_info_t *info)
 parse info
uint8_t vs1053b_get_patch (vs1053b_handle_t *handle, vs1053b_patch_t type, const uint16_t **patch_addr, uint16_t *len)
 get patch info
uint8_t vs1053b_load_patch (vs1053b_handle_t *handle, const uint16_t *patch, uint16_t len)
 load patch
uint8_t vs1053b_set_data (vs1053b_handle_t *handle, uint8_t *buf, uint16_t len)
 set chip data
uint8_t vs1053b_set_reg (vs1053b_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len)
 set the chip register
uint8_t vs1053b_get_reg (vs1053b_handle_t *handle, uint8_t reg, uint8_t *buf, uint16_t len)
 get the chip register
uint8_t vs1053b_info (vs1053b_info_t *info)
 get chip's information

Detailed Description

driver vs1053b 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.

Version
1.0.0
Author
Shifeng Li
Date
2023-06-30

history

Date Version Author Description
2023/06/30 1.0 Shifeng Li first upload

Definition in file driver_vs1053b.c.

Macro Definition Documentation

◆ CHIP_NAME

#define CHIP_NAME   "VLSI VS1053B"

chip information definition

chip name

Definition at line 181 of file driver_vs1053b.c.

◆ DRIVER_VERSION

#define DRIVER_VERSION   1000

driver version

Definition at line 188 of file driver_vs1053b.c.

◆ MANUFACTURER_NAME

#define MANUFACTURER_NAME   "VLSI"

manufacturer name

Definition at line 182 of file driver_vs1053b.c.

◆ MAX_CURRENT

#define MAX_CURRENT   60.0f

chip max current

Definition at line 185 of file driver_vs1053b.c.

◆ MIN

#define MIN ( a,
b )
Value:
(((a) < (b)) ? (a) : (b))

inner function definition

min function

Definition at line 226 of file driver_vs1053b.c.

◆ SUPPLY_VOLTAGE_MAX

#define SUPPLY_VOLTAGE_MAX   3.6f

chip max supply voltage

Definition at line 184 of file driver_vs1053b.c.

◆ SUPPLY_VOLTAGE_MIN

#define SUPPLY_VOLTAGE_MIN   2.6f

chip min supply voltage

Definition at line 183 of file driver_vs1053b.c.

◆ TEMPERATURE_MAX

#define TEMPERATURE_MAX   85.0f

chip max operating temperature

Definition at line 187 of file driver_vs1053b.c.

◆ TEMPERATURE_MIN

#define TEMPERATURE_MIN   -40.0f

chip min operating temperature

Definition at line 186 of file driver_vs1053b.c.

◆ VS1053B_COMMAND_READ

#define VS1053B_COMMAND_READ   0x03

chip command definition

read command

Definition at line 193 of file driver_vs1053b.c.

◆ VS1053B_COMMAND_WRITE

#define VS1053B_COMMAND_WRITE   0x02

write command

Definition at line 194 of file driver_vs1053b.c.

◆ VS1053B_REG_AIADDR

#define VS1053B_REG_AIADDR   0x0A

start address of application register

Definition at line 209 of file driver_vs1053b.c.

◆ VS1053B_REG_AICTRL0

#define VS1053B_REG_AICTRL0   0x0C

application control register 0 register

Definition at line 211 of file driver_vs1053b.c.

◆ VS1053B_REG_AICTRL1

#define VS1053B_REG_AICTRL1   0x0D

application control register 1 register

Definition at line 212 of file driver_vs1053b.c.

◆ VS1053B_REG_AICTRL2

#define VS1053B_REG_AICTRL2   0x0E

application control register 2 register

Definition at line 213 of file driver_vs1053b.c.

◆ VS1053B_REG_AICTRL3

#define VS1053B_REG_AICTRL3   0x0F

application control register 3 register

Definition at line 214 of file driver_vs1053b.c.

◆ VS1053B_REG_AUDATA

#define VS1053B_REG_AUDATA   0x05

misc audio data register

Definition at line 204 of file driver_vs1053b.c.

◆ VS1053B_REG_BASS

#define VS1053B_REG_BASS   0x02

built-in bass register

Definition at line 201 of file driver_vs1053b.c.

◆ VS1053B_REG_CLOCKF

#define VS1053B_REG_CLOCKF   0x03

clock freq register

Definition at line 202 of file driver_vs1053b.c.

◆ VS1053B_REG_DECODE_TIME

#define VS1053B_REG_DECODE_TIME   0x04

decode time register

Definition at line 203 of file driver_vs1053b.c.

◆ VS1053B_REG_HDAT0

#define VS1053B_REG_HDAT0   0x08

stream header data 0 register

Definition at line 207 of file driver_vs1053b.c.

◆ VS1053B_REG_HDAT1

#define VS1053B_REG_HDAT1   0x09

stream header data 1 register

Definition at line 208 of file driver_vs1053b.c.

◆ VS1053B_REG_MODE

#define VS1053B_REG_MODE   0x00

chip register definition

mode control register

Definition at line 199 of file driver_vs1053b.c.

◆ VS1053B_REG_STATUS

#define VS1053B_REG_STATUS   0x01

status register

Definition at line 200 of file driver_vs1053b.c.

◆ VS1053B_REG_VOL

#define VS1053B_REG_VOL   0x0B

volume control register

Definition at line 210 of file driver_vs1053b.c.

◆ VS1053B_REG_WRAM

#define VS1053B_REG_WRAM   0x06

ram register

Definition at line 205 of file driver_vs1053b.c.

◆ VS1053B_REG_WRAMADDR

#define VS1053B_REG_WRAMADDR   0x07

base address for ram register

Definition at line 206 of file driver_vs1053b.c.

◆ VS1053B_STATUS_PLAY

#define VS1053B_STATUS_PLAY   0x01

play status

Definition at line 220 of file driver_vs1053b.c.

◆ VS1053B_STATUS_RECORD

#define VS1053B_STATUS_RECORD   0x02

record status

Definition at line 221 of file driver_vs1053b.c.

◆ VS1053B_STATUS_STOP

#define VS1053B_STATUS_STOP   0x00

chip status definition

stop status

Definition at line 219 of file driver_vs1053b.c.