EasyManua.ls Logo

ST STM32F2

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
Loading...
UM1940
HAL NOR Generic Driver
DocID028236 Rev 2
385/1371
pData: pointer to source data buffer.
uwBufferSize: Size of the buffer to write
Return values
HAL: status
HAL_NOR_Erase_Block
Function name
HAL_StatusTypeDef HAL_NOR_Erase_Block
(NOR_HandleTypeDef * hnor, uint32_t BlockAddress, uint32_t
Address)
Function description
Erase the specified block of the NOR memory.
Parameters
hnor: pointer to a NOR_HandleTypeDef structure that
contains the configuration information for NOR module.
BlockAddress: : Block to erase address
Address: Device address
Return values
HAL: status
HAL_NOR_Erase_Chip
Function name
HAL_StatusTypeDef HAL_NOR_Erase_Chip
(NOR_HandleTypeDef * hnor, uint32_t Address)
Function description
Erase the entire NOR chip.
Parameters
hnor: pointer to a NOR_HandleTypeDef structure that
contains the configuration information for NOR module.
Address: : Device address
Return values
HAL: status
HAL_NOR_Read_CFI
Function name
HAL_StatusTypeDef HAL_NOR_Read_CFI
(NOR_HandleTypeDef * hnor, NOR_CFITypeDef * pNOR_CFI)
Function description
Read NOR flash CFI IDs.
Parameters
hnor: pointer to a NOR_HandleTypeDef structure that
contains the configuration information for NOR module.
pNOR_CFI: : pointer to NOR CFI IDs structure
Return values
HAL: status
HAL_NOR_WriteOperation_Enable
Function name
HAL_StatusTypeDef HAL_NOR_WriteOperation_Enable
(NOR_HandleTypeDef * hnor)
Function description
Enables dynamically NOR write operation.
Parameters
hnor: pointer to a NOR_HandleTypeDef structure that
contains the configuration information for NOR module.
Return values
HAL: status

Table of Contents

Related product manuals