English
Language : 

VS1002D Datasheet, PDF (51/54 Pages) List of Unclassifed Manufacturers – MP3 AUDIO CODEC
VLSI
Solution y
VS1002d
VS1002D
10. VS1002D 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 UserCodec
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.
Version 1.0, 2005-04-27
51