User Manual

VS1003
10 VS1003 REGISTERS
10.14.3 DataBytes(), 0x6
VS_DSP C prototype:
u_int16 DataBytes(void);
If the user has taken over the normal operation of the system by switching the pointer in User-
Codec to point to his own code, he may read data from the Data Interface through this and the
following two functions.
This function returns the number of data bytes that can be read.
10.14.4 GetDataByte(), 0x8
VS_DSP C prototype:
u_int16 GetDataByte(void);
Reads and returns one data byte from the Data Interface. This function will wait until there is
enough data in the input buffer.
10.14.5 GetDataWords(), 0xa
VS_DSP C prototype:
void GetDataWords(register __i0 __y u_int16 *d, register __a0 u_int16 n);
Read n data byte pairs and copy them in big-endian format (first byte to MSBs) to d. This
function will wait until there is enough data in the input buffer.
10.14.6 Reboot(), 0xc
VS_DSP C prototype:
void Reboot(void);
Causes a software reboot, i.e. jump to the standard firmware without reinitializing the IRAM
vectors.
This is NOT the same as the software reset function, which causes complete initialization.
Version: 1.08, 2014-12-19 59