1.15.12.2 NVM_Read Function

C

bool NVM_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

Param Description
data pointer to user data buffer
length Number of bytes to read
address FLASH address to be read from

Returns

Always return true.

Example

uint8_t CACHE_ALIGN buffer[256];

NVM_Read( (uint32_t *) buffer, 256, 0x9D100000);