Remote Access Control


common.h

Go to the documentation of this file.
00001 // This file has been prepared for Doxygen automatic documentation generation.
00049 #ifndef COMMON_H
00050 #define COMMON_H
00051 
00052 #include <ioavr.h>
00053 #include <inavr.h>
00054 #include <stdbool.h>
00055 
00056 
00057 // Typedefs from the C99 standard.
00058 typedef signed char int8_t;
00059 typedef unsigned char uint8_t;
00060 typedef short int16_t;
00061 typedef unsigned short uint16_t;
00062 typedef long int32_t;
00063 typedef unsigned long uint32_t;
00064 
00065 typedef uint8_t byte; 
00066 
00067 
00068 
00070 void copyBytes( byte * destination, const byte * source, byte count);
00072 void addConstant( byte * bytes, const byte * constant, byte count );
00074 void addConstantFromEEPROM( byte * bytes,
00075                 const byte __eeprom * constant, byte count );
00077 void copyBytesToEEPROM( byte __eeprom * destination,
00078                 const byte * source, byte count );
00080 void copyBytesFromEEPROM( byte * destination,
00081                 const byte __eeprom * source, byte count );
00082 
00083 
00084 
00085 #endif
00086 
@DOC_TITLE@
Generated on Fri Aug 8 11:03:47 2008 for AVR411 Secure Rolling Code Algorithm (Receiver) by doxygen 1.4.7