Naming Conventions
About DSP/BIOS 1-11
Note:
Your program code should not call any built-in functions whose names
begin with MOD_F_. These functions are intended to be called only as
function parameters specified in the configuration.
Symbol names beginning with MOD_ and MOD_F_ (where MOD is any letter
code for a DSP/BIOS module) are reserved for internal use.
1.3.4 Data Type Names
The DSP/BIOS API does not explicitly use the fundamental types of C such
as int or char. Instead, to ensure portability to other processors that support
the DSP/BIOS API, DSP/BIOS defines its own standard data types. In most
cases, the standard DSP/BIOS types are uppercase versions of the
corresponding C types.
The data types, shown in Table 1-2, are defined in the std.h header file.
Table 1-2. DSP/BIOS Standard Data Types:
Additional data types are defined in std.h, but are not used by DSP/BIOS
APIs.
In addition, the standard constant NULL (0) is used by DSP/BIOS to signify
an empty pointer value. The constants TRUE (1) and FALSE (0) are used for
values of type Bool.
Type Description
Arg Type capable of holding both Ptr and Int arguments
Bool Boolean value
Char Character value
Fxn Pointer to a function
Int Signed integer value
LgInt Large signed integer value
LgUns Large unsigned integer value
Ptr Generic pointer value
String Zero-terminated (\0) sequence (array) of characters
Uns Unsigned integer value
Void Empty type