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

◆ ppi_trace_config()

void * ppi_trace_config ( uint32_t pin,
uint32_t evt )

#include <include/debug/ppi_trace.h>

Configure a PPI trace pin for tracing a single event.

Note
If a hardware event is used by DPPI in the application, the PPI trace configuration must occur after the DPPI connection for the given event. The order is important because DPPI allows assigning events to only one channel. Therefore, PPI trace subscribes to the same channel.
Parameters
pinPin to use for tracing.
evtHardware event to be traced on the pin.
Returns
Handle, or NULL if the configuration failed.