rokdocs
v0.1

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>) -> T

write

pub unsafe fn write<T>(dst: Ptr<T>, value: T)