exFlash control functions
More...
exFlash control functions
===============================================================================
##### Peripheral State and Errors functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to control the exFlash.
(+) hal_exflash_get_state()API can be helpful to check in run-time the state of the exFlash peripheral.
(+) hal_exflash_get_error() check in run-time Errors occurring during communication.
(+) hal_exflash_set_timeout() set the timeout during internal process.
◆ hal_exflash_get_error()
Return the exFlash error code.
- Parameters
-
[in] | p_exflash | Pointer to an exFlash handle which contains the configuration information for the specified exFlash module. |
- Returns
- exFlash error code in bitmap format
◆ hal_exflash_get_state()
Return the exFlash handle state.
- Parameters
-
[in] | p_exflash | Pointer to an exFlash handle which contains the configuration information for the specified exFlash module. |
- Return values
-
◆ hal_exflash_operation()
Call user XIP Flash operation functon.
- Parameters
-
[in] | p_exflash | Pointer to an exFlash handle which contains the configuration information for the specified exFlash module. |
[in] | p_func_exflash_operation | HAL exFlash operation function. |
◆ hal_exflash_set_retry()
Set the exFlash internal process timeout value.
- Parameters
-
[in] | p_exflash | Pointer to an exFlash handle which contains the configuration information for the specified exFlash module. |
[in] | retry | Internal process repeat times value. |