exFlash control functions More...
Functions | |
hal_exflash_state_t | hal_exflash_get_state (void) |
Return the exFlash handle state. More... | |
uint32_t | hal_exflash_get_error (void) |
Return the exFlash error code. 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.
uint32_t hal_exflash_get_error | ( | void | ) |
Return the exFlash error code.
hal_exflash_state_t hal_exflash_get_state | ( | void | ) |
Return the exFlash handle state.
HAL_EXFLASH_STATE_RESET | Peripheral not initialized. |
HAL_EXFLASH_STATE_READY | Peripheral initialized and ready for use. |
HAL_EXFLASH_STATE_BUSY | Peripheral in indirect mode and busy. |
HAL_EXFLASH_STATE_BUSY_WRITE | Peripheral in indirect mode with transmission ongoing. |
HAL_EXFLASH_STATE_BUSY_READ | Peripheral in indirect mode with reception ongoing. |
HAL_EXFLASH_STATE_BUSY_ERASE | Peripheral in indirect mode with erase ongoing. |
HAL_EXFLASH_STATE_ERROR | Peripheral in error. |