STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Loading...
Searching...
No Matches
fault.c File Reference

Fault driver implementation (API in fault.h). More...

#include "fault.h"
Include dependency graph for fault.c:

Go to the source code of this file.

Functions

void faultEnable (ScbRegisters_t *scb)
 Give MemManage, BusFault and UsageFault their own handlers, and trap integer division by zero.
void faultCapture (FaultRecord_t *record, const ScbRegisters_t *scb, const uint32_t *frame, uint32_t exc_return)
 Fill record from the fault status registers and the stacked frame.

Variables

FaultRecord_t faultRecord
 Filled by Fault_Handler; read it from the debugger.

Detailed Description

Fault driver implementation (API in fault.h).

Definition in file fault.c.