STM32L486xx HAL User Manual
Functions
NOR State functions
NOR Exported Functions

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.

Detailed Description

Peripheral State functions.

  ==============================================================================
                      ##### NOR State functions #####
  ==============================================================================
  [..]
    This subsection permits to get in run-time the status of the NOR controller
    and the data flow.


Function Documentation

HAL_NOR_StateTypeDef HAL_NOR_GetState ( NOR_HandleTypeDef *  hnor)

Return the NOR controller state.

Parameters:
hnorpointer to a NOR_HandleTypeDef structure that contains the configuration information for NOR module.
Return values:
NORcontroller 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.

Parameters:
hnorpointer to a NOR_HandleTypeDef structure that contains the configuration information for NOR module.
AddressDevice address
TimeoutNOR programming Timeout
Return values:
NOR_StatusThe 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.