TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

Peripheral State functions

Peripheral State functions
[NOR Exported Functions]

Peripheral State functions. More...

Functions

HAL_NOR_StateTypeDef HAL_NOR_GetState (NOR_HandleTypeDef *hnor)
 Return the NOR controller handle 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 handle state.

Parameters:
hnor,:pointer to a NOR_HandleTypeDef structure that contains the configuration information for NOR module.
Return values:
NORcontroller state

Definition at line 977 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:
hnor,:pointer to a NOR_HandleTypeDef structure that contains the configuration information for NOR module.
Address,:Device address
Timeout,:NOR programming Timeout
Return values:
NOR_Status,:The returned value can be: HAL_NOR_STATUS_SUCCESS, HAL_NOR_STATUS_ERROR or HAL_NOR_STATUS_TIMEOUT

Definition at line 992 of file stm32l4xx_hal_nor.c.