Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dap_link.h File Reference

Main header file for the DAP Link API. More...

#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/drivers/swdp.h>

Go to the source code of this file.

Data Structures

 DAP Link runtime context (opaque type). More...

Macros

#define DAP_LINK_CONTEXT_DEFINE(ctx_name, ctx_dev)
 Statically define a DAP Link context.

Functions

int dap_link_init (struct dap_link_context *const dap_link_ctx)
 Initialize a DAP Link context.
void dap_link_set_pkt_size (struct dap_link_context *const dap_link_ctx, const uint16_t pkt_size)
 Set the packet size used by a DAP Link backend.
int dap_link_backend_usb_init (struct dap_link_context *const dap_link_ctx)
 Initialize the DAP Link USB backend.

Detailed Description

Main header file for the DAP Link API.