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 #376 background imageLoading...
Page #376 background image
HAL NAND Generic Driver
UM1940
376/1371
DocID028236 Rev 2
NumSpareAreaToRead: Number of spare area to read
Return values
HAL: status
HAL_NAND_Write_SpareArea_8b
Function name
HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *
pAddress, uint8_t * pBuffer, uint32_t NumSpareAreaTowrite)
Function description
Write Spare area(s) to NAND memory.
Parameters
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
Return values
HAL: status
HAL_NAND_Read_Page_16b
Function name
HAL_StatusTypeDef HAL_NAND_Read_Page_16b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *
pAddress, uint16_t * pBuffer, uint32_t NumPageToRead)
Function description
Read Page(s) from NAND memory block (16-bits addressing)
Parameters
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
Return values
HAL: status
HAL_NAND_Write_Page_16b
Function name
HAL_StatusTypeDef HAL_NAND_Write_Page_16b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *
pAddress, uint16_t * pBuffer, uint32_t NumPageToWrite)
Function description
Write Page(s) to NAND memory block (16-bits addressing)
Parameters
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
Return values
HAL: status
HAL_NAND_Read_SpareArea_16b
Function name
HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b
(NAND_HandleTypeDef * hnand, NAND_AddressTypeDef *

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