📄 hal_flash_hw.h
字号:
/** @file
*
* Header file defining flash parameters for nRF24LE1.
*
* @addtogroup nordic_flash
*
* @{
* @name Hardware dependencies
* This sections contains hardware specific flash definitions. These definitions
* are not used inside the Flash HAL directly, but can become handy for the
* user of the Flash HAL.
* @{
*
*/
#ifndef _HAL_FLASH_LE1_H_
#define _HAL_FLASH_LE1_H_
/**
Number of bytes per Flash page.
*/
#define HAL_FLASH_PAGE_SIZE 512
/**
Start (xdata) address for "Non Voltaile Data Memory".
Used by the EEPROM library.
*/
#define HAL_DATA_NV_BASE_ADDRESS 0xFA00
/**
Defines the number of physical Flash pages used by one
"Non Voltaile Data Memory" page.
*/
#define HAL_DATA_NV_FLASH_PAGES 2
/**
Defines the first physical flash page to which one
"Non Voltaile Data Memory" is mapped.
Used by the EEPROM library.
*/
#define HAL_DATA_NV_FLASH_PN0 32
/**
Defines the second physical flash page to which one
"Non Voltaile Data Memory" page is mapped.
Used by the EEPROM library.
*/
#define HAL_DATA_NV_FLASH_PN1 33
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -