RIOT "partition" header and tools. More...
RIOT "partition" header and tools.
Definition in file hdr.h.
#include <stdint.h>
 Include dependency graph for hdr.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | riotboot_hdr_t | 
| Structure to store image header - All members are little endian.  More... | |
Macros | |
| #define | RIOTBOOT_MAGIC 0x544f4952 /* "RIOT" */ | 
| Magic number for riotboot_hdr.  | |
Functions | |
| void | riotboot_hdr_print (const riotboot_hdr_t *riotboot_hdr) | 
| Print formatted riotboot_hdr_t to STDIO.  More... | |
| int | riotboot_hdr_validate (const riotboot_hdr_t *riotboot_hdr) | 
| Validate image header.  More... | |
| uint32_t | riotboot_hdr_checksum (const riotboot_hdr_t *riotboot_hdr) | 
| Calculate header checksum.  More... | |
| uint32_t riotboot_hdr_checksum | ( | const riotboot_hdr_t * | riotboot_hdr | ) | 
Calculate header checksum.
| [in] | riotboot_hdr | ptr to image header | 
| void riotboot_hdr_print | ( | const riotboot_hdr_t * | riotboot_hdr | ) | 
Print formatted riotboot_hdr_t to STDIO.
| [in] | riotboot_hdr | ptr to image header | 
| int riotboot_hdr_validate | ( | const riotboot_hdr_t * | riotboot_hdr | ) | 
Validate image header.
| [in] | riotboot_hdr | ptr to image header |