Annotation-attribute framework macros for ra8-firmware.
#define RA8_INTERNAL
Marker that a function is intended to be static (file-local).
ra8_etha_slot_t s_etha_slots[k_ra8_etha_port_count]
Per-port handler table; index = ra8_etha_port_t.
Per-port Ethernet Agent (ETHA) driver – HUM Ch 32 (p 1627-1702).
static bool internal_port_ok(ra8_etha_port_t port)
Range-check a port argument.
ra8_etha_port_t
ETHA port index (m = 0, 1).
@ k_ra8_etha_port_count
Number of ETHA ports.
void(* ra8_etha_event_fn_t)(void *ctx, ra8_etha_port_t port, uint32_t eaeis0, uint32_t eaeis1, uint32_t eaeis2)
ETHA per-port event callback.
Per-port runtime traffic counters maintained by ra8_etha.
ra8_etha_event_fn_t cb
Attached callback (nullptr if none).
void * ctx
Opaque cookie passed back to cb.
ra8_etha_port_stats_t stats
Per-port traffic counters.