IDL Module
2-172
2.11
IDL Module
The IDL module is the idle thread manager.
Functions
❏
IDL_run. Make one pass through idle functions.
Configuration
Properties
The following list shows the properties that can be configured in a Tconf
script, along with their types and default values. For details, see the IDL
Manager Properties and IDL Object Properties headings. For
descriptions of data types, see Section 1.4,
Module Configuration Parameters
Instance Configuration Parameters
Description
The IDL module manages the lowest-level threads in the application. In
addition to user-created functions, the IDL module executes DSP/BIOS
functions that handle host communication and CPU load calculation.
There are four kinds of threads that can be executed by DSP/BIOS
programs: hardware interrupts (HWI Module), software interrupts (SWI
Module), tasks (TSK Module), and background threads (IDL module).
Background threads have the lowest priority, and execute only if no
hardware interrupts, software interrupts, or tasks need to run.
An application’s main() function must return before any DSP/BIOS
threads can run. After the return, DSP/BIOS runs the idle loop. Once an
application is in this loop, HWI hardware interrupts, SWI software
interrupts, PRD periodic functions, TSK task functions, and IDL
background threads are all enabled.
The functions for IDL objects registered with the configuration are run in
sequence each time the idle loop runs. IDL functions are called from the
Name
Type
Default
OBJMEMSEG
Reference
prog.get("DARAM")
AUTOCALCULATE
Bool
true
LOOPINSTCOUNT
Int32
1000
Name
Type
Default
comment
String
"<add comments here>"
fxn
Extern
prog.extern("FXN_F_nop")
calibration
Bool
true
order
Int16
0