RAM interrupt vector initialization

Description

Simple utility to move the interrupt vector table to RAM.

This utility will modify the VTOR register to point to a vector table located in RAM. The original content of the compiled interrupt vector table located in flash is copied in the RAM table.

Functions

void sl_ram_interrupt_vector_init (void)
Configures the interrupt vector pointer (VTOR) to point to a vector table in RAM.

Function Documentation

sl_ram_interrupt_vector_init()

void sl_ram_interrupt_vector_init ( void )

Configures the interrupt vector pointer (VTOR) to point to a vector table in RAM.

Note
This function is a wrapper around CORE_InitNvicVectorTable function. The actual interrupt vector's content is copied into the RAM table defined in the source file of the function, and the VTOR pointer is set to this new table.