dap_queue_ap_abort() function
Queue an AP abort operation. The current AP transaction is aborted, including any update of the transaction counter. The AP is left in an unknown state (so it must be re-initialized). For use only after the AP has reported WAIT status for an extended period.
Arguments
dap
The DAP used for writing.
ack
Pointer to where transaction status will be stored.
Return value
ERROR_OK for success, else a fault code.