nRF51 SDK v10.0.0
Macros | Functions
FStorage configuration

FStorage configuration. More...

Macros

#define FS_CMD_QUEUE_SIZE   (8)
 Macro for max number of operations in the fs cmd queue.
 
#define FS_CMD_MAX_RETRIES   (3)
 Macro for max number of retries for a flash command before it notifies as failed.
 
#define FS_EMPTY_MASK   (0xFFFFFFFF)
 Macro for the content of a flash address that has not been written to.
 
#define FS_PAGE_SIZE   (1024)
 Macro for flash page size according to chip family.
 
#define FS_PAGE_SIZE_WORDS   (FS_PAGE_SIZE/4)
 
#define FS_PAGE_END_ADDR   fs_flash_page_end_addr()
 Macro for last page address. More...
 
#define FS_MAX_WRITE_SIZE_WORDS   (256)
 Macro to describe the write. More...
 

Functions

static __INLINE uint32_t fs_flash_page_end_addr ()
 Static inline function that provides last page address. More...
 

Detailed Description

FStorage configuration.

Macro Definition Documentation

#define FS_MAX_WRITE_SIZE_WORDS   (256)

Macro to describe the write.

#define FS_PAGE_END_ADDR   fs_flash_page_end_addr()

Macro for last page address.

Note
If there is a bootloader present the bootloader address read from UICR will act as the page beyond the end of the available flash storage

Function Documentation

static __INLINE uint32_t fs_flash_page_end_addr ( )
static

Static inline function that provides last page address.

Note
If there is a bootloader present the bootloader address read from UICR will act as the page beyond the end of the available flash storage

This document was last updated on Mon Nov 9 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.