ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_error_interface_t Struct Reference

Vtable for an error sink. More...

#include <ra8_error_interface.h>

Data Fields

void(* report )(void *ctx, const char *tag, const char *msg, ra8_err_t err)
 Record a non-fatal error.
void * ctx
 Opaque context.

Detailed Description

Vtable for an error sink.

Definition at line 30 of file ra8_error_interface.h.

Field Documentation

◆ ctx

void* ra8_error_interface_t::ctx

Opaque context.

Definition at line 42 of file ra8_error_interface.h.

◆ report

void(* ra8_error_interface_t::report) (void *ctx, const char *tag, const char *msg, ra8_err_t err)

Record a non-fatal error.

Parameters
[in]ctxOpaque context.
[in]tagSource component tag.
[in]msgHuman-readable message.
[in]errError code.

Definition at line 38 of file ra8_error_interface.h.


The documentation for this struct was generated from the following file: