// // Date init 14.12.2004 // // Revision date $Date:: 24-04-08 14:33 $ // // Filename $Workfile:: sam7s256.h $ // // Version $Revision:: 5 $ // // Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Sam7s256/Incl $ // // Platform C // #ifndef SAM7S256_H #define SAM7S256_H #include "ioat91sam7s256.h" #define SAM7S256 #define HARDWAREInit {\ ULONG TmpReset;\ *AT91C_RSTC_RMR = 0xA5000401;\ *AT91C_AIC_DCR = 1;\ *AT91C_PITC_PIMR = (0x000FFFFF | 0x01000000);\ TmpReset = *AT91C_PITC_PIVR;\ TmpReset = TmpReset;/* Suppress warning*/\ *AT91C_PMC_PCER = (1L<