Hal_Nand_Write_Sparearea_8B; Hal_Nand_Read_Page_16B; Hal_Nand_Write_Page_16B; Hal_Nand_Read_Sparearea_16B - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

HAL NAND Generic Driver
Return values

HAL_NAND_Write_SpareArea_8b

Function name
Function description
Parameters
Return values

HAL_NAND_Read_Page_16b

Function name
Function description
Parameters
Return values

HAL_NAND_Write_Page_16b

Function name
Function description
Parameters
Return values

HAL_NAND_Read_SpareArea_16b

Function name
376/1371
NumSpareAreaToRead: Number of spare area to read
HAL: status
HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *
pAddress, uint8_t * pBuffer, uint32_t NumSpareAreaTowrite)
Write Spare area(s) to NAND memory.
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
pAddress: : pointer to NAND address structure
pBuffer: : pointer to source buffer to write
NumSpareAreaTowrite: : number of spare areas to write to
block
HAL: status
HAL_StatusTypeDef HAL_NAND_Read_Page_16b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *
pAddress, uint16_t * pBuffer, uint32_t NumPageToRead)
Read Page(s) from NAND memory block (16-bits addressing)
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
pAddress: : pointer to NAND address structure
pBuffer: : pointer to destination read buffer. pBuffer should
be 16bits aligned
NumPageToRead: : number of pages to read from block
HAL: status
HAL_StatusTypeDef HAL_NAND_Write_Page_16b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *
pAddress, uint16_t * pBuffer, uint32_t NumPageToWrite)
Write Page(s) to NAND memory block (16-bits addressing)
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
pAddress: : pointer to NAND address structure
pBuffer: : pointer to source buffer to write. pBuffer should be
16bits aligned
NumPageToWrite: : number of pages to write to block
HAL: status
HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF