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> REGISTERS10.14.9 UserCodec, 0x0Normally contains the following VS DSP assembly code:jrnopIf the user wants to take control away from the standard decoder, the first instruction should be replacedwith an appropriate j command to user’s own code.The system activates the user program in less than 1 ms. After this, the user should steal interrupt vectorsfrom the system, and insert user programs.10.15 System Vector FunctionsThe System Vector Functions are pointers to some functions that the user may call to help implementinghis own applications.10.15.1 WriteIRam(), 0x2VS DSP C prototype:void WriteIRam(register i0 u int16 *addr, register a1 u int16 msW, register a0 u int16 lsW);This is the preferred way to write to the User Instruction RAM.10.15.2 ReadIRam(), 0x4VS DSP C prototype:u int32 ReadIRam(registeri0 u int16 *addr);This is the preferred way to read from the User Instruction RAM.A1 contains the MSBs and A0 the LSBs of the result.10.15.3 DataBytes(), 0x6VS DSP C prototype:u int16 DataBytes(void);Version 1.00, 2008-02-01 73

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

Saved successfully!

Ooh no, something went wrong!