Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
swdp.h File Reference

Serial Wire Debug Port interface driver API. More...

#include <zephyr/device.h>

Go to the source code of this file.

Data Structures

struct  swdp_api
 

Macros

#define SWDP_REQUEST_APnDP   BIT(0)
 
#define SWDP_REQUEST_RnW   BIT(1)
 
#define SWDP_REQUEST_A2   BIT(2)
 
#define SWDP_REQUEST_A3   BIT(3)
 
#define SWDP_ACK_OK   BIT(0)
 
#define SWDP_ACK_WAIT   BIT(1)
 
#define SWDP_ACK_FAULT   BIT(2)
 
#define SWDP_TRANSFER_ERROR   BIT(3)
 
#define SWDP_SWCLK_PIN   0U
 
#define SWDP_SWDIO_PIN   1U
 
#define SWDP_nRESET_PIN   7U
 

Detailed Description

Serial Wire Debug Port interface driver API.

Macro Definition Documentation

◆ SWDP_ACK_FAULT

#define SWDP_ACK_FAULT   BIT(2)

◆ SWDP_ACK_OK

#define SWDP_ACK_OK   BIT(0)

◆ SWDP_ACK_WAIT

#define SWDP_ACK_WAIT   BIT(1)

◆ SWDP_nRESET_PIN

#define SWDP_nRESET_PIN   7U

◆ SWDP_REQUEST_A2

#define SWDP_REQUEST_A2   BIT(2)

◆ SWDP_REQUEST_A3

#define SWDP_REQUEST_A3   BIT(3)

◆ SWDP_REQUEST_APnDP

#define SWDP_REQUEST_APnDP   BIT(0)

◆ SWDP_REQUEST_RnW

#define SWDP_REQUEST_RnW   BIT(1)

◆ SWDP_SWCLK_PIN

#define SWDP_SWCLK_PIN   0U

◆ SWDP_SWDIO_PIN

#define SWDP_SWDIO_PIN   1U

◆ SWDP_TRANSFER_ERROR

#define SWDP_TRANSFER_ERROR   BIT(3)