![]() |
FuSa 8-Bit Libraries Safety Framework
|
Go to the source code of this file.
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 { ERRCH_VREGFAIL = 0U , ERRCH_BUSERR , ERRCH_RAM2 , ERRCH_FLASH2 , ERRCH_OPC , ERRCH_SPLIM , ERRCH_RAM1 , ERRCH_FLASH1 , ERRCH_VREGWARN , ERRCH_CFD0 , ERRCH_CFD1 , ERRCH_CFM0 , ERRCH_CFM1 , ERRCH_SWDT , ERRCH_EEPROM , ERRCH_EVSYS0 , ERRCH_EVSYS1 , ERRCH_MAX } |
| Hardware error channels found in the Error Controller. More... | |
| enum | errChSeverity_t { ERRCH_SEVERITY_CRITICAL = 0U , ERRCH_SEVERITY_RESERVED , ERRCH_SEVERITY_NONCRITICAL , ERRCH_SEVERITY_NOTIFICATION , ERRCH_SEVERITY_MAX } |
| Type definitions for error channel severity level. More... | |
Functions | |
| errFlag_t | MW_GetErrorChannel (errCh_t ch) |
| Reads the status of the specified error channel. | |
| 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. | |
| 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. | |