Design Pattern Examples
Overview of object-oriented design patterns
MemoryBlock Struct Reference

Represents a single memory block. More...

Collaboration diagram for MemoryBlock:
Collaboration graph

Public Attributes

const char * name
 Name of a memory block so it can be addressed individually.
 
bool locked
 True if a caller has acquired this memory block for exclusive access; otherwise, false, memory cannot be accessed.
 
uint32_t data [MAX_DATA_SIZE]
 Data held in this memory block, stored as 32-bit values. Least significant byte is first byte of each value.
 

Detailed Description

Represents a single memory block.

Definition at line 25 of file Adapter_BackEnd.c.

Member Data Documentation

◆ data

uint32_t data[MAX_DATA_SIZE]

Data held in this memory block, stored as 32-bit values. Least significant byte is first byte of each value.

Definition at line 42 of file Adapter_BackEnd.c.

Referenced by DDR_GetDataChunk(), and DDR_SetDataChunk().

◆ locked

bool locked

True if a caller has acquired this memory block for exclusive access; otherwise, false, memory cannot be accessed.

Definition at line 36 of file Adapter_BackEnd.c.

Referenced by DDR_CloseMemoryBlock(), and DDR_OpenMemoryBlock().

◆ name

const char* name

Name of a memory block so it can be addressed individually.

Definition at line 30 of file Adapter_BackEnd.c.


The documentation for this struct was generated from the following file: