C51 COMPILER V9.52.0.0   INTERRUPT                                                         09/28/2018 11:22:56 PAGE 1   


C51 COMPILER V9.52.0.0, COMPILATION OF MODULE INTERRUPT
OBJECT MODULE PLACED IN .\Output\Interrupt.obj
COMPILER INVOKED BY: D:\FortiorTech\Software\Mcu\C51\BIN\C51.EXE ..\User\Source\Application\Interrupt.c LARGE OMF2 WARNI
                    -NGLEVEL(0) BROWSE INCDIR(..\Library\FU68xx_Hardware_Driver\Include;..\User\Include) DEBUG PRINT(.\Listing\Interrupt.lst)
                    - OBJECT(.\Output\Interrupt.obj)

line level    source

   1          /**************************** (C) COPYRIGHT 2017 Fortiortech shenzhen *****************************
   2          * File Name          : Interrupt.c
   3          * Author             : Vina Peng,Fortiortech  Appliction Team
   4          * Version            : V1.0
   5          * Date               : 2017-12-26
   6          * Description        : This file contains all the interrupt function used for Motor Control.
   7          ***************************************************************************************************
   8          * All Rights Reserved
   9          **************************************************************************************************/
  10          
  11          
  12          /* Includes -------------------------------------------------------------------------------------*/
  13          // #include <Interrupt.h>
  14          #include <FU68xx_2.h>
  15          #include <Myproject.h>
  16          #include <Customer_Debug.h>
  17          /*---------------------------------------------------------------------------*/
  18          /* Name     :   void TIM23_INT(void) interrupt 9
  19          /* Input    :   NO
  20          /* Output   :   NO
  21          /* Description: Capture PWM ，中断优先级第二，高于FOC中断，用于PWM调速
  22          /*---------------------------------------------------------------------------*/
  23          //void TIM3_INT(void) interrupt 9
  24          //{
  25          //      
  26          //    if(ReadBit(TIM3_CR1, T3IR))
  27          //    {
  28          //        ClrBit(TIM3_CR1, T3IR);
  29          //    }
  30          //    if(ReadBit(TIM3_CR1, T3IP))//周期中断
  31          //    {
  32          //        mcPwmInput.PWMCompare    = TIM3__DR;
  33          //        mcPwmInput.PWMARR        = TIM3__ARR;
  34          //        mcPwmInput.PWMFlag = 1;
  35          //       ClrBit(TIM3_CR1, T3IP);
  36          //    }
  37          //    if(ReadBit(TIM3_CR1, T3IF))
  38          //    {
  39          //    if(GP11)//PWM 100%输出
  40          //    {
  41          //        mcPwmInput.PWMCompare = 8000;
  42          //        mcPwmInput.PWMARR     = 8000;
  43          //    }
  44          //    else//PWM 为0%
  45          //    {
  46          //        mcPwmInput.PWMCompare = 0;
  47          //        mcPwmInput.PWMARR     = 8000;
  48          //    }
  49          //    mcPwmInput.PWMFlag =1;
  50          //    ClrBit(TIM3_CR1, T3IF);
  51          //    }
  52          //}

C51 COMPILER V9.52.0.0   INTERRUPT                                                         09/28/2018 11:22:56 PAGE 2   


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =   ----    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
   EDATA SIZE       =   ----    ----
   HDATA SIZE       =   ----    ----
   XDATA CONST SIZE =   ----    ----
   FAR CONST SIZE   =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)
