|
STM32H735xx HAL User Manual
|
Initialization and Configuration functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_NAND_Init (NAND_HandleTypeDef *hnand, FMC_NAND_PCC_TimingTypeDef *ComSpace_Timing, FMC_NAND_PCC_TimingTypeDef *AttSpace_Timing) |
| Perform NAND memory Initialization sequence. | |
| HAL_StatusTypeDef | HAL_NAND_DeInit (NAND_HandleTypeDef *hnand) |
| Perform NAND memory De-Initialization sequence. | |
| __weak void | HAL_NAND_MspInit (NAND_HandleTypeDef *hnand) |
| NAND MSP Init. | |
| __weak void | HAL_NAND_MspDeInit (NAND_HandleTypeDef *hnand) |
| NAND MSP DeInit. | |
| void | HAL_NAND_IRQHandler (NAND_HandleTypeDef *hnand) |
| This function handles NAND device interrupt request. | |
| __weak void | HAL_NAND_ITCallback (NAND_HandleTypeDef *hnand) |
| NAND interrupt feature callback. | |
| HAL_StatusTypeDef | HAL_NAND_ConfigDevice (NAND_HandleTypeDef *hnand, NAND_DeviceConfigTypeDef *pDeviceConfig) |
| Configure the device: Enter the physical parameters of the device. | |
| HAL_StatusTypeDef | HAL_NAND_Read_ID (NAND_HandleTypeDef *hnand, NAND_IDTypeDef *pNAND_ID) |
| Read the NAND memory electronic signature. | |
Initialization and Configuration functions.
==============================================================================
##### NAND Initialization and de-initialization functions #####
==============================================================================
[..]
This section provides functions allowing to initialize/de-initialize
the NAND memory
| 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 contains the configuration information for NAND module. |
| pDeviceConfig | pointer to NAND_DeviceConfigTypeDef structure |
| HAL | status |
Definition at line 497 of file stm32h7xx_hal_nand.c.
References NAND_DeviceConfigTypeDef::BlockNbr, NAND_DeviceConfigTypeDef::BlockSize, __NAND_HandleTypeDef::Config, NAND_DeviceConfigTypeDef::ExtraCommandEnable, NAND_DeviceConfigTypeDef::PageSize, NAND_DeviceConfigTypeDef::PlaneNbr, NAND_DeviceConfigTypeDef::PlaneSize, and NAND_DeviceConfigTypeDef::SpareAreaSize.
| 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 | status |
Definition at line 213 of file stm32h7xx_hal_nand.c.
References HAL_NAND_MspDeInit(), HAL_NAND_STATE_RESET, __NAND_HandleTypeDef::Init, __NAND_HandleTypeDef::Instance, __NAND_HandleTypeDef::MspDeInitCallback, and __NAND_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_NAND_Init | ( | NAND_HandleTypeDef * | hnand, |
| FMC_NAND_PCC_TimingTypeDef * | ComSpace_Timing, | ||
| FMC_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 | status |
Definition at line 158 of file stm32h7xx_hal_nand.c.
References HAL_NAND_ITCallback(), HAL_NAND_MspInit(), HAL_NAND_STATE_READY, HAL_NAND_STATE_RESET, __NAND_HandleTypeDef::Init, __NAND_HandleTypeDef::Instance, __NAND_HandleTypeDef::ItCallback, __NAND_HandleTypeDef::Lock, __NAND_HandleTypeDef::MspInitCallback, and __NAND_HandleTypeDef::State.
| void HAL_NAND_IRQHandler | ( | NAND_HandleTypeDef * | hnand | ) |
This function handles NAND device interrupt request.
| hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
| HAL | status |
Definition at line 279 of file stm32h7xx_hal_nand.c.
References HAL_NAND_ITCallback(), __NAND_HandleTypeDef::Init, __NAND_HandleTypeDef::Instance, and __NAND_HandleTypeDef::ItCallback.
| void HAL_NAND_ITCallback | ( | NAND_HandleTypeDef * | hnand | ) |
NAND interrupt feature callback.
| hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
| None |
Definition at line 345 of file stm32h7xx_hal_nand.c.
Referenced by HAL_NAND_Init(), HAL_NAND_IRQHandler(), and HAL_NAND_UnRegisterCallback().
| void HAL_NAND_MspDeInit | ( | NAND_HandleTypeDef * | hnand | ) |
NAND MSP DeInit.
| hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
| None |
Definition at line 262 of file stm32h7xx_hal_nand.c.
Referenced by HAL_NAND_DeInit(), and HAL_NAND_UnRegisterCallback().
| void HAL_NAND_MspInit | ( | NAND_HandleTypeDef * | hnand | ) |
NAND MSP Init.
| hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
| None |
Definition at line 246 of file stm32h7xx_hal_nand.c.
Referenced by HAL_NAND_Init(), and HAL_NAND_UnRegisterCallback().
| HAL_StatusTypeDef HAL_NAND_Read_ID | ( | NAND_HandleTypeDef * | hnand, |
| NAND_IDTypeDef * | pNAND_ID | ||
| ) |
Read the NAND memory electronic signature.
| hnand | pointer to a NAND_HandleTypeDef structure that contains the configuration information for NAND module. |
| pNAND_ID | NAND ID structure |
| HAL | status |
Definition at line 381 of file stm32h7xx_hal_nand.c.
References ADDR_1ST_CYCLE, ADDR_2ND_CYCLE, ADDR_3RD_CYCLE, ADDR_4TH_CYCLE, ADDR_AREA, CMD_AREA, NAND_IDTypeDef::Device_Id, NAND_IDTypeDef::Fourth_Id, HAL_NAND_STATE_BUSY, HAL_NAND_STATE_READY, __NAND_HandleTypeDef::Init, NAND_IDTypeDef::Maker_Id, NAND_CMD_READID, NAND_DEVICE, __NAND_HandleTypeDef::State, and NAND_IDTypeDef::Third_Id.
1.7.6.1