User`s guide
Libraries and Runtime Code
EOnCE Library
348
Targeting MC56F83xx/DSP5685x Controllers
Counter Function Modes
One of the defined identifiers in Table 11.8 must be OR’ed into the options parameter
of the _eonce_SetCounterTrigger function.
Normal Unit Action Options
This list of options describes the action taken when a non-counter trigger is generated.
One of the defined identifiers in Table 11.9
must be OR’ed into the options parameter
of the _eonce_SetTrigger function.
B2D_WORD makes a comparison when the data being moved is of word-length
B2D_LONG makes a comparison when the data being moved is of long-length
Table 11.8 Counter Function Modes
Defined Identifiers Description
PCLK_CLOCK_CYCLES count pclk cycles
CLK_CLOCK_CYCLES count clk cycles
INSTRUCTIONS_EXECUTED count instructions executed
TRACE_BUFFER_WRITES count writes to the trace buffer
COUNTER_START_TRIGGERS count Counter Start Triggers
PCLK_CLOCK_CYCLES count pclk cycles
Table 11.9 Normal Unit Actions Options Mode
Defined Identifiers Description
UNIT_ACTION enters debug mode is unit 0, else passes signal on to
next unit
INTERRUPT_CORE interrupts to vector set for this unit
HALT_TRACE_BUFFER trace buffer capture is halted
START_TRACE_BUFFER trace buffer capture is started
UNIT_ACTION enters debug mode is unit 0, else passes signal on to
next unit
Table 11.7 Data Selection Modes
Defined
Identifiers
Description