Loading...
Searching...
No Matches
cpu_backup_ram.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 Otto-von-Guericke-Universität Magdeburg
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
28#define BACKUP_RAM_HAS_INIT 1
29
33void backup_ram_init(void);
34
39
40#ifdef __cplusplus
41}
42#endif
43
void backup_ram_init(void)
Enable backup RAM access.
bool cpu_woke_from_backup(void)
Returns true if the CPU woke up from deep sleep (backup/standby)