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

Cached "desired" state used by the enter/exit-standby pair. More...

Data Fields

uint8_t dcdcctl
 Last value written to DCDCCTL.
ra8_vreg_vccsel_t vccsel
 Last value written to VCCSEL.
uint8_t lvocr
 Last value written to LVOCR.
ra8_vreg_ocp_t ocp
 Cached OCP level (no HW readback).
ra8_vreg_lv_profile_t lv_profile
 Cached LV profile.
ra8_vreg_standby_t last_standby
 Last standby variant requested.
bool initialized
 True once ra8_vreg_init ran.
bool fast_startup
 Cached FST bit.
bool ldo_boost
 Cached LCBOOST bit.

Detailed Description

Cached "desired" state used by the enter/exit-standby pair.

The hardware loses the LDO/DCDC selection when entering Software Standby; this struct holds the snapshot we need to restore on exit.

Definition at line 82 of file ra8_vreg.c.

Field Documentation

◆ dcdcctl

uint8_t ra8_vreg_state_t::dcdcctl

Last value written to DCDCCTL.

Definition at line 83 of file ra8_vreg.c.

◆ fast_startup

bool ra8_vreg_state_t::fast_startup

Cached FST bit.

Definition at line 90 of file ra8_vreg.c.

◆ initialized

bool ra8_vreg_state_t::initialized

True once ra8_vreg_init ran.

Definition at line 89 of file ra8_vreg.c.

◆ last_standby

ra8_vreg_standby_t ra8_vreg_state_t::last_standby

Last standby variant requested.

Definition at line 88 of file ra8_vreg.c.

◆ ldo_boost

bool ra8_vreg_state_t::ldo_boost

Cached LCBOOST bit.

Definition at line 91 of file ra8_vreg.c.

◆ lv_profile

ra8_vreg_lv_profile_t ra8_vreg_state_t::lv_profile

Cached LV profile.

Definition at line 87 of file ra8_vreg.c.

◆ lvocr

uint8_t ra8_vreg_state_t::lvocr

Last value written to LVOCR.

Definition at line 85 of file ra8_vreg.c.

◆ ocp

ra8_vreg_ocp_t ra8_vreg_state_t::ocp

Cached OCP level (no HW readback).

Definition at line 86 of file ra8_vreg.c.

◆ vccsel

ra8_vreg_vccsel_t ra8_vreg_state_t::vccsel

Last value written to VCCSEL.

Definition at line 84 of file ra8_vreg.c.


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