C API for BALTECH SDK

§ brp_DHWCtrl_DataflashGetSize()

brp_errcode brp_DHWCtrl_DataflashGetSize ( brp_protocol  protocol,
unsigned  Device,
unsigned *  PageCount,
unsigned *  PageSize 
)

Retrieves the flash size.

Parameters
[in]protocolused to execute the command
[in]DeviceFlash device number.
[out]PageCountNumber of pages.
[out]PageSizeSize of a page.