mem_ap_write_atomic_u32() function
Synchronous write of a word to memory or a system register. As a side effect, this flushes any queued transactions.
Arguments
address
Address to be written; it must be writable by the currently selected MEM-AP.
value
Word that will be written.
Return value
ERROR_OK for success; the data was written. Otherwise a fault code.