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

One entry in the multi-subscriber dispatch table. More...

Data Fields

ra8_wdt_event_fn_t fn
 Subscriber callback or nullptr if slot is free.
void * ctx
 Opaque pointer forwarded to fn.

Detailed Description

One entry in the multi-subscriber dispatch table.

fn == nullptr marks a free slot. The driver linearly scans the table – with k_ra8_wdt_max_subs == 6 that is well within the NMI-handler latency budget.

Definition at line 90 of file ra8_wdt.c.

Field Documentation

◆ ctx

void* ra8_wdt_sub_t::ctx

Opaque pointer forwarded to fn.

Definition at line 92 of file ra8_wdt.c.

◆ fn

ra8_wdt_event_fn_t ra8_wdt_sub_t::fn

Subscriber callback or nullptr if slot is free.

Definition at line 91 of file ra8_wdt.c.


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