Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
28
#define BACKUP_RAM_HAS_INIT 1
29
33
void
backup_ram_init
(
void
);
34
38
bool
cpu_woke_from_backup
(
void
);
39
40
#ifdef __cplusplus
41
}
42
#endif
43
backup_ram_init
void backup_ram_init(void)
Enable backup RAM access.
cpu_woke_from_backup
bool cpu_woke_from_backup(void)
Returns true if the CPU woke up from deep sleep (backup/standby)
Generated on Sat Jun 28 2025 19:41:33 by
1.9.1