This is the generated driver source file for TRAPS driver.
More...
#include <xc.h>
#include "../traps.h"
Go to the source code of this file.
TRAPS Generated Driver Source File
Definition in file traps.c.
◆ ERROR_HANDLER
#define ERROR_HANDLER __attribute__((interrupt,no_auto_psv)) |
◆ FAILSAFE_STACK_GUARDSIZE
#define FAILSAFE_STACK_GUARDSIZE 8 |
◆ _AddressError()
Address error Trap vector
Definition at line 87 of file traps.c.
◆ _HardTrapError()
Generic Hard Trap vector
Definition at line 94 of file traps.c.
◆ _MathError()
Math Error Trap vector
Definition at line 142 of file traps.c.
◆ _OscillatorFail()
Oscillator Fail Trap vector
Definition at line 135 of file traps.c.
◆ _SoftTrapError()
Generic Soft Trap vector
Definition at line 101 of file traps.c.
◆ _StackError()
Stack Error Trap Vector
Definition at line 149 of file traps.c.
◆ use_failsafe_stack()
static void use_failsafe_stack |
( |
void | | ) |
|
|
inlinestatic |
◆ TRAPS_error_code
uint16_t TRAPS_error_code = -1 |
|
static |