mem_ap_read_atomic_u32() function
Synchronous read of a word from memory or a system register. As a side effect, this flushes any queued transactions.
Arguments
address
Address of the 32-bit word to read; it must be readable by the currently selected MEM-AP.
value
points to where the result will be stored.
Return value
ERROR_OK for success; *value holds the result. Otherwise a fault code.