SRTOS
Loading...
Searching...
No Matches
fault.h
Go to the documentation of this file.
1
8
9#ifndef FAULT_H_
10#define FAULT_H_
11
12#include "mcu_macros.h"
13#include <stdint.h>
14
23__attribute ((naked)) uint32_t *
24systemGet_Fault_SP (__attribute__ ((unused)) uint32_t faultLR);
25
36void systemHandle_Fault (uint32_t *faultSP);
37
44__attribute__ ((naked)) void HardFault_Handler ();
45
46#endif
__attribute__((naked))
This function will get the fault Stack Pointer and call the fault handler.
Definition fault.c:79
__attribute((naked)) uint32_t *systemGet_Fault_SP(__attribute__((unused)) uint32_t faultLR)
Returns the Stack Pointer after a fault.
Definition fault.c:11
__attribute__((naked)) void HardFault_Handler()
This function will get the fault Stack Pointer and call the fault handler.
Definition fault.c:79
void systemHandle_Fault(uint32_t *faultSP)
This function will handle a system fault. The default behavior is to log the fault SP to non-volatile...
Definition fault.c:22
Memory-mapped register addresses and hardware access macros for the STM32F411VET6.