size..) predefined by the user in the HAL_NAND_Info_TypeDef structure. The
read/write address information is contained by the Nand_Address_Typedef structure
passed as parameter.
Perform NAND flash Reset chip operation using the function HAL_NAND_Reset().
Perform NAND flash erase block operation using the function
HAL_NAND_Erase_Block(). The erase block address information is contained in the
Nand_Address_Typedef structure passed as parameter.
Read the NAND flash status operation using the function HAL_NAND_Read_Status().
You can also control the NAND device by calling the control APIs
HAL_NAND_ECC_Enable()/ HAL_NAND_ECC_Disable() to respectively
enable/disable the ECC code correction feature or the function HAL_NAND_GetECC()
to get the ECC correction code.
You can monitor the NAND device HAL state by calling the function
HAL_NAND_GetState()
This driver is a set of generic APIs which handle standard NAND flash
operations. If a NAND flash device contains different operations and/or
implementations, it should be implemented separately.
29.2.2 NAND Initialization and de-initialization functions
This section provides functions allowing to initialize/de-initialize the NAND memory
This section contains the following APIs:
HAL_NAND_Init()
HAL_NAND_DeInit()
HAL_NAND_MspInit()
HAL_NAND_MspDeInit()
HAL_NAND_IRQHandler()
HAL_NAND_ITCallback()
HAL_NAND_ConfigDevice()
HAL_NAND_Read_ID()
29.2.3 NAND Input and Output functions
This section provides functions allowing to use and control the NAND memory
This section contains the following APIs:
HAL_NAND_Read_ID()
HAL_NAND_Reset()
HAL_NAND_ConfigDevice()
HAL_NAND_Read_Page_8b()
HAL_NAND_Read_Page_16b()
HAL_NAND_Write_Page_8b()
HAL_NAND_Write_Page_16b()
HAL_NAND_Read_SpareArea_8b()
HAL_NAND_Read_SpareArea_16b()
HAL_NAND_Write_SpareArea_8b()
HAL_NAND_Write_SpareArea_16b()
HAL_NAND_Erase_Block()
HAL_NAND_Read_Status()
HAL_NAND_Address_Inc()