C API for BALTECH SDK

§ brp_DHWCtrl_DataflashWrite()

brp_errcode brp_DHWCtrl_DataflashWrite ( brp_protocol  protocol,
unsigned  Device,
unsigned  Mode,
unsigned  Page,
unsigned  StartAdr,
brp_buf  Data,
size_t  Data_len 
)

Write data to a certain page.

Parameters
[in]protocolused to execute the command
[in]DeviceFlash device number.
[in]ModeWriting mode.
[in]PageNumber of page to write to.
[in]StartAdrStart address relative to page.
[in]DataData to write to the Dataflash.
[in]Data_len