|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions
fault_common.h File Reference
Fault Monitor » Generic Fault Driver

Contains fault generic public functions. More...

`#include <stdint.h>`
`#include <stdbool.h>`
Include dependency graph for fault_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | FAULT_OBJ_T
| The Fault object data structure contains a list of elements/variables that are used to detect/check a fault. More...

## Typedefs
typedef void(* | FAULT_CALLBACK) (void)

## Functions
void | FAULT_Init (FAULT_OBJ_T *faultInput, int16_t threshold, int16_t hysLimit, uint16_t thresholdCnt, uint32_t hysCnt)
| This function initializes the fault object data structure with the values that required to detect a fault.
void | FAULT_InitRange (FAULT_OBJ_T *faultInput, int16_t thresholdMin, int16_t hysLimitMin, int16_t thresholdMax, int16_t hysLimitMax, uint16_t thresholdCnt, uint32_t hysCnt)
| This function initializes the fault object data structure with the values that required to detect a fault at a particular range.
void | FAULT_SetCounters (FAULT_OBJ_T *faultInput, uint16_t fltThresholdCnt, uint32_t fltHysCnt)
| This function initializes/sets the fault structure with the counter limits.
void | FAULT_SetThresholds (FAULT_OBJ_T *faultInput, int16_t fltThreshold, int16_t fltHysLimit)
| This function initializes/sets the fault structure with the threshold limits.
bool | FAULT_CheckMax (FAULT_OBJ_T *faultInput, int16_t faultSource, FAULT_CALLBACK callback)
| This function compares the fault source value with the threshold limits and sets (or) resets the fault active state accordingly.
bool | FAULT_CheckMin (FAULT_OBJ_T *faultInput, int16_t faultSource, FAULT_CALLBACK callback)
| This function compares the fault source value with the threshold limits and sets (or) resets the fault active state accordingly.
bool | FAULT_CheckBit (FAULT_OBJ_T *faultInput, bool faultBit, FAULT_CALLBACK callback)
bool | FAULT_CheckRange (FAULT_OBJ_T *faultInput, int16_t inputValue, FAULT_CALLBACK callback)

## Typedef Documentation

## ◆ FAULT_CALLBACK

typedef void(* FAULT_CALLBACK) (void)

Definition at line 36 of file fault_common.h.