embassy-rp

Crates

git

Versions

rp2040

Flavors

embassy_rp::rom_data

Function memset4

Source
pub unsafe extern "C" fn memset4(
    ptr: *mut u32,
    c: u8,
    n: u32,
) -> *mut u32
Expand description

Sets n bytes start at ptr to the value c and returns ptr.

Note this is a slightly more efficient variant of _memset that may only be used if ptr is word aligned.