|
STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Functions | |
| 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. | |
| HAL_StatusTypeDef | FLASH_WaitForLastOperation (uint32_t Timeout) |
| Wait for a FLASH operation to complete. | |
|
static |
#include <stm32f4xx_hal_flash.c>
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 604 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 |
#include <stm32f4xx_hal_flash.c>
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 638 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 |
#include <stm32f4xx_hal_flash.c>
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 663 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 |
#include <stm32f4xx_hal_flash.c>
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 688 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 |
#include <stm32f4xx_hal_flash.c>
Set the specific FLASH error flag.
| None |
Definition at line 705 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_WRPERR, HAL_FLASH_ERROR_OPERATION, HAL_FLASH_ERROR_PGA, HAL_FLASH_ERROR_PGP, HAL_FLASH_ERROR_PGS, HAL_FLASH_ERROR_RD, HAL_FLASH_ERROR_WRP, and pFlash.
Referenced by FLASH_WaitForLastOperation(), and HAL_FLASH_IRQHandler().
| HAL_StatusTypeDef FLASH_WaitForLastOperation | ( | uint32_t | Timeout | ) |
#include <stm32f4xx_hal_flash.c>
Wait for a FLASH operation to complete.
| Timeout | maximum flash operationtimeout |
| HAL | Status |
Definition at line 544 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_WRPERR, FLASH_SetErrorCode(), HAL_ERROR, HAL_FLASH_ERROR_NONE, HAL_GetTick(), HAL_MAX_DELAY, HAL_OK, HAL_TIMEOUT, and pFlash.
Referenced by 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().