dap_ops struct
Transport-neutral representation of queued DAP transactions, supporting both JTAG and SWD transports. All submitted transactions are logically queued, until the queue is executed by run(). Some implementations might execute transactions as soon as they're submitted, but no status is made available until run().
Fields
Optional; called once on the first enabled dap before connecting.
connect operation for SWD.
send a sequence to the DAP.
int (*)(struct adiv5_dap *dap, unsigned reg,
uint32_t *data)
DP register read.
int (*)(struct adiv5_dap *dap, unsigned reg,
uint32_t data)
DP register write.
int (*)(struct adiv5_ap *ap, unsigned reg,
uint32_t *data)
AP register read.
int (*)(struct adiv5_ap *ap, unsigned reg,
uint32_t data)
AP register write.
Executes all queued DAP operations.
Executes all queued DAP operations but doesn't check sticky error conditions.
Optional; called at OpenOCD exit.