Event-based FIDR system.
More...
#include <stdint.h>
#include "can_library/generated/can_types.h"
Go to the source code of this file.
Event-based FIDR system.
- Author
- Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
◆ fault_priority_t
| Enumerator |
|---|
| FAULT_PRIO_WARNING | |
| FAULT_PRIO_ERROR | |
| FAULT_PRIO_FATAL | |
| NUM_FAULT_PRIOS | |
◆ fault_state_t
| Enumerator |
|---|
| FAULT_STATE_CLEAR | |
| FAULT_STATE_PENDING | |
| FAULT_STATE_LATCHED | |
| FAULT_STATE_RECOVERING | |
◆ fault_library_periodic()
| void fault_library_periodic |
( |
| ) |
|
◆ is_any_latched()
◆ is_clear()
| bool is_clear |
( |
fault_id_t | fault_id | ) |
|
◆ is_curr_mcu_latched()
| bool is_curr_mcu_latched |
( |
| ) |
|
◆ is_error_latched()
| bool is_error_latched |
( |
| ) |
|
◆ is_fatal_latched()
| bool is_fatal_latched |
( |
| ) |
|
◆ is_latched()
| bool is_latched |
( |
fault_id_t | fault_id | ) |
|
◆ is_other_mcus_latched()
| bool is_other_mcus_latched |
( |
| ) |
|
◆ is_warning_latched()
| bool is_warning_latched |
( |
| ) |
|
◆ update_fault()
| void update_fault |
( |
fault_id_t | fault_id, |
|
|
float | value ) |