Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
blinfo.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
#ifndef ZEPHYR_INCLUDE_RETENTION_BLINFO_
13
#define ZEPHYR_INCLUDE_RETENTION_BLINFO_
14
15
#include <
stdint.h
>
16
#include <stddef.h>
17
#include <
zephyr/kernel.h
>
18
19
#if defined(CONFIG_RETENTION_BOOTLOADER_INFO_TYPE_MCUBOOT)
20
#include <bootutil/boot_status.h>
21
#endif
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
36
#if defined(CONFIG_RETENTION_BOOTLOADER_INFO_OUTPUT_FUNCTION) || defined(__DOXYGEN__)
49
int
blinfo_lookup
(
uint16_t
key,
char
*val,
int
val_len_max);
50
#endif
51
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
/* ZEPHYR_INCLUDE_RETENTION_BLINFO_ */
blinfo_lookup
int blinfo_lookup(uint16_t key, char *val, int val_len_max)
Returns bootinfo information.
kernel.h
Public kernel APIs.
stdint.h
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
zephyr
retention
blinfo.h
Generated on Sun Dec 22 2024 03:09:40 for Zephyr API Documentation by
1.12.0