Mark B
/
i2s
Diff: i2s/type.h
- Revision:
- 0:6d43d111bdc1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/i2s/type.h Wed Jan 20 11:44:57 2010 +0000 @@ -0,0 +1,33 @@ +/***************************************************************************** + * type.h: Type definition Header file for NXP LPC17xx Family + * Microprocessors + * + * Copyright(C) 2009, NXP Semiconductor + * All rights reserved. + * + * History + * 2009.05.25 ver 1.00 Prelimnary version, first Release + * +******************************************************************************/ +#include <stdint.h> + +#ifndef __TYPE_H__ +#define __TYPE_H__ + +#ifndef NULL +#define NULL ((void *)0) +#endif + +#ifndef FALSE +#define FALSE (0) +#endif + +#ifndef TRUE +#define TRUE (1) +#endif + + +typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus; +typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState; + +#endif /* __TYPE_H__ */