User`s guide
Libraries and Runtime Code
EOnCE Library
344
Targeting MC56F83xx/DSP5685x Controllers
Return Codes
Every function except _eonce_Initialize returns one of the error codes in Table 11.4.
Table 11.4 Error Codes
Normal Trigger Modes
One of the defined identifiers listed in Listing 11.2 must be OR’ed into the options
parameter of the _eonce_SetTrigger function. A key for the defined identifiers listed
in Listing 11.2
is given in Table 11.5.
Listing 11.2 Normal Trigger Modes
B1PA_N
B1PR_N
B1PW_N
B2PF_N
B1XA_OR_B2PF_N
B1XA_N_OR_B2PF
B1PF_OR_B2PF_N
B1PA_OR_B2PF_N
B1PA_N_OR_B2PF
B1PF_OR_N_B2PF
B1PA_OR_N_B2PF
B1XR_AND_N_B2DR
B1XW_AND_N_B2DW
B1XA_AND_N_B2DRW
B1PF_N_THEN_B2PF
B2PF_THEN_B1PF_N
B1PA_N_THEN_B2PF
Error Code Description
EONCE_ERR_NONE No error.
EONCE_ERR_NOT_INITIALIZED The _eonce_Initialize function has not been called
before the current function.
EONCE_ERR_UNIT_OUT_OF_RANGE The unit parameter is greater than or equal to the number
of units specified in _eonce_Initialize.
EONCE_ERR_LOCKED_OUT The core cannot access the EOnCE registers because
the debugger has locked out the core. This occurs when
a trigger has been set using the EOnCE GUI panels or
through an IDE breakpoint or watchpoint.