Information about the bootloader storage implementation Note: From Gecko Bootloader version >= 2.1, the pointer partType will only contain a zero value.

The partType variable can be used to find information about the attached storage.

Public Attributes#

uint16_t

The version of this data structure.

uint16_t

A bitmask describing the capabilities of this particular storage.

uint32_t

Maximum time it takes to erase a page. (in milliseconds)

uint32_t

Maximum time it takes to erase the entire part. (in milliseconds)

uint32_t

The size of a single erasable page in bytes.

uint32_t

The total size of the storage in bytes.

char *

Pointer to a string describing the attached storage.

uint8_t

The number of bytes in a word for the storage.

uint32_t

Value representing the attached storage.

Public Attribute Documentation#

version#

uint16_t BootloaderStorageImplementationInformation_t::version

The version of this data structure.


Definition at line 105 of file platform/bootloader/api/btl_interface_storage.h

capabilitiesMask#

uint16_t BootloaderStorageImplementationInformation_t::capabilitiesMask

A bitmask describing the capabilities of this particular storage.


Definition at line 107 of file platform/bootloader/api/btl_interface_storage.h

pageEraseMs#

uint32_t BootloaderStorageImplementationInformation_t::pageEraseMs

Maximum time it takes to erase a page. (in milliseconds)


Definition at line 109 of file platform/bootloader/api/btl_interface_storage.h

partEraseMs#

uint32_t BootloaderStorageImplementationInformation_t::partEraseMs

Maximum time it takes to erase the entire part. (in milliseconds)


Definition at line 111 of file platform/bootloader/api/btl_interface_storage.h

pageSize#

uint32_t BootloaderStorageImplementationInformation_t::pageSize

The size of a single erasable page in bytes.


Definition at line 113 of file platform/bootloader/api/btl_interface_storage.h

partSize#

uint32_t BootloaderStorageImplementationInformation_t::partSize

The total size of the storage in bytes.


Definition at line 115 of file platform/bootloader/api/btl_interface_storage.h

partDescription#

char* BootloaderStorageImplementationInformation_t::partDescription

Pointer to a string describing the attached storage.


Definition at line 117 of file platform/bootloader/api/btl_interface_storage.h

wordSizeBytes#

uint8_t BootloaderStorageImplementationInformation_t::wordSizeBytes

The number of bytes in a word for the storage.


Definition at line 119 of file platform/bootloader/api/btl_interface_storage.h

partType#

uint32_t BootloaderStorageImplementationInformation_t::partType

Value representing the attached storage.


Definition at line 121 of file platform/bootloader/api/btl_interface_storage.h