ESP-IDF
nvs_bootloader_single_entry_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
nvs_bootloader_single_entry_t
nvs_bootloader_single_entry_t struct
Syntax
Show:
Summary
Declaration
from
nvs_bootloader_private.h:88
typedef
struct
{
uint8_t
namespace_index
;
uint8_t
data_type
;
uint8_t
span
;
uint8_t
chunk_index
;
uint32_t
crc32
;
char
key
[
NVS_KEY_NAME_MAX_SIZE
]
;
nvs_bootloader_entry_data_t
data
;
}
nvs_bootloader_single_entry_t
;
Fields
Field
Declared as
nvs_bootloader_single_entry_t::namespace_index
uint8_t
nvs_bootloader_single_entry_t::data_type
uint8_t
nvs_bootloader_single_entry_t::span
uint8_t
nvs_bootloader_single_entry_t::chunk_index
uint8_t
nvs_bootloader_single_entry_t::crc32
uint32_t
nvs_bootloader_single_entry_t::key
char
[
NVS_KEY_NAME_MAX_SIZE
]
nvs_bootloader_single_entry_t::data
nvs_bootloader_entry_data_t
Related Functions
Found 2 other functions taking a
nvs_bootloader_single_entry_t
argument:
Function
nvs_bootloader_read_next_single_entry_item()
nvs_bootloader_check_item_header_consistency()
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
nvs_bootloader_private.h:88
}
nvs_bootloader_single_entry_t
;
nvs_bootloader_private.h:96
ESP_STATIC_ASSERT
(
sizeof
(
nvs_bootloader_single_entry_t
)
==
NVS_CONST_ENTRY_SIZE
,
"nvs_bootloader_single_entry_t size is not 32 bytes"
)
;
nvs_bootloader.c:23
nvs_bootloader_single_entry_t
item
=
{
0
}
;
nvs_bootloader.c:218
nvs_bootloader_page_visitor_get_namespaces()
nvs_bootloader_single_entry_t
item
=
{
0
}
;
nvs_bootloader.c:278
nvs_bootloader_page_visitor_get_key_value_pairs()
nvs_bootloader_single_entry_t
*
item
)
nvs_bootloader.c:447
nvs_bootloader_read_next_single_entry_item()
nvs_bootloader_read_next_single_entry_item()::item
ret
=
esp_partition_read
(
partition
,
page_index
*
NVS_CONST_PAGE_SIZE
+
NVS_CONST_PAGE_ENTRY_DATA_OFFSET
+
(
*
entry_index
)
*
NVS_CONST_ENTRY_SIZE
,
(
void
*
)
item
,
sizeof
(
nvs_bootloader_single_entry_t
)
)
;
nvs_bootloader.c:465
nvs_bootloader_read_next_single_entry_item()
bool
nvs_bootloader_check_item_header_consistency
(
const
nvs_bootloader_single_entry_t
*
item
,
nvs_bootloader.c:557
nvs_bootloader_check_item_header_consistency()
nvs_bootloader_check_item_header_consistency()::item
uint32_t
calc_crc
=
esp_rom_crc32_le
(
0xffffffff
,
(
uint8_t
*
)
item
+
offsetof
(
nvs_bootloader_single_entry_t
,
namespace_index
)
,
offsetof
(
nvs_bootloader_single_entry_t
,
crc32
)
-
offsetof
(
nvs_bootloader_single_entry_t
,
namespace_index
)
)
;
nvs_bootloader.c:562
nvs_bootloader_check_item_header_consistency()
calc_crc
=
esp_rom_crc32_le
(
calc_crc
,
(
uint8_t
*
)
item
+
offsetof
(
nvs_bootloader_single_entry_t
,
key
)
,
sizeof
(
item
->
key
)
)
;
nvs_bootloader.c:563
nvs_bootloader_check_item_header_consistency()
calc_crc
=
esp_rom_crc32_le
(
calc_crc
,
(
uint8_t
*
)
item
+
offsetof
(
nvs_bootloader_single_entry_t
,
data
)
,
sizeof
(
item
->
data
)
)
;
nvs_bootloader.c:564
nvs_bootloader_check_item_header_consistency()
}
nvs_bootloader_single_entry_t
;
nvs_bootloader_private.h:96
nvs_bootloader_single_entry_t
esp_err_t
nvs_bootloader_read_next_single_entry_item
(
const
esp_partition_t
*
partition
,
const
size_t
page_index
,
const
nvs_bootloader_page_entry_states_t
*
entry_states
,
uint8_t
*
entry_index
,
nvs_bootloader_single_entry_t
*
item
)
;
nvs_bootloader_private.h:109
nvs_bootloader_read_next_single_entry_item()
nvs_bootloader_read_next_single_entry_item()::item
bool
nvs_bootloader_check_item_header_consistency
(
const
nvs_bootloader_single_entry_t
*
item
,
nvs_bootloader_private.h:180
nvs_bootloader_check_item_header_consistency()
nvs_bootloader_check_item_header_consistency()::item
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
nvs_bootloader_read_next_single_entry_item()::item
nvs_bootloader_read_next_single_entry_item()
nvs_bootloader_private.h:109
nvs_bootloader_check_item_header_consistency()::item
nvs_bootloader_check_item_header_consistency()
nvs_bootloader_private.h:180
nvs_bootloader_read_next_single_entry_item()::item
nvs_bootloader_read_next_single_entry_item()
nvs_bootloader.c:447
nvs_bootloader_check_item_header_consistency()::item
nvs_bootloader_check_item_header_consistency()
nvs_bootloader.c:557
Lifecycle
from
examples
All items filtered out
All items filtered out