C API for BALTECH SDK

§ brp_DHWCtrl_DataflashRead()

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

Read data within a certain page.

Parameters
[in]protocolused to execute the command
[in]DeviceFlash device number.
[in]PageNumber of first page to erase.
[in]StartAdrStart address relative to page.
[in]LenNumber of Bytes to read.
[out]DataData read from the Dataflash.
[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