AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
resetInfo_t Struct Reference

Defines a data structure for storing information about a device reset. More...

#include <define_reset_info.h>

Data Fields

resetReason_t reason
errId_t id

Detailed Description

Defines a data structure for storing information about a device reset.

This structure is used for reporting information about the last device reset to perform reset handling. If the reason is a software reset due to a reported error, the Error ID associated with that software reset can be accessed if available.

Note
The id is only valid when the reason is RSTRSN_SOFTWARE.
Note
The reason reflects the actual reset cause and excludes resets intentionally triggered during the pre-startup sequence (error injection diagnostics).

Field Documentation

◆ id

errId_t id

The reported error responsible for a software reset (if applicable)

◆ reason

resetReason_t reason

Identified reason for the device reset


The documentation for this struct was generated from the following file: