12 void Initialization(void);
\r
14 char BootFunc(char input);
\r
15 char PowerSaveFunc(char input);
\r
16 char AutoPower(char input);
\r
17 char KeyClick(char input);
\r
18 void Delay(unsigned int millisec);
\r
20 void OSCCAL_calibration(void);
\r
22 #define BOOL unsigned char;
\r
25 #define TRUE (!FALSE)
\r
28 typedef unsigned char uint8;
\r
29 typedef unsigned int uint;
\r
30 typedef unsigned long long int uint64;
\r
31 typedef unsigned long int uint32;
\r
36 #define NULL ((void *)0)
\r
41 // Macro definitions
\r
43 // sbi and cbi are not longer supported by the avr-libc
\r
44 // to avoid version-conflicts the macro-names have been
\r
45 // changed to sbiBF/cbiBF "everywhere"
\r
46 #define sbiBF(port,bit) (port |= (1<<bit)) //set bit in port
\r
47 #define cbiBF(port,bit) (port &= ~(1<<bit)) //clear bit in port
\r