![]() |
AVR SD Safety Framework 1.0.0
|
Contains API prototypes and defines for the Error Manager. More...
Data Structures | |
| struct | errChConfig_t |
| Holds an error channel configuration for configuring the ERRCTRL. More... | |
| struct | errChConfigs_t |
| Holds configurations for all error channels. More... | |
Enumerations | |
| enum | errCh_t |
| Hardware error channels found in the Error Controller. More... | |
| enum | errChSeverity_t |
| Type definitions for error channel severity level. More... | |
Functions | |
| errFlag_t | MW_GetErrorChannel (errCh_t ch) |
| Reads the status of the specified error channel. | |
| errCh_t | MW_GetFirstSetErrorChannel (void) |
| Returns the first set error channel in the Error Controller. | |
| errFlag_t | MW_ClearErrorChannel (errCh_t ch) |
| Clears the specified error channel and confirms that the channel is cleared. | |
| errFlag_t | MW_CheckIoSafe (void) |
| Checks if all I/O pins are floated (tri-stated). | |
| void | MW_EnableForceFloat (void) |
| Enables forced floating (tri-stating) of all I/O pins. | |
| errFlag_t | MW_DisableForceFloat (void) |
| Disables forced floating (tri-stating) of all I/O pins. | |
| void | MW_StartHeartbeat (void) |
| Starts the Heartbeat output signal. | |
| void | MW_StopHeartbeat (void) |
| Stops the Heartbeat output signal. | |
| void | MW_SetAlarmInterruptType (bool useNmi) |
| Selects whether a normal or a Non-Maskable Interrupt (NMI) should occur when the Error Controller is in the ALARM state. | |
| errFlag_t | MW_ConfigErrorChannels (const errChConfigs_t *configs, uint8_t timeout) |
| Sets the error controller timeout duration and configures all error channels with the provided settings. | |
Contains API prototypes and defines for the Error Manager.
The Error Manager provides services to Tasks to ensure correct interaction with features of the ERRCTRL peripheral.