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... | |
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. | 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.
| HAL_OK | Operation is OK. |
| HAL_ERROR | Parameter error or operation not supported. |
| HAL_BUSY | Driver is busy. |
| HAL_TIMEOUT | Timeout occurred. |