tbt.h 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /************************************************************************
  2. Project: Welling Motor Control Paltform
  3. Filename: tbt.h
  4. Partner Filename: tbt.c
  5. Description: The header file of tbt.c
  6. Complier: IAR Embedded Workbench for ARM 7.80.4
  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 TBT_H
  20. #define TBT_H
  21. /************************************************************************
  22. Compiler Directives (N/A)
  23. ************************************************************************/
  24. #ifdef _TBT_C_
  25. #define _TBT_EXT
  26. #else
  27. #define _TBT_EXT extern
  28. #endif
  29. /************************************************************************
  30. Definitions & Macros (#define ...)
  31. ************************************************************************/
  32. //#define xxx xxx
  33. /************************************************************************
  34. TypeDefs & Structure defines for " XXX "
  35. ************************************************************************/
  36. /*typedef struct
  37. {
  38. UWORD XXX;
  39. } XXX;*/
  40. /************************************************************************
  41. Constant Table
  42. *************************************************************************/
  43. /************************************************************************
  44. Exported Variables:
  45. ************************************************************************/
  46. // TEMPLATE_EXT UWORD xxx_uwXXX;
  47. /************************************************************************
  48. RAM ALLOCATION:
  49. ************************************************************************/
  50. //#define xxx_stXXX (*(XXX *)TBC_BUFFER)
  51. /************************************************************************
  52. Exported Function Call Prototypes (N/A)
  53. ************************************************************************/
  54. #ifdef _TBT_C_
  55. _TBT_EXT void tbt_voIsr(void);
  56. #else
  57. _TBT_EXT void tbt_voIsr(void);
  58. #endif
  59. /************************************************************************
  60. Local Function Call Prototypes (N/A)
  61. ************************************************************************/
  62. /************************************************************************
  63. Flag Define (N/A)
  64. ************************************************************************/
  65. /***********************************************************************/
  66. #endif
  67. /************************************************************************
  68. Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd.
  69. All rights reserved.
  70. *************************************************************************
  71. End of this File (EOF):
  72. Do not put anything after this part!
  73. ************************************************************************/