libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Definitions for handling vector tables. More...
Go to the source code of this file.
Data Structures | |
struct | vector_table_t |
Typedefs | |
typedef void(* | vector_table_entry_t) (void) |
Type of an interrupt function. More... | |
Variables | |
unsigned | _data_loadaddr |
unsigned | _data |
unsigned | _edata |
unsigned | _ebss |
unsigned | _stack |
vector_table_t | vector_table |
Definitions for handling vector tables.
This implements d0002_efm32_cortex-m3_reference_manual.pdf's figure 2.2 (from the EFM32 documentation at http://www.energymicro.com/downloads/datasheets), and was seen analogously in other ARM implementations' libopencm3 files.
The structure of the vector table is implemented independently of the system vector table starting at memory position 0x0, as it can be relocated to other memory locations too.
The exact size of a vector interrupt table depends on the number of interrupts IRQ_COUNT, which is defined per family.
Definition in file vector.h.
typedef void(* vector_table_entry_t) (void) |
unsigned _data |
Definition at line 65 of file vector.h.
Referenced by reset_handler().
|
extern |
Referenced by reset_handler().
unsigned _ebss |
Definition at line 65 of file vector.h.
Referenced by reset_handler().
unsigned _edata |
Definition at line 65 of file vector.h.
Referenced by reset_handler().
|
extern |