FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
Data Fields
blockDetails Struct Reference

Addressable memory block description. More...

#include <generalTypes.h>

Data Fields

unsigned short flags
 Property flags, see flag masks above.
unsigned short parent
 Location ID of parent block if sub block.
unsigned char RAMPage
 RAM page number.
unsigned char FlashPage
 Flash page number.
void * RAMAddress
 RAM address.
void * FlashAddress
 Flash address.
unsigned short size
 Memory block size.

Detailed Description

Addressable memory block description.

This structure holds all details required to manipulate a particular block.

It is used for passing around the details of a memory block to allow serial operations on RAM and flash data structures in a safe and protected way.

block_ prefixed defines are masks for the flag field in the this struct.

Definition at line 74 of file generalTypes.h.

Field Documentation

unsigned short blockDetails::flags

Property flags, see flag masks above.

Definition at line 75 of file generalTypes.h.

Referenced by decodePacketAndRespond(), lookupBlockDetails(), and lookupMainTable().

unsigned short blockDetails::parent

Location ID of parent block if sub block.

Definition at line 76 of file generalTypes.h.

Referenced by lookupBlockDetails().

unsigned char blockDetails::RAMPage

RAM page number.

Definition at line 77 of file generalTypes.h.

Referenced by decodePacketAndRespond(), lookupBlockDetails(), lookupMainTable(), and writeBlock().

unsigned char blockDetails::FlashPage

Flash page number.

Definition at line 78 of file generalTypes.h.

Referenced by decodePacketAndRespond(), lookupBlockDetails(), and writeBlock().

void* blockDetails::RAMAddress

RAM address.

Definition at line 79 of file generalTypes.h.

Referenced by decodePacketAndRespond(), lookupBlockDetails(), lookupMainTable(), and writeBlock().

void* blockDetails::FlashAddress

Flash address.

Definition at line 80 of file generalTypes.h.

Referenced by decodePacketAndRespond(), lookupBlockDetails(), and writeBlock().

unsigned short blockDetails::size

Memory block size.

Definition at line 81 of file generalTypes.h.

Referenced by decodePacketAndRespond(), lookupBlockDetails(), and writeBlock().


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