From a54ad9edce697133a024aff096e50f7e4f389d5b Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Sun, 18 Mar 2012 12:22:02 +0100 Subject: digital/beacon: import Zigbit stack (bitcloud) & avr sources --- .../ConfigServer/include/csPersistentMem.h | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 digital/beacon/src/Bitcloud_stack/Components/ConfigServer/include/csPersistentMem.h (limited to 'digital/beacon/src/Bitcloud_stack/Components/ConfigServer/include/csPersistentMem.h') diff --git a/digital/beacon/src/Bitcloud_stack/Components/ConfigServer/include/csPersistentMem.h b/digital/beacon/src/Bitcloud_stack/Components/ConfigServer/include/csPersistentMem.h new file mode 100644 index 00000000..f065a345 --- /dev/null +++ b/digital/beacon/src/Bitcloud_stack/Components/ConfigServer/include/csPersistentMem.h @@ -0,0 +1,42 @@ +/****************************************************************************** + \file csPersistentMem.h + + \brief + Configuration Server persistent memory to store in EEPROM + + \author + Atmel Corporation: http://www.atmel.com \n + Support email: avr@atmel.com + + Copyright (c) 2010 , Atmel Corporation. All rights reserved. + Licensed under Atmel's Limited License Agreement (BitCloudTM). + + \internal + History: + 28.10.10 A. Razinkov - Created. +******************************************************************************/ + +#ifndef _CSPERSISTENTMEM_H_ +#define _CSPERSISTENTMEM_H_ + +/****************************************************************************** + Includes section +******************************************************************************/ +#include + +/****************************************************************************** + Defines section +******************************************************************************/ +// Offsets in EEPROM +#define SYSTEM_BASE_EEPROM_ADDRESS 0x0004 + +/****************************************************************************** + Types section +******************************************************************************/ +typedef struct _CS_PersistantData_t +{ + void* value; + int16_t offset; +} CS_PersistantData_t; + +#endif /* _CSPERSISTENTMEM_H_ */ -- cgit v1.2.3