Crash and Watchdog Diagnostics#
Crash and watchdog diagnostic functions.
See diagnostic.h for source code.
Functions#
Returns the number of bytes used in the main stack.
Print a summary of crash details.
Print the complete, decoded crash details.
Print the complete crash data.
If last reset was from an assert, return saved assert information.
Macros#
Macro evaluating to true if the last reset was a crash, false otherwise.
Function Documentation#
halGetMainStackBytesUsed#
uint32_t halGetMainStackBytesUsed (void )
Returns the number of bytes used in the main stack.
N/A |
Returns
The number of bytes used in the main stack.
609
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/diagnostic.h
halPrintCrashSummary#
void halPrintCrashSummary (uint8_t port)
Print a summary of crash details.
N/A | port | Serial port number (0 or 1). |
615
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/diagnostic.h
halPrintCrashDetails#
void halPrintCrashDetails (uint8_t port)
Print the complete, decoded crash details.
N/A | port | Serial port number (0 or 1). |
621
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/diagnostic.h
halPrintCrashData#
void halPrintCrashData (uint8_t port)
Print the complete crash data.
N/A | port | Serial port number (0 or 1). |
627
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/diagnostic.h
halGetAssertInfo#
const HalAssertInfoType* halGetAssertInfo (void )
If last reset was from an assert, return saved assert information.
N/A |
Returns
Pointer to struct containing assert filename and line.
633
of file /Users/vihuszar/Git/EmbeddedSoftware/super/platform/base/hal/micro/cortexm3/diagnostic.h