HAL NAND Generic Driver
HAL_NAND_Address_Inc
Function name
Function description
Parameters
Return values
HAL_NAND_ECC_Enable
Function name
Function description
Parameters
Return values
HAL_NAND_ECC_Disable
Function name
Function description
Parameters
Return values
HAL_NAND_GetECC
Function name
Function description
Parameters
Return values
HAL_NAND_GetState
Function name
378/1371
uint32_t HAL_NAND_Address_Inc (NAND_HandleTypeDef *
hnand, NAND_AddressTypeDef * pAddress)
Increment the NAND memory address.
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
pAddress: pointer to NAND address structure
The: new status of the increment address operation. It can
be:
NAND_VALID_ADDRESS: When the new address is
valid address
NAND_INVALID_ADDRESS: When the new address is
invalid address
HAL_StatusTypeDef HAL_NAND_ECC_Enable
(NAND_HandleTypeDef * hnand)
Enables dynamically NAND ECC feature.
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
HAL: status
HAL_StatusTypeDef HAL_NAND_ECC_Disable
(NAND_HandleTypeDef * hnand)
Disables dynamically FSMC_NAND ECC feature.
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
HAL: status
HAL_StatusTypeDef HAL_NAND_GetECC
(NAND_HandleTypeDef * hnand, uint32_t * ECCval, uint32_t
Timeout)
Disables dynamically NAND ECC feature.
hnand: pointer to a NAND_HandleTypeDef structure that
contains the configuration information for NAND module.
ECCval: pointer to ECC value
Timeout: maximum timeout to wait
HAL: status
HAL_NAND_StateTypeDef HAL_NAND_GetState
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers