2.88.1 RAM_Read Function

C

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

Summary

Reads length number of bytes from a given address in RAM.

Description

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

Precondition

None

Parameters

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

Returns

Always returns true.

Example

uint8_t buffer[256];

RAM_Read( (uint32_t *) buffer, 256, 0x20000000);