embassy-rp

Crates

git

Versions

rp235xb

Flavors

Function embassy_rp::rom_data::otp_access

source ·
pub unsafe extern "C" fn otp_access(
    buf: *mut u8,
    buf_len: usize,
    row_and_flags: u32,
) -> i32
Expand description

Writes data from a buffer into OTP, or reads data from OTP into a buffer.

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