/************************************************************************ Project: Welling Motor Control Paltform Filename: tbs.c Partner Filename: tbs.h Description: Time base for speed loop 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): ************************************************************************/ #ifndef _TBS_C_ #define _TBS_C_ #endif /************************************************************************ Included File *************************************************************************/ #include "syspar.h" #include "user.h" #include "FSM_1st.h" #include "FSM_2nd.h" /************************************************************************ Constant Table (N/A) *************************************************************************/ /************************************************************************* Exported Functions (N/A) *************************************************************************/ /*************************************************************** Function: tbS_voIsr; Description: TBS interrupt service Call by: Input Variables: N/A Output/Return Variables: N/A Subroutine Call: ...; Reference: N/A ****************************************************************/ void tbs_voIsr(void) { FSM1st_Sys_state.Tbs_hook(); /* System FSM */ } /************************************************************************* Copyright (c) 2018 Welling Motor Technology(Shanghai) Co. Ltd. All rights reserved. *************************************************************************/ #ifdef _TBS_C_ #undef _TBS_C_ #endif /************************************************************************* End of this File (EOF)! Do not put anything after this part! *************************************************************************/