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

📄 probe_rs232c.lst

📁 编译环境是 iar EWARM ,STM32 下的UCOSII
💻 LST
📖 第 1 页 / 共 3 页
字号:
    382          */
    383          

   \                                 In segment CODE, align 4, keep-with-next
    384          void  ProbeRS232_RxISRHandler (void)
    385          {
    386          }
   \                     ProbeRS232_RxISRHandler:
   \   00000000   7047               BX       LR               ;; return
    387          
    388          
    389          /*
    390          *********************************************************************************************************
    391          *                                      ProbeRS232_RxIntDis()
    392          *
    393          * Description: Disable Rx interrupts.
    394          *
    395          * Argument(s): none.
    396          *
    397          * Return(s)  : none.
    398          *********************************************************************************************************
    399          */
    400          

   \                                 In segment CODE, align 4, keep-with-next
    401          void  ProbeRS232_RxIntDis (void)
    402          {
   \                     ProbeRS232_RxIntDis:
   \   00000000   00B5               PUSH     {LR}
    403          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_1)
    404              USART_ITConfig(USART1, USART_IT_RXNE, DISABLE);
   \   00000002   0022               MOVS     R2,#+0
   \   00000004   ....               LDR.N    R1,??DataTable6  ;; 0x525
   \   00000006   ....               LDR.N    R0,??DataTable12  ;; 0x40013800
   \   00000008   ........           _BLF     USART_ITConfig,??USART_ITConfig??rT
    405          #endif
    406          
    407          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_2)
    408              USART_ITConfig(USART2, USART_IT_RXNE, DISABLE);
    409          #endif
    410          
    411          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_3)
    412              USART_ITConfig(USART3, USART_IT_RXNE, DISABLE);
    413          #endif
    414          }
   \   0000000C   00BD               POP      {PC}             ;; return
    415          
    416          
    417          /*
    418          *********************************************************************************************************
    419          *                                      ProbeRS232_RxIntEn()
    420          *
    421          * Description: Enable Rx interrupts.
    422          *
    423          * Argument(s): none.
    424          *
    425          * Return(s)  : none.
    426          *********************************************************************************************************
    427          */
    428          

   \                                 In segment CODE, align 4, keep-with-next
    429          void  ProbeRS232_RxIntEn (void)
    430          {
   \                     ProbeRS232_RxIntEn:
   \   00000000   00B5               PUSH     {LR}
    431          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_1)
    432              USART_ITConfig(USART1, USART_IT_RXNE, ENABLE);
   \   00000002   0122               MOVS     R2,#+1
   \   00000004   ....               LDR.N    R1,??DataTable6  ;; 0x525
   \   00000006   ....               LDR.N    R0,??DataTable12  ;; 0x40013800
   \   00000008   ........           _BLF     USART_ITConfig,??USART_ITConfig??rT
    433          #endif
    434          
    435          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_2)
    436              USART_ITConfig(USART2, USART_IT_RXNE, ENABLE);
    437          #endif
    438          
    439          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_3)
    440              USART_ITConfig(USART3, USART_IT_RXNE, ENABLE);
    441          #endif
    442          }
   \   0000000C   00BD               POP      {PC}             ;; return
    443          
    444          
    445          /*
    446          *********************************************************************************************************
    447          *                                    ProbeRS232_TxISRHandler()
    448          *
    449          * Description: Handle Tx interrupts.
    450          *
    451          * Argument(s): none.
    452          *
    453          * Return(s)  : none.
    454          *
    455          * Note(s)    : This function is empty because Tx interrupts are handled by ProbeRS232_RxTxISRHandler()
    456          *********************************************************************************************************
    457          */
    458          

   \                                 In segment CODE, align 4, keep-with-next
    459          void  ProbeRS232_TxISRHandler (void)
    460          {
    461          }
   \                     ProbeRS232_TxISRHandler:
   \   00000000   7047               BX       LR               ;; return
    462          
    463          
    464          /*
    465          *********************************************************************************************************
    466          *                                      ProbeRS232_Tx1()
    467          *
    468          * Description: Transmit one byte.
    469          *
    470          * Argument(s): c            The byte to transmit.
    471          *
    472          * Return(s)  : none.
    473          *********************************************************************************************************
    474          */
    475          

   \                                 In segment CODE, align 4, keep-with-next
    476          void  ProbeRS232_Tx1 (CPU_INT08U c)
    477          {
   \                     ProbeRS232_Tx1:
   \   00000000   00B5               PUSH     {LR}
    478          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_1)
    479              USART_SendData(USART1, c);
   \   00000002   0100               MOVS     R1,R0
   \   00000004   ....               LDR.N    R0,??DataTable12  ;; 0x40013800
   \   00000006   ........           _BLF     USART_SendData,??USART_SendData??rT
    480          #endif
    481          
    482          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_2)
    483              USART_SendData(USART2, c);
    484          #endif
    485          
    486          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_3)
    487              USART_SendData(USART3, c);
    488          #endif
    489          }
   \   0000000A   00BD               POP      {PC}             ;; return
    490          
    491          
    492          /*
    493          *********************************************************************************************************
    494          *                                      ProbeRS232_TxIntDis()
    495          *
    496          * Description: Disable Tx interrupts.
    497          *
    498          * Argument(s): none.
    499          *
    500          * Return(s)  : none.
    501          *********************************************************************************************************
    502          */
    503          

   \                                 In segment CODE, align 4, keep-with-next
    504          void  ProbeRS232_TxIntDis (void)
    505          {
   \                     ProbeRS232_TxIntDis:
   \   00000000   00B5               PUSH     {LR}
    506          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_1)
    507              USART_ITConfig(USART1, USART_IT_TXE, DISABLE);
   \   00000002   0022               MOVS     R2,#+0
   \   00000004   ....               LDR.N    R1,??DataTable11  ;; 0x727
   \   00000006   ....               LDR.N    R0,??DataTable12  ;; 0x40013800
   \   00000008   ........           _BLF     USART_ITConfig,??USART_ITConfig??rT
    508          #endif
    509          
    510          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_2)
    511              USART_ITConfig(USART2, USART_IT_TXE, DISABLE);
    512          #endif
    513          
    514          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_3)
    515              USART_ITConfig(USART3, USART_IT_TXE, DISABLE);
    516          #endif
    517          }
   \   0000000C   00BD               POP      {PC}             ;; return
    518          
    519          /*
    520          *********************************************************************************************************
    521          *                                      ProbeRS232_TxIntEn()
    522          *
    523          * Description: Enable Tx interrupts.
    524          *
    525          * Argument(s): none.
    526          *
    527          * Return(s)  : none.
    528          *********************************************************************************************************
    529          */
    530          

   \                                 In segment CODE, align 4, keep-with-next
    531          void  ProbeRS232_TxIntEn (void)
    532          {
   \                     ProbeRS232_TxIntEn:
   \   00000000   00B5               PUSH     {LR}
    533          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_1)
    534              USART_ITConfig(USART1, USART_IT_TXE, ENABLE);
   \   00000002   0122               MOVS     R2,#+1
   \   00000004   ....               LDR.N    R1,??DataTable11  ;; 0x727
   \   00000006   ....               LDR.N    R0,??DataTable12  ;; 0x40013800
   \   00000008   ........           _BLF     USART_ITConfig,??USART_ITConfig??rT
    535          #endif
    536          
    537          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_2)
    538              USART_ITConfig(USART2, USART_IT_TXE, ENABLE);
    539          #endif
    540          
    541          #if (PROBE_RS232_COMM_SEL == PROBE_RS232_UART_3)
    542              USART_ITConfig(USART3, USART_IT_TXE, ENABLE);
    543          #endif
    544          }
   \   0000000C   00BD               POP      {PC}             ;; return

   \                                 In segment CODE, align 4, keep-with-next
   \                     ??DataTable6:
   \   00000000   25050000           DC32     0x525

   \                                 In segment CODE, align 4, keep-with-next
   \                     ??DataTable11:
   \   00000000   27070000           DC32     0x727

   \                                 In segment CODE, align 4, keep-with-next
   \                     ??DataTable12:
   \   00000000   00380140           DC32     0x40013800

   Maximum stack usage in bytes:

     Function                  CSTACK
     --------                  ------
     ProbeRS232_InitTarget        36
     ProbeRS232_RxISRHandler       0
     ProbeRS232_RxIntDis           4
     ProbeRS232_RxIntEn            4
     ProbeRS232_RxTxISRHandler    12
     ProbeRS232_Tx1                4
     ProbeRS232_TxISRHandler       0
     ProbeRS232_TxIntDis           4
     ProbeRS232_TxIntEn            4


   Segment part sizes:

     Function/Label            Bytes
     --------------            -----
     ProbeRS232_InitTarget      148
     ProbeRS232_RxTxISRHandler   92
     ProbeRS232_RxISRHandler      2
     ProbeRS232_RxIntDis         14
     ProbeRS232_RxIntEn          14
     ProbeRS232_TxISRHandler      2
     ProbeRS232_Tx1              12
     ProbeRS232_TxIntDis         14
     ProbeRS232_TxIntEn          14
     ??DataTable6                 4
     ??DataTable11                4
     ??DataTable12                4
      Others                    136

 
 460 bytes in segment CODE
 
 324 bytes of CODE memory (+ 136 bytes shared)

Errors: none
Warnings: none

⌨️ 快捷键说明

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