bare::volatile
accesses the optimizer keeps exactly as written: MMIO, signal flags, DMA buffers. Not atomic.
Functions
readSource
pub unsafe fn read<T>(src: ConstPtr<T>) -> T The T at src, read exactly once as written. UB unless it points
at a live, initialized T.
writeSource
pub unsafe fn write<T>(dst: Ptr<T>, value: T) Store value at dst, written exactly once as written. UB unless
dst is writable T memory.