FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
midware_error_manager.c File Reference

Implements APIs for the Error Manager. More...

#include <stddef.h>
#include <driver_cpuctrl.h>
#include <driver_errctrl.h>
#include <midware_error_manager.h>
#include <xc.h>

Go to the source code of this file.

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.

Detailed Description

Implements APIs for the Error Manager.

Definition in file midware_error_manager.c.