| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Size Definitions
BLUENRG1 Peripheral Driver » FLASH Peripheral » Exported Constants

## Macros

#define | FLASH_START (_MEMORY_FLASH_BEGIN_)
#define | FLASH_END (_MEMORY_FLASH_END_)
#define | IS_FLASH_ADDRESS(ADDR) ( ((ADDR) >= FLASH_START) && ((ADDR) <= FLASH_END) )
#define | N_PAGES 80
#define | N_ROWS 8
#define | N_WORDS_ROW 64
#define | N_WORDS_PAGE 512
#define | N_BYTES_WORD 4
#define | N_BYTES_PAGE 2048
#define | IS_PAGE_NUMBER(PAGE) ( (PAGE)<N_PAGES )
#define | IS_ROW_NUMBER(ROW) ( (ROW)<N_ROWS )
#define | IS_WORD_NUMBER(WORD) ( (WORD)<N_WORDS_PAGE )
#define | FLASH_REMAP_RAM 0x02
#define | FLASH_PREMAP_MAIN 0x08

## Detailed Description

## Macro Definition Documentation

#define FLASH_END (_MEMORY_FLASH_END_)

Definition at line 76 of file BlueNRG1_flash.h.

#define FLASH_PREMAP_MAIN 0x08

Definition at line 93 of file BlueNRG1_flash.h.

#define FLASH_REMAP_RAM 0x02

Definition at line 92 of file BlueNRG1_flash.h.

#define FLASH_START (_MEMORY_FLASH_BEGIN_)

Definition at line 75 of file BlueNRG1_flash.h.

#define IS_FLASH_ADDRESS | ( |  | ADDR | ) | ( ((ADDR) >= FLASH_START) && ((ADDR) <= FLASH_END) )

Definition at line 78 of file BlueNRG1_flash.h.

#define IS_PAGE_NUMBER | ( |  | PAGE | ) | ( (PAGE)<N_PAGES )

Definition at line 88 of file BlueNRG1_flash.h.

#define IS_ROW_NUMBER | ( |  | ROW | ) | ( (ROW)<N_ROWS )

Definition at line 89 of file BlueNRG1_flash.h.

#define IS_WORD_NUMBER | ( |  | WORD | ) | ( (WORD)<N_WORDS_PAGE )

Definition at line 90 of file BlueNRG1_flash.h.

#define N_BYTES_PAGE 2048

Definition at line 86 of file BlueNRG1_flash.h.

#define N_BYTES_WORD 4

Definition at line 85 of file BlueNRG1_flash.h.

#define N_PAGES 80

Definition at line 81 of file BlueNRG1_flash.h.

#define N_ROWS 8

Definition at line 82 of file BlueNRG1_flash.h.

#define N_WORDS_PAGE 512

Definition at line 84 of file BlueNRG1_flash.h.

#define N_WORDS_ROW 64

Definition at line 83 of file BlueNRG1_flash.h.