29.2.4 NAND Control functions
This subsection provides a set of functions allowing to control dynamically the NAND
interface.
This section contains the following APIs:
HAL_NAND_ECC_Enable()
HAL_NAND_ECC_Disable()
HAL_NAND_GetECC()
29.2.5 NAND State functions
This subsection permits to get in run-time the status of the NAND controller and the data
flow.
This section contains the following APIs:
HAL_NAND_GetState()
HAL_NAND_Read_Status()
29.2.6 Detailed description of functions
HAL_NAND_Init
HAL_StatusTypeDef HAL_NAND_Init (NAND_HandleTypeDef *
hnand, FSMC_NAND_PCC_TimingTypeDef *
ComSpace_Timing, FSMC_NAND_PCC_TimingTypeDef *
AttSpace_Timing)
Perform NAND memory Initialization sequence.
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
ComSpace_Timing: pointer to Common space timing
structure
AttSpace_Timing: pointer to Attribute space timing structure
HAL_NAND_DeInit
HAL_StatusTypeDef HAL_NAND_DeInit
(NAND_HandleTypeDef * hnand)
Perform NAND memory De-Initialization sequence.
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
HAL_NAND_ConfigDevice
HAL_StatusTypeDef HAL_NAND_ConfigDevice
(NAND_HandleTypeDef * hnand, NAND_DeviceConfigTypeDef
* pDeviceConfig)
Configure the device: Enter the physical parameters of the device.
hnand: pointer to a NAND_HandleTypeDef structure that