STM32L486xx 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) |
Return 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 961 of file stm32l4xx_hal_nor.c.
HAL_NOR_StatusTypeDef HAL_NOR_GetStatus | ( | NOR_HandleTypeDef * | hnor, |
uint32_t | Address, | ||
uint32_t | Timeout | ||
) |
Return 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 976 of file stm32l4xx_hal_nor.c.
References HAL_GetTick(), HAL_NOR_MspWait(), NOR_MASK_STATUS_DQ5, and NOR_MASK_STATUS_DQ6.