Types and functions to access the flash of the Eddystone beacon.
More...
|
#define | WORD_SIZE 4 |
|
#define | FLASH_ACCES_ERROR_CHECK_ALLOW_NOT_FOUND(err_code) |
|
#define | FLASH_OP_WAIT() |
|
Types and functions to access the flash of the Eddystone beacon.
#define FLASH_ACCES_ERROR_CHECK_ALLOW_NOT_FOUND |
( |
|
err_code | ) |
|
Value:
APP_ERROR_CHECK(err_code);
#define FLASH_OP_WAIT |
( |
| ) |
|
Value:
while (pending_ops != 0) \
{ \
}
Flash access types.
Enumerator |
---|
ES_FLASH_ACCESS_READ |
Read data.
|
ES_FLASH_ACCESS_WRITE |
Write data.
|
ES_FLASH_ACCESS_CLEAR |
Clear data.
|
Function for accessing beacon configurations.
- Parameters
-
[in,out] | p_config | Pointer to the beacon configuration buffer. |
[in] | access_type | Access type (see es_flash_access_t). |
- Returns
- For possible return values, see:
Function for accessing the flash configuration flag from flash.
- Parameters
-
[in,out] | p_flags | Pointer to the flag buffer. |
[in] | access_type | Access type (see es_flash_access_t). |
- Returns
- For possible return values, see:
Function for accessing the beacon lock key from flash.
- Parameters
-
[in,out] | p_lock_key | Pointer to the lock key buffer. |
[in] | access_type | Access type (see es_flash_access_t). |
- Returns
- For possible return values, see:
Function for accessing slot configuration from flash.
- Parameters
-
[in] | slot_no | Slot index. |
[in,out] | p_slot | Pointer to the slot configuration buffer. |
[in] | access_type | Access type (see es_flash_access_t). |
- Returns
- For possible return values, see:
Function for performing a factory reset.
- Returns
- FDS return code.
Function for initializing the flash module.
- Returns
- See fds_init for possible return values.
uint32_t es_flash_num_pending_ops |
( |
void |
| ) |
|
Function for retrieving the number of queued operations.
- Returns
- The number of operations that are queued.