12.07.2015 Views

VS1033 - MP3/AAC/WMA/MIDI AUDIO CODEC - VLSI Solution

VS1033 - MP3/AAC/WMA/MIDI AUDIO CODEC - VLSI Solution

VS1033 - MP3/AAC/WMA/MIDI AUDIO CODEC - VLSI Solution

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>VLSI</strong><strong>Solution</strong> y<strong>VS1033</strong>c<strong>VS1033</strong>C10. <strong>VS1033</strong> REGISTERSIf the user has taken over the normal operation of the system by switching the pointer in UserCodecto point to his own code, he may read data from the Data Interface through this and the following twofunctions.This function returns the number of data bytes that can be read.10.15.4 GetDataByte(), 0x8VS DSP C prototype:u int16 GetDataByte(void);Reads and returns one data byte from the Data Interface. This function will wait until there is enoughdata in the input buffer. Audio interrupts must be enabled for this function to work.10.15.5 GetDataWords(), 0xaVS 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 willwait until there is enough data in the input buffer. Audio interrupts must be enabled for this function towork.Version 1.00, 2008-02-01 74

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!