Hi,
I need to perform a unaligned access to a volatile memory region (shared with DMA) from c++ code.
I tried using _mem4(), but it does not accept "volatile" pointers, as it is invalid to cast "volatile xx *" to (void *). I could force the cast, but this (probably?) means loosing the "volatile" behaviour.
What is the best (elegent/convinient/robust) solution to this ?
(the interest of keeping the volatile properties is to make sure the data is in RAM before kicking the QDMA).
Thanks,
Raul.