embassy-rp

Crates

git

Versions

rp235xb

Flavors

embassy_rp::rom_data

Function flash_reset_address_trans

Source
pub unsafe extern "C" fn flash_reset_address_trans()
Expand description

Restore the QMI address translation registers, ATRANS0 through ATRANS7, to their reset state. This makes the runtime- to-storage address map an identity map, i.e. the mapped and unmapped address are equal, and the entire space is fully mapped.

See Section 12.14.4 of the RP2350 datasheet.

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.