1.3.15.2 1.4.13.2 1.5.14.2 1.29.15.2 1.30.10.2 1.31.10.2 1.32.16.2 1.33.10.2 1.37.10.2 1.38.13.2 1.39.10.2 1.40.13.2 NVMCTRL_Read Function
C
bool NVMCTRL_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 returns true.
Example
uint8_t buffer[256]; NVMCTRL_Read( (uint32_t *) buffer, 256, 0x20000);