summaryrefslogtreecommitdiff
path: root/types.h
blob: a18a03b590689ef71cca19e59cc99940cd76642b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include<pgmspace.h>

typedef unsigned char  u8;
typedef   signed char  s8;
typedef unsigned short u16;
typedef   signed short s16;
typedef unsigned long  u32;
typedef   signed long  s32;

#define uchar unsigned char
#define uint unsigned int


// 8051 compatibility:

#define code PROGMEM
#define LPM(i) (__LPM_classic__(i))
#define data
#define idata
#define pdata
#define xdata

#define bit uchar