Diagnostics#

Crash and watchdog diagnostic functions.

See diagnostic.h for source code.

Modules#

HalAssertInfoType

HalCrashSpecificDataType

HalCrashxPsrType

HalCrashIcsrType

Variables#

const char *

file

uint32_t

line

uint32_t
uint32_t
uint32_t
uint32_t
struct HalCrashSpecificDataType::@4

dmaProt

uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
struct HalCrashxPsrType::@5

bits

uint32_t

word

uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
uint32_t
struct HalCrashIcsrType::@6

bits

uint32_t

word

Macros#

#define

Define the reset reasons that should print out detailed crash data.

Variable Documentation#

file#

const char* HalAssertInfoType::file

file


Definition at line 43 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

line#

uint32_t HalAssertInfoType::line

line


Definition at line 44 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

assertInfo#

HalAssertInfoType HalCrashSpecificDataType::assertInfo

assertInfo


Definition at line 49 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

channel#

uint32_t HalCrashSpecificDataType::channel

Definition at line 50 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

channel#

uint32_t HalCrashSpecificDataType::@4::channel

Definition at line 50 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

address#

uint32_t HalCrashSpecificDataType::address

Definition at line 50 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

address#

uint32_t HalCrashSpecificDataType::@4::address

Definition at line 50 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

dmaProt#

struct HalCrashSpecificDataType::@4 HalCrashSpecificDataType::dmaProt

dmaProt


Definition at line 50 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

EXCPT#

uint32_t HalCrashxPsrType::EXCPT

Definition at line 56 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

EXCPT#

uint32_t HalCrashxPsrType::@5::EXCPT

Definition at line 56 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ICIIT_LOW#

uint32_t HalCrashxPsrType::ICIIT_LOW

Definition at line 57 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ICIIT_LOW#

uint32_t HalCrashxPsrType::@5::ICIIT_LOW

Definition at line 57 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad0__#

uint32_t HalCrashxPsrType::__pad0__

Definition at line 58 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad0__#

uint32_t HalCrashxPsrType::@5::__pad0__

Definition at line 58 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

T#

uint32_t HalCrashxPsrType::T

Definition at line 59 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

T#

uint32_t HalCrashxPsrType::@5::T

Definition at line 59 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ICIIT_HIGH#

uint32_t HalCrashxPsrType::ICIIT_HIGH

Definition at line 60 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ICIIT_HIGH#

uint32_t HalCrashxPsrType::@5::ICIIT_HIGH

Definition at line 60 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

Q#

uint32_t HalCrashxPsrType::Q

Definition at line 61 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

Q#

uint32_t HalCrashxPsrType::@5::Q

Definition at line 61 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

V#

uint32_t HalCrashxPsrType::V

Definition at line 62 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

V#

uint32_t HalCrashxPsrType::@5::V

Definition at line 62 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

C#

uint32_t HalCrashxPsrType::C

Definition at line 63 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

C#

uint32_t HalCrashxPsrType::@5::C

Definition at line 63 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

Z#

uint32_t HalCrashxPsrType::Z

Definition at line 64 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

Z#

uint32_t HalCrashxPsrType::@5::Z

Definition at line 64 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

N#

uint32_t HalCrashxPsrType::N

Definition at line 65 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

N#

uint32_t HalCrashxPsrType::@5::N

Definition at line 65 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

bits#

struct HalCrashxPsrType::@5 HalCrashxPsrType::bits

bits


Definition at line 66 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

word#

uint32_t HalCrashxPsrType::word

word


Definition at line 68 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

VECTACTIVE#

uint32_t HalCrashIcsrType::VECTACTIVE

Definition at line 74 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

VECTACTIVE#

uint32_t HalCrashIcsrType::@6::VECTACTIVE

Definition at line 74 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad0__#

uint32_t HalCrashIcsrType::__pad0__

Definition at line 75 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad0__#

uint32_t HalCrashIcsrType::@6::__pad0__

Definition at line 75 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

RETTOBASE#

uint32_t HalCrashIcsrType::RETTOBASE

Definition at line 76 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

RETTOBASE#

uint32_t HalCrashIcsrType::@6::RETTOBASE

Definition at line 76 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

VECTPENDING#

uint32_t HalCrashIcsrType::VECTPENDING

Definition at line 77 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

VECTPENDING#

uint32_t HalCrashIcsrType::@6::VECTPENDING

Definition at line 77 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad1__#

uint32_t HalCrashIcsrType::__pad1__

Definition at line 78 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad1__#

uint32_t HalCrashIcsrType::@6::__pad1__

Definition at line 78 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ISRPENDING#

uint32_t HalCrashIcsrType::ISRPENDING

Definition at line 79 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ISRPENDING#

uint32_t HalCrashIcsrType::@6::ISRPENDING

Definition at line 79 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ISRPREEMPT#

uint32_t HalCrashIcsrType::ISRPREEMPT

Definition at line 80 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

ISRPREEMPT#

uint32_t HalCrashIcsrType::@6::ISRPREEMPT

Definition at line 80 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad2__#

uint32_t HalCrashIcsrType::__pad2__

Definition at line 81 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad2__#

uint32_t HalCrashIcsrType::@6::__pad2__

Definition at line 81 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSTCLR#

uint32_t HalCrashIcsrType::PENDSTCLR

Definition at line 82 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSTCLR#

uint32_t HalCrashIcsrType::@6::PENDSTCLR

Definition at line 82 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSTSET#

uint32_t HalCrashIcsrType::PENDSTSET

Definition at line 83 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSTSET#

uint32_t HalCrashIcsrType::@6::PENDSTSET

Definition at line 83 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSVCLR#

uint32_t HalCrashIcsrType::PENDSVCLR

Definition at line 84 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSVCLR#

uint32_t HalCrashIcsrType::@6::PENDSVCLR

Definition at line 84 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSVSET#

uint32_t HalCrashIcsrType::PENDSVSET

Definition at line 85 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

PENDSVSET#

uint32_t HalCrashIcsrType::@6::PENDSVSET

Definition at line 85 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad3__#

uint32_t HalCrashIcsrType::__pad3__

Definition at line 86 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

__pad3__#

uint32_t HalCrashIcsrType::@6::__pad3__

Definition at line 86 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

NMIPENDSET#

uint32_t HalCrashIcsrType::NMIPENDSET

Definition at line 87 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

NMIPENDSET#

uint32_t HalCrashIcsrType::@6::NMIPENDSET

Definition at line 87 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

bits#

struct HalCrashIcsrType::@6 HalCrashIcsrType::bits

bits


Definition at line 88 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

word#

uint32_t HalCrashIcsrType::word

word


Definition at line 90 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h

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))

Define the reset reasons that should print out detailed crash data.


Definition at line 34 of file platform/service/legacy_hal/inc/cortexm3/diagnostic.h