Diagnostics

Description

Crash and watchdog diagnostic functions.

See diagnostic.h for source code.

Data Structures

struct HalAssertInfoType
union HalCrashSpecificDataType
union HalCrashxPsrType
union HalCrashIcsrType

Macros

#define RESET_CRASH_REASON_MASK

Variables

const char * HalAssertInfoType::file
uint32_t HalAssertInfoType::line
HalAssertInfoType HalCrashSpecificDataType::assertInfo
uint32_t HalCrashSpecificDataType::channel
uint32_t HalCrashSpecificDataType::address
struct {
uint32_t channel
uint32_t address
} HalCrashSpecificDataType::dmaProt
uint32_t HalCrashxPsrType::EXCPT : 9
uint32_t HalCrashxPsrType::ICIIT_LOW : 7
uint32_t HalCrashxPsrType::__pad0__ : 8
uint32_t HalCrashxPsrType::T : 1
uint32_t HalCrashxPsrType::ICIIT_HIGH : 2
uint32_t HalCrashxPsrType::Q : 1
uint32_t HalCrashxPsrType::V : 1
uint32_t HalCrashxPsrType::C : 1
uint32_t HalCrashxPsrType::Z : 1
uint32_t HalCrashxPsrType::N : 1
struct {
uint32_t EXCPT : 9
uint32_t ICIIT_LOW : 7
uint32_t __pad0__ : 8
uint32_t T : 1
uint32_t ICIIT_HIGH : 2
uint32_t Q : 1
uint32_t V : 1
uint32_t C : 1
uint32_t Z : 1
uint32_t N : 1
} HalCrashxPsrType::bits
uint32_t HalCrashxPsrType::word
uint32_t HalCrashIcsrType::VECTACTIVE : 9
uint32_t HalCrashIcsrType::__pad0__ : 2
uint32_t HalCrashIcsrType::RETTOBASE : 1
uint32_t HalCrashIcsrType::VECTPENDING : 9
uint32_t HalCrashIcsrType::__pad1__ : 1
uint32_t HalCrashIcsrType::ISRPENDING : 1
uint32_t HalCrashIcsrType::ISRPREEMPT : 1
uint32_t HalCrashIcsrType::__pad2__ : 1
uint32_t HalCrashIcsrType::PENDSTCLR : 1
uint32_t HalCrashIcsrType::PENDSTSET : 1
uint32_t HalCrashIcsrType::PENDSVCLR : 1
uint32_t HalCrashIcsrType::PENDSVSET : 1
uint32_t HalCrashIcsrType::__pad3__ : 2
uint32_t HalCrashIcsrType::NMIPENDSET : 1
struct {
uint32_t VECTACTIVE : 9
uint32_t __pad0__ : 2
uint32_t RETTOBASE : 1
uint32_t VECTPENDING : 9
uint32_t __pad1__ : 1
uint32_t ISRPENDING : 1
uint32_t ISRPREEMPT : 1
uint32_t __pad2__ : 1
uint32_t PENDSTCLR : 1
uint32_t PENDSTSET : 1
uint32_t PENDSVCLR : 1
uint32_t PENDSVSET : 1
uint32_t __pad3__ : 2
uint32_t NMIPENDSET : 1
} HalCrashIcsrType::bits
uint32_t HalCrashIcsrType::word

Macro Definition Documentation

RESET_CRASH_REASON_MASK

#define RESET_CRASH_REASON_MASK
Value:
((1 << RESET_UNKNOWN) \
| (1 << RESET_WATCHDOG) \
| (1 << RESET_CRASH) \
| (1 << RESET_FLASH) \
| (1 << RESET_FAULT) \
| (1 << RESET_FATAL))