|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Abstract error-reporter interface for DI. More...
#include "ra8_err.h"Go to the source code of this file.
Data Structures | |
| struct | ra8_error_interface_t |
| Vtable for an error sink. More... | |
Variables | |
| const ra8_error_interface_t | g_ra8_error_sink_log |
| Production ra8_error_interface_t that pushes reports into the standard ra8_log_error_val backend. | |
Abstract error-reporter interface for DI.
Drivers that want to report non-fatal errors (retry loops, degraded sensors, CRC mismatches) should push them into an injectable sink rather than hard-coding ra8_fatal_error(). Production code points the sink at the log backend; tests point it at a ring buffer they can assert over.
Definition in file ra8_error_interface.h.
|
extern |
Production ra8_error_interface_t that pushes reports into the standard ra8_log_error_val backend.