STM32F439xx 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 452 of file stm32f4xx_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 193 of file stm32f4xx_hal_nand.c.
References HAL_NAND_MspDeInit(), HAL_NAND_STATE_RESET, NAND_HandleTypeDef::Init, NAND_HandleTypeDef::Instance, 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 153 of file stm32f4xx_hal_nand.c.
References HAL_NAND_MspInit(), HAL_NAND_STATE_READY, HAL_NAND_STATE_RESET, NAND_HandleTypeDef::Init, NAND_HandleTypeDef::Instance, NAND_HandleTypeDef::Lock, 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 247 of file stm32f4xx_hal_nand.c.
References HAL_NAND_ITCallback(), NAND_HandleTypeDef::Init, and NAND_HandleTypeDef::Instance.
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 296 of file stm32f4xx_hal_nand.c.
Referenced by HAL_NAND_IRQHandler().
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 231 of file stm32f4xx_hal_nand.c.
Referenced by HAL_NAND_DeInit().
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 216 of file stm32f4xx_hal_nand.c.
Referenced by HAL_NAND_Init().
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 331 of file stm32f4xx_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_DEVICE1, NAND_DEVICE2, NAND_HandleTypeDef::State, and NAND_IDTypeDef::Third_Id.