embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

vtor_set_ram_vector_base

Function vtor_set_ram_vector_base 

Source
pub unsafe fn vtor_set_ram_vector_base(base: *const u32)
Expand description

Set VTOR (Vector Table Offset) to a RAM-based vector table. Pass a pointer to the first word in the RAM table (stack pointer slot 0). Safety: Caller must ensure the RAM table is valid and aligned as required by the core.