bootloader information structure and parameters.
Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | boot_info_t |
struct | featureBits_t |
union | featureMask_t |
Macros | |
#define | BOOT_INFO_START_ADDRESS 0x100 |
#define | EXT_MEM_SIZE_IN_KB 0 |
#define | FEATURE_MULTI_APPS 1 |
#define | FLASH_SIZE_IN_KB ((EEPROM_END_ADDRESS + 1) >> 10) |
#define | TWO_POWER_EXPONENT_16(x) (((x)>>8)&0xFF?TWO_POWER_EXPONENT_8(((x)>>8)&0xFF)+8:((x)&0xFF?TWO_POWER_EXPONENT_8((x)&0xFF):0)) |
#define | TWO_POWER_EXPONENT_4(x) ((x)&0x8?3:((x)&0x4?2:((x)&0x2?1:0))) |
#define | TWO_POWER_EXPONENT_8(x) (((x)>>4)&0xF?TWO_POWER_EXPONENT_4(((x)>>4)&0xF)+4:((x)&0xF?TWO_POWER_EXPONENT_4((x)&0xF):0)) |
Variables | |
boot_info_t | bInfo |
#define BOOT_INFO_START_ADDRESS 0x100 |
Referenced by update_boot_info().
#define EXT_MEM_SIZE_IN_KB 0 |
#define FEATURE_MULTI_APPS 1 |
#define FLASH_SIZE_IN_KB ((EEPROM_END_ADDRESS + 1) >> 10) |
#define TWO_POWER_EXPONENT_16 | ( | x | ) | (((x)>>8)&0xFF?TWO_POWER_EXPONENT_8(((x)>>8)&0xFF)+8:((x)&0xFF?TWO_POWER_EXPONENT_8((x)&0xFF):0)) |
#define TWO_POWER_EXPONENT_4 | ( | x | ) | ((x)&0x8?3:((x)&0x4?2:((x)&0x2?1:0))) |
#define TWO_POWER_EXPONENT_8 | ( | x | ) | (((x)>>4)&0xF?TWO_POWER_EXPONENT_4(((x)>>4)&0xF)+4:((x)&0xF?TWO_POWER_EXPONENT_4((x)&0xF):0)) |
boot_info_t bInfo |
Referenced by update_boot_info().