rok::bare::volatile
rok::bare::volatile - accesses the optimizer keeps exactly as written (stdlib spec 1.5): MMIO, signal flags, DMA buffers. Not atomic.
Functions
read
pub unsafe fn read<T>(src: ConstPtr<T>) -> Twrite
pub unsafe fn write<T>(dst: Ptr<T>, value: T)