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

📄 io.lst

📁 英飞凌C166之XC164CS按钮键盘扫描程序
💻 LST
字号:
C166 COMPILER V6.08, IO                                                                    08/28/2008 11:42:10 PAGE 1   


C166 COMPILER V6.08, COMPILATION OF MODULE IO
OBJECT MODULE PLACED IN IO.OBJ
COMPILER INVOKED BY: C:\Keil\C166\BIN\C166.EXE IO.C MODV2 BROWSE MODV2 DEBUG

 stmt lvl     source

    1         //****************************************************************************
    2         // @Module        Parallel Ports
    3         // @Filename      IO.C
    4         // @Project       BUTTON1.dav
    5         //----------------------------------------------------------------------------
    6         // @Controller    Infineon XC164CS-16F20
    7         //
    8         // @Compiler      Keil
    9         //
   10         // @Codegenerator 2.8
   11         //
   12         // @Description   This file contains functions that use the IO module.
   13         //
   14         //----------------------------------------------------------------------------
   15         // @Date          2007-5-25 14:37:35
   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
C166 COMPILER V6.08, IO                                                                    08/28/2008 11:42:10 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 its reset state. 
  106         //
  107         //----------------------------------------------------------------------------
  108         // @Returnvalue   None
  109         //
  110         //----------------------------------------------------------------------------
  111         // @Parameters    None
  112         //
  113         //----------------------------------------------------------------------------
  114         // @Date          2007-5-25
  115         //
  116         //****************************************************************************
  117         
