Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
rtc_mem.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021 ML!PA Consulting GmbH
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for more
6
* details.
7
*/
8
9
#pragma once
10
25
26
#include <stddef.h>
27
#include <stdint.h>
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
38
size_t
rtc_mem_size
(
void
);
39
50
void
rtc_mem_read
(
unsigned
offset,
void
*data,
size_t
len);
51
62
void
rtc_mem_write
(
unsigned
offset,
const
void
*data,
size_t
len);
63
64
#ifdef __cplusplus
65
}
66
#endif
67
rtc_mem_read
void rtc_mem_read(unsigned offset, void *data, size_t len)
Read from RTC memory.
rtc_mem_write
void rtc_mem_write(unsigned offset, const void *data, size_t len)
Write to RTC memory.
rtc_mem_size
size_t rtc_mem_size(void)
Get the amount of RTC memory.
Generated on Thu Jul 3 2025 17:41:20 by
1.13.2