C51 COMPILER V9.52.0.0   MDU                                                               09/21/2018 10:50:01 PAGE 1   


C51 COMPILER V9.52.0.0, COMPILATION OF MODULE MDU
OBJECT MODULE PLACED IN .\Output\MDU.obj
COMPILER INVOKED BY: F:\keil\C51\BIN\C51.EXE ..\User\Source\Function\MDU.c LARGE OMF2 WARNINGLEVEL(0) BROWSE INCDIR(..\L
                    -ibrary\FU68xx_Hardware_Driver\Include;..\User\Include) DEBUG PRINT(.\Listing\MDU.lst) OBJECT(.\Output\MDU.obj)

line level    source

   1          /**************************** (C) COPYRIGHT 2017 Fortiortech shenzhen *****************************
   2          * File Name          : AddFunction.c
   3          * Author             : Vina Peng,Fortiortech  Appliction Team
   4          * Version            : V1.0
   5          * Date               : 10-Apr-2017
   6          * Description        : This file contains MDU initial function used for Motor Control.
   7          ***************************************************************************************************
   8          * All Rights Reserved
   9          **************************************************************************************************/
  10          
  11          
  12          /* Includes -------------------------------------------------------------------------------------*/
  13          #include <FU68xx_2.h>
  14          #include <Myproject.h>
  15          
  16          //MDUControl_TypeDef xdata MDUControl;
  17          
  18          /*-------------------------------------------------------------------------------------------------
  19                  Function Name : void MDUAPP1(void)
  20                  Description   :
  21                  Input         : нч
  22            Output                                :       нч
  23          -------------------------------------------------------------------------------------------------*/
  24          void MDUAPP1(void)
  25          {
  26   1              if(mcHall.FlagSpeedCal)
  27   1              {
  28   2                      mcHall.RTheStep   = MDU_DIV_XDATA_U32(&mcHall.HallThetaBase, &mcHall.PeriodTime);                                               
  29   2                              
  30   2                      mcHall.HallSpeed        = MDU_DIV_XDATA_U32(&mcHall.HallSpeedBase, &mcHall.PeriodTime); 
  31   2                      
  32   2                      //mcHall.RealSpeed = mcHall.HallSpeed*(MOTOR_SPEED_BASE)/32767;
  33   2                                                              
  34   2                      mcHall.FlagSpeedCal = 0;        
  35   2              }                       
  36   1      }
  37          
  38          
  39          
  40          
  41          
  42          
  43          
  44          
  45          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     50    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
C51 COMPILER V9.52.0.0   MDU                                                               09/21/2018 10:50:01 PAGE 2   

   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)
