STM32F479xx HAL User Manual
|
Peripheral State functions. More...
Functions | |
HAL_NOR_StateTypeDef | HAL_NOR_GetState (NOR_HandleTypeDef *hnor) |
return the NOR controller state | |
HAL_NOR_StatusTypeDef | HAL_NOR_GetStatus (NOR_HandleTypeDef *hnor, uint32_t Address, uint32_t Timeout) |
Returns the NOR operation status. |
Peripheral State functions.
============================================================================== ##### NOR State functions ##### ============================================================================== [..] This subsection permits to get in run-time the status of the NOR controller and the data flow.
HAL_NOR_StateTypeDef HAL_NOR_GetState | ( | NOR_HandleTypeDef * | hnor | ) |
return the NOR controller state
hnor | pointer to a NOR_HandleTypeDef structure that contains the configuration information for NOR module. |
NOR | controller state |
Definition at line 1381 of file stm32f4xx_hal_nor.c.
HAL_NOR_StatusTypeDef HAL_NOR_GetStatus | ( | NOR_HandleTypeDef * | hnor, |
uint32_t | Address, | ||
uint32_t | Timeout | ||
) |
Returns the NOR operation status.
hnor | pointer to a NOR_HandleTypeDef structure that contains the configuration information for NOR module. |
Address | Device address |
Timeout | NOR programming Timeout |
NOR_Status | The returned value can be: HAL_NOR_STATUS_SUCCESS, HAL_NOR_STATUS_ERROR or HAL_NOR_STATUS_TIMEOUT |
Definition at line 1395 of file stm32f4xx_hal_nor.c.
References HAL_GetTick(), HAL_NOR_MspWait(), NOR_AMD_FUJITSU_COMMAND_SET, NOR_CMD_READ_STATUS_REG, NOR_INTEL_SHARP_EXT_COMMAND_SET, NOR_MASK_STATUS_DQ4, NOR_MASK_STATUS_DQ5, NOR_MASK_STATUS_DQ6, and NOR_MASK_STATUS_DQ7.