embassy-rp

Crates

git

Versions

rp235xb

Flavors

embassy_rp::rom_data

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