CLK Module
Application Program Interface
2-47
Since all CLK functions are performed at the same periodic rate,
functions that need to run at a multiple of that rate should either count
the number of interrupts and perform their activities when the counter
reaches the appropriate value or be configured as PRD objects.
If this function is written in C and you are using the DSP/BIOS
Configuration Tool, use a leading underscore before the C function
name. (The DSP/BIOS Configuration Tool generates assembly
code, which must use leading underscores when referencing C
functions or labels.) If you are using Tconf, do not add an underscore
before the function name; Tconf adds the underscore needed to call
a C function from assembly internally.
Tconf Name: fxn
Type: Extern
Example:
myClk.fxn = prog.extern("timeFxn");
❏
order
. You can change the sequence in which CLK functions are
executed by specifying the order property of all the CLK functions.
Tconf Name: order
Type: Int16
Example:
myClk.order = 2;