20.4.2 flash_deinit
Deinitialize the FLASH HAL instance.
int32_t flash_deinit(
struct flash_descriptor * flash
)
Abort transfer, disable and reset FLASH, and deinitialize software.
Parameters
- flash
-
Type: struct flash_descriptor Struct *
Pointer to the HAL FLASH instance.
Returns
Type: int32_t
Deinitialze status.