C51 COMPILER V9.52.0.0   PIINIT                                                            09/21/2018 11:01:08 PAGE 1   


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

line level    source

   1          
   2          /**************************** (C) COPYRIGHT 2017 Fortiortech shenzhen *****************************
   3          * File Name          : PIInit.c
   4          * Author             : Fortiortech  Appliction Team
   5          * Version            : V1.0
   6          * Date               : 10-Apr-2017
   7          * Description        : This file contains PI initial function used for Motor Control.
   8          ***************************************************************************************************
   9          * All Rights Reserved
  10          **************************************************************************************************/
  11          
  12          
  13          /* Includes -------------------------------------------------------------------------------------*/
  14          #include <FU68xx_2.h>
  15          #include <Myproject.h>
  16          
  17          void PI_Init(void)
  18          {
  19   1              #if (Speed_Loop_Mode == Speed_Loop_Enable)
                      {
                              PI_KP = SKP;
                              PI_KI = SKI;
                              PI_EK = 0;
                              PI_LPF_CR |= 0x02;                                                                      // Start PI
                              PI_UKMAX = SOUTMAX;
                              PI_UKMIN = SOUTMIN;
                              _nop_(); _nop_(); _nop_(); _nop_();
                              PI_UK =   0;
                              PI_LPF_CR &= 0xFD;                                                                      // stop PI
                      }
                      #endif
  32   1      }


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =      1    ----
   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)
