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
19#ifndef PERIPH_CPU_BACKUP_RAM_H
20#define PERIPH_CPU_BACKUP_RAM_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
29#define BACKUP_RAM_HAS_INIT 1
30
34void backup_ram_init(void);
35
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* PERIPH_CPU_BACKUP_RAM_H */
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)