DCL Common Structures and Functions
Module: Digital Control Library (DCL)
Types
Name |
|
|---|---|
typedef float |
float32_t |
typedef double |
float64_t |
typedef uint32_t |
dcl_interrupt_t |
Defines
Name |
|
|---|---|
IEEE754_TYPES |
|
_DCL_CODE_ACCESS |
|
_DCL_CRIT_ACCESS |
|
_DCL_VOLATILE |
|
DCL_setBreakPoint() |
|
DCL_disableInts() |
|
DCL_restoreInts(v) |
Detailed Description
Top level header that contains all DCL common structures and functions
Types Documentation
typedef float32_t
typedef float float32_t;
brief 32b float type
typedef float64_t
typedef double float64_t;
brief 64b float type
typedef dcl_interrupt_t
typedef uint32_t dcl_interrupt_t;
Interrupt state.
Macros Documentation
define IEEE754_TYPES
#define IEEE754_TYPES
Defines single,double precision data type.
Note: Note: Assumes ABI to be TI_EABI, does not support legacy TI_COFF.
define _DCL_CODE_ACCESS
#define _DCL_CODE_ACCESS static inline
Defines the scope of dcl functions.
define _DCL_CRIT_ACCESS
#define _DCL_CRIT_ACCESS static inline __attribute__((always_inline))
Defines the scope of critical dcl functions.
define _DCL_VOLATILE
#define _DCL_VOLATILE
Defines volatile for DCL strctures Flags can be defined in dcl.h or user files before including DCL lib.
define DCL_setBreakPoint
#define DCL_setBreakPoint(
)
Set a software breakpoint assembly instruction.
define DCL_disableInts
#define DCL_disableInts(
)
0
Define enable and disable interrupt operations.
Disable all interrupts
define DCL_restoreInts
#define DCL_restoreInts(
v
)
(void)(v)
Restore all interrupts.