1.5.5.4.22 SRV_FU_DataRead Function
C
void SRV_FU_DataRead(uint32_t address, uint8_t *buffer, uint16_t size);
Summary
Reads image from memory.
Description
This function is used to read the image from memory.
Precondition
The SRV_FU_Initialize function should have been called before calling this function..
Parameters
Param | Description |
---|---|
address |
Image address to read |
buffer |
Pointer to the buffer to store the information |
size |
Number of bytes to read |
Returns
None.
Example
uint32_t image[100];
SRV_FU_DataRead(0x100, &image, sizeof(image));
Remarks
This function is called by the PRIME stack.