C API for BALTECH SDK

§ brp_DHWCtrl_Sm4x00WaitForFlashErase()

brp_errcode brp_DHWCtrl_Sm4x00WaitForFlashErase ( brp_protocol  protocol,
unsigned  Timeout,
brp_buf EraseResponse,
size_t *  EraseResponse_len,
brp_mempool mempool 
)

Check if flash erasing has been finished.

Parameters
[in]protocolused to execute the command
[in]Timeout
[out]EraseResponseReceived response from SM4x00 if erasing has finished. Response is empty if erasing is still in progress after Timeout expired.
[out]EraseResponse_len
[in]mempoolis used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool