IDL_run
Application Program Interface
2-175
C Interface
Syntax
IDL_run();
Parameters
Void
Return Value
Void
Description
IDL_run makes one pass through the list of configured IDL objects,
calling one function after the next. IDL_run returns after all IDL functions
have been executed one time. IDL_run is not used by most DSP/BIOS
applications since the IDL functions are executed in a loop when the
application returns from main. IDL_run is provided to allow easy
integration of the real-time analysis features of DSP/BIOS (for example,
LOG and STS) into existing applications.
IDL_run must be called to transfer the real-time analysis data to and from
the host computer. Though not required, this is usually done during idle
time when no HWI or SWI threads are running.
Note:
BIOS_init and BIOS_start must be called before IDL_run to ensure that
DSP/BIOS has been initialized. For example, the DSP/BIOS boot file
contains the following system calls around the call to main:
BIOS_init
()
; /* initialize DSP/BIOS */
main
()
;
BIOS_start
()
/* start DSP/BIOS */
IDL_loop
()
; /* call IDL_run in an infinite loop */
Constraints and
Calling Context
❏
IDL_run cannot be called by an HWI or SWI function.
IDL_run
Make one pass through idle functions