![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| 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.
| [in] | protocol | used to execute the command | 
| [in] | StartAdr | Start address of the data to read. | 
| [in] | Len | Number of Bytes to read. | 
| [out] | Data | Data read from the program flash. | 
| [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 |