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

Driver-wide runtime state. More...

Collaboration diagram for ra8_adc_state_t:

Data Fields

ra8_adc_complete_fn_t fn
 Conversion-complete callback or nullptr.
void * ctx
 Callback context.
ra8_adc_resolution_t resolution
 Last-applied resolution selection.
bool configured
 True after first successful init.
ra8_adc_group_cache_t groups [k_ra8_adc_b_scan_groups]
 Per-group channel cache.

Detailed Description

Driver-wide runtime state.

Definition at line 78 of file adc.c.

Field Documentation

◆ configured

bool ra8_adc_state_t::configured

True after first successful init.

Definition at line 82 of file adc.c.

◆ ctx

void* ra8_adc_state_t::ctx

Callback context.

Definition at line 80 of file adc.c.

◆ fn

ra8_adc_complete_fn_t ra8_adc_state_t::fn

Conversion-complete callback or nullptr.

Definition at line 79 of file adc.c.

◆ groups

Per-group channel cache.

Definition at line 84 of file adc.c.

◆ resolution

ra8_adc_resolution_t ra8_adc_state_t::resolution

Last-applied resolution selection.

Definition at line 81 of file adc.c.


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