IoInitial.lst
上传用户:xhjmsc
上传日期:2019-09-13
资源大小:389k
文件大小:9k
源码类别:

传真(Fax)编程

开发平台:

C/C++

  1. ##############################################################################
  2. #                                                                            #
  3. # IAR MSP430 C/EC++ Compiler V2.10A/W32                23/Apr/2007  18:04:11 #
  4. # Copyright 1996-2003 IAR Systems. All rights reserved.                      #
  5. #                                                                            #
  6. #    __rt_version  =  1                                                      #
  7. #    __double_size =  32                                                     #
  8. #    __reg_r4      =  free                                                   #
  9. #    __reg_r5      =  free                                                   #
  10. #    __pic         =  no                                                     #
  11. #    Source file   =  E:projectFaxProgramVson_Bryan_Fax_Conexant_070423 #
  12. #                     filesIoInitial.c                                      #
  13. #    Command line  =  -I "C:Program FilesIAR SystemsEmbedded Workbench    #
  14. #                     3.2430INC" -I "C:Program FilesIAR                 #
  15. #                     SystemsEmbedded Workbench 3.2430INCCLIB" -lCN     #
  16. #                     E:projectFaxProgramVson_Bryan_Fax_Conexant_070423 #
  17. #                     DebugList -lA E:projectFaxProgramVson_Bryan_Fax_ #
  18. #                     Conexant_070423DebugList -o                         #
  19. #                     E:projectFaxProgramVson_Bryan_Fax_Conexant_070423 #
  20. #                     DebugObj -z2 --no_cse --no_unroll --no_inline        #
  21. #                     --no_code_motion --debug -e                            #
  22. #                     E:projectFaxProgramVson_Bryan_Fax_Conexant_070423 #
  23. #                     filesIoInitial.c                                      #
  24. #    List file     =  E:projectFaxProgramVson_Bryan_Fax_Conexant_070423 #
  25. #                     DebugListIoInitial.lst                               #
  26. #    Object file   =  E:projectFaxProgramVson_Bryan_Fax_Conexant_070423 #
  27. #                     DebugObjIoInitial.r43                                #
  28. #                                                                            #
  29. #                                                                            #
  30. ##############################################################################
  31. E:projectFaxProgramVson_Bryan_Fax_Conexant_070423filesIoInitial.c
  32.       1          //Io Set
  33.       2          
  34.       3          #include "includeH.h"
  35.                                     In segment DATA16_AN, at 0x21
  36.       unsigned char volatile __data P1OUT
  37.                         P1OUT:
  38.       000000                        DS8 1
  39.                                     In segment DATA16_AN, at 0x22
  40.       unsigned char volatile __data P1DIR
  41.                         P1DIR:
  42.       000000                        DS8 1
  43.                                     In segment DATA16_AN, at 0x26
  44.       unsigned char volatile __data P1SEL
  45.                         P1SEL:
  46.       000000                        DS8 1
  47.                                     In segment DATA16_AN, at 0x29
  48.       unsigned char volatile __data P2OUT
  49.                         P2OUT:
  50.       000000                        DS8 1
  51.                                     In segment DATA16_AN, at 0x2a
  52.       unsigned char volatile __data P2DIR
  53.                         P2DIR:
  54.       000000                        DS8 1
  55.                                     In segment DATA16_AN, at 0x2e
  56.       unsigned char volatile __data P2SEL
  57.                         P2SEL:
  58.       000000                        DS8 1
  59.                                     In segment DATA16_AN, at 0x1d
  60.       unsigned char volatile __data P4OUT
  61.                         P4OUT:
  62.       000000                        DS8 1
  63.                                     In segment DATA16_AN, at 0x1e
  64.       unsigned char volatile __data P4DIR
  65.                         P4DIR:
  66.       000000                        DS8 1
  67.                                     In segment DATA16_AN, at 0x1f
  68.       unsigned char volatile __data P4SEL
  69.                         P4SEL:
  70.       000000                        DS8 1
  71.                                     In segment DATA16_AN, at 0x32
  72.       unsigned char volatile __data P5DIR
  73.                         P5DIR:
  74.       000000                        DS8 1
  75.                                     In segment DATA16_AN, at 0x33
  76.       unsigned char volatile __data P5SEL
  77.                         P5SEL:
  78.       000000                        DS8 1
  79.                                     In segment DATA16_AN, at 0x35
  80.       unsigned char volatile __data P6OUT
  81.                         P6OUT:
  82.       000000                        DS8 1
  83.                                     In segment DATA16_AN, at 0x36
  84.       unsigned char volatile __data P6DIR
  85.                         P6DIR:
  86.       000000                        DS8 1
  87.                                     In segment DATA16_AN, at 0x37
  88.       unsigned char volatile __data P6SEL
  89.                         P6SEL:
  90.       000000                        DS8 1
  91.       4          
  92.                                     In segment CODE, align 2, align-sorted
  93.       5          void IoInitial(void)
  94.                         IoInitial:
  95.       6          {
  96.       7               //BCSCTL1|=XTS;     //MCLK时钟源  Select LFXTCLK high frequency
  97.       8               //BCSCTL2|=SELM_3;     //MCLK时钟源  Select LFXTCLK   //+DIVM_3
  98.       9               //delay800ms();
  99.      10               P2SEL = 0X00;                          
  100.       000000   C2432E00             MOV.B   #0x0, &0x2e
  101.      11               P2DIR = 0X1f;//P2DIR = 0X3E;
  102.       000004   F2401F002A00         MOV.B   #0x1f, &0x2a
  103.      12               P2OUT = 0X19;
  104.       00000A   F24019002900         MOV.B   #0x19, &0x29
  105.      13               
  106.      14               //P2SEL = 0X00; //For old flash circuit                         
  107.      15               //P2DIR = 0X3E; //For old flash circuit 
  108.      16               //P2OUT = 0X26; //For old flash circuit 
  109.      17               
  110.      18               FLASH_CON_PORT_OUT |= CE; //COMMAND_LATCH_INTO_INITAIL all control disable
  111.       000010   F2D22900             BIS.B   #0x8, &0x29
  112.      19               FLASH_CON_PORT_OUT |= WE;
  113.       000014   D2D32900             BIS.B   #0x1, &0x29
  114.      20               FLASH_CON_PORT_OUT |= RE;
  115.       000018   F2D010002900         BIS.B   #0x10, &0x29
  116.      21               FLASH_CON_PORT_OUT &= ~CLE;
  117.       00001E   E2C22900             BIC.B   #0x4, &0x29
  118.      22               FLASH_CON_PORT_OUT &= ~ALE;
  119.       000022   E2C32900             BIC.B   #0x2, &0x29
  120.      23               
  121.      24               
  122.      25               
  123.      26               
  124.      27              
  125.      28               //P2OUT = 0X19; //
  126.      29               //P3SEL = 0X00;                          
  127.      30               //P3DIR = 0Xff;
  128.      31               //P3OUT = 0X10;
  129.      32               //P3OUT = 0X00;
  130.      33               P1SEL = 0X00;
  131.       000026   C2432600             MOV.B   #0x0, &0x26
  132.      34               P1DIR = 0X40;
  133.       00002A   F24040002200         MOV.B   #0x40, &0x22
  134.      35               P1OUT = 0x00;
  135.       000030   C2432100             MOV.B   #0x0, &0x21
  136.      36               P4SEL = 0X00;                          
  137.       000034   C2431F00             MOV.B   #0x0, &0x1f
  138.      37               P4DIR = 0X06;
  139.       000038   F24006001E00         MOV.B   #0x6, &0x1e
  140.      38               P4OUT = 0x06;
  141.       00003E   F24006001D00         MOV.B   #0x6, &0x1d
  142.      39               P5SEL = 0X00;                          
  143.       000044   C2433300             MOV.B   #0x0, &0x33
  144.      40               P5DIR = 0X00;
  145.       000048   C2433200             MOV.B   #0x0, &0x32
  146.      41               P6SEL = 0X00;                          
  147.       00004C   C2433700             MOV.B   #0x0, &0x37
  148.      42               P6DIR = 0x58;//11011000     11010001; //McuModemKeyControl on PcModemKeyControl off
  149.       000050   F24058003600         MOV.B   #0x58, &0x36
  150.      43               P6OUT = 0x09;//0b01000001; //McuModemKeyControl on PcModemKeyControl off Set SoftUartRx and Tx bit
  151.       000056   F24009003500         MOV.B   #0x9, &0x35
  152.      44                                    
  153.      45          } 
  154.       00005C   3041                 RET
  155.    Maximum stack usage in bytes:
  156.      Function  CSTACK
  157.      --------  ------
  158.      IoInitial     2
  159.    Segment part sizes:
  160.      Function/Label Bytes
  161.      -------------- -----
  162.      P1OUT             1
  163.      P1DIR             1
  164.      P1SEL             1
  165.      P2OUT             1
  166.      P2DIR             1
  167.      P2SEL             1
  168.      P4OUT             1
  169.      P4DIR             1
  170.      P4SEL             1
  171.      P5DIR             1
  172.      P5SEL             1
  173.      P6OUT             1
  174.      P6DIR             1
  175.      P6SEL             1
  176.      IoInitial        94
  177.  
  178.  94 bytes in segment CODE
  179.  14 bytes in segment DATA16_AN
  180.  
  181.  94 bytes of CODE memory
  182.   0 bytes of DATA memory (+ 14 bytes shared)
  183. Errors: none
  184. Warnings: none