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

Configuration descriptor for ra8_dac_b_init_configured. More...

#include <ra8_dac_b.h>

Data Fields

ra8_dac_b_vref_t vref
 VREFH range (DACR2.OFSSEL).
ra8_dac_b_data_format_t data_format
 Data placement (DACR1.DPSEL).
bool internal_output_enabled
 Drive internal route (clears DAOUTDIS).
bool enable_channel0
 Initial DACEN0 state.
bool enable_channel1
 Initial DACEN1 state.

Detailed Description

Configuration descriptor for ra8_dac_b_init_configured.

Mirrors FSP dac_b_extended_cfg_t plus the per-channel enable flags. cppcheck cannot see tests/ so it flags every field as unused; each member is read in ra8_dac_b_init_configured in libs/ra8_hal/src/ra8_dac_b.c.

Definition at line 68 of file ra8_dac_b.h.

Field Documentation

◆ data_format

ra8_dac_b_data_format_t ra8_dac_b_cfg_t::data_format

Data placement (DACR1.DPSEL).

Definition at line 70 of file ra8_dac_b.h.

Referenced by internal_apply_cfg().

◆ enable_channel0

bool ra8_dac_b_cfg_t::enable_channel0

Initial DACEN0 state.

Definition at line 72 of file ra8_dac_b.h.

Referenced by ra8_dac_b_init_configured().

◆ enable_channel1

bool ra8_dac_b_cfg_t::enable_channel1

Initial DACEN1 state.

Definition at line 73 of file ra8_dac_b.h.

Referenced by ra8_dac_b_init_configured().

◆ internal_output_enabled

bool ra8_dac_b_cfg_t::internal_output_enabled

Drive internal route (clears DAOUTDIS).

Definition at line 71 of file ra8_dac_b.h.

Referenced by internal_apply_cfg().

◆ vref

ra8_dac_b_vref_t ra8_dac_b_cfg_t::vref

VREFH range (DACR2.OFSSEL).

Definition at line 69 of file ra8_dac_b.h.

Referenced by internal_apply_cfg().


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