⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 io.lst

📁 XC8888是XC800家族的新成员
💻 LST
字号:
C51 COMPILER V8.02   IO                                                                    04/27/2008 23:46:23 PAGE 1   


C51 COMPILER V8.02, COMPILATION OF MODULE IO
OBJECT MODULE PLACED IN IO.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE IO.C BROWSE DEBUG OBJECTEXTEND

line level    source

   1          //****************************************************************************
   2          // @Module        GPIO
   3          // @Filename      IO.C
   4          // @Project       led.dav
   5          //----------------------------------------------------------------------------
   6          // @Controller    Infineon XC888CLM-8FF
   7          //
   8          // @Compiler      Keil
   9          //
  10          // @Codegenerator 1.4
  11          //
  12          // @Description:  This file contains functions that use the IO module.
  13          //
  14          //----------------------------------------------------------------------------
  15          // @Date          2008-3-22 上午 10:17:49
  16          //
  17          //****************************************************************************
  18          
  19          // USER CODE BEGIN (IO_General,1)
  20          
  21          // USER CODE END
  22          
  23          
  24          
  25          //****************************************************************************
  26          // @Project Includes
  27          //****************************************************************************
  28          
  29          #include "MAIN.H"
  30          
  31          // USER CODE BEGIN (IO_General,2)
  32          
  33          // USER CODE END
  34          
  35          
  36          //****************************************************************************
  37          // @Macros
  38          //****************************************************************************
  39          
  40          // USER CODE BEGIN (IO_General,3)
  41          
  42          // USER CODE END
  43          
  44          
  45          //****************************************************************************
  46          // @Defines
  47          //****************************************************************************
  48          
  49          // USER CODE BEGIN (IO_General,4)
  50          
  51          // USER CODE END
  52          
  53          
  54          //****************************************************************************
  55          // @Typedefs
C51 COMPILER V8.02   IO                                                                    04/27/2008 23:46:23 PAGE 2   

  56          //****************************************************************************
  57          
  58          // USER CODE BEGIN (IO_General,5)
  59          
  60          // USER CODE END
  61          
  62          
  63          //****************************************************************************
  64          // @Imported Global Variables
  65          //****************************************************************************
  66          
  67          // USER CODE BEGIN (IO_General,6)
  68          
  69          // USER CODE END
  70          
  71          
  72          //****************************************************************************
  73          // @Global Variables
  74          //****************************************************************************
  75          
  76          // USER CODE BEGIN (IO_General,7)
  77          
  78          // USER CODE END
  79          
  80          
  81          //****************************************************************************
  82          // @External Prototypes
  83          //****************************************************************************
  84          
  85          // USER CODE BEGIN (IO_General,8)
  86          
  87          // USER CODE END
  88          
  89          
  90          //****************************************************************************
  91          // @Prototypes Of Local Functions
  92          //****************************************************************************
  93          
  94          // USER CODE BEGIN (IO_General,9)
  95          
  96          // USER CODE END
  97          
  98          
  99          //****************************************************************************
 100          // @Function      void IO_vInit(void) 
 101          //
 102          //----------------------------------------------------------------------------
 103          // @Description   This is the initialization function of the IO function 
 104          //                library. It is assumed that the SFRs used by this library 
 105          //                are in their reset state. 
 106          //
 107          //----------------------------------------------------------------------------
 108          // @Returnvalue   None
 109          //
 110          //----------------------------------------------------------------------------
 111          // @Parameters    None
 112          //
 113          //----------------------------------------------------------------------------
 114          // @Date          2008-3-22
 115          //
 116          //****************************************************************************
 117          
