embassy-rp

Crates

git

Versions

rp235xb

Flavors

Function embassy_rp::rom_data::validate_ns_buffer

source ·
pub unsafe extern "C" fn validate_ns_buffer()
Expand description

Utility method that can be used by secure ARM code to validate a buffer passed to it from Non-secure code.

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