Defines the Trap Flag for primary and secondary vectors. More...
#include <fault_handler/drivers/drv_trap_handler.h>
Data Fields | |
union { | |
volatile uint32_t value | |
}; | |
volatile unsigned | OVAERR:1 |
Bit #0: Accumulator A Overflow Trap Flag bit. More... | |
volatile unsigned | OVBERR:1 |
Bit #1: Accumulator B Overflow Trap Flag bit. More... | |
volatile unsigned | COVAERR:1 |
Bit #2: Accumulator A Catastrophic Overflow Trap Flag bit. More... | |
volatile unsigned | COVBERR:1 |
Bit #3: Accumulator B Catastrophic Overflow Trap Flag bit. More... | |
volatile unsigned | SFTACERR:1 |
Bit #4: Shift Accumulator Error Status bit. More... | |
volatile unsigned | DIV0ERR:1 |
Bit #5: Divide-by-Zero Error Status bit. More... | |
volatile unsigned | MATHERR:1 |
Bit #6: Math Error Status bit. More... | |
volatile unsigned | ADDRERR:1 |
Bit #7: Address Error Trap Status bit. More... | |
volatile unsigned | STKERR:1 |
Bit #8: Stack Error Trap Status bit. More... | |
volatile unsigned | OSCFAIL:1 |
Bit #9: Oscillator Failure Trap Status bit. More... | |
volatile unsigned | SWTRAP:1 |
Bit #10: Software Trap Status bit. More... | |
volatile unsigned | NAE:1 |
Bit #11: NVM Address Error Soft Trap Status bit. More... | |
volatile unsigned | DOOVR:1 |
Bit #12: DO Stack Overflow Soft Trap Status bit. More... | |
volatile unsigned | APLL:1 |
Bit #13: Auxiliary PLL Loss of Lock Soft Trap Status bit. More... | |
volatile unsigned | SGHT:1 |
Bit #14: Software Generated Hard Trap Status bit. More... | |
volatile unsigned | DMACERR:1 |
Bit #15: DMA Trap Status bit. More... | |
volatile unsigned | ECCDBE:1 |
Bit #16: ECC Double-Bit Error Trap Status bit. More... | |
volatile unsigned | CAN:1 |
Bit #17: CAN Address Error Soft Trap Status bit. More... | |
volatile unsigned | CAN2:1 |
Bit #18: CAN2 Address Error Soft Trap Status bit. More... | |
volatile | unsigned:13 |
Bit <19:31> (reserved) More... | |
Data Fields inherited from TRAP_LOGGER_s | |
volatile struct TRAPLOG_STATUS_s | status |
Status word of the Trap Logger object. More... | |
volatile uint16_t | reset_count |
Counter of CPU RESET events (read/write) More... | |
enum TRAP_ID_e | trap_id |
Trap-ID of the captured incident. More... | |
volatile uint16_t | trap_count |
Counter tracking the number of occurrences. More... | |
volatile struct TRAP_FLAGS_s | trap_flags |
Complete list of trap flags (showing all trap flags) More... | |
volatile struct CPU_RCON_s | rcon_reg |
Captures the RESET CONTROL register. More... | |
volatile struct CPU_INTTREG_s | inttreg |
Interrupt Vector and Priority register capture. More... | |
volatile struct TASK_INFO_s | task_capture |
Information of last task executed. More... | |
Defines the Trap Flag for primary and secondary vectors.
Definition at line 130 of file drv_trap_handler.h.
union { ... } |
volatile unsigned ADDRERR |
Bit #7: Address Error Trap Status bit.
Definition at line 142 of file drv_trap_handler.h.
volatile unsigned APLL |
Bit #13: Auxiliary PLL Loss of Lock Soft Trap Status bit.
Definition at line 148 of file drv_trap_handler.h.
volatile unsigned CAN |
Bit #17: CAN Address Error Soft Trap Status bit.
Definition at line 153 of file drv_trap_handler.h.
volatile unsigned CAN2 |
Bit #18: CAN2 Address Error Soft Trap Status bit.
Definition at line 154 of file drv_trap_handler.h.
volatile unsigned COVAERR |
Bit #2: Accumulator A Catastrophic Overflow Trap Flag bit.
Definition at line 137 of file drv_trap_handler.h.
volatile unsigned COVBERR |
Bit #3: Accumulator B Catastrophic Overflow Trap Flag bit.
Definition at line 138 of file drv_trap_handler.h.
volatile unsigned DIV0ERR |
Bit #5: Divide-by-Zero Error Status bit.
Definition at line 140 of file drv_trap_handler.h.
volatile unsigned DMACERR |
Bit #15: DMA Trap Status bit.
Definition at line 150 of file drv_trap_handler.h.
volatile unsigned DOOVR |
Bit #12: DO Stack Overflow Soft Trap Status bit.
Definition at line 147 of file drv_trap_handler.h.
volatile unsigned ECCDBE |
Bit #16: ECC Double-Bit Error Trap Status bit.
Definition at line 152 of file drv_trap_handler.h.
volatile unsigned MATHERR |
Bit #6: Math Error Status bit.
Definition at line 141 of file drv_trap_handler.h.
volatile unsigned NAE |
Bit #11: NVM Address Error Soft Trap Status bit.
Definition at line 146 of file drv_trap_handler.h.
volatile unsigned OSCFAIL |
Bit #9: Oscillator Failure Trap Status bit.
Definition at line 144 of file drv_trap_handler.h.
volatile unsigned OVAERR |
Bit #0: Accumulator A Overflow Trap Flag bit.
Definition at line 135 of file drv_trap_handler.h.
volatile unsigned OVBERR |
Bit #1: Accumulator B Overflow Trap Flag bit.
Definition at line 136 of file drv_trap_handler.h.
volatile unsigned SFTACERR |
Bit #4: Shift Accumulator Error Status bit.
Definition at line 139 of file drv_trap_handler.h.
volatile unsigned SGHT |
Bit #14: Software Generated Hard Trap Status bit.
Definition at line 149 of file drv_trap_handler.h.
volatile unsigned STKERR |
Bit #8: Stack Error Trap Status bit.
Definition at line 143 of file drv_trap_handler.h.
volatile unsigned SWTRAP |
Bit #10: Software Trap Status bit.
Definition at line 145 of file drv_trap_handler.h.
volatile unsigned |
Bit <19:31> (reserved)
Definition at line 155 of file drv_trap_handler.h.
volatile uint32_t value |
Definition at line 159 of file drv_trap_handler.h.