You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1005 B
33 lines
1005 B
|
|
#ifndef MEMORY_H_
|
|
#define MEMORY_H_
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <inttypes.h>
|
|
#include "IDIBUS_DEFS.h"
|
|
#include "config.h"
|
|
#include "MEMORY.h"
|
|
|
|
#define _APP_VERSION_
|
|
|
|
|
|
typedef volatile struct{
|
|
volatile uint8_t Padding;
|
|
volatile uint8_t GS1_country[IDISN_FIXP_GS1_COUNTRY_Length];
|
|
volatile uint8_t GS1_company[IDISN_FIXP_GS1_COMPANY_Length];
|
|
volatile uint8_t ModuleType[IDISN_FIXP_MODULE_TYPE_Length];
|
|
volatile uint8_t HW_revision[IDISN_FIXP_HW_REV_Length];
|
|
volatile uint8_t SN[IDISN_FIXP_SERIAL_Length];
|
|
volatile uint8_t MAC[IDISN_FIXP_MAC_Length];
|
|
volatile uint8_t SW[IDISN_FIXP_SW_REV_Length]; //SW Version (Bootloader/App)
|
|
volatile uint32_t AppCRC; //Only in APP
|
|
} FLASH_DATABLOCK;
|
|
//Universal data block
|
|
|
|
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* MEMORY_H_ */ |