C166 COMPILER V6.08, IO                                                                    08/28/2008 11:42:10 PAGE 3   

  118         // USER CODE BEGIN (IO_Function,1)
  119         
  120         // USER CODE END
  121         
  122         void IO_vInit(void)
  123         {
  124  1        // USER CODE BEGIN (IO_Function,2)
  125  1      
  126  1        // USER CODE END
  127  1      
  128  1        ///  -----------------------------------------------------------------------
  129  1        ///  General Port Settings:
  130  1        ///  -----------------------------------------------------------------------
  131  1        PICON          =  0x0000;      // load input configuration register
  132  1      
  133  1        ///  -----------------------------------------------------------------------
  134  1        ///  Configuration of Port P0H:
  135  1        ///  -----------------------------------------------------------------------
  136  1        ///  - no pin of port P0H is used
  137  1      
  138  1        P0H            =  0x0000;      // load data register
  139  1        POCON0H        =  0x0000;      // load output control register
  140  1        DP0H           =  0x0000;      // load direction register
  141  1      
  142  1        ///  -----------------------------------------------------------------------
  143  1        ///  Configuration of Port P0L:
  144  1        ///  -----------------------------------------------------------------------
  145  1        ///  - no pin of port P0L is used
  146  1      
  147  1        P0L            =  0x0000;      // load data register
  148  1        POCON0L        =  0x0000;      // load output control register
  149  1        DP0L           =  0x0000;      // load direction register
  150  1      
  151  1        ///  -----------------------------------------------------------------------
  152  1        ///  Configuration of Port P1H:
  153  1        ///  -----------------------------------------------------------------------
  154  1        ///  P1H.0 is used as general input
  155  1      
  156  1        ///  P1H.0 - P1H.3 output driver characteristic: strong driver
  157  1        ///  P1H.4 - P1H.7 output driver characteristic: strong driver
  158  1      
  159  1        ///  P1H.0 - P1H.3 output edge characteristic: sharp edge mode
  160  1        ///  P1H.4 - P1H.7 output edge characteristic: sharp edge mode
  161  1      
  162  1        P1H            =  0x0000;      // load data register
  163  1        ALTSEL0P1H     =  0x0000;      // load alternate output function select 
  164  1                                       // register 0
  165  1        POCON1H        =  0x0000;      // load output control register
  166  1        DP1H           =  0x0000;      // load direction register
  167  1      
  168  1        ///  -----------------------------------------------------------------------
  169  1        ///  Configuration of Port P1L:
  170  1        ///  -----------------------------------------------------------------------
  171  1        ///  P1L.0 is used as general purpose output
  172  1        ///  - the pin status is low level
  173  1      
  174  1        ///  P1L.0 - P1L.3 output driver characteristic: strong driver
  175  1        ///  P1L.4 - P1L.7 output driver characteristic: strong driver
  176  1      
  177  1        ///  P1L.0 - P1L.3 output edge characteristic: sharp edge mode
  178  1        ///  P1L.4 - P1L.7 output edge characteristic: sharp edge mode
  179  1      
C166 COMPILER V6.08, IO                                                                    08/28/2008 11:42:10 PAGE 4   

  180  1        P1L            =  0x0000;      // load data register
  181  1        ALTSEL0P1L     =  0x0000;      // load alternate output function select 
  182  1                                       // register 0
  183  1        POCON1L        =  0x0000;      // load output control register
  184  1        DP1L           =  0x0001;      // load direction register
  185  1      
  186  1        ///  -----------------------------------------------------------------------
  187  1        ///  Configuration of Port P3:
  188  1        ///  -----------------------------------------------------------------------
  189  1        ///  - no pin of port P3 is used
  190  1      
  191  1        ODP3           =  0x0000;      // load open-drain register
  192  1        P3             =  0x0000;      // load data register
  193  1        ALTSEL0P3      =  0x0000;      // load alternate output function select 
  194  1                                       // register 0
  195  1        ALTSEL1P3      =  0x0000;      // load alternate output function select 
  196  1                                       // register 1
  197  1        POCON3         =  0x0000;      // load output control register
  198  1        DP3            =  0x0000;      // load direction register
  199  1      
  200  1        ///  -----------------------------------------------------------------------
  201  1        ///  Configuration of Port P4:
  202  1        ///  -----------------------------------------------------------------------
  203  1        ///  P4.0 is used as alternate input for the Port Pin (A16)
  204  1        ///  P4.1 is used as alternate input for the Port Pin (A17)
  205  1        ///  P4.2 is used as alternate input for the Chip select (CS1_n)
  206  1        ///  P4.3 is used as alternate input for the Chip select (CS0_n)
  207  1      
  208  1        ///  P4.0 - P4.7 threshold type: TTL input
  209  1      
  210  1        ///  P4.0 - P4.3 output driver characteristic: strong driver
  211  1        ///  P4.4 - P4.7 output driver characteristic: strong driver
  212  1      
  213  1        ///  P4.0 - P4.3 output edge characteristic: sharp edge mode
  214  1        ///  P4.4 - P4.7 output edge characteristic: sharp edge mode
  215  1      
  216  1        ODP4           =  0x0000;      // load open-drain register
  217  1        P4             =  0x0000;      // load data register
  218  1        ALTSEL0P4      =  0x0000;      // load alternate output function select 
  219  1                                       // register 0
  220  1        ALTSEL1P4      =  0x0000;      // load alternate output function select 
  221  1                                       // register 1
  222  1        POCON4         =  0x0000;      // load output control register
  223  1        DP4            =  0x0000;      // load direction register
  224  1      
  225  1        ///  -----------------------------------------------------------------------
  226  1        ///  Configuration of Port P5:
  227  1        ///  -----------------------------------------------------------------------
  228  1        ///  - no pin of port P5 is used
  229  1      
  230  1        P5             =  0x0000;      // load data register
  231  1      
  232  1        ///  -----------------------------------------------------------------------
  233  1        ///  Configuration of Port P9:
  234  1        ///  -----------------------------------------------------------------------
  235  1        ///  - no pin of port P9 is used
  236  1      
  237  1        ODP9           =  0x0000;      // load open-drain register
  238  1        P9             =  0x0000;      // load data register
  239  1        ALTSEL0P9      =  0x0000;      // load alternate output function select 
  240  1                                       // register 0
  241  1        ALTSEL1P9      =  0x0000;      // load alternate output function select 
C166 COMPILER V6.08, IO                                                                    08/28/2008 11:42:10 PAGE 5   

  242  1                                       // register 1
  243  1        POCON9         =  0x0000;      // load output control register
  244  1        DP9            =  0x0000;      // load direction register
  245  1      
  246  1        ///  -----------------------------------------------------------------------
  247  1        ///  Configuration of Port P20:
  248  1        ///  -----------------------------------------------------------------------
  249  1        ///  - no pin of port P20 is used
  250  1      
  251  1        P20            =  0x0000;      // load data register
  252  1        POCON20        =  0x0000;      // load output control register
  253  1        DP20           =  0x0000;      // load direction register
  254  1      
  255  1      
  256  1        // USER CODE BEGIN (IO_Function,3)
  257  1      
  258  1        // USER CODE END
  259  1      
  260  1      } //  End of function IO_vInit
  261         
  262         
  263         
  264         
  265         // USER CODE BEGIN (IO_General,10)
  266         
  267         // USER CODE END
  268         


MODULE INFORMATION:   INITIALIZED  UNINITIALIZED
  CODE SIZE        =         170     --------
  NEAR-CONST SIZE  =    --------     --------
  FAR-CONST SIZE   =    --------     --------
  HUGE-CONST SIZE  =    --------     --------
  XHUGE-CONST SIZE =    --------     --------
  NEAR-DATA SIZE   =    --------     --------
  FAR-DATA SIZE    =    --------     --------
  XHUGE-DATA SIZE  =    --------     --------
  IDATA-DATA SIZE  =    --------     --------
  SDATA-DATA SIZE  =    --------     --------
  BDATA-DATA SIZE  =    --------     --------
  HUGE-DATA SIZE   =    --------     --------
  BIT SIZE         =    --------     --------
  INIT'L SIZE      =    --------     --------
END OF MODULE INFORMATION.


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

⌨️ 快捷键说明

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