User`s guide
Libraries and Runtime Code
EOnCE Library
337Targeting MC56F83xx/DSP5685x Controllers
counter2unsigned long
Specifies the value used to pre-load the counter, which proceeds backward. When
EXTEND_COUNTER is OR’ed into the options parameter. counter2 contains the
most significant 24-bits. However, when EXTEND_COUNTER is not OR’ed
counter2 should be set to 0.
Remarks
This function is used to set special counting function triggers. The special counting
options are defined in the sub-section “Definitions.”
Carefully read the list of defined
identifiers that can be OR’ed into the options parameter.
Returns
Error code as defined in the sub-section “Definitions.”
_eonce_ClearTrigger
Clears a previously set trigger.
Prototype
int _eonce_ClearTrigger( unsigned int unit )
Parameters
unitunsigned int
Specifies which breakpoint unit to use.
Remarks
This function clears a trigger set with the _eonce_SetTrigger or
_eonce_SetCounterTrigger functions.
Returns
Error code as defined in the sub-section “Definitions.”