|
| | Adafruit_VS1053_FilePlayer (int8_t mosi, int8_t miso, int8_t clk, int8_t rst, int8_t cs, int8_t dcs, int8_t dreq, int8_t cardCS) |
| | Software SPI constructor. Uses Software SPI, so you must specify all SPI pins. More...
|
| |
| | Adafruit_VS1053_FilePlayer (int8_t rst, int8_t cs, int8_t dcs, int8_t dreq, int8_t cardCS) |
| | Hardware SPI constructor. Uses Hardware SPI and assumes the default SPI pins. More...
|
| |
| | Adafruit_VS1053_FilePlayer (int8_t cs, int8_t dcs, int8_t dreq, int8_t cardCS) |
| | Hardware SPI constructor. Uses Hardware SPI and assumes the default SPI pins. More...
|
| |
| boolean | begin (void) |
| | Initialize communication and reset the chip. More...
|
| |
| boolean | useInterrupt (uint8_t type) |
| | Specifies the argument to use for interrupt-driven playback. More...
|
| |
|
void | feedBuffer (void) |
| | Feeds the buffer. Reads mp3 file data from the SD card and file and puts it into the buffer that the decoder reads from to play a file.
|
| |
| unsigned long | mp3_ID3Jumper (File mp3) |
| | Checks for an ID3 tag at the beginning of the file. More...
|
| |
| boolean | startPlayingFile (const char *trackname) |
| | Begin playing the specified file from the SD card using interrupt-drive playback. More...
|
| |
| boolean | playFullFile (const char *trackname) |
| | Play the complete file. This function will not return until the playback is complete. More...
|
| |
|
void | stopPlaying (void) |
| | Stop playback.
|
| |
| boolean | paused (void) |
| | If playback is paused. More...
|
| |
| boolean | stopped (void) |
| | If playback is stopped. More...
|
| |
| void | pausePlaying (boolean pause) |
| | Pause playback. More...
|
| |
| void | playbackLoop (boolean loopState) |
| | Set state for playback looping. More...
|
| |
| boolean | playbackLooped () |
| | Retrieve playback loop state. More...
|
| |
| uint16_t | getPlaySpeed () |
| | Determine current playback speed. More...
|
| |
| void | setPlaySpeed (uint16_t speed) |
| | Set playback speed. More...
|
| |
| | Adafruit_VS1053 (int8_t mosi, int8_t miso, int8_t clk, int8_t rst, int8_t cs, int8_t dcs, int8_t dreq) |
| | Software SPI constructor - must specify all pins. More...
|
| |
| | Adafruit_VS1053 (int8_t rst, int8_t cs, int8_t dcs, int8_t dreq) |
| | Hardware SPI constructor - assumes hardware SPI pins. More...
|
| |
| uint8_t | begin (void) |
| | Initialize communication and (hard) reset the chip. More...
|
| |
|
void | reset (void) |
| | Performs a hard reset of the chip.
|
| |
|
void | softReset (void) |
| | Attempts a soft reset of the chip.
|
| |
| uint16_t | sciRead (uint8_t addr) |
| | Reads from the specified register on the chip. More...
|
| |
| void | sciWrite (uint8_t addr, uint16_t data) |
| | Writes to the specified register on the chip. More...
|
| |
| void | sineTest (uint8_t n, uint16_t ms) |
| | Generate a sine-wave test signal. More...
|
| |
| uint16_t | decodeTime (void) |
| | Reads the DECODETIME register from the chip. More...
|
| |
| void | setVolume (uint8_t left, uint8_t right) |
| | Set the output volume for the chip. More...
|
| |
|
void | dumpRegs (void) |
| | Prints the contents of the MODE, STATUS, CLOCKF and VOLUME registers.
|
| |
| void | playData (uint8_t *buffer, uint8_t buffsiz) |
| | Decode and play the contents of the supplied buffer. More...
|
| |
| boolean | readyForData (void) |
| | Test if ready for more data. More...
|
| |
| void | applyPatch (const uint16_t *patch, uint16_t patchsize) |
| | Apply a code patch. More...
|
| |
| uint16_t | loadPlugin (char *fn) |
| | Load the specified plug-in. More...
|
| |
| void | GPIO_digitalWrite (uint8_t i, uint8_t val) |
| | Write to a GPIO pin. More...
|
| |
| void | GPIO_digitalWrite (uint8_t i) |
| | Write to all 8 GPIO pins at once. More...
|
| |
| uint16_t | GPIO_digitalRead (void) |
| | Read all 8 GPIO pins at once. More...
|
| |
| boolean | GPIO_digitalRead (uint8_t i) |
| | Read a single GPIO pin. More...
|
| |
| void | GPIO_pinMode (uint8_t i, uint8_t dir) |
| | Set the Pin Mode (INPUT/OUTPUT) for a GPIO pin. More...
|
| |
| boolean | prepareRecordOgg (char *plugin) |
| | Initialize chip for OGG recording. More...
|
| |
| void | startRecordOgg (boolean mic) |
| | Start recording. More...
|
| |
|
void | stopRecordOgg (void) |
| | Stop the recording.
|
| |
| uint16_t | recordedWordsWaiting (void) |
| | Returns the number of words recorded. More...
|
| |
| uint16_t | recordedReadWord (void) |
| | Reads the next word from the buffer of recorded words. More...
|
| |
File player for the Adafruit VS1053.