VxWorks Reference Manual : Libraries
dspLib - dsp support library
dspInit( ) - initialize dsp support
This library provides a general interface to the dsp. To activate dsp support, dspInit( ) must be called before any tasks using the dsp are spawned. This is done automatically by the root task, usrRoot( ), in usrConfig.c when INCLUDE_DSP is defined in configAll.h.
For information about architecture-dependent dsp routines, see the manual entry for dspArchLib.
VX_DSP_TASK OPTION Saving and restoring dsp registers adds to the context switch time of a task. Therefore, dsp registers are not saved and restored for every task. Only those tasks spawned with the task option VX_DSP_TASK will have dsp registers saved and restored.
If a task does any dsp operations, it must be spawned with VX_DSP_TASK.
DSP registers are not saved and restored for interrupt service routines connected with intConnect( ). However, if necessary, an interrupt service routine can save and restore dsp registers by calling routines in dspArchLib.
dspLib.h
dspLib, dspArchLib, dspShow, intConnect( ), VxWorks Programmer's Guide: Basic OS
dspInit( ) - initialize dsp support
void dspInit (void)
This routine initializes dsp support and must be called before using the dsp. This is done automatically by the root task, usrRoot( ), in usrConfig.c when INCLUDE_DSP is defined in configAll.h.
N/A