Home
last modified time | relevance | path

Searched refs:PAGES_NUMBER (Results 1 – 2 of 2) sorted by relevance

/loramac-node-2.7.6/src/boards/mcu/stm32/EEPROM_Emul/Core/
Deeprom_emul.h79 #define PAGES_NUMBER (((((NB_OF_VARIABLES + NB_MAX_ELEMENTS_BY_PAGE) / NB_MAX_ELEMENTS_B… macro
81 #define NB_MAX_WRITTEN_ELEMENTS ((NB_MAX_ELEMENTS_BY_PAGE * PAGES_NUMBER) / 2U) /*!< Max number of…
83 #define END_EEPROM_ADDRESS (START_PAGE_ADDRESS + (PAGES_NUMBER * FLASH_PAGE_SIZE) - 1) /*!< La…
108 …S_PAGE(__PAGE__) (uint32_t)((((__PAGE__) - START_PAGE - 1U + PAGES_NUMBER) % PAGES_NUMBER) + STAR…
109 #define FOLLOWING_PAGE(__PAGE__) (uint32_t)((((__PAGE__) - START_PAGE + 1U) % PAGES_NUMBER) + START…
Deeprom_emul.c250 for (page = START_PAGE; page < (START_PAGE + PAGES_NUMBER); page++) in EE_Init()
265 for (page = START_PAGE; page < (START_PAGE + PAGES_NUMBER); page++) in EE_Init()
316 for (page = START_PAGE; page < (START_PAGE + PAGES_NUMBER); page++) in EE_Init()
326 if ((page != START_PAGE) && (page != (uint32_t)(START_PAGE + (PAGES_NUMBER / 2U)))) in EE_Init()
383 for (page = START_PAGE; page < (START_PAGE + PAGES_NUMBER); page++) in EE_Init()
393 if ((page != START_PAGE) && (page != (uint32_t)(START_PAGE + (PAGES_NUMBER / 2U)))) in EE_Init()
486 while ((page != START_PAGE) && (page != (uint32_t)(START_PAGE + (PAGES_NUMBER / 2U)))) in EE_Init()
591 for (page = START_PAGE; page < (START_PAGE + PAGES_NUMBER); page++) in EE_Format()
763 …for (firstpage = START_PAGE; firstpage < (START_PAGE + PAGES_NUMBER); firstpage += (PAGES_NUMBER /… in EE_CleanUp()
773 for (page = (firstpage + 1U); page < (firstpage + (PAGES_NUMBER / 2U)); page++) in EE_CleanUp()
[all …]