capi/type.h File Reference

#include "lpc2xxx.h"
#include "global.h"
Include dependency graph for type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ROUNDUP(x, to)   ((((x)+(to)-1)/(to))*(to))
#define WORD   UINT16
#define DWORD   UINT32
#define UINT   U32
#define LPSTR   (U8 *)
#define BOOL   UINT8
#define USHORT   U16
#define TRUE   1
#define FALSE   0
#define NULL   0
#define BIT_SET(n)   (1 << n)
#define BIT_CLEAR(n)   (~(1 << n))

Typedefs

typedef unsigned long UINT32
typedef long INT32
typedef unsigned short UINT16
typedef short INT16
typedef unsigned char UINT8
typedef unsigned long ULONG
typedef unsigned char UCHAR
typedef unsigned char boolean
typedef signed char INT8

Define Documentation

#define BIT_CLEAR (  )     (~(1 << n))
#define BIT_SET (  )     (1 << n)
#define BOOL   UINT8
#define DWORD   UINT32
#define FALSE   0

Referenced by f_readdir().

#define LPSTR   (U8 *)
#define NULL   0
#define ROUNDUP ( x,
to   )     ((((x)+(to)-1)/(to))*(to))

Referenced by calcHdpAndDiff(), and ssd192X_lcd_init().

#define TRUE   1
#define UINT   U32
#define USHORT   U16
#define WORD   UINT16

Referenced by get_fat(), and put_fat().


Typedef Documentation

typedef unsigned char boolean
typedef short INT16
typedef long INT32
typedef signed char INT8
typedef unsigned char UCHAR
typedef unsigned short UINT16
typedef unsigned long UINT32
typedef unsigned char UINT8
typedef unsigned long ULONG
Generated on Wed Mar 23 11:08:35 2011 for Omnima LCD by  doxygen 1.6.3