BLE_API v2.1.3

Modules | Macros
Flash Page Size
Porting » MCU Porting Related » MCU Flash Porting Definition » MCU Flash Detail Porting Definition

Defined supported flash Page size. More...

## Modules
| Flash Programming Size
| Defined supported flash programming size.
| The Exponent of Flash Programming Size Definition
| Defined supported the exponent of flash programming size.

## Macros
#define | FLASH_PAGE_SIZE 512
#define | FLASH_PROGRAM_SIZE FLASH_PROGRAM_SIZE_4BYTE
#define | FLASH_PROGRAM_SIZE_FOR_POWER_OF_2 FLASH_PROGRAM_SIZE_FOR_EXPONENT_2
#define | FLASH_PAGE_SIZE_FOR_POWER_OF_2 9

## Detailed Description

Defined supported flash Page size.

## Macro Definition Documentation

## ◆ FLASH_PAGE_SIZE

#define FLASH_PAGE_SIZE 512

Size of Flash Page Type.

## ◆ FLASH_PAGE_SIZE_FOR_POWER_OF_2

#define FLASH_PAGE_SIZE_FOR_POWER_OF_2 9

Selected the exponent of flash page size from The exponent of flash page size definition list.

Attention
  The value of 2^ FLASH_PAGE_SIZE_FOR_POWER_OF_2 shall be equal to FLASH_PAGE_SIZE. FLASH_PAGE 512 = 2^9

## ◆ FLASH_PROGRAM_SIZE

#define FLASH_PROGRAM_SIZE FLASH_PROGRAM_SIZE_4BYTE

Selected a flash programming size at once from Flash programming size definition list.

Attention
  Please update the definition of FLASH_PROGRAM_SIZE_FOR_POWER_OF_2 if change the definition of FLASH_PROGRAM_SIZE.

## ◆ FLASH_PROGRAM_SIZE_FOR_POWER_OF_2

#define FLASH_PROGRAM_SIZE_FOR_POWER_OF_2 FLASH_PROGRAM_SIZE_FOR_EXPONENT_2

Selected the exponent of flash programming size from The exponent of flash programming size definition list.

Attention
  The value of 2^ FLASH_PROGRAM_SIZE_FOR_POWER_OF_2 shall be equal to FLASH_PROGRAM_SIZE.