nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
ppi_trace.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef __PPI_TRACE_H
8#define __PPI_TRACE_H
9
10#include <stdint.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
36void *ppi_trace_config(uint32_t pin, uint32_t evt);
37
49void *ppi_trace_pair_config(uint32_t pin, uint32_t start_evt, uint32_t stop_evt);
50
68int ppi_trace_dppi_ch_trace(uint32_t pin, uint32_t dppi_ch);
69
74void ppi_trace_enable(void *handle);
75
80void ppi_trace_disable(void *handle);
81
84#ifdef __cplusplus
85}
86#endif
87
88#endif /* __PPI_TRACE_H */
void * ppi_trace_pair_config(uint32_t pin, uint32_t start_evt, uint32_t stop_evt)
Configure a PPI trace pin for tracing complementary events.
void ppi_trace_enable(void *handle)
Enable PPI trace pin.
void * ppi_trace_config(uint32_t pin, uint32_t evt)
Configure a PPI trace pin for tracing a single event.
int ppi_trace_dppi_ch_trace(uint32_t pin, uint32_t dppi_ch)
Configure and enable a PPI trace pin for tracing a DPPI channel.
void ppi_trace_disable(void *handle)
Disable PPI trace pin.