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

Configuration descriptor for ra8_vreg_init. More...

#include <ra8_vreg.h>

Data Fields

ra8_vreg_mode_t mode
 Initial regulator mode.
ra8_vreg_vccsel_t vccsel
 Supply-voltage range (used only in DCDC mode).
ra8_vreg_ocp_t ocp
 OCP threshold (DCDC mode only).
bool fast_startup
 Use fast-startup sequence (DCDCCTL.FST).
bool ldo_boost
 Enable LDO charge-pump boost (DCDCCTL.LCBOOST).
ra8_vreg_lv_profile_t lv_profile
 Low-voltage operation profile (LVOCR).

Detailed Description

Configuration descriptor for ra8_vreg_init.

cppcheck cannot see tests/ so it flags every field as unused; each member is read in ra8_vreg_init in libs/ra8_hal/src/ra8_vreg.c.

Definition at line 216 of file ra8_vreg.h.

Field Documentation

◆ fast_startup

bool ra8_vreg_cfg_t::fast_startup

Use fast-startup sequence (DCDCCTL.FST).

Definition at line 220 of file ra8_vreg.h.

Referenced by internal_pack_ldo_dcdcctl(), and ra8_vreg_init().

◆ ldo_boost

bool ra8_vreg_cfg_t::ldo_boost

Enable LDO charge-pump boost (DCDCCTL.LCBOOST).

Definition at line 221 of file ra8_vreg.h.

Referenced by internal_pack_ldo_dcdcctl(), and ra8_vreg_init().

◆ lv_profile

ra8_vreg_lv_profile_t ra8_vreg_cfg_t::lv_profile

Low-voltage operation profile (LVOCR).

Definition at line 222 of file ra8_vreg.h.

Referenced by internal_validate_cfg(), and ra8_vreg_init().

◆ mode

ra8_vreg_mode_t ra8_vreg_cfg_t::mode

Initial regulator mode.

Definition at line 217 of file ra8_vreg.h.

Referenced by internal_validate_cfg(), and ra8_vreg_init().

◆ ocp

ra8_vreg_ocp_t ra8_vreg_cfg_t::ocp

OCP threshold (DCDC mode only).

Definition at line 219 of file ra8_vreg.h.

Referenced by internal_pack_ldo_dcdcctl(), internal_validate_cfg(), and ra8_vreg_init().

◆ vccsel

ra8_vreg_vccsel_t ra8_vreg_cfg_t::vccsel

Supply-voltage range (used only in DCDC mode).

Definition at line 218 of file ra8_vreg.h.

Referenced by internal_validate_cfg(), and ra8_vreg_init().


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