![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| 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.
| [in] | protocol | used to execute the command | 
| [in] | Device | Flash device number. | 
| [in] | Page | Number of first page to erase. | 
| [in] | StartAdr | Start address relative to page. | 
| [in] | Len | Number of Bytes to read. | 
| [out] | Data | Data read from the Dataflash. | 
| [out] | Data_len | |
| [in] | mempool | is 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 |