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

Configuration descriptor passed to ra8_bkup_init. More...

#include <ra8_bkup.h>

Data Fields

ra8_bkup_vdet_level_t vdet_level
 VDETBATT trip threshold (VBTBPCR2.VDETLVL).
bool enable_switch
 true -> clear BPWSWSTP, allow VCC->VBATT switching.
bool enable_backup
 true -> set VBTBER.VBAE so VBTBKRn is accessible.

Detailed Description

Configuration descriptor passed to ra8_bkup_init.

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

Definition at line 147 of file ra8_bkup.h.

Field Documentation

◆ enable_backup

bool ra8_bkup_config_t::enable_backup

true -> set VBTBER.VBAE so VBTBKRn is accessible.

Definition at line 150 of file ra8_bkup.h.

Referenced by ra8_bkup_init().

◆ enable_switch

bool ra8_bkup_config_t::enable_switch

true -> clear BPWSWSTP, allow VCC->VBATT switching.

Definition at line 149 of file ra8_bkup.h.

Referenced by ra8_bkup_init().

◆ vdet_level

ra8_bkup_vdet_level_t ra8_bkup_config_t::vdet_level

VDETBATT trip threshold (VBTBPCR2.VDETLVL).

Definition at line 148 of file ra8_bkup.h.

Referenced by internal_validate_cfg(), and ra8_bkup_init().


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