|
ChibiOS 21.11.4
|
Runtime Faults Collection Unit service.

Predefined Faults | |
| #define | CH_RFCU_VT_INSUFFICIENT_DELTA 1U |
| #define | CH_RFCU_VT_SKIPPED_DEADLINE 2U |
Data Structures | |
| struct | ch_rfcu |
| Type of an RFCU structure. More... | |
Macros | |
| #define | CH_RFCU_ALL_FAULTS ((rfcu_mask_t)-1) |
| Mask of all faults. | |
Typedefs | |
| typedef uint32_t | rfcu_mask_t |
| Type of a faults mask. | |
| typedef struct ch_rfcu | rfcu_t |
| Type of an RFCU structure. | |
Functions | |
| void | chRFCUCollectFaultsI (rfcu_mask_t mask) |
| Adds fault flags to the current mask. | |
| rfcu_mask_t | chRFCUGetAndClearFaultsI (rfcu_mask_t mask) |
| Returns the current faults mask clearing it. | |
| static void | __rfcu_object_init (rfcu_t *rfcup) |
| Runtime Faults Collection Unit initialization. | |
| #define CH_RFCU_VT_INSUFFICIENT_DELTA 1U |
Definition at line 39 of file chrfcu.h.
Referenced by vt_insert_first(), and vt_set_alarm().
| #define CH_RFCU_VT_SKIPPED_DEADLINE 2U |
Definition at line 40 of file chrfcu.h.
Referenced by chVTDoTickI().
| #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.
Referenced by chVTDoTickI(), vt_insert_first(), and vt_set_alarm().
| 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(), and chSysInit().