|
ChibiOS
21.6.0
|

Runtime Faults Collection Unit service.
Macros | |
| #define | CH_RFCU_ALL_FAULTS ((rfcu_mask_t)-1) |
| Mask of all faults. More... | |
Predefined Faults | |
| #define | CH_RFCU_VT_INSUFFICIENT_DELTA 1U |
| #define | CH_RFCU_VT_SKIPPED_DEADLINE 2U |
Typedefs | |
| typedef uint32_t | rfcu_mask_t |
| Type of a faults mask. More... | |
| typedef struct ch_rfcu | rfcu_t |
| Type of an RFCU structure. More... | |
Data Structures | |
| struct | ch_rfcu |
| Type of an RFCU structure. More... | |
Functions | |
| void | chRFCUCollectFaultsI (rfcu_mask_t mask) |
| Adds fault flags to the current mask. More... | |
| rfcu_mask_t | chRFCUGetAndClearFaultsI (rfcu_mask_t mask) |
| Returns the current faults mask clearing it. More... | |
| static void | __rfcu_object_init (rfcu_t *rfcup) |
| Runtime Faults Collection Unit initialization. More... | |
| #define CH_RFCU_ALL_FAULTS ((rfcu_mask_t)-1) |
| typedef uint32_t rfcu_mask_t |
| void chRFCUCollectFaultsI | ( | rfcu_mask_t | mask | ) |
Adds fault flags to the current mask.
| [in] | mask | fault flags to be added |
Definition at line 60 of file chrfcu.c.
References CH_CFG_RUNTIME_FAULTS_HOOK, currcore, ch_rfcu::mask, and ch_system::rfcu.
| rfcu_mask_t chRFCUGetAndClearFaultsI | ( | rfcu_mask_t | mask | ) |
Returns the current faults mask clearing it.
| [in] | mask | mask of faults to be read and cleared |
| 0 | if no faults were collected since last call to this function. |
Definition at line 79 of file chrfcu.c.
References currcore, ch_rfcu::mask, ch_os_instance::rfcu, and ch_system::rfcu.
|
inlinestatic |
Runtime Faults Collection Unit initialization.
| [out] | rfcup | pointer to the rfcu_t structure |
Definition at line 104 of file chrfcu.h.
References ch_rfcu::mask.
Referenced by chInstanceObjectInit().