nRF51 SDK: bootloader_settings_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
bootloader_settings_t Struct Reference
Types and definitions.

Structure holding bootloader settings for application and bank data. More...

`#include <bootloader_types.h>`

## Data Fields

bootloader_bank_code_t | bank_0
uint16_t | bank_0_crc
bootloader_bank_code_t | bank_1
uint32_t | bank_0_size

## Detailed Description

Structure holding bootloader settings for application and bank data.

## Field Documentation

bootloader_bank_code_t bootloader_settings_t::bank_0

Variable to store if bank 0 contains a valid application.

uint16_t bootloader_settings_t::bank_0_crc

If bank is valid, this field will contain a valid CRC of the image.

uint32_t bootloader_settings_t::bank_0_size

Size of bank0.

bootloader_bank_code_t bootloader_settings_t::bank_1

Variable to store if bank 1 has been erased/prepared for new image. Bank 1 is only used in Banked Update scenario.