STM32L486xx HAL User Manual
Defines
FLASH Private Constants
FLASH

Defines

#define FLASH_SIZE_DATA_REGISTER   ((uint32_t)0x1FFF75E0)
#define FLASH_SIZE
#define FLASH_BANK_SIZE   (FLASH_SIZE >> 1U)
#define FLASH_PAGE_SIZE   ((uint32_t)0x800)
#define FLASH_TIMEOUT_VALUE   ((uint32_t)50000)/* 50 s */

Define Documentation

#define FLASH_BANK_SIZE   (FLASH_SIZE >> 1U)

Definition at line 848 of file stm32l4xx_hal_flash.h.

Referenced by FLASH_OB_GetPCROP(), and FLASH_OB_PCROPConfig().

#define FLASH_PAGE_SIZE   ((uint32_t)0x800)

Definition at line 857 of file stm32l4xx_hal_flash.h.

#define FLASH_SIZE
Value:
((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) == 0xFFFFU)) ? (0x400U << 10U) : \
                                            (((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0FFFU)) << 10U))

Definition at line 841 of file stm32l4xx_hal_flash.h.

#define FLASH_SIZE_DATA_REGISTER   ((uint32_t)0x1FFF75E0)

Definition at line 832 of file stm32l4xx_hal_flash.h.

#define FLASH_TIMEOUT_VALUE   ((uint32_t)50000)/* 50 s */