OpenOCD
|
Transport-neutral representation of queued DAP transactions, supporting both JTAG and SWD transports. More...
Data Fields | |
int(* | connect )(struct adiv5_dap *dap) |
connect operation for SWD More... | |
int(* | pre_connect_init )(struct adiv5_dap *dap) |
Optional; called once on the first enabled dap before connecting. More... | |
int(* | queue_ap_abort )(struct adiv5_dap *dap, uint8_t *ack) |
AP operation abort. More... | |
int(* | queue_ap_read )(struct adiv5_ap *ap, unsigned int reg, uint32_t *data) |
AP register read. More... | |
int(* | queue_ap_write )(struct adiv5_ap *ap, unsigned int reg, uint32_t data) |
AP register write. More... | |
int(* | queue_dp_read )(struct adiv5_dap *dap, unsigned int reg, uint32_t *data) |
DP register read. More... | |
int(* | queue_dp_write )(struct adiv5_dap *dap, unsigned int reg, uint32_t data) |
DP register write. More... | |
void(* | quit )(struct adiv5_dap *dap) |
Optional; called at OpenOCD exit. More... | |
int(* | run )(struct adiv5_dap *dap) |
Executes all queued DAP operations. More... | |
int(* | send_sequence )(struct adiv5_dap *dap, enum swd_special_seq seq) |
send a sequence to the DAP More... | |
int(* | sync )(struct adiv5_dap *dap) |
Executes all queued DAP operations but doesn't check sticky error conditions. More... | |
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().
Definition at line 446 of file arm_adi_v5.h.
int(* dap_ops::connect) (struct adiv5_dap *dap) |
connect operation for SWD
Definition at line 451 of file arm_adi_v5.h.
Referenced by dap_dp_init_or_reconnect(), and dap_init_all().
int(* dap_ops::pre_connect_init) (struct adiv5_dap *dap) |
Optional; called once on the first enabled dap before connecting.
Definition at line 448 of file arm_adi_v5.h.
Referenced by dap_init_all().
int(* dap_ops::queue_ap_abort) (struct adiv5_dap *dap, uint8_t *ack) |
AP operation abort.
Definition at line 471 of file arm_adi_v5.h.
Referenced by dap_queue_ap_abort().
DP register read.
Definition at line 457 of file arm_adi_v5.h.
Referenced by dap_init_all(), and dap_queue_dp_read().
void(* dap_ops::quit) (struct adiv5_dap *dap) |
Optional; called at OpenOCD exit.
Definition at line 481 of file arm_adi_v5.h.
Referenced by dap_cleanup_all().
int(* dap_ops::run) (struct adiv5_dap *dap) |
Executes all queued DAP operations.
Definition at line 474 of file arm_adi_v5.h.
Referenced by dap_run().
int(* dap_ops::send_sequence) (struct adiv5_dap *dap, enum swd_special_seq seq) |
send a sequence to the DAP
Definition at line 454 of file arm_adi_v5.h.
Referenced by dap_send_sequence().
int(* dap_ops::sync) (struct adiv5_dap *dap) |
Executes all queued DAP operations but doesn't check sticky error conditions.
Definition at line 478 of file arm_adi_v5.h.
Referenced by dap_sync().