embassy-rp

Crates

git

Versions

rp235xb

Flavors

Function embassy_rp::rom_data::set_ns_api_permission

source ·
pub unsafe extern "C" fn set_ns_api_permission(
    ns_api_num: u32,
    allowed: u8,
) -> i32
Expand description

Allow or disallow the specific NS API (note all NS APIs default to disabled).

See datasheet section 5.5.9.1 for more details.

Supported architectures: ARM-S

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