libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
vector.c File Reference
Include dependency graph for vector.c:

Go to the source code of this file.

Typedefs

typedef void(* funcp_t) (void)
 

Functions

int main (void)
 
void blocking_handler (void)
 
void null_handler (void)
 
void reset_handler (void)
 

Variables

funcp_t __preinit_array_start
 
funcp_t __preinit_array_end
 
funcp_t __init_array_start
 
funcp_t __init_array_end
 
funcp_t __fini_array_start
 
funcp_t __fini_array_end
 
vector_table_t vector_table
 

Typedef Documentation

◆ funcp_t

typedef void(* funcp_t) (void)

Definition at line 30 of file vector.c.

Function Documentation

◆ blocking_handler()

void blocking_handler ( void  )

Definition at line 102 of file vector.c.

◆ main()

int main ( void  )

Referenced by reset_handler().

Here is the caller graph for this function:

◆ null_handler()

void null_handler ( void  )

Definition at line 107 of file vector.c.

Variable Documentation

◆ __fini_array_end

funcp_t __fini_array_end

Definition at line 33 of file vector.c.

Referenced by reset_handler().

◆ __fini_array_start

funcp_t __fini_array_start
extern

Referenced by reset_handler().

◆ __init_array_end

funcp_t __init_array_end

Definition at line 32 of file vector.c.

Referenced by reset_handler().

◆ __init_array_start

funcp_t __init_array_start
extern

Referenced by reset_handler().

◆ __preinit_array_end

funcp_t __preinit_array_end

Definition at line 31 of file vector.c.

Referenced by reset_handler().

◆ __preinit_array_start

funcp_t __preinit_array_start
extern

Referenced by reset_handler().

◆ vector_table

vector_table_t vector_table
Initial value:
= {
.initial_sp_value = &_stack,
.reset = reset_handler,
.nmi = nmi_handler,
.hard_fault = hard_fault_handler,
.memory_manage_fault = mem_manage_handler,
.bus_fault = bus_fault_handler,
.usage_fault = usage_fault_handler,
.debug_monitor = debug_monitor_handler,
.sv_call = sv_call_handler,
.pend_sv = pend_sv_handler,
.systick = sys_tick_handler,
.irq = {
}
}
#define IRQ_HANDLERS
void usage_fault_handler(void)
void debug_monitor_handler(void)
void mem_manage_handler(void)
void pend_sv_handler(void)
void hard_fault_handler(void)
void nmi_handler(void)
void reset_handler(void)
Definition: vector.c:62
void sv_call_handler(void)
void bus_fault_handler(void)
void sys_tick_handler(void)
unsigned _stack
Definition: vector.h:65

Definition at line 40 of file vector.c.