HWI_isHWI
2-170
C Interface
Syntax
result = HWI_isHWI(Void);
Parameters
Void
Return Value
Bool
result;
/* TRUE if in HWI context, FALSE otherwise */
Reentrant
yes
Description
This macro returns TRUE when it is called within the context of an HWI
or CLK function. It also returns TRUE when called from main(). This
macro returns FALSE in all other contexts.
In previous versions of DSP/BIOS, calling HWI_isHWI() from main()
resulted in TRUE. This is no longer the case; main() is identified as part
of the TSK context.
See Also
HWI_isHWI
Check to see if called in the context of an HWI