embassy-rp

Crates

git

Versions

rp235xa

Flavors

embassy_rp::rom_data

Function get_sys_info

Source
pub unsafe extern "C" fn get_sys_info(
    out_buffer: *mut u32,
    out_buffer_word_size: usize,
    flags: u32,
) -> i32
Expand description

Fills a buffer with various system information.

Note that this API is also used to return information over the PICOBOOT interface.

See datasheet section 5.5.11.1 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.