![Vlsi VS1063a Скачать руководство пользователя страница 10](http://html.mh-extra.com/html/vlsi/vs1063a/vs1063a_programmers-manual_1042916010.webp)
PRELIMINARY
VS1063a Prog. Guide
5
WRITING PLUGINS
5
Writing Plugins
In the context of VS1063a, a plugin is a piece of software that coexists with the audio decoder
framework of VS1063a.
Plugins may modify decoded audio data or inject new data into the audio path, use free CPU
time. They may have limited control over some interrupts.
Plugins have to take into account that the operating system is running: they cannot use any
memory areas allocated by the system and they should use as little processing power as pos-
sible.
VS1063a doesn’t have hardware resource allocation routines in its operating system, so if the
user wants to access VS1063a hardware, he has to make sure to use only such parts of it that
are not already used by the system. An example of this are interrupts: some are used by the
operating system, and some are free to use.
5.1
Plugin Memory Maps
This chapter presents free memory maps for plugins. All units are in words.
5.1.1
Plugin Instruction Memory Map (32-bit words)
Free instruction memory for plugins
Start Addr
Length
Description
0x50
0x3B0
Full I memory except jump vectors
5.1.2
Plugin X Data Memory Map (16-bit words)
Free X data memory for plugins
Start Addr
Length
Description
0x1800
0x80
User area
0x1C80
0x180
Extra area 1
0x1E40
0x1C0
Extra area 2
Version: 0.40, 2011-09-02
10