es_flash_flags_t

nRF5 SDK v12.2.0

Structure for keeping track of which slot has a configuration that must be restored upon reboot. More...

#include <es_flash.h>

Data Fields

bool slot_is_empty [ APP_MAX_ADV_SLOTS ]
Flag that indicates whether the slot is empty.
uint8_t padding [4-(( APP_MAX_ADV_SLOTS +1)%4)]
Padding used to ensure word alignment.

Detailed Description

Structure for keeping track of which slot has a configuration that must be restored upon reboot.

The size of this structure must be word aligned and match the flash block size of 32 bytes.

  • components/libraries/experimental_eddystone/es_flash.h