Function rp2040_hal::rom_data::memcpy44

source ·
pub unsafe extern "C" fn memcpy44(
    dest: *mut u32,
    src: *const u32,
    n: u32
) -> *mut u8
Expand description

Copies n bytes starting at src to dest and returns dest. The results are undefined if the regions overlap.

Note this is a slightly more efficient variant of _memcpy that may only be used if dest and src are word aligned.

§Safety

This is a low-level C function. It may be difficult to call safely from Rust. If in doubt, check the RP2040 datasheet for details and do your own safety evaluation.