Register a function as FLASH transfer completion callback.
int32_t flash_register_callback( struct flash_descriptor * flash, const enum flash_cb_type type, flash_cb_t func )
Type: struct flash_descriptor Struct *
Pointer to the HAL FLASH instance.
Type: const enum flash_cb_type Enum
Callback type (flash_cb_type Enum).
Type: flash_cb_t typedef
Pointer to callback function.
Type: int32_t
Success
Error