EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 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 #223 background imageLoading...
Page #223 background image
UM1581
FLASH Memory (FLASH)
DocID023800 Rev 1
223/584
FLASH_COMPLETE or FLASH_TIMEOUT.
Notes
ï‚· To correctly run this function, the FLASH_Unlock() function
must be called before. all the FLASH_Lock() to disable the
flash memory access (recommended to protect the FLASH
memory against possible unwanted operation)
11.2.7.5 FLASH_ProgramWord
Function Name
FLASH_Status FLASH_ProgramWord ( uint32_t Address,
uint32_t Data)
Function Description
Programs a word at a specified address.
Parameters
ï‚· Address : specifies the address to be programmed.
ï‚· Data : specifies the data to be programmed.
Return values
ï‚· FLASH Status: The returned value can be:
FLASH_ERROR_PG, FLASH_ERROR_WRP,
FLASH_COMPLETE or FLASH_TIMEOUT.
Notes
ï‚· To correctly run this function, the FLASH_Unlock() function
must be called before. Call the FLASH_Lock() to disable the
flash memory access (recommended to protect the FLASH
memory against possible unwanted operation)
11.2.7.6 FLASH_ProgramHalfWord
Function Name
FLASH_Status FLASH_ProgramHalfWord ( uint32_t Address,
uint16_t Data)
Function Description
Programs a half word at a specified address.
Parameters
ï‚· Address : specifies the address to be programmed.
ï‚· Data : specifies the data to be programmed.
Return values
ï‚· FLASH Status: The returned value can be:
FLASH_ERROR_PG, FLASH_ERROR_WRP,
FLASH_COMPLETE or FLASH_TIMEOUT.
Notes
ï‚· To correctly run this function, the FLASH_Unlock() function
must be called before. Call the FLASH_Lock() to disable the
flash memory access (recommended to protect the FLASH
memory against possible unwanted operation)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals