EasyManua.ls Logo

ST STM32F31xx

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
Loading...
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

Related product manuals