User`s guide

Libraries and Runtime Code
EOnCE Library
346
Targeting MC56F83xx/DSP5685x Controllers
Counter Trigger Modes
The following triggers generate a Counter Stop Trigger. The exceptions are the modes
that generate both start and stop triggers.
The defined identifiers listed in Listing 11.3
must be OR’ed into the options parameter
of the _eonce_SetCounterTrigger function. A key for the defined identifiers listed in
Listing 11.3
is given in Table 11.6
Listing 11.3 Counter Trigger Modes
B1PA
B1PR
B1PW
B2PF
B1XA_OR_B2PF
B1PF_OR_B2PF
B1PA_OR_B2PF
B1XR_AND_B2DR
B1XW_AND_B2DW
B1XA_AND_B2DRW
B1PF_THEN_B2PF
B1PA_THEN_B2PF
B2PF_THEN_B1PA
B1XA_THEN_B2PF
B2PF_THEN_B1XA
B1XW_THEN_B2PF
B2PF_THEN_B1XW
B1XR_THEN_B2PF
B2PF_THEN_B1XR
B1PF_SC_B2PF_HC
N the sub-trigger it follows must occur N times as set in the
count parameter; if N follows an operation, then the
combination of the sub-triggers must occur N times;
(count - 1) will be written to the BCNTR register
STB sub-trigger starts the trace buffer
HTB sub-trigger halts the trace buffer
Table 11.5 Defined Identifier Key: Normal Trigger Modes (continued)
Identifier Fragments Description