nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ ppi_trace_dppi_ch_trace()

int ppi_trace_dppi_ch_trace ( uint32_t pin,
uint32_t dppi_ch )

#include <include/debug/ppi_trace.h>

Configure and enable a PPI trace pin for tracing a DPPI channel.

This function allows to trace DPPI triggers without knowing any events being the source of the trigger. Configuration of events so that they publish to the given DPPI and enabling the DPPI is out of scope of this function and must be done externally. This function allows also to trace DPPI channels which are triggered by multiple events or the set of events publishing to the DPPI channel changes in run-time.

Note
Supported only on platforms equipped with DPPI.
Parameters
pinPin to use for tracing.
dppi_chDPPI channel number to be traced on the pin.
Return values
0The configuration succeeded.
-ENOMEMThe configuration failed, due to lack of necessary resources.
-ENOTSUPThe function is not supported on current hardware platform.