Writes a number of bytes to a page in the internal Flash.
int32_t flash_write( struct flash_descriptor * flash, uint32_t dst_addr, uint8_t * buffer, uint32_t length )
Type: struct flash_descriptor Struct *
Pointer to the HAL FLASH instance.
Type: uint32_t
Destination bytes address to write into flash
Type: uint8_t *
Pointer to a buffer where the content will be written to the flash
Type: uint32_t
Number of bytes to write
Type: int32_t
Write status.