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::@0

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::@1

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::@2

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::@0::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::@0::address

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

dmaProt#

struct HalCrashSpecificDataType::@0 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::@1::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::@1::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::@1::__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::@1::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::@1::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::@1::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::@1::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::@1::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::@1::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::@1::N

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

bits#

struct HalCrashxPsrType::@1 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::@2::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::@2::__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::@2::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::@2::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::@2::__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::@2::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::@2::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::@2::__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::@2::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::@2::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::@2::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::@2::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::@2::__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::@2::NMIPENDSET

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

bits#

struct HalCrashIcsrType::@2 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