SAM macro SAM-ADDR()
__SAM_ADDR__ - Calculate the memory access address
#include <sam.h> __SAM_ADDR__(x, y)
The __SAM_ADDR__() macro calculates the memory address to read or to write, given the memory address to a registered region of memory x and the pointer differential y returned by the function SAM_Memory_speculative_write_prepare(). In case of not accessing memory with speculative write, this macro is not needed or it can be used with an y value of 0.
 Return value
See DESCRIPTION above.
None, assumes correct input parameters.
Example 4 - Executing speculatively, flashing back, and speculative writing