Initialization and de-initialization functions

Initialization and de-initialization functions. More...

Functions

uint32_t hal_exflash_init (exflash_func_t *exflash_func)
 Initialize the exFlash according to the specified parameters in the exflash_init_t and initialize the associated handle. More...
 
void hal_exflash_deinit (void)
 De-Initialize the exFlash. More...
 

Detailed Description

Initialization and de-initialization functions.

 ===============================================================================
              ##### Initialization and de-initialization functions #####
 ===============================================================================
    [..]  This subsection provides a set of functions allowing to initialize and
          de-initialize the exFlash peripheral:

      (+) User must implement hal_exflash_msp_init() function in which he configures
          all related peripherals resources (GPIO, DMA, IT and NVIC ).

      (+) Call the function hal_exflash_deinit() to restore the default configuration
          of the selected exFlash peripheral.

Function Documentation

◆ hal_exflash_deinit()

void hal_exflash_deinit ( void  )

De-Initialize the exFlash.

◆ hal_exflash_init()

uint32_t hal_exflash_init ( exflash_func_t exflash_func)

Initialize the exFlash according to the specified parameters in the exflash_init_t and initialize the associated handle.

Return values
HAL_OKOperation is OK.
HAL_ERRORParameter error or operation not supported.
HAL_BUSYDriver is busy.
HAL_TIMEOUTTimeout occurred.