/************************************************************************ Project: Welling Motor Control Paltform Filename: tbc.h Partner Filename: tbc.c Description: The header file of tbc.c Complier: IAR Embedded Workbench for ARM 7.80, IAR Systems. CPU TYPE : GD32F3x0 ************************************************************************* Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd. All rights reserved. ************************************************************************* ************************************************************************* Revising History (ECL of this file): ************************************************************************/ /************************************************************************ Beginning of File, do not put anything above here except notes Compiler Directives: *************************************************************************/ #include "typedefine.h" #ifndef TBC_H #define TBC_H /************************************************************************ Compiler Directives (N/A) *************************************************************************/ #ifdef _TBC_C_ #define _TBC_EXT #else #define _TBC_EXT extern #endif /************************************************************************ Definitions & Macros *************************************************************************/ /************************************************************************ TypeDefs & Structure defines (N/A) *************************************************************************/ /************************************************************************ Constant Table *************************************************************************/ /************************************************************************ Exported Variables *************************************************************************/ #ifdef _TBC_C_ _TBC_EXT ULONG tbc_ulResDetCnt = 0; _TBC_EXT UWORD tbc_uwTbcCnt1 = 0; _TBC_EXT UWORD tbc_uwTbcCnt2 = 0; #else _TBC_EXT ULONG tbc_ulResDetCnt; _TBC_EXT UWORD tbc_uwTbcCnt1; _TBC_EXT UWORD tbc_uwTbcCnt2; #endif /************************************************************************ RAM ALLOCATION (N/A) *************************************************************************/ /************************************************************************ Exported Function Call Prototypes *************************************************************************/ #ifdef _TBC_C_ _TBC_EXT void tbc_voUpIsr(void); _TBC_EXT void tbc_voDownIsr(void); #else _TBC_EXT void tbc_voUpIsr(void); _TBC_EXT void tbc_voDownIsr(void); #endif /************************************************************************ Local Function Call Prototypes (N/A) *************************************************************************/ /************************************************************************ Flag Define (N/A) *************************************************************************/ /***********************************************************************/ #endif /************************************************************************ Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd. All rights reserved. ************************************************************************* End of this File (EOF)! Do not put anything after this part! *************************************************************************/