DSM Debug API header.
More...
#include "stdfuncs.h"
#include "dsm_debug.h"
#include "cldsmtypes.h"
Go to the source code of this file.
|
void | CDSM_SetPrintFuncs (F_Printf errorFunc, F_Printf warnFunc, F_Printf debugFunc, F_Printf infoFunc) |
| Sets debug print functions for four different levels of detail. Any of these parameters can be set to NULL to turn off output All can be same function and default is NULL for all. More...
|
|
void | CDSM_SetPrintState (U32BIT state) |
| Sets debug print state to select areas of debug. More...
|
|
void | CDSM_SetDebugState (H_DsmCoreInst dsm, U32BIT dbgMask) |
| Set Debug mask for core DSM. More...
|
|
DSM Debug API header.
- Date
- 28 September 2013
- Author
- Adam Sturtridge
Set Debug mask for core DSM.
- Parameters
-
dsm | DSMCC core instance handle. |
dbgMask | Mask to filter debug messages |
- Returns
void CDSM_SetPrintFuncs |
( |
F_Printf |
errorFunc, |
|
|
F_Printf |
warnFunc, |
|
|
F_Printf |
debugFunc, |
|
|
F_Printf |
infoFunc |
|
) |
| |
Sets debug print functions for four different levels of detail. Any of these parameters can be set to NULL to turn off output All can be same function and default is NULL for all.
- Parameters
-
F_Printf | errorFunc Pointer to error print function |
F_Printf | warmFunc Pointer to warn print function |
F_Printf | debugFunc Pointer to debug print function |
F_Printf | infoFunc Pointer to info print function |
- Returns
- void
void CDSM_SetPrintState |
( |
U32BIT |
state | ) |
|
Sets debug print state to select areas of debug.
- Parameters
-
U32BIT | state See defines above |
- Returns
- void