1.35.9.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

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

Returns

Always returns true.

Example

uint8_t buffer[256];

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