EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #255 background imageLoading...
Page #255 background image
UM1940
HAL FLASH Extension Driver
DocID028236 Rev 2
255/1371
SectorError: pointer to variable that contains the
configuration information on faulty sector in case of error
(0xFFFFFFFF means that all the sectors have been correctly
erased)
Return values
HAL: Status
HAL_FLASHEx_Erase_IT
Function name
HAL_StatusTypeDef HAL_FLASHEx_Erase_IT
(FLASH_EraseInitTypeDef * pEraseInit)
Function description
Perform a mass erase or erase the specified FLASH memory
sectors with interrupt enabled.
Parameters
pEraseInit: pointer to an FLASH_EraseInitTypeDef structure
that contains the configuration information for the erasing.
Return values
HAL: Status
HAL_FLASHEx_OBProgram
Function name
HAL_StatusTypeDef HAL_FLASHEx_OBProgram
(FLASH_OBProgramInitTypeDef * pOBInit)
Function description
Program option bytes.
Parameters
pOBInit: pointer to an FLASH_OBInitStruct structure that
contains the configuration information for the programming.
Return values
HAL: Status
HAL_FLASHEx_OBGetConfig
Function name
void HAL_FLASHEx_OBGetConfig
(FLASH_OBProgramInitTypeDef * pOBInit)
Function description
Get the Option byte configuration.
Parameters
pOBInit: pointer to an FLASH_OBInitStruct structure that
contains the configuration information for the programming.
Return values
None:
FLASH_Erase_Sector
Function name
void FLASH_Erase_Sector (uint32_t Sector, uint8_t
VoltageRange)
Function description
Erase the specified FLASH memory sector.
Parameters
Sector: FLASH sector to erase The value of this parameter
depend on device used within the same series
VoltageRange: The device voltage range which defines the
erase parallelism. This parameter can be one of the following
values:
FLASH_VOLTAGE_RANGE_1: when the device voltage
range is 1.8V to 2.1V, the operation will be done by byte
(8-bit)
FLASH_VOLTAGE_RANGE_2: when the device voltage

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals