![]() |
NexMotion
1.4.0
Open Robots & Machines [WIP]
|
Debug trace functions. More...
![]() |
Functions | |
void FNTYPE | NMC_DebugSetTraceMode (I32_T TraceMode) |
Set API trace mode. More... | |
void FNTYPE | NMC_DebugSetHookData (void *PHookUserData) |
Set the data structure index for the hook function. More... | |
void FNTYPE | NMC_DebugSetHookFunction (PF_NmcHookAPI PFHookFuncPtr) |
Set the hook function. More... | |
const void *FNTYPE | NMC_DebugGetApiAddress (const char *PApiName) |
Read the API address. More... | |
Debug trace functions.
const void* FNTYPE NMC_DebugGetApiAddress | ( | const char * | PApiName | ) |
Read the API address.
[in] | PApiName | [Input] The function name of a NexMotion API |
Usage:
Please refer to the section, Function Trace.
Examples:
Reference:
None
void FNTYPE NMC_DebugSetHookData | ( | void * | PHookUserData | ) |
Set the data structure index for the hook function.
[in] | PHookUserData | [Input] A pointer variable to set a variable or a data structure specified by user |
Usage:
Please refer to the section, Function Trace.
Examples:
Reference:
None
void FNTYPE NMC_DebugSetHookFunction | ( | PF_NmcHookAPI | PFHookFuncPtr | ) |
Set the hook function.
PFHookFuncPtr | A function pointer to set the hook function |
Usage:
Please refer to the section, Function Trace.
Examples:
Reference:
None
Set API trace mode.
TraceMode | 0: Turn off the trace function and do not output anything 1: Output the APIs with errors only 2: Output all APIs |
Usage:
Please refer to the section, Function Trace.
Examples:
Reference:
None