C51 COMPILER V8.02   IO                                                                    04/27/2008 23:46:23 PAGE 3   

 118          // USER CODE BEGIN (IO_Init,1)
 119          
 120          // USER CODE END
 121          
 122          void IO_vInit(void)
 123          {
 124   1        // USER CODE BEGIN (IO_Init,2)
 125   1      
 126   1        // USER CODE END
 127   1      
 128   1      
 129   1        ///  ***********************************************************************
 130   1        ///  Note : All peripheral related IO configurations are done in the 
 131   1        ///  respective peripheral modules (alternate functions selection)
 132   1        ///  
 133   1        ///  If no pins are selected DAvE assumes that registers are in default 
 134   1        ///  settings
 135   1        ///  ***********************************************************************
 136   1      
 137   1        ///  -----------------------------------------------------------------------
 138   1        ///  Configuration of Port P0:
 139   1        ///  -----------------------------------------------------------------------
 140   1        ///  - no pin of port P0 is used
 141   1      
 142   1      
 143   1        ///  -----------------------------------------------------------------------
 144   1        ///  Configuration of Port P1:
 145   1        ///  -----------------------------------------------------------------------
 146   1        ///  - no pin of port P1 is used
 147   1      
 148   1      
 149   1        ///  -----------------------------------------------------------------------
 150   1        ///  Configuration of Port P2:
 151   1        ///  -----------------------------------------------------------------------
 152   1        ///  - no pin of port P2 is used
 153   1      
 154   1      
 155   1        ///  -----------------------------------------------------------------------
 156   1        ///  Configuration of Port P3:
 157   1        ///  -----------------------------------------------------------------------
 158   1        ///  P3.0:
 159   1        ///  - is used as general purpose output
 160   1        ///  - push/pull output is selected
 161   1        ///  - the pin status is high level
 162   1        ///  - pull device is disabled (tristate) 
 163   1        ///  P3.1:
 164   1        ///  - is used as general purpose output
 165   1        ///  - push/pull output is selected
 166   1        ///  - the pin status is high level
 167   1        ///  - pull device is disabled (tristate) 
 168   1        ///  P3.2:
 169   1        ///  - is used as general purpose output
 170   1        ///  - push/pull output is selected
 171   1        ///  - the pin status is high level
 172   1        ///  - pull device is disabled (tristate) 
 173   1        ///  P3.3:
 174   1        ///  - is used as general purpose output
 175   1        ///  - push/pull output is selected
 176   1        ///  - the pin status is high level
 177   1        ///  - pull device is disabled (tristate) 
 178   1        ///  P3.4:
 179   1        ///  - is used as general purpose output
C51 COMPILER V8.02   IO                                                                    04/27/2008 23:46:23 PAGE 4   

 180   1        ///  - push/pull output is selected
 181   1        ///  - the pin status is low level
 182   1        ///  - pull device is disabled (tristate) 
 183   1        ///  P3.5:
 184   1        ///  - is used as general purpose output
 185   1        ///  - push/pull output is selected
 186   1        ///  - the pin status is low level
 187   1        ///  - pull device is disabled (tristate) 
 188   1        ///  P3.6:
 189   1        ///  - is used as general purpose output
 190   1        ///  - push/pull output is selected
 191   1        ///  - the pin status is low level
 192   1        ///  - pull device is disabled (tristate) 
 193   1        ///  P3.7:
 194   1        ///  - is used as general purpose output
 195   1        ///  - push/pull output is selected
 196   1        ///  - the pin status is low level
 197   1        ///  - pull device is disabled (tristate) 
 198   1      
 199   1      
 200   1        P3_DIR        =  0xFF;         // load direction register
 201   1        P3_DATA       =  0x0F;         // load data output register
 202   1      
 203   1        ///  -----------------------------------------------------------------------
 204   1        ///  Configuration of Port P4:
 205   1        ///  -----------------------------------------------------------------------
 206   1        ///  - no pin of port P4 is used
 207   1      
 208   1      
 209   1        ///  -----------------------------------------------------------------------
 210   1        ///  Configuration of Port P5:
 211   1        ///  -----------------------------------------------------------------------
 212   1        ///  - no pin of port P5 is used
 213   1      
 214   1      
 215   1      
 216   1        // USER CODE BEGIN (IO_Init,3)
 217   1      
 218   1        // USER CODE END
 219   1      
 220   1      } //  End of function IO_vInit
 221          
 222          
 223          
 224          
 225          // USER CODE BEGIN (IO_General,10)
 226          
 227          // USER CODE END
 228          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =      7    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -