tbs.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /************************************************************************
  2. Project: Welling Motor Control Paltform
  3. Filename: tbs.h
  4. Partner Filename: tbs.c
  5. Description: The header file of tbs.c
  6. Complier: IAR Embedded Workbench for ARM 7.80, IAR Systems.
  7. CPU TYPE : GD32F3x0
  8. *************************************************************************
  9. Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd.
  10. All rights reserved.
  11. *************************************************************************
  12. *************************************************************************
  13. Revising History (ECL of this file):
  14. ************************************************************************/
  15. /************************************************************************
  16. Beginning of File, do not put anything above here except notes
  17. Compiler Directives
  18. ************************************************************************/
  19. #ifndef TBS_H
  20. #define TBS_H
  21. #include "typedefine.h"
  22. /************************************************************************
  23. Compiler Directives (N/A)
  24. *************************************************************************/
  25. #ifdef _TBS_C_
  26. #define _TBS_EXT
  27. #else
  28. #define _TBS_EXT extern
  29. #endif
  30. /************************************************************************
  31. Definitions & Macros
  32. *************************************************************************/
  33. /************************************************************************
  34. TypeDefs & Structure defines (N/A)
  35. *************************************************************************/
  36. /************************************************************************
  37. Constant Table
  38. *************************************************************************/
  39. /************************************************************************
  40. Exported Variables
  41. *************************************************************************/
  42. /************************************************************************
  43. RAM ALLOCATION (N/A)
  44. *************************************************************************/
  45. /************************************************************************
  46. Exported Function Call Prototypes
  47. *************************************************************************/
  48. #ifdef _TBS_C_
  49. _TBS_EXT void tbs_voIsr(void);
  50. #else
  51. _TBS_EXT void tbs_voIsr(void);
  52. #endif
  53. /************************************************************************
  54. Local Function Call Prototypes (N/A)
  55. *************************************************************************/
  56. /************************************************************************
  57. Flag Define (N/A)
  58. *************************************************************************/
  59. /***********************************************************************/
  60. #endif
  61. /************************************************************************
  62. Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd.
  63. All rights reserved.
  64. *************************************************************************
  65. End of this File (EOF)!
  66. Do not put anything after this part!
  67. *************************************************************************/