STM32F479xx HAL User Manual
|
Modules | |
Programming operation functions | |
Programming operation functions. | |
Peripheral Control functions | |
management functions | |
Peripheral State and Errors functions | |
Peripheral Errors functions. | |
Functions | |
HAL_StatusTypeDef | FLASH_WaitForLastOperation (uint32_t Timeout) |
Wait for a FLASH operation to complete. | |
static void | FLASH_Program_DoubleWord (uint32_t Address, uint64_t Data) |
Program a double word (64-bit) at a specified address. | |
static void | FLASH_Program_Word (uint32_t Address, uint32_t Data) |
Program word (32-bit) at a specified address. | |
static void | FLASH_Program_HalfWord (uint32_t Address, uint16_t Data) |
Program a half-word (16-bit) at a specified address. | |
static void | FLASH_Program_Byte (uint32_t Address, uint8_t Data) |
Program byte (8-bit) at a specified address. | |
static void | FLASH_SetErrorCode (void) |
Set the specific FLASH error flag. |
static void FLASH_Program_Byte | ( | uint32_t | Address, |
uint8_t | Data | ||
) | [static] |
Program byte (8-bit) at a specified address.
Address | specifies the address to be programmed. |
Data | specifies the data to be programmed. |
None |
Definition at line 696 of file stm32f4xx_hal_flash.c.
References assert_param, FLASH_PSIZE_BYTE, and IS_FLASH_ADDRESS.
Referenced by HAL_FLASH_Program(), and HAL_FLASH_Program_IT().
static void FLASH_Program_DoubleWord | ( | uint32_t | Address, |
uint64_t | Data | ||
) | [static] |
Program a double word (64-bit) at a specified address.
Address | specifies the address to be programmed. |
Data | specifies the data to be programmed. |
None |
Definition at line 612 of file stm32f4xx_hal_flash.c.
References assert_param, FLASH_PSIZE_DOUBLE_WORD, and IS_FLASH_ADDRESS.
Referenced by HAL_FLASH_Program(), and HAL_FLASH_Program_IT().
static void FLASH_Program_HalfWord | ( | uint32_t | Address, |
uint16_t | Data | ||
) | [static] |
Program a half-word (16-bit) at a specified address.
Address | specifies the address to be programmed. |
Data | specifies the data to be programmed. |
None |
Definition at line 671 of file stm32f4xx_hal_flash.c.
References assert_param, FLASH_PSIZE_HALF_WORD, and IS_FLASH_ADDRESS.
Referenced by HAL_FLASH_Program(), and HAL_FLASH_Program_IT().
static void FLASH_Program_Word | ( | uint32_t | Address, |
uint32_t | Data | ||
) | [static] |
Program word (32-bit) at a specified address.
Address | specifies the address to be programmed. |
Data | specifies the data to be programmed. |
None |
Definition at line 646 of file stm32f4xx_hal_flash.c.
References assert_param, FLASH_PSIZE_WORD, and IS_FLASH_ADDRESS.
Referenced by HAL_FLASH_Program(), and HAL_FLASH_Program_IT().
static void FLASH_SetErrorCode | ( | void | ) | [static] |
Set the specific FLASH error flag.
None |
Definition at line 713 of file stm32f4xx_hal_flash.c.
References __HAL_FLASH_CLEAR_FLAG, __HAL_FLASH_GET_FLAG, FLASH_ProcessTypeDef::ErrorCode, FLASH_FLAG_OPERR, FLASH_FLAG_PGAERR, FLASH_FLAG_PGPERR, FLASH_FLAG_PGSERR, FLASH_FLAG_RDERR, FLASH_FLAG_WRPERR, HAL_FLASH_ERROR_OPERATION, HAL_FLASH_ERROR_PGA, HAL_FLASH_ERROR_PGP, HAL_FLASH_ERROR_PGS, HAL_FLASH_ERROR_RD, and HAL_FLASH_ERROR_WRP.
Referenced by FLASH_WaitForLastOperation(), and HAL_FLASH_IRQHandler().
HAL_StatusTypeDef FLASH_WaitForLastOperation | ( | uint32_t | Timeout | ) |
Wait for a FLASH operation to complete.
Timeout | maximum flash operationtimeout |
HAL | Status |
Definition at line 552 of file stm32f4xx_hal_flash.c.
References __HAL_FLASH_CLEAR_FLAG, __HAL_FLASH_GET_FLAG, FLASH_ProcessTypeDef::ErrorCode, FLASH_FLAG_BSY, FLASH_FLAG_EOP, FLASH_FLAG_OPERR, FLASH_FLAG_PGAERR, FLASH_FLAG_PGPERR, FLASH_FLAG_PGSERR, FLASH_FLAG_RDERR, FLASH_FLAG_WRPERR, FLASH_SetErrorCode(), HAL_FLASH_ERROR_NONE, and HAL_GetTick().
Referenced by FLASH_OB_BootConfig(), FLASH_OB_DisablePCROP(), FLASH_OB_DisableWRP(), FLASH_OB_EnablePCROP(), FLASH_OB_EnableWRP(), FLASH_OB_RDP_LevelConfig(), FLASH_OB_UserConfig(), HAL_FLASH_OB_Launch(), HAL_FLASH_Program(), and HAL_FLASHEx_Erase().