#include "vs10xx.h"
#include "lcd.h"
#include "filesys.h"
#include "storage.h"
#include "ui.h"
#include "vorbis53b.plg"
#include "aviplay.c"
Include dependency graph for vs10xx.c:
Go to the source code of this file.
Defines | |
#define | SKIP_PLUGIN_VARNAME |
#define | AVIPLAY |
Functions | |
void | LoadUserPatch (void) |
unsigned int | Mp3ReadRegister (unsigned char addressbyte) |
Read the 16-bit value of a VS10xx register. | |
void | Mp3SoftReset () |
Soft Reset of VS10xx (Between songs). | |
void | Mp3Reset () |
Reset VS10xx. | |
void | VsSineTest () |
Execute VS1011/VS1002 Sine Test Function. | |
void | SendZerosToVS10xx () |
Send 2048 zeros. | |
unsigned char | PlayDiskSectors (unsigned int nSectorsToPlay) |
Play disk sectors from disk. | |
Variables | |
const unsigned short | patch [] |
VS1003 WMA "wma-bytes-left" variable adjustment at ff/rew
Definition in file vs10xx.c.
|
|
|
|
|
Definition at line 61 of file vs10xx.c. References SPI_RESULT_BYTE.
|
|
Read the 16-bit value of a VS10xx register.
Definition at line 88 of file vs10xx.c. References Delay(), MP3_DREQ, Mp3DeselectControl, Mp3DeselectData(), Mp3PutInReset, Mp3ReleaseFromReset, SPI_CLOCKF, and SPIPutCharWithoutWaiting. Referenced by AvailableProcessorTime(), Record(), and ScreenSetPlayTime().
Here is the call graph for this function: ![]() |
|
Reset VS10xx.
Definition at line 126 of file vs10xx.c. Referenced by main().
|
|
Soft Reset of VS10xx (Between songs).
Definition at line 110 of file vs10xx.c. References MP3_DREQ. Referenced by main(), and Record().
|
|
Play disk sectors from disk. Starting from current value in global variable sectorAddress, sends a number of disk sectors to vs10xx and returns. How many sectors to send between ff/rew commands Definition at line 249 of file vs10xx.c. References Address::l, PlayAvi(), PrepareToReadDiskSector(), and sectorAddress. Referenced by PlayCurrentFile().
Here is the call graph for this function: ![]() |
|
Send 2048 zeros.
Definition at line 263 of file vs10xx.c. References playingState, PS_END_OF_SONG, PS_NEXT_SONG, PS_PREVIOUS_SONG, PS_RECORDING, and sectorAddress. Referenced by PlayCurrentFile().
|
|
Execute VS1011/VS1002 Sine Test Function.
Definition at line 195 of file vs10xx.c. References GREEN_LED, LED_OFF, and RED_LED.
|
|
|