52 lines
1.0 KiB
C
52 lines
1.0 KiB
C
/*
|
|
* typedefExtiontion.h
|
|
*
|
|
* Created on: 4 May 2020
|
|
* Author: mreenen
|
|
*/
|
|
|
|
#ifndef TYPEDEFEXTENTION_H_
|
|
#define TYPEDEFEXTENTION_H_
|
|
|
|
|
|
typedef unsigned char uchar;
|
|
typedef unsigned int uint;
|
|
typedef unsigned long ulong;
|
|
|
|
enum bool {false=0, true=1};
|
|
|
|
#define BIT00 1ul << 0
|
|
#define BIT01 1ul << 1
|
|
#define BIT02 1ul << 2
|
|
#define BIT03 1ul << 3
|
|
#define BIT04 1ul << 4
|
|
#define BIT05 1ul << 5
|
|
#define BIT06 1ul << 6
|
|
#define BIT07 1ul << 7
|
|
#define BIT08 1ul << 8
|
|
#define BIT09 1ul << 9
|
|
#define BIT10 1ul << 10
|
|
#define BIT11 1ul << 11
|
|
#define BIT12 1ul << 12
|
|
#define BIT13 1ul << 13
|
|
#define BIT14 1ul << 14
|
|
#define BIT15 1ul << 15
|
|
#define BIT16 1ul << 16
|
|
#define BIT17 1ul << 17
|
|
#define BIT18 1ul << 18
|
|
#define BIT19 1ul << 19
|
|
#define BIT20 1ul << 20
|
|
#define BIT21 1ul << 21
|
|
#define BIT22 1ul << 22
|
|
#define BIT23 1ul << 23
|
|
#define BIT24 1ul << 24
|
|
#define BIT25 1ul << 25
|
|
#define BIT26 1ul << 26
|
|
#define BIT27 1ul << 27
|
|
#define BIT28 1ul << 28
|
|
#define BIT29 1ul << 29
|
|
#define BIT30 1ul << 30
|
|
#define BIT31 1ul << 31
|
|
|
|
#endif /* TYPEDEFEXTENTION_H_ */
|