nRF Connect SDK API 0.1.0
|
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.
pin | Pin to use for tracing. |
dppi_ch | DPPI channel number to be traced on the pin. |
0 | The configuration succeeded. |
-ENOMEM | The configuration failed, due to lack of necessary resources. |
-ENOTSUP | The function is not supported on current hardware platform. |