FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
define_error_flags.h File Reference

Defines error flag type for indicating detected errors in Middleware services. More...

Go to the source code of this file.

Enumerations

enum  errFlag_t { NO_ERROR = 0x55 , ERROR = 0xAA }
 Defines the error flag used by Middleware services to indicate error detection. More...

Detailed Description

Defines error flag type for indicating detected errors in Middleware services.

Definition in file define_error_flags.h.

Enumeration Type Documentation

◆ errFlag_t

enum errFlag_t

Defines the error flag used by Middleware services to indicate error detection.

This enum is returned to Tasks by Middleware services to signify whether an error was detected during their execution. The flag can be passed to EH_HandleError to evaluate if error handling is necessary or if operations can proceed normally.

Error conditions can include incorrect input parameters, an invalid state, or diagnostic failures. For details on what constitutes an error, refer to the documentation of individual Middleware functions.

Warning
Certain Tasks relies on these values being non-zero in order to combine error flag results.
Enumerator
NO_ERROR 

Indicates no error was detected, allowing normal operation

ERROR 

Indicates an error was detected, requiring error handling

Definition at line 41 of file define_error_flags.h.