Nut/OS  5.0.5
API Reference
cortexM3.h File Reference
#include <stdint.h>
#include <cfg/arch.h>
#include <cfg/os.h>
Include dependency graph for cortexM3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int Cortex_ResetCause (void)
void Cortex_Reset (void)
void Cortex_Start (void)
 CortexM3 Startup.
void Cortex_IntInit (void)
void CortexExceptHandler (int state)

Variables

void(*const g_pfnVectors [])(void *)
 CortexM3 memory pointers.

Function Documentation

int Cortex_ResetCause ( void  )

References NUT_RSTTYP_UNKNOWN.

Referenced by NutResetCause().

void Cortex_Reset ( void  )

References NVIC_SystemReset().

Referenced by NutReset().

Here is the call graph for this function:

void Cortex_Start ( void  )

CortexM3 Startup.

This function runs the basic cpu initialization.

References Cortex_IntInit(), and Cortex_MemInit().

Here is the call graph for this function:


Variable Documentation

void(* const g_pfnVectors[])(void *)

CortexM3 memory pointers.

These pointers are provided by the linker, controlled by the linker script. The list is shrinked to the two basic entries of the initial stack pointer address and the reset vector. All other interrupt vectors are set up dynamically later after system start.

Referenced by Cortex_IntInit().