swd_driver is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
int (*)(void)
Initialize the debug link so it can perform SWD operations. As an example, this would switch a dual-mode debug adapter into SWD mode and out of JTAG mode.
int (*)(enum swd_special_seq seq)
Queue a special SWDIO sequence.
void (*)(uint8_t cmd, uint32_t *value, uint32_t ap_delay_hint)
Queued read of an AP or DP register.
void (*)(uint8_t cmd, uint32_t value, uint32_t ap_delay_hint)
Queued write of an AP or DP register.
int (*)(void)
Execute any queued transactions and collect the result.
int *(*)(bool swo)
Configures data collection from the Single-wire trace (SWO) signal. For example, some debug adapters include a UART which is normally connected to a microcontroller's UART TX, but which may instead be connected to SWO for use in collecting ITM (and possibly ETM) trace data.

References

from examples