STM32F103xB HAL User Manual
Functions
FLASH Private Functions
FLASH

Functions

static void FLASH_Program_HalfWord (uint32_t Address, uint16_t Data)
 Program a half-word (16-bit) at a specified address.
static void FLASH_SetErrorCode (void)
 Set the specific FLASH error flag.
void FLASH_PageErase (uint32_t PageAddress)
 Erase the specified FLASH memory page.
HAL_StatusTypeDef FLASH_WaitForLastOperation (uint32_t Timeout)
 Wait for a FLASH operation to complete.

Function Documentation

void FLASH_PageErase ( uint32_t  PageAddress)

Erase the specified FLASH memory page.

Parameters:
PageAddressFLASH page to erase The value of this parameter depend on device used within the same series
Return values:
None

Definition at line 1089 of file stm32f1xx_hal_flash_ex.c.

References FLASH_ProcessTypeDef::ErrorCode, and HAL_FLASH_ERROR_NONE.

Referenced by HAL_FLASH_IRQHandler(), HAL_FLASHEx_Erase(), and HAL_FLASHEx_Erase_IT().

static void FLASH_Program_HalfWord ( uint32_t  Address,
uint16_t  Data 
) [static]

Program a half-word (16-bit) at a specified address.

Parameters:
Addressspecify the address to be programmed.
Dataspecify the data to be programmed.
Return values:
None

Definition at line 797 of file stm32f1xx_hal_flash.c.

References FLASH_ProcessTypeDef::ErrorCode, and HAL_FLASH_ERROR_NONE.

Referenced by HAL_FLASH_IRQHandler(), HAL_FLASH_Program(), and HAL_FLASH_Program_IT().

static void FLASH_SetErrorCode ( void  ) [static]
HAL_StatusTypeDef FLASH_WaitForLastOperation ( uint32_t  Timeout)