|
Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
|
Bounded observation before retaining platform fail-stop. More...
#include "nexus/core/status.h"Go to the source code of this file.
Enumerations | |
| enum | nx_fault_domain_t { NX_FAULT_FREERTOS_ASSERT = 0 , NX_FAULT_FREERTOS_STACK , NX_FAULT_THREADX_ADAPTER , NX_FAULT_PLATFORM } |
| Fault origin, without any product safety or recovery decision. More... | |
Functions | |
| void | nx_fault_observe (nx_fault_domain_t domain, nx_result_t reason, const char *file, unsigned line) |
| Observe a terminal fault before the caller retains effects. | |
Bounded observation before retaining platform fail-stop.
Definition in file fault.h.
| enum nx_fault_domain_t |
| void nx_fault_observe | ( | nx_fault_domain_t | domain, |
| nx_result_t | reason, | ||
| const char * | file, | ||
| unsigned | line ) |
Observe a terminal fault before the caller retains effects.
| [in] | domain | Actual reporting path, not a severity assessment. |
| [in] | reason | Observed failure, never permission to reclaim loans. |
| [in] | file | Static source literal or NULL; do not retain or read untrusted dynamic memory. No task name is dereferenced. |
| [in] | line | Diagnostic location, zero when unavailable. |