![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| 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.
| [in] | protocol | used to execute the command | 
| [in] | Device | Flash device number. | 
| [in] | Mode | Writing mode. | 
| [in] | Page | Number of page to write to. | 
| [in] | StartAdr | Start address relative to page. | 
| [in] | Data | Data to write to the Dataflash. | 
| [in] | Data_len |