Issue #18: Backup RAM: Make use of backup regulator optional

This commit is contained in:
2020-09-04 21:33:54 +02:00
parent d3c4e1bffc
commit a12648ff7a
2 changed files with 10 additions and 6 deletions

View File

@@ -19,11 +19,13 @@
*/
#include <stdint.h>
#include <stdbool.h>
/**
* @brief Init the backup ram and make it accesible
* @param use_backup_regulator Enable the Backup VBAT regulator. It will be used, when VDD is powered off
*/
void backup_ram_init(void);
void backup_ram_init(bool use_backup_regulator);
/**
* @brief Disable access to the backup RAM. This saves power