includes.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /****************************************Copyright (c)****************************************************
  2. **
  3. ** http://www.powermcu.com
  4. **
  5. **--------------File Info---------------------------------------------------------------------------------
  6. ** File name: includes.h
  7. ** Descriptions: includes.h for ucos
  8. **
  9. **--------------------------------------------------------------------------------------------------------
  10. ** Created by: AVRman
  11. ** Created date: 2010-11-9
  12. ** Version: v1.0
  13. ** Descriptions: The original version
  14. **
  15. **--------------------------------------------------------------------------------------------------------
  16. ** Modified by:
  17. ** Modified date:
  18. ** Version:
  19. ** Descriptions:
  20. **
  21. *********************************************************************************************************/
  22. #ifndef __INCLUDES_H__
  23. #define __INCLUDES_H__
  24. /* Includes ------------------------------------------------------------------*/
  25. #include <stdio.h>
  26. #include <string.h>
  27. #include <ctype.h>
  28. #include <stdlib.h>
  29. #include <stdarg.h>
  30. #include <math.h>
  31. #define TRUE 0xffffffff
  32. #define FALSE 0x00000000
  33. #include <stm32f10x.h>
  34. typedef unsigned char u8_t; /* Unsigned 8 bit quantity */
  35. typedef signed char s8_t; /* Signed 8 bit quantity */
  36. typedef unsigned short u16_t; /* Unsigned 16 bit quantity */
  37. typedef signed short s16_t; /* Signed 16 bit quantity */
  38. typedef unsigned long u32_t; /* Unsigned 32 bit quantity */
  39. typedef signed long s32_t; /* Signed 32 bit quantity */
  40. typedef unsigned char INT8U; /* Unsigned 8 bit quantity */
  41. typedef unsigned char INT16U; /* Unsigned 8 bit quantity */
  42. #include "stm32f10x_flash.h"
  43. #include "Serial.h"
  44. #include "Modem.h"
  45. #include "Led.h"
  46. #include "Key.h"
  47. #include "Msg.h"
  48. #include "IAP.h"
  49. #endif
  50. /*********************************************************************************************************
  51. END FILE
  52. *********************************************************************************************************/