2.43.2 FCR_Read Function

C

bool FCR_Read( uint32_t *data, uint32_t length, uint32_t address )

Summary

Reads length number of bytes from a given address in FLASH memory.

Description

Reads length number of bytes from a given address in FLASH memory into the user buffer.

Precondition

None

Parameters

ParamDescription
datapointer to user data buffer
lengthNumber of bytes to read
addressFLASH address to be read from

Returns

True - If Flash read is successful

False - If Flash read is not successful

Example

uint8_t buffer[256];

FCR_Read( (uint32_t *) buffer, 256, 0xC008000U);