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
* SPDX-FileCopyrightText: 2022 Otto-von-Guericke-Universität Magdeburg
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
25
#define BACKUP_RAM_HAS_INIT 1
26
30
void
backup_ram_init
(
void
);
31
35
bool
cpu_woke_from_backup
(
void
);
36
37
#ifdef __cplusplus
38
}
39
#endif
40
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 Thu Oct 2 2025 12:06:48 by
1.9.1