![]() |
GM6000 Digital Heater Controller Branch: main
SDX-1330
|
This file contains the magic values for how data is laid out in the off-board EEPROM.
#include "colony_config.h"
#include "Cpl/Persistent/CrcChunk.h"
#include "Cpl/Persistent/MirroredChunk.h"
Go to the source code of this file.
#define AJAX_MAIN_APPLICATION_RECORDS_START_OFFSET 0 |
Starting offset for Application Records.
#define AJAX_MAIN_CRC_CHUNK_META_LEN Cpl::Persistent::CrcChunk::FRAME_OVERHEAD |
Metadata length for a CRC Chunk.
#define AJAX_MAIN_LOGENTRIES_REGION_DATA_LEN ( 159 * OPTION_AJAX_MAIN_MAX_LOG_ENTRIES ) |
LOGGING - Entries Record/Region.
#define AJAX_MAIN_LOGENTRIES_REGION_LENGTH ( AJAX_MAIN_LOGENTRIES_REGION_RESERVED + AJAX_MAIN_LOGENTRIES_REGION_DATA_LEN ) |
METRICS Record/Region.
#define AJAX_MAIN_LOGENTRIES_REGION_NEXT_OFFSET ( AJAX_MAIN_LOGENTRIES_REGION_START_ADDRESS + AJAX_MAIN_LOGENTRIES_REGION_LENGTH ) |
METRICS Record/Region.
#define AJAX_MAIN_LOGENTRIES_REGION_RESERVED 0 |
METRICS Record/Region.
#define AJAX_MAIN_LOGENTRIES_REGION_START_ADDRESS ( AJAX_MAIN_LOGINDEX_REGION_NEXT_OFFSET ) |
METRICS Record/Region.
#define AJAX_MAIN_LOGINDEX_REGION_A_START_ADDRESS ( AJAX_MAIN_METRICS_REGION_NEXT_OFFSET ) |
METRICS Record/Region.
#define AJAX_MAIN_LOGINDEX_REGION_B_START_ADDRESS ( AJAX_MAIN_LOGINDEX_REGION_A_START_ADDRESS + AJAX_MAIN_LOGINDEX_REGION_LENGTH ) |
METRICS Record/Region
#define AJAX_MAIN_LOGINDEX_REGION_DATA_LEN 12 |
LOGGING - Index Record/Region.
#define AJAX_MAIN_LOGINDEX_REGION_LENGTH ( AJAX_MAIN_LOGINDEX_REGION_RESERVED + AJAX_MAIN_LOGINDEX_REGION_DATA_LEN + AJAX_MAIN_MIRRORED_CHUNK_META_LEN ) |
METRICS Record/Region.
#define AJAX_MAIN_LOGINDEX_REGION_NEXT_OFFSET ( AJAX_MAIN_LOGINDEX_REGION_B_START_ADDRESS + AJAX_MAIN_LOGINDEX_REGION_LENGTH ) |
METRICS Record/Region.
#define AJAX_MAIN_LOGINDEX_REGION_RESERVED 32 |
METRICS Record/Region
#define AJAX_MAIN_METRICS_REGION_A_START_ADDRESS ( AJAX_MAIN_PERSONALITY_REGION_NEXT_OFFSET ) |
METRICS Record/Region.
#define AJAX_MAIN_METRICS_REGION_B_START_ADDRESS ( AJAX_MAIN_METRICS_REGION_A_START_ADDRESS + AJAX_MAIN_METRICS_REGION_LENGTH ) |
METRICS Record/Region.
#define AJAX_MAIN_METRICS_REGION_DATA_LEN 64 |
METRICS Record/Region.
#define AJAX_MAIN_METRICS_REGION_LENGTH ( AJAX_MAIN_METRICS_REGION_RESERVED + AJAX_MAIN_METRICS_REGION_DATA_LEN + AJAX_MAIN_MIRRORED_CHUNK_META_LEN ) |
METRICS Record/Region.
#define AJAX_MAIN_METRICS_REGION_NEXT_OFFSET ( AJAX_MAIN_METRICS_REGION_B_START_ADDRESS + AJAX_MAIN_METRICS_REGION_LENGTH ) |
METRICS Record/Region.
#define AJAX_MAIN_METRICS_REGION_RESERVED 64 |
METRICS Record/Region
#define AJAX_MAIN_MIRRORED_CHUNK_META_LEN Cpl::Persistent::MirroredChunk::FRAME_OVERHEAD |
Metadata length for a Mirrored Chunk.
#define AJAX_MAIN_PERSONALITY_REGION_A_START_ADDRESS ( AJAX_MAIN_USER_REGION_NEXT_OFFSET ) |
PERSONALITY Record/Region.
#define AJAX_MAIN_PERSONALITY_REGION_B_START_ADDRESS ( AJAX_MAIN_PERSONALITY_REGION_A_START_ADDRESS + AJAX_MAIN_PERSONALITY_REGION_LENGTH ) |
PERSONALITY Record/Region.
#define AJAX_MAIN_PERSONALITY_REGION_DATA_LEN 193 |
PERSONALITY Record/Region.
#define AJAX_MAIN_PERSONALITY_REGION_LENGTH ( AJAX_MAIN_PERSONALITY_REGION_RESERVED + AJAX_MAIN_PERSONALITY_REGION_DATA_LEN + AJAX_MAIN_MIRRORED_CHUNK_META_LEN ) |
PERSONALITY Record/Region.
#define AJAX_MAIN_PERSONALITY_REGION_NEXT_OFFSET ( AJAX_MAIN_PERSONALITY_REGION_B_START_ADDRESS + AJAX_MAIN_PERSONALITY_REGION_LENGTH ) |
PERSONALITY Record/Region.
#define AJAX_MAIN_PERSONALITY_REGION_RESERVED 64 |
PERSONALITY Record/Region
#define AJAX_MAIN_USER_REGION_A_START_ADDRESS ( AJAX_MAIN_APPLICATION_RECORDS_START_OFFSET ) |
USER Record/Region.
#define AJAX_MAIN_USER_REGION_B_START_ADDRESS ( AJAX_MAIN_USER_REGION_A_START_ADDRESS + AJAX_MAIN_USER_REGION_LENGTH ) |
USER Record/Region
#define AJAX_MAIN_USER_REGION_DATA_LEN 64 |
USER Record/Region.
#define AJAX_MAIN_USER_REGION_LENGTH ( AJAX_MAIN_USER_REGION_DATA_LEN + AJAX_MAIN_USER_REGION_RESERVED + AJAX_MAIN_MIRRORED_CHUNK_META_LEN ) |
USER Record/Region.
#define AJAX_MAIN_USER_REGION_NEXT_OFFSET ( AJAX_MAIN_USER_REGION_B_START_ADDRESS + AJAX_MAIN_USER_REGION_LENGTH ) |
USER Record/Region.
#define AJAX_MAIN_USER_REGION_RESERVED 64 |
USER Record/Region
#define OPTION_AJAX_MAIN_MAX_LOG_ENTRIES 256 |
Maximum number of log entries.