|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Decoded snapshot of VBTBPSR. More...
#include <ra8_bkup.h>
Data Fields | |
| ra8_bkup_source_t | source |
| Active power source right now. | |
| bool | vbatt_r_ok |
| VBPORM: VBATT_R > VPORBATT (post-OK). | |
| bool | por_detected |
| VBPORF: VBATT_POR reset latched (W0C). | |
| uint8_t | tamper_flags |
| Raw VBTADSR.VBTADF[2:0] mask. | |
| uint8_t | raw_vbtbpsr |
| Unmodified VBTBPSR (debug aid). | |
Decoded snapshot of VBTBPSR.
cppcheck cannot see tests/ so it flags every field as unused; the fields are written by ra8_bkup_get_status and consumed by application code / tests.
Definition at line 162 of file ra8_bkup.h.
| bool ra8_bkup_status_t::por_detected |
VBPORF: VBATT_POR reset latched (W0C).
Definition at line 165 of file ra8_bkup.h.
Referenced by ra8_bkup_get_status().
| uint8_t ra8_bkup_status_t::raw_vbtbpsr |
Unmodified VBTBPSR (debug aid).
Definition at line 167 of file ra8_bkup.h.
Referenced by ra8_bkup_get_status().
| ra8_bkup_source_t ra8_bkup_status_t::source |
Active power source right now.
Definition at line 163 of file ra8_bkup.h.
Referenced by ra8_bkup_get_status().
| uint8_t ra8_bkup_status_t::tamper_flags |
Raw VBTADSR.VBTADF[2:0] mask.
Definition at line 166 of file ra8_bkup.h.
Referenced by ra8_bkup_get_status().
| bool ra8_bkup_status_t::vbatt_r_ok |
VBPORM: VBATT_R > VPORBATT (post-OK).
Definition at line 164 of file ra8_bkup.h.
Referenced by ra8_bkup_get_status().