docs

v0.1.2 문서를 보고 있습니다. 이 버전은 더 이상 지원하지 않습니다. 최신 릴리스: v0.1.3 →

bare::volatile

API 참조는 영어로만 있습니다. 표준 라이브러리 소스의 영어 문서 주석에서 만듭니다.

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.