Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

read_u32

Function read_u32 

Source
pub unsafe fn read_u32(addr: u32) -> u32
Expand description

Read a 32-bit word from addr. Caller must guarantee addr is valid MMIO for a 32-bit read.

§Safety

Targets unchecked memory-mapped I/O. The caller is responsible for the address mapping and any side effects.