C API for BALTECH SDK

§ brp_DHWCtrl_FlashRead()

brp_errcode brp_DHWCtrl_FlashRead ( brp_protocol  protocol,
unsigned  StartAdr,
unsigned  Len,
brp_buf Data,
size_t *  Data_len,
brp_mempool mempool 
)

Read data from program flash.

Parameters
[in]protocolused to execute the command
[in]StartAdrStart address of the data to read.
[in]LenNumber of Bytes to read.
[out]DataData read from the program flash.
[out]Data_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