embassy-rp

Crates

git

Versions

rp235xb

Flavors

embassy_rp::rom_data

Function explicit_buy

Source
pub unsafe extern "C" fn explicit_buy(
    buffer: *mut u8,
    buffer_size: u32,
) -> i32
Expand description

Perform an “explicit” buy of an executable launched via an IMAGE_DEF which was “explicit buy” flagged.

See datasheet section 5.5.12.3 for more details.

Supported architectures: ARM-S, RISC-V

§Safety

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