embassy-rp

Crates

git

Versions

rp235xa

Flavors

embassy_rp::rom_data

Function 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.