|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Snapshot of the regulator state. More...
#include <ra8_vreg.h>
Data Fields | |
| uint8_t | dcdcctl |
| Raw DCDCCTL value. | |
| uint8_t | vccsel |
| Raw VCCSEL value. | |
| uint8_t | lvocr |
| Raw LVOCR value. | |
| ra8_vreg_mode_t | mode |
| Decoded mode (LDO / DCDC). | |
| ra8_vreg_vccsel_t | vccsel_dec |
| Decoded VCCSEL. | |
| ra8_vreg_lv_profile_t | lv_profile |
| Decoded LVOCR profile. | |
| ra8_vreg_ocp_t | ocp |
| Decoded OCP setting. | |
| bool | dcdc_ready |
| True when DCDCON=1 and PD=0. | |
| bool | fast_startup |
| True when DCDCCTL.FST is set. | |
| bool | ldo_boost |
| True when DCDCCTL.LCBOOST is set. | |
| bool | io_buf_on |
| True when DCDCCTL.STOPZA is set. | |
Snapshot of the regulator state.
Decoded view returned by ra8_vreg_get_status(). Both the raw register values and the decoded enum forms are exposed so a caller can pick whichever level of detail it needs.
Definition at line 234 of file ra8_vreg.h.
| bool ra8_vreg_status_t::dcdc_ready |
True when DCDCON=1 and PD=0.
Definition at line 242 of file ra8_vreg.h.
Referenced by ra8_vreg_get_status().
| uint8_t ra8_vreg_status_t::dcdcctl |
| bool ra8_vreg_status_t::fast_startup |
True when DCDCCTL.FST is set.
Definition at line 243 of file ra8_vreg.h.
Referenced by ra8_vreg_get_status().
| bool ra8_vreg_status_t::io_buf_on |
True when DCDCCTL.STOPZA is set.
Definition at line 245 of file ra8_vreg.h.
Referenced by ra8_vreg_get_status().
| bool ra8_vreg_status_t::ldo_boost |
True when DCDCCTL.LCBOOST is set.
Definition at line 244 of file ra8_vreg.h.
Referenced by ra8_vreg_get_status().
| ra8_vreg_lv_profile_t ra8_vreg_status_t::lv_profile |
Decoded LVOCR profile.
Definition at line 240 of file ra8_vreg.h.
Referenced by ra8_vreg_get_status().
| uint8_t ra8_vreg_status_t::lvocr |
| ra8_vreg_mode_t ra8_vreg_status_t::mode |
Decoded mode (LDO / DCDC).
Definition at line 238 of file ra8_vreg.h.
Referenced by ra8_vreg_get_status().
| ra8_vreg_ocp_t ra8_vreg_status_t::ocp |
Decoded OCP setting.
Definition at line 241 of file ra8_vreg.h.
Referenced by ra8_vreg_get_status().
| uint8_t ra8_vreg_status_t::vccsel |
| ra8_vreg_vccsel_t ra8_vreg_status_t::vccsel_dec |