Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
16 | mjames | 1 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 1 |
2 | |||
3 | |||
4 | 1 .cpu cortex-m3 |
||
5 | 2 .eabi_attribute 20, 1 |
||
6 | 3 .eabi_attribute 21, 1 |
||
7 | 4 .eabi_attribute 23, 3 |
||
8 | 5 .eabi_attribute 24, 1 |
||
9 | 6 .eabi_attribute 25, 1 |
||
10 | 7 .eabi_attribute 26, 1 |
||
11 | 8 .eabi_attribute 30, 1 |
||
12 | 9 .eabi_attribute 34, 1 |
||
13 | 10 .eabi_attribute 18, 4 |
||
14 | 11 .file "stm32f1xx_hal_uart.c" |
||
15 | 12 .text |
||
16 | 13 .Ltext0: |
||
17 | 14 .cfi_sections .debug_frame |
||
18 | 15 .section .text.UART_EndTxTransfer,"ax",%progbits |
||
19 | 16 .align 1 |
||
20 | 17 .arch armv7-m |
||
21 | 18 .syntax unified |
||
22 | 19 .thumb |
||
23 | 20 .thumb_func |
||
24 | 21 .fpu softvfp |
||
25 | 23 UART_EndTxTransfer: |
||
26 | 24 .LVL0: |
||
27 | 25 .LFB109: |
||
28 | 26 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c" |
||
29 | 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
30 | 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ****************************************************************************** |
||
31 | 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @file stm32f1xx_hal_uart.c |
||
32 | 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @author MCD Application Team |
||
33 | 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART HAL module driver. |
||
34 | 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This file provides firmware functions to manage the following |
||
35 | 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * functionalities of the Universal Asynchronous Receiver Transmitter Peripheral (UART). |
||
36 | 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + Initialization and de-initialization functions |
||
37 | 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + IO operation functions |
||
38 | 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + Peripheral Control functions |
||
39 | 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + Peripheral State and Errors functions |
||
40 | 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim |
||
41 | 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================================================================== |
||
42 | 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### How to use this driver ##### |
||
43 | 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================================================================== |
||
44 | 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
45 | 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The UART HAL driver can be used as follows: |
||
46 | 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
47 | 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Declare a UART_HandleTypeDef handle structure (eg. UART_HandleTypeDef huart). |
||
48 | 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Initialize the UART low level resources by implementing the HAL_UART_MspInit() API: |
||
49 | 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) Enable the USARTx interface clock. |
||
50 | 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) UART pins configuration: |
||
51 | 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Enable the clock for the UART GPIOs. |
||
52 | 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure these UART pins (TX as alternate function pull-up, RX as alternate func |
||
53 | 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) NVIC configuration if you need to use interrupt process (HAL_UART_Transmit_IT() |
||
54 | 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and HAL_UART_Receive_IT() APIs): |
||
55 | 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the USARTx interrupt priority. |
||
56 | 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Enable the NVIC USART IRQ handle. |
||
57 | 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) DMA Configuration if you need to use DMA process (HAL_UART_Transmit_DMA() |
||
58 | 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and HAL_UART_Receive_DMA() APIs): |
||
59 | 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Declare a DMA handle structure for the Tx/Rx channel. |
||
60 | 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Enable the DMAx interface clock. |
||
61 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 2 |
||
62 | |||
63 | |||
64 | 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the declared DMA handle structure with the required |
||
65 | 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Tx/Rx parameters. |
||
66 | 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the DMA Tx/Rx channel. |
||
67 | 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Associate the initialized DMA handle to the UART DMA Tx/Rx handle. |
||
68 | 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the priority and enable the NVIC for the transfer complete |
||
69 | 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** interrupt on the DMA Tx/Rx channel. |
||
70 | 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the USARTx interrupt priority and enable the NVIC USART IRQ handle |
||
71 | 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (used for last byte sending completion detection in DMA non circular mode) |
||
72 | 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
73 | 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Program the Baud Rate, Word Length, Stop Bit, Parity, Hardware |
||
74 | 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** flow control and Mode(Receiver/Transmitter) in the huart Init structure. |
||
75 | 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
76 | 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the UART asynchronous mode, initialize the UART registers by calling |
||
77 | 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_Init() API. |
||
78 | 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
79 | 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the UART Half duplex mode, initialize the UART registers by calling |
||
80 | 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_HalfDuplex_Init() API. |
||
81 | 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
82 | 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the LIN mode, initialize the UART registers by calling the HAL_LIN_Init() API. |
||
83 | 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
84 | 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the Multi-Processor mode, initialize the UART registers by calling |
||
85 | 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_MultiProcessor_Init() API. |
||
86 | 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
87 | 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
88 | 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) The specific UART interrupts (Transmission complete interrupt, |
||
89 | 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** RXNE interrupt and Error Interrupts) will be managed using the macros |
||
90 | 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT() and __HAL_UART_DISABLE_IT() inside the transmit |
||
91 | 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and receive process. |
||
92 | 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
93 | 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
94 | 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) These APIs (HAL_UART_Init() and HAL_HalfDuplex_Init()) configure also the |
||
95 | 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** low level Hardware GPIO, CLOCK, CORTEX...etc) by calling the customized |
||
96 | 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit() API. |
||
97 | 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
98 | 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Callback registration ##### |
||
99 | 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ================================== |
||
100 | 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
101 | 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
102 | 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The compilation define USE_HAL_UART_REGISTER_CALLBACKS when set to 1 |
||
103 | 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** allows the user to configure dynamically the driver callbacks. |
||
104 | 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
105 | 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
106 | 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Use Function @ref HAL_UART_RegisterCallback() to register a user callback. |
||
107 | 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Function @ref HAL_UART_RegisterCallback() allows to register following callbacks: |
||
108 | 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxHalfCpltCallback : Tx Half Complete Callback. |
||
109 | 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxCpltCallback : Tx Complete Callback. |
||
110 | 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxHalfCpltCallback : Rx Half Complete Callback. |
||
111 | 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxCpltCallback : Rx Complete Callback. |
||
112 | 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) ErrorCallback : Error Callback. |
||
113 | 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortCpltCallback : Abort Complete Callback. |
||
114 | 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortTransmitCpltCallback : Abort Transmit Complete Callback. |
||
115 | 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortReceiveCpltCallback : Abort Receive Complete Callback. |
||
116 | 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspInitCallback : UART MspInit. |
||
117 | 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspDeInitCallback : UART MspDeInit. |
||
118 | 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This function takes as parameters the HAL peripheral handle, the Callback ID |
||
119 | 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and a pointer to the user callback function. |
||
120 | 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 3 |
||
122 | |||
123 | |||
124 | 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
125 | 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Use function @ref HAL_UART_UnRegisterCallback() to reset a callback to the default |
||
126 | 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** weak (surcharged) function. |
||
127 | 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @ref HAL_UART_UnRegisterCallback() takes as parameters the HAL peripheral handle, |
||
128 | 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and the Callback ID. |
||
129 | 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This function allows to reset following callbacks: |
||
130 | 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxHalfCpltCallback : Tx Half Complete Callback. |
||
131 | 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxCpltCallback : Tx Complete Callback. |
||
132 | 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxHalfCpltCallback : Rx Half Complete Callback. |
||
133 | 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxCpltCallback : Rx Complete Callback. |
||
134 | 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) ErrorCallback : Error Callback. |
||
135 | 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortCpltCallback : Abort Complete Callback. |
||
136 | 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortTransmitCpltCallback : Abort Transmit Complete Callback. |
||
137 | 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortReceiveCpltCallback : Abort Receive Complete Callback. |
||
138 | 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspInitCallback : UART MspInit. |
||
139 | 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspDeInitCallback : UART MspDeInit. |
||
140 | 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
141 | 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
142 | 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** By default, after the @ref HAL_UART_Init() and when the state is HAL_UART_STATE_RESET |
||
143 | 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** all callbacks are set to the corresponding weak (surcharged) functions: |
||
144 | 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** examples @ref HAL_UART_TxCpltCallback(), @ref HAL_UART_RxHalfCpltCallback(). |
||
145 | 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Exception done for MspInit and MspDeInit functions that are respectively |
||
146 | 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** reset to the legacy weak (surcharged) functions in the @ref HAL_UART_Init() |
||
147 | 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and @ref HAL_UART_DeInit() only when these callbacks are null (not registered beforehand). |
||
148 | 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** If not, MspInit or MspDeInit are not null, the @ref HAL_UART_Init() and @ref HAL_UART_DeInit() |
||
149 | 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand). |
||
150 | 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
151 | 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
152 | 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Callbacks can be registered/unregistered in HAL_UART_STATE_READY state only. |
||
153 | 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Exception done MspInit/MspDeInit that can be registered/unregistered |
||
154 | 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in HAL_UART_STATE_READY or HAL_UART_STATE_RESET state, thus registered (user) |
||
155 | 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MspInit/DeInit callbacks can be used during the Init/DeInit. |
||
156 | 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** In that case first register the MspInit/MspDeInit user callbacks |
||
157 | 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** using @ref HAL_UART_RegisterCallback() before calling @ref HAL_UART_DeInit() |
||
158 | 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** or @ref HAL_UART_Init() function. |
||
159 | 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
160 | 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
161 | 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** When The compilation define USE_HAL_UART_REGISTER_CALLBACKS is set to 0 or |
||
162 | 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** not defined, the callback registration feature is not available |
||
163 | 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and weak (surcharged) callbacks are used. |
||
164 | 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
165 | 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
166 | 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Three operation modes are available within this driver : |
||
167 | 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
168 | 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** Polling mode IO operation *** |
||
169 | 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ================================= |
||
170 | 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
171 | 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Send an amount of data in blocking mode using HAL_UART_Transmit() |
||
172 | 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Receive an amount of data in blocking mode using HAL_UART_Receive() |
||
173 | 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
174 | 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** Interrupt mode IO operation *** |
||
175 | 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** =================================== |
||
176 | 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
177 | 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Send an amount of data in non blocking mode using HAL_UART_Transmit_IT() |
||
178 | 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At transmission end of transfer HAL_UART_TxCpltCallback is executed and user can |
||
179 | 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_TxCpltCallback |
||
180 | 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Receive an amount of data in non blocking mode using HAL_UART_Receive_IT() |
||
181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 4 |
||
182 | |||
183 | |||
184 | 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At reception end of transfer HAL_UART_RxCpltCallback is executed and user can |
||
185 | 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_RxCpltCallback |
||
186 | 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) In case of transfer Error, HAL_UART_ErrorCallback() function is executed and user can |
||
187 | 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_ErrorCallback |
||
188 | 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
189 | 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** DMA mode IO operation *** |
||
190 | 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================== |
||
191 | 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
192 | 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Send an amount of data in non blocking mode (DMA) using HAL_UART_Transmit_DMA() |
||
193 | 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At transmission end of half transfer HAL_UART_TxHalfCpltCallback is executed and user ca |
||
194 | 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_TxHalfCpltCallback |
||
195 | 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At transmission end of transfer HAL_UART_TxCpltCallback is executed and user can |
||
196 | 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_TxCpltCallback |
||
197 | 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Receive an amount of data in non blocking mode (DMA) using HAL_UART_Receive_DMA() |
||
198 | 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At reception end of half transfer HAL_UART_RxHalfCpltCallback is executed and user can |
||
199 | 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_RxHalfCpltCallback |
||
200 | 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At reception end of transfer HAL_UART_RxCpltCallback is executed and user can |
||
201 | 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_RxCpltCallback |
||
202 | 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) In case of transfer Error, HAL_UART_ErrorCallback() function is executed and user can |
||
203 | 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_ErrorCallback |
||
204 | 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Pause the DMA Transfer using HAL_UART_DMAPause() |
||
205 | 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Resume the DMA Transfer using HAL_UART_DMAResume() |
||
206 | 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Stop the DMA Transfer using HAL_UART_DMAStop() |
||
207 | 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
208 | 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** UART HAL driver macros list *** |
||
209 | 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================================= |
||
210 | 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
211 | 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Below the list of most used macros in UART HAL driver. |
||
212 | 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
213 | 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_ENABLE: Enable the UART peripheral |
||
214 | 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_DISABLE: Disable the UART peripheral |
||
215 | 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_GET_FLAG : Check whether the specified UART flag is set or not |
||
216 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_CLEAR_FLAG : Clear the specified UART pending flag |
||
217 | 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_ENABLE_IT: Enable the specified UART interrupt |
||
218 | 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_DISABLE_IT: Disable the specified UART interrupt |
||
219 | 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_GET_IT_SOURCE: Check whether the specified UART interrupt has occurred or not |
||
220 | 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
221 | 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
222 | 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) You can refer to the UART HAL driver header file for more useful macros |
||
223 | 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
224 | 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim |
||
225 | 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
226 | 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) Additionnal remark: If the parity is enabled, then the MSB bit of the data written |
||
227 | 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the data register is transmitted but is changed by the parity bit. |
||
228 | 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Depending on the frame length defined by the M bit (8-bits or 9-bits), |
||
229 | 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the possible UART frame formats are as listed in the following table: |
||
230 | 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** +-------------------------------------------------------------+ |
||
231 | 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | M bit | PCE bit | UART frame | |
||
232 | 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------------------|---------------------------------------| |
||
233 | 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 0 | 0 | | SB | 8 bit data | STB | | |
||
234 | 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------|-----------|---------------------------------------| |
||
235 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 0 | 1 | | SB | 7 bit data | PB | STB | | |
||
236 | 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------|-----------|---------------------------------------| |
||
237 | 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 1 | 0 | | SB | 9 bit data | STB | | |
||
238 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------|-----------|---------------------------------------| |
||
239 | 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 1 | 1 | | SB | 8 bit data | PB | STB | | |
||
240 | 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** +-------------------------------------------------------------+ |
||
241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 5 |
||
242 | |||
243 | |||
244 | 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ****************************************************************************** |
||
245 | 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @attention |
||
246 | 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * |
||
247 | 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * <h2><center>© Copyright (c) 2016 STMicroelectronics. |
||
248 | 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * All rights reserved.</center></h2> |
||
249 | 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * |
||
250 | 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This software component is licensed by ST under BSD 3-Clause license, |
||
251 | 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the "License"; You may not use this file except in compliance with the |
||
252 | 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * License. You may obtain a copy of the License at: |
||
253 | 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * opensource.org/licenses/BSD-3-Clause |
||
254 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * |
||
255 | 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ****************************************************************************** |
||
256 | 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
257 | 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
258 | 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Includes ------------------------------------------------------------------*/ |
||
259 | 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #include "stm32f1xx_hal.h" |
||
260 | 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
261 | 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @addtogroup STM32F1xx_HAL_Driver |
||
262 | 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
263 | 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
264 | 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
265 | 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART UART |
||
266 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief HAL UART module driver |
||
267 | 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
268 | 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
269 | 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #ifdef HAL_UART_MODULE_ENABLED |
||
270 | 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
271 | 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private typedef -----------------------------------------------------------*/ |
||
272 | 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private define ------------------------------------------------------------*/ |
||
273 | 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @addtogroup UART_Private_Constants |
||
274 | 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
275 | 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
276 | 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
277 | 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @} |
||
278 | 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
279 | 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private macro -------------------------------------------------------------*/ |
||
280 | 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private variables ---------------------------------------------------------*/ |
||
281 | 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private function prototypes -----------------------------------------------*/ |
||
282 | 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @addtogroup UART_Private_Functions UART Private Functions |
||
283 | 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
284 | 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
285 | 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
286 | 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
287 | 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** void UART_InitCallbacksToDefault(UART_HandleTypeDef *huart); |
||
288 | 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
289 | 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndTxTransfer(UART_HandleTypeDef *huart); |
||
290 | 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndRxTransfer(UART_HandleTypeDef *huart); |
||
291 | 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATransmitCplt(DMA_HandleTypeDef *hdma); |
||
292 | 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAReceiveCplt(DMA_HandleTypeDef *hdma); |
||
293 | 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxHalfCplt(DMA_HandleTypeDef *hdma); |
||
294 | 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxHalfCplt(DMA_HandleTypeDef *hdma); |
||
295 | 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAError(DMA_HandleTypeDef *hdma); |
||
296 | 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma); |
||
297 | 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxAbortCallback(DMA_HandleTypeDef *hdma); |
||
298 | 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxAbortCallback(DMA_HandleTypeDef *hdma); |
||
299 | 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxOnlyAbortCallback(DMA_HandleTypeDef *hdma); |
||
300 | 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxOnlyAbortCallback(DMA_HandleTypeDef *hdma); |
||
301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 6 |
||
302 | |||
303 | |||
304 | 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart); |
||
305 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_EndTransmit_IT(UART_HandleTypeDef *huart); |
||
306 | 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart); |
||
307 | 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, Flag |
||
308 | 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_SetConfig(UART_HandleTypeDef *huart); |
||
309 | 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
310 | 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
311 | 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @} |
||
312 | 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
313 | 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
314 | 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Exported functions ---------------------------------------------------------*/ |
||
315 | 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions UART Exported Functions |
||
316 | 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
317 | 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
318 | 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
319 | 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group1 Initialization and de-initialization functions |
||
320 | 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initialization and Configuration functions |
||
321 | 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * |
||
322 | 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim |
||
323 | 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** =============================================================================== |
||
324 | 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Initialization and Configuration functions ##### |
||
325 | 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** =============================================================================== |
||
326 | 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
327 | 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to initialize the USARTx or the UARTy |
||
328 | 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in asynchronous mode. |
||
329 | 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) For the asynchronous mode only these parameters can be configured: |
||
330 | 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Baud Rate |
||
331 | 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Word Length |
||
332 | 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Stop Bit |
||
333 | 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Parity: If the parity is enabled, then the MSB bit of the data written |
||
334 | 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the data register is transmitted but is changed by the parity bit. |
||
335 | 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Depending on the frame length defined by the M bit (8-bits or 9-bits), |
||
336 | 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** please refer to Reference manual for possible UART frame formats. |
||
337 | 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Hardware flow control |
||
338 | 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Receiver/transmitter modes |
||
339 | 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Over Sampling Method |
||
340 | 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
341 | 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL_UART_Init(), HAL_HalfDuplex_Init(), HAL_LIN_Init() and HAL_MultiProcessor_Init() APIs |
||
342 | 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** follow respectively the UART asynchronous, UART Half duplex, LIN and Multi-Processor configurat |
||
343 | 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** procedures (details for the procedures are available in reference manuals |
||
344 | 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (RM0008 for STM32F10Xxx MCUs and RM0041 for STM32F100xx MCUs)). |
||
345 | 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
346 | 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim |
||
347 | 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
348 | 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
349 | 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
350 | 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
351 | 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the UART mode according to the specified parameters in |
||
352 | 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the UART_InitTypeDef and create the associated handle. |
||
353 | 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
354 | 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
355 | 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
356 | 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
357 | 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart) |
||
358 | 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
359 | 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
360 | 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL) |
||
361 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 7 |
||
362 | |||
363 | |||
364 | 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
365 | 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
366 | 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
367 | 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
368 | 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
369 | 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.HwFlowCtl != UART_HWCONTROL_NONE) |
||
370 | 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
371 | 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* The hardware flow control is available only for USART1, USART2 and USART3 */ |
||
372 | 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_HWFLOW_INSTANCE(huart->Instance)); |
||
373 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_HARDWARE_FLOW_CONTROL(huart->Init.HwFlowCtl)); |
||
374 | 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
375 | 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
376 | 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
377 | 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance)); |
||
378 | 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
379 | 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength)); |
||
380 | 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
381 | 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_OVERSAMPLING(huart->Init.OverSampling)); |
||
382 | 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */ |
||
383 | 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
384 | 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET) |
||
385 | 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
386 | 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */ |
||
387 | 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED; |
||
388 | 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
389 | 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
390 | 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart); |
||
391 | 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
392 | 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL) |
||
393 | 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
394 | 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit; |
||
395 | 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
396 | 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
397 | 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */ |
||
398 | 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart); |
||
399 | 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
400 | 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */ |
||
401 | 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart); |
||
402 | 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
403 | 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
404 | 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
405 | 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
406 | 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
407 | 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */ |
||
408 | 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart); |
||
409 | 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
410 | 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */ |
||
411 | 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart); |
||
412 | 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
413 | 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In asynchronous mode, the following bits must be kept cleared: |
||
414 | 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - LINEN and CLKEN bits in the USART_CR2 register, |
||
415 | 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN, HDSEL and IREN bits in the USART_CR3 register.*/ |
||
416 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); |
||
417 | 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); |
||
418 | 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
419 | 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */ |
||
420 | 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart); |
||
421 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 8 |
||
422 | |||
423 | |||
424 | 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
425 | 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state */ |
||
426 | 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
427 | 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
428 | 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
429 | 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
430 | 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
431 | 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
432 | 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
433 | 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
434 | 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the half-duplex mode according to the specified |
||
435 | 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * parameters in the UART_InitTypeDef and create the associated handle. |
||
436 | 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
437 | 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
438 | 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
439 | 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
440 | 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart) |
||
441 | 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
442 | 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
443 | 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL) |
||
444 | 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
445 | 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
446 | 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
447 | 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
448 | 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
449 | 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_HALFDUPLEX_INSTANCE(huart->Instance)); |
||
450 | 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength)); |
||
451 | 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
452 | 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_OVERSAMPLING(huart->Init.OverSampling)); |
||
453 | 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */ |
||
454 | 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
455 | 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET) |
||
456 | 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
457 | 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */ |
||
458 | 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED; |
||
459 | 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
460 | 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
461 | 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart); |
||
462 | 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
463 | 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL) |
||
464 | 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
465 | 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit; |
||
466 | 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
467 | 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
468 | 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */ |
||
469 | 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart); |
||
470 | 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
471 | 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */ |
||
472 | 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart); |
||
473 | 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
474 | 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
475 | 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
476 | 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
477 | 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
478 | 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */ |
||
479 | 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart); |
||
480 | 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
481 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 9 |
||
482 | |||
483 | |||
484 | 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */ |
||
485 | 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart); |
||
486 | 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
487 | 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In half-duplex mode, the following bits must be kept cleared: |
||
488 | 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - LINEN and CLKEN bits in the USART_CR2 register, |
||
489 | 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN and IREN bits in the USART_CR3 register.*/ |
||
490 | 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); |
||
491 | 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN)); |
||
492 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
493 | 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the Half-Duplex mode by setting the HDSEL bit in the CR3 register */ |
||
494 | 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_HDSEL); |
||
495 | 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
496 | 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */ |
||
497 | 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart); |
||
498 | 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
499 | 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state*/ |
||
500 | 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
501 | 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
502 | 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
503 | 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
504 | 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
505 | 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
506 | 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
507 | 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
508 | 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the LIN mode according to the specified |
||
509 | 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * parameters in the UART_InitTypeDef and create the associated handle. |
||
510 | 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
511 | 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
512 | 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param BreakDetectLength Specifies the LIN break detection length. |
||
513 | 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values: |
||
514 | 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_LINBREAKDETECTLENGTH_10B: 10-bit break detection |
||
515 | 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_LINBREAKDETECTLENGTH_11B: 11-bit break detection |
||
516 | 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
517 | 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
518 | 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLength) |
||
519 | 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
520 | 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
521 | 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL) |
||
522 | 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
523 | 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
524 | 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
525 | 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
526 | 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the LIN UART instance */ |
||
527 | 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_INSTANCE(huart->Instance)); |
||
528 | 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
529 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the Break detection length parameter */ |
||
530 | 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_BREAK_DETECT_LENGTH(BreakDetectLength)); |
||
531 | 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_WORD_LENGTH(huart->Init.WordLength)); |
||
532 | 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
533 | 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_OVERSAMPLING(huart->Init.OverSampling)); |
||
534 | 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */ |
||
535 | 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
536 | 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET) |
||
537 | 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
538 | 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */ |
||
539 | 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED; |
||
540 | 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
541 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 10 |
||
542 | |||
543 | |||
544 | 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
545 | 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart); |
||
546 | 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
547 | 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL) |
||
548 | 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
549 | 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit; |
||
550 | 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
551 | 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
552 | 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */ |
||
553 | 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart); |
||
554 | 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
555 | 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */ |
||
556 | 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart); |
||
557 | 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
558 | 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
559 | 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
560 | 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
561 | 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
562 | 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */ |
||
563 | 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart); |
||
564 | 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
565 | 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */ |
||
566 | 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart); |
||
567 | 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
568 | 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In LIN mode, the following bits must be kept cleared: |
||
569 | 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - CLKEN bits in the USART_CR2 register, |
||
570 | 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN, HDSEL and IREN bits in the USART_CR3 register.*/ |
||
571 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_CLKEN)); |
||
572 | 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN)); |
||
573 | 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
574 | 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the LIN mode by setting the LINEN bit in the CR2 register */ |
||
575 | 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, USART_CR2_LINEN); |
||
576 | 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
577 | 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the USART LIN Break detection length. */ |
||
578 | 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, USART_CR2_LBDL); |
||
579 | 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, BreakDetectLength); |
||
580 | 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
581 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */ |
||
582 | 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart); |
||
583 | 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
584 | 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state*/ |
||
585 | 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
586 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
587 | 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
588 | 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
589 | 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
590 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
591 | 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
592 | 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
593 | 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the Multi-Processor mode according to the specified |
||
594 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * parameters in the UART_InitTypeDef and create the associated handle. |
||
595 | 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
596 | 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
597 | 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Address USART address |
||
598 | 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param WakeUpMethod specifies the USART wake-up method. |
||
599 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values: |
||
600 | 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_WAKEUPMETHOD_IDLELINE: Wake-up by an idle line detection |
||
601 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 11 |
||
602 | |||
603 | |||
604 | 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_WAKEUPMETHOD_ADDRESSMARK: Wake-up by an address mark |
||
605 | 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
606 | 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
607 | 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Address, uint32_t Wake |
||
608 | 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
609 | 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
610 | 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL) |
||
611 | 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
612 | 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
613 | 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
614 | 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
615 | 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
616 | 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance)); |
||
617 | 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
618 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the Address & wake up method parameters */ |
||
619 | 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WAKEUPMETHOD(WakeUpMethod)); |
||
620 | 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_ADDRESS(Address)); |
||
621 | 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength)); |
||
622 | 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
623 | 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_OVERSAMPLING(huart->Init.OverSampling)); |
||
624 | 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */ |
||
625 | 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
626 | 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET) |
||
627 | 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
628 | 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */ |
||
629 | 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED; |
||
630 | 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
631 | 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
632 | 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart); |
||
633 | 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
634 | 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL) |
||
635 | 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
636 | 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit; |
||
637 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
638 | 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
639 | 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */ |
||
640 | 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart); |
||
641 | 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
642 | 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */ |
||
643 | 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart); |
||
644 | 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
645 | 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
646 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
647 | 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
648 | 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
649 | 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */ |
||
650 | 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart); |
||
651 | 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
652 | 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */ |
||
653 | 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart); |
||
654 | 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
655 | 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In Multi-Processor mode, the following bits must be kept cleared: |
||
656 | 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - LINEN and CLKEN bits in the USART_CR2 register, |
||
657 | 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN, HDSEL and IREN bits in the USART_CR3 register */ |
||
658 | 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN)); |
||
659 | 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); |
||
660 | 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
661 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 12 |
||
662 | |||
663 | |||
664 | 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the USART address node */ |
||
665 | 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, USART_CR2_ADD); |
||
666 | 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, Address); |
||
667 | 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
668 | 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the wake up method by setting the WAKE bit in the CR1 register */ |
||
669 | 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_WAKE); |
||
670 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, WakeUpMethod); |
||
671 | 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
672 | 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */ |
||
673 | 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart); |
||
674 | 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
675 | 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state */ |
||
676 | 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
677 | 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
678 | 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
679 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
680 | 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
681 | 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
682 | 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
683 | 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
684 | 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DeInitializes the UART peripheral. |
||
685 | 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
686 | 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
687 | 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
688 | 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
689 | 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart) |
||
690 | 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
691 | 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
692 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL) |
||
693 | 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
694 | 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
695 | 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
696 | 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
697 | 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
698 | 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance)); |
||
699 | 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
700 | 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
701 | 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
702 | 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the Peripheral */ |
||
703 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart); |
||
704 | 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
705 | 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
706 | 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspDeInitCallback == NULL) |
||
707 | 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
708 | 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = HAL_UART_MspDeInit; |
||
709 | 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
710 | 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DeInit the low level hardware */ |
||
711 | 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback(huart); |
||
712 | 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
713 | 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DeInit the low level hardware */ |
||
714 | 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspDeInit(huart); |
||
715 | 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
716 | 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
717 | 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
718 | 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_RESET; |
||
719 | 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_RESET; |
||
720 | 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
721 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 13 |
||
722 | |||
723 | |||
724 | 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlock */ |
||
725 | 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
726 | 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
727 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
728 | 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
729 | 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
730 | 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
731 | 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART MSP Init. |
||
732 | 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
733 | 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
734 | 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
735 | 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
736 | 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_MspInit(UART_HandleTypeDef *huart) |
||
737 | 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
738 | 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
739 | 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
740 | 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
741 | 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_MspInit could be implemented in the user file |
||
742 | 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
743 | 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
744 | 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
745 | 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
746 | 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART MSP DeInit. |
||
747 | 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
748 | 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
749 | 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
750 | 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
751 | 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) |
||
752 | 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
753 | 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
754 | 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
755 | 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
756 | 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_MspDeInit could be implemented in the user file |
||
757 | 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
758 | 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
759 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
760 | 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
761 | 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
762 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Register a User UART Callback |
||
763 | 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * To be used instead of the weak predefined callback |
||
764 | 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart uart handle |
||
765 | 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param CallbackID ID of the callback to be registered |
||
766 | 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values: |
||
767 | 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_HALFCOMPLETE_CB_ID Tx Half Complete Callback ID |
||
768 | 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_COMPLETE_CB_ID Tx Complete Callback ID |
||
769 | 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_HALFCOMPLETE_CB_ID Rx Half Complete Callback ID |
||
770 | 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_COMPLETE_CB_ID Rx Complete Callback ID |
||
771 | 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ERROR_CB_ID Error Callback ID |
||
772 | 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_COMPLETE_CB_ID Abort Complete Callback ID |
||
773 | 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID Abort Transmit Complete Callback ID |
||
774 | 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID Abort Receive Complete Callback ID |
||
775 | 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPINIT_CB_ID MspInit Callback ID |
||
776 | 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPDEINIT_CB_ID MspDeInit Callback ID |
||
777 | 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pCallback pointer to the Callback function |
||
778 | 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
779 | 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
780 | 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef C |
||
781 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 14 |
||
782 | |||
783 | |||
784 | 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
785 | 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef status = HAL_OK; |
||
786 | 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
787 | 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (pCallback == NULL) |
||
788 | 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
789 | 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */ |
||
790 | 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK; |
||
791 | 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
792 | 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
793 | 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
794 | 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process locked */ |
||
795 | 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
796 | 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
797 | 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY) |
||
798 | 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
799 | 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID) |
||
800 | 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
801 | 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_HALFCOMPLETE_CB_ID : |
||
802 | 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback = pCallback; |
||
803 | 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
804 | 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
805 | 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_COMPLETE_CB_ID : |
||
806 | 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback = pCallback; |
||
807 | 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
808 | 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
809 | 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_HALFCOMPLETE_CB_ID : |
||
810 | 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback = pCallback; |
||
811 | 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
812 | 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
813 | 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_COMPLETE_CB_ID : |
||
814 | 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback = pCallback; |
||
815 | 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
816 | 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
817 | 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ERROR_CB_ID : |
||
818 | 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback = pCallback; |
||
819 | 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
820 | 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
821 | 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_COMPLETE_CB_ID : |
||
822 | 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback = pCallback; |
||
823 | 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
824 | 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
825 | 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID : |
||
826 | 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback = pCallback; |
||
827 | 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
828 | 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
829 | 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID : |
||
830 | 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback = pCallback; |
||
831 | 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
832 | 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
833 | 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID : |
||
834 | 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = pCallback; |
||
835 | 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
836 | 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
837 | 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID : |
||
838 | 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = pCallback; |
||
839 | 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
840 | 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
841 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 15 |
||
842 | |||
843 | |||
844 | 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default : |
||
845 | 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */ |
||
846 | 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK; |
||
847 | 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
848 | 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */ |
||
849 | 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR; |
||
850 | 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
851 | 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
852 | 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
853 | 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else if (huart->gState == HAL_UART_STATE_RESET) |
||
854 | 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
855 | 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID) |
||
856 | 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
857 | 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID : |
||
858 | 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = pCallback; |
||
859 | 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
860 | 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
861 | 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID : |
||
862 | 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = pCallback; |
||
863 | 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
864 | 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
865 | 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default : |
||
866 | 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */ |
||
867 | 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK; |
||
868 | 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
869 | 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */ |
||
870 | 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR; |
||
871 | 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
872 | 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
873 | 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
874 | 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
875 | 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
876 | 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */ |
||
877 | 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK; |
||
878 | 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
879 | 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */ |
||
880 | 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR; |
||
881 | 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
882 | 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
883 | 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Release Lock */ |
||
884 | 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
885 | 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
886 | 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return status; |
||
887 | 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
888 | 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
889 | 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
890 | 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Unregister an UART Callback |
||
891 | 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * UART callaback is redirected to the weak predefined callback |
||
892 | 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart uart handle |
||
893 | 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param CallbackID ID of the callback to be unregistered |
||
894 | 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values: |
||
895 | 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_HALFCOMPLETE_CB_ID Tx Half Complete Callback ID |
||
896 | 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_COMPLETE_CB_ID Tx Complete Callback ID |
||
897 | 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_HALFCOMPLETE_CB_ID Rx Half Complete Callback ID |
||
898 | 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_COMPLETE_CB_ID Rx Complete Callback ID |
||
899 | 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ERROR_CB_ID Error Callback ID |
||
900 | 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_COMPLETE_CB_ID Abort Complete Callback ID |
||
901 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 16 |
||
902 | |||
903 | |||
904 | 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID Abort Transmit Complete Callback ID |
||
905 | 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID Abort Receive Complete Callback ID |
||
906 | 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPINIT_CB_ID MspInit Callback ID |
||
907 | 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPDEINIT_CB_ID MspDeInit Callback ID |
||
908 | 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
909 | 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
910 | 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_UnRegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef |
||
911 | 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
912 | 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef status = HAL_OK; |
||
913 | 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
914 | 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process locked */ |
||
915 | 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
916 | 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
917 | 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_UART_STATE_READY == huart->gState) |
||
918 | 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
919 | 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID) |
||
920 | 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
921 | 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_HALFCOMPLETE_CB_ID : |
||
922 | 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback = HAL_UART_TxHalfCpltCallback; /* Legacy weak TxHa |
||
923 | 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
924 | 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
925 | 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_COMPLETE_CB_ID : |
||
926 | 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback = HAL_UART_TxCpltCallback; /* Legacy weak TxCpl |
||
927 | 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
928 | 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
929 | 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_HALFCOMPLETE_CB_ID : |
||
930 | 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback = HAL_UART_RxHalfCpltCallback; /* Legacy weak RxHal |
||
931 | 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
932 | 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
933 | 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_COMPLETE_CB_ID : |
||
934 | 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback = HAL_UART_RxCpltCallback; /* Legacy weak RxCpl |
||
935 | 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
936 | 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
937 | 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ERROR_CB_ID : |
||
938 | 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback = HAL_UART_ErrorCallback; /* Legacy weak Error |
||
939 | 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
940 | 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
941 | 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_COMPLETE_CB_ID : |
||
942 | 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback = HAL_UART_AbortCpltCallback; /* Legacy weak Abort |
||
943 | 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
944 | 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
945 | 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID : |
||
946 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback = HAL_UART_AbortTransmitCpltCallback; /* Legacy weak Abort |
||
947 | 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
948 | 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
949 | 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID : |
||
950 | 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback = HAL_UART_AbortReceiveCpltCallback; /* Legacy weak Abort |
||
951 | 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
952 | 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
953 | 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID : |
||
954 | 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit; /* Legacy weak MspIn |
||
955 | 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
956 | 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
957 | 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID : |
||
958 | 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = HAL_UART_MspDeInit; /* Legacy weak MspDe |
||
959 | 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
960 | 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
961 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 17 |
||
962 | |||
963 | |||
964 | 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default : |
||
965 | 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */ |
||
966 | 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK; |
||
967 | 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
968 | 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */ |
||
969 | 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR; |
||
970 | 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
971 | 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
972 | 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
973 | 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else if (HAL_UART_STATE_RESET == huart->gState) |
||
974 | 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
975 | 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID) |
||
976 | 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
977 | 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID : |
||
978 | 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit; |
||
979 | 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
980 | 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
981 | 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID : |
||
982 | 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = HAL_UART_MspDeInit; |
||
983 | 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
984 | 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
985 | 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default : |
||
986 | 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */ |
||
987 | 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK; |
||
988 | 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
989 | 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */ |
||
990 | 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR; |
||
991 | 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break; |
||
992 | 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
993 | 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
994 | 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
995 | 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
996 | 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */ |
||
997 | 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK; |
||
998 | 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
999 | 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */ |
||
1000 | 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR; |
||
1001 | 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1002 | 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1003 | 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Release Lock */ |
||
1004 | 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1005 | 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1006 | 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return status; |
||
1007 | 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1008 | 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
1009 | 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1010 | 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1011 | 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @} |
||
1012 | 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1013 | 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1014 | 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group2 IO operation functions |
||
1015 | 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Transmit and Receive functions |
||
1016 | 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * |
||
1017 | 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim |
||
1018 | 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** =============================================================================== |
||
1019 | 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### IO operation functions ##### |
||
1020 | 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** =============================================================================== |
||
1021 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 18 |
||
1022 | |||
1023 | |||
1024 | 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to manage the UART asynchronous |
||
1025 | 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and Half duplex data transfers. |
||
1026 | 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1027 | 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) There are two modes of transfer: |
||
1028 | 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Blocking mode: The communication is performed in polling mode. |
||
1029 | 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL status of all data processing is returned by the same function |
||
1030 | 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** after finishing transfer. |
||
1031 | 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Non-Blocking mode: The communication is performed using Interrupts |
||
1032 | 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** or DMA, these API's return the HAL status. |
||
1033 | 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The end of the data processing will be indicated through the |
||
1034 | 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dedicated UART IRQ when using Interrupt mode or the DMA IRQ when |
||
1035 | 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** using DMA mode. |
||
1036 | 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL_UART_TxCpltCallback(), HAL_UART_RxCpltCallback() user callbacks |
||
1037 | 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will be executed respectively at the end of the transmit or receive process |
||
1038 | 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL_UART_ErrorCallback()user callback will be executed when a communication error is |
||
1039 | 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1040 | 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Blocking mode API's are : |
||
1041 | 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Transmit() |
||
1042 | 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Receive() |
||
1043 | 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1044 | 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Non-Blocking mode API's with Interrupt are : |
||
1045 | 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Transmit_IT() |
||
1046 | 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Receive_IT() |
||
1047 | 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_IRQHandler() |
||
1048 | 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1049 | 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Non-Blocking mode API's with DMA are : |
||
1050 | 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Transmit_DMA() |
||
1051 | 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Receive_DMA() |
||
1052 | 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_DMAPause() |
||
1053 | 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_DMAResume() |
||
1054 | 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_DMAStop() |
||
1055 | 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1056 | 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) A set of Transfer Complete Callbacks are provided in Non_Blocking mode: |
||
1057 | 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_TxHalfCpltCallback() |
||
1058 | 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_TxCpltCallback() |
||
1059 | 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_RxHalfCpltCallback() |
||
1060 | 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_RxCpltCallback() |
||
1061 | 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_ErrorCallback() |
||
1062 | 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1063 | 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Non-Blocking mode transfers could be aborted using Abort API's : |
||
1064 | 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Abort() |
||
1065 | 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortTransmit() |
||
1066 | 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortReceive() |
||
1067 | 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Abort_IT() |
||
1068 | 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortTransmit_IT() |
||
1069 | 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortReceive_IT() |
||
1070 | 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1071 | 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For Abort services based on interrupts (HAL_UART_Abortxxx_IT), a set of Abort Complete Call |
||
1072 | 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortCpltCallback() |
||
1073 | 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortTransmitCpltCallback() |
||
1074 | 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortReceiveCpltCallback() |
||
1075 | 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1076 | 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) In Non-Blocking mode transfers, possible errors are split into 2 categories. |
||
1077 | 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Errors are handled as follows : |
||
1078 | 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Error is considered as Recoverable and non blocking : Transfer could go till end, but er |
||
1079 | 1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** to be evaluated by user : this concerns Frame Error, Parity Error or Noise Error in Inte |
||
1080 | 1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Received character is then retrieved and stored in Rx buffer, Error code is set to allow |
||
1081 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 19 |
||
1082 | |||
1083 | |||
1084 | 1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and HAL_UART_ErrorCallback() user callback is executed. Transfer is kept ongoing on UART |
||
1085 | 1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** If user wants to abort it, Abort services should be called by user. |
||
1086 | 1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Error is considered as Blocking : Transfer could not be completed properly and is aborte |
||
1087 | 1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This concerns Overrun Error In Interrupt mode reception and all errors in DMA mode. |
||
1088 | 1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Error code is set to allow user to identify error type, and HAL_UART_ErrorCallback() use |
||
1089 | 1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1090 | 1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** -@- In the Half duplex communication, it is forbidden to run the transmit |
||
1091 | 1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and receive process in parallel, the UART state HAL_UART_STATE_BUSY_TX_RX can't be useful. |
||
1092 | 1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1093 | 1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim |
||
1094 | 1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
1095 | 1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1096 | 1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1097 | 1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1098 | 1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in blocking mode. |
||
1099 | 1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1- |
||
1100 | 1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the sent data is handled as a set of u16. In this case, Size must indicate the number |
||
1101 | 1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 provided through pData. |
||
1102 | 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1103 | 1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1104 | 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements). |
||
1105 | 1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be sent |
||
1106 | 1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Timeout Timeout duration |
||
1107 | 1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1108 | 1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1109 | 1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint3 |
||
1110 | 1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1111 | 1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
1112 | 1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tickstart = 0U; |
||
1113 | 1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1114 | 1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */ |
||
1115 | 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY) |
||
1116 | 1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1117 | 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U)) |
||
1118 | 1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1119 | 1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
1120 | 1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1121 | 1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1122 | 1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1123 | 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1124 | 1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1125 | 1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1126 | 1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
1127 | 1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1128 | 1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init tickstart for timeout managment */ |
||
1129 | 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tickstart = HAL_GetTick(); |
||
1130 | 1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1131 | 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size; |
||
1132 | 1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
1133 | 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while (huart->TxXferCount > 0U) |
||
1134 | 1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1135 | 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount--; |
||
1136 | 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
1137 | 1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1138 | 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) |
||
1139 | 1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1140 | 1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1141 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 20 |
||
1142 | |||
1143 | |||
1144 | 1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1145 | 1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint16_t *) pData; |
||
1146 | 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (*tmp & (uint16_t)0x01FF); |
||
1147 | 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
1148 | 1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1149 | 1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 2U; |
||
1150 | 1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1151 | 1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1152 | 1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1153 | 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 1U; |
||
1154 | 1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1155 | 1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1156 | 1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1157 | 1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1158 | 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) |
||
1159 | 1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1160 | 1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1161 | 1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1162 | 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (*pData++ & (uint8_t)0xFF); |
||
1163 | 1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1164 | 1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1165 | 1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1166 | 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK) |
||
1167 | 1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1168 | 1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1169 | 1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1170 | 1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1171 | 1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Tx process, restore huart->gState to Ready */ |
||
1172 | 1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
1173 | 1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1174 | 1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1175 | 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1176 | 1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1177 | 1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1178 | 1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1179 | 1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1180 | 1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1181 | 1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
1182 | 1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1183 | 1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1184 | 1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1185 | 1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1186 | 1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in blocking mode. |
||
1187 | 1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1- |
||
1188 | 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the received data is handled as a set of u16. In this case, Size must indicate the numb |
||
1189 | 1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 available through pData. |
||
1190 | 1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1191 | 1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1192 | 1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements). |
||
1193 | 1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be received. |
||
1194 | 1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Timeout Timeout duration |
||
1195 | 1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1196 | 1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1197 | 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32 |
||
1198 | 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1199 | 1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
1200 | 1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tickstart = 0U; |
||
1201 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 21 |
||
1202 | |||
1203 | |||
1204 | 1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1205 | 1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */ |
||
1206 | 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_READY) |
||
1207 | 1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1208 | 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U)) |
||
1209 | 1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1210 | 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
1211 | 1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1212 | 1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1213 | 1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1214 | 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1215 | 1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1216 | 1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1217 | 1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
1218 | 1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1219 | 1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init tickstart for timeout managment */ |
||
1220 | 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tickstart = HAL_GetTick(); |
||
1221 | 1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1222 | 1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size; |
||
1223 | 1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size; |
||
1224 | 1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1225 | 1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the remain data to be received */ |
||
1226 | 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while (huart->RxXferCount > 0U) |
||
1227 | 1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1228 | 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount--; |
||
1229 | 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
1230 | 1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1231 | 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK |
||
1232 | 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1233 | 1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1234 | 1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1235 | 1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint16_t *) pData; |
||
1236 | 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
1237 | 1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1238 | 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *tmp = (uint16_t)(huart->Instance->DR & (uint16_t)0x01FF); |
||
1239 | 1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 2U; |
||
1240 | 1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1241 | 1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1242 | 1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1243 | 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *tmp = (uint16_t)(huart->Instance->DR & (uint16_t)0x00FF); |
||
1244 | 1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 1U; |
||
1245 | 1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1246 | 1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1247 | 1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1248 | 1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1249 | 1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1250 | 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK |
||
1251 | 1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1252 | 1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1253 | 1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1254 | 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
1255 | 1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1256 | 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pData++ = (uint8_t)(huart->Instance->DR & (uint8_t)0x00FF); |
||
1257 | 1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1258 | 1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1259 | 1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1260 | 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pData++ = (uint8_t)(huart->Instance->DR & (uint8_t)0x007F); |
||
1261 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 22 |
||
1262 | |||
1263 | |||
1264 | 1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1265 | 1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1266 | 1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1267 | 1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1268 | 1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1269 | 1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Rx process, restore huart->RxState to Ready */ |
||
1270 | 1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
1271 | 1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1272 | 1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1273 | 1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1274 | 1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1275 | 1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1276 | 1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1277 | 1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1278 | 1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1279 | 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
1280 | 1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1281 | 1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1282 | 1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1283 | 1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1284 | 1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in non blocking mode. |
||
1285 | 1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1- |
||
1286 | 1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the sent data is handled as a set of u16. In this case, Size must indicate the number |
||
1287 | 1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 provided through pData. |
||
1288 | 1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1289 | 1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1290 | 1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements). |
||
1291 | 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be sent |
||
1292 | 1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1293 | 1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1294 | 1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) |
||
1295 | 1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1296 | 1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */ |
||
1297 | 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY) |
||
1298 | 1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1299 | 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U)) |
||
1300 | 1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1301 | 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
1302 | 1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1303 | 1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1304 | 1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1305 | 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1306 | 1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1307 | 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr = pData; |
||
1308 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size; |
||
1309 | 1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
1310 | 1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1311 | 1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1312 | 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
1313 | 1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1314 | 1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1315 | 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1316 | 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1317 | 1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Transmit data register empty Interrupt */ |
||
1318 | 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_TXE); |
||
1319 | 1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1320 | 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1321 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 23 |
||
1322 | |||
1323 | |||
1324 | 1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1325 | 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1326 | 1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1327 | 1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
1328 | 1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1329 | 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1330 | 1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1331 | 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1332 | 1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in non blocking mode. |
||
1333 | 1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1- |
||
1334 | 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the received data is handled as a set of u16. In this case, Size must indicate the numb |
||
1335 | 1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 available through pData. |
||
1336 | 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1337 | 1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1338 | 1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements). |
||
1339 | 1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be received. |
||
1340 | 1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1341 | 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1342 | 1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) |
||
1343 | 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1344 | 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */ |
||
1345 | 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_READY) |
||
1346 | 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1347 | 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U)) |
||
1348 | 1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1349 | 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
1350 | 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1351 | 1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1352 | 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1353 | 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1354 | 1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1355 | 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr = pData; |
||
1356 | 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size; |
||
1357 | 1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size; |
||
1358 | 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1359 | 1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1360 | 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
1361 | 1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1362 | 1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1363 | 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1364 | 1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1365 | 1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Parity Error Interrupt */ |
||
1366 | 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_PE); |
||
1367 | 1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1368 | 1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */ |
||
1369 | 1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_ERR); |
||
1370 | 1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1371 | 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Data Register not empty Interrupt */ |
||
1372 | 1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_RXNE); |
||
1373 | 1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1374 | 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1375 | 1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1376 | 1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1377 | 1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1378 | 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
1379 | 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1380 | 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1381 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 24 |
||
1382 | |||
1383 | |||
1384 | 1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1385 | 1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1386 | 1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in DMA mode. |
||
1387 | 1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1- |
||
1388 | 1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the sent data is handled as a set of u16. In this case, Size must indicate the number |
||
1389 | 1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 provided through pData. |
||
1390 | 1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1391 | 1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1392 | 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements). |
||
1393 | 1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be sent |
||
1394 | 1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1395 | 1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1396 | 1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) |
||
1397 | 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1398 | 1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp; |
||
1399 | 1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1400 | 1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */ |
||
1401 | 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY) |
||
1402 | 1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1403 | 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U)) |
||
1404 | 1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1405 | 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
1406 | 1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1407 | 1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1408 | 1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1409 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1410 | 1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1411 | 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr = pData; |
||
1412 | 1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size; |
||
1413 | 1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
1414 | 1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1415 | 1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1416 | 1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
1417 | 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1418 | 1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA transfer complete callback */ |
||
1419 | 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferCpltCallback = UART_DMATransmitCplt; |
||
1420 | 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1421 | 1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Half transfer complete callback */ |
||
1422 | 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferHalfCpltCallback = UART_DMATxHalfCplt; |
||
1423 | 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1424 | 1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA error callback */ |
||
1425 | 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferErrorCallback = UART_DMAError; |
||
1426 | 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1427 | 1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA abort callback */ |
||
1428 | 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL; |
||
1429 | 1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1430 | 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART transmit DMA channel */ |
||
1431 | 1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint32_t *)&pData; |
||
1432 | 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Start_IT(huart->hdmatx, *(uint32_t *)tmp, (uint32_t)&huart->Instance->DR, Size); |
||
1433 | 1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1434 | 1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear the TC flag in the SR register by writing 0 to it */ |
||
1435 | 1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_CLEAR_FLAG(huart, UART_FLAG_TC); |
||
1436 | 1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1437 | 1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1438 | 1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1439 | 1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1440 | 1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the DMA transfer for transmit request by setting the DMAT bit |
||
1441 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 25 |
||
1442 | |||
1443 | |||
1444 | 1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */ |
||
1445 | 1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
1446 | 1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1447 | 1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1448 | 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1449 | 1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1450 | 1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1451 | 1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
1452 | 1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1453 | 1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1454 | 1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1455 | 1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1456 | 1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in DMA mode. |
||
1457 | 1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1- |
||
1458 | 1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the received data is handled as a set of u16. In this case, Size must indicate the numb |
||
1459 | 1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 available through pData. |
||
1460 | 1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1461 | 1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1462 | 1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements). |
||
1463 | 1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be received. |
||
1464 | 1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When the UART parity is enabled (PCE = 1) the received data contains the parity bit. |
||
1465 | 1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1466 | 1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1467 | 1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) |
||
1468 | 1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1469 | 1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp; |
||
1470 | 1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1471 | 1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */ |
||
1472 | 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_READY) |
||
1473 | 1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1474 | 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U)) |
||
1475 | 1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1476 | 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR; |
||
1477 | 1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1478 | 1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1479 | 1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1480 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1481 | 1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1482 | 1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr = pData; |
||
1483 | 1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size; |
||
1484 | 1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1485 | 1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1486 | 1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
1487 | 1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1488 | 1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA transfer complete callback */ |
||
1489 | 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferCpltCallback = UART_DMAReceiveCplt; |
||
1490 | 1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1491 | 1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Half transfer complete callback */ |
||
1492 | 1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferHalfCpltCallback = UART_DMARxHalfCplt; |
||
1493 | 1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1494 | 1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA error callback */ |
||
1495 | 1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferErrorCallback = UART_DMAError; |
||
1496 | 1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1497 | 1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA abort callback */ |
||
1498 | 1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL; |
||
1499 | 1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1500 | 1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the DMA channel */ |
||
1501 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 26 |
||
1502 | |||
1503 | |||
1504 | 1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint32_t *)&pData; |
||
1505 | 1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Start_IT(huart->hdmarx, (uint32_t)&huart->Instance->DR, *(uint32_t *)tmp, Size); |
||
1506 | 1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1507 | 1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear the Overrun flag just before enabling the DMA Rx request: can be mandatory for the sec |
||
1508 | 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_CLEAR_OREFLAG(huart); |
||
1509 | 1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1510 | 1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1511 | 1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1512 | 1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1513 | 1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Parity Error Interrupt */ |
||
1514 | 1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_PEIE); |
||
1515 | 1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1516 | 1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */ |
||
1517 | 1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
1518 | 1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1519 | 1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the DMA transfer for the receiver request by setting the DMAR bit |
||
1520 | 1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */ |
||
1521 | 1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
1522 | 1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1523 | 1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1524 | 1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1525 | 1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1526 | 1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1527 | 1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
1528 | 1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1529 | 1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1530 | 1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1531 | 1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1532 | 1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Pauses the DMA Transfer. |
||
1533 | 1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1534 | 1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1535 | 1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1536 | 1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1537 | 1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart) |
||
1538 | 1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1539 | 1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
1540 | 1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1541 | 1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1542 | 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1543 | 1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1544 | 1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT); |
||
1545 | 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
1546 | 1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1547 | 1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request */ |
||
1548 | 1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
1549 | 1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1550 | 1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1551 | 1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); |
||
1552 | 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
1553 | 1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1554 | 1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
1555 | 1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); |
||
1556 | 1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
1557 | 1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1558 | 1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request */ |
||
1559 | 1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
1560 | 1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1561 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 27 |
||
1562 | |||
1563 | |||
1564 | 1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1565 | 1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1566 | 1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1567 | 1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1568 | 1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1569 | 1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1570 | 1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1571 | 1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1572 | 1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Resumes the DMA Transfer. |
||
1573 | 1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1574 | 1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1575 | 1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1576 | 1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1577 | 1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart) |
||
1578 | 1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1579 | 1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
1580 | 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
1581 | 1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1582 | 1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_BUSY_TX) |
||
1583 | 1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1584 | 1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART DMA Tx request */ |
||
1585 | 1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
1586 | 1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1587 | 1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1588 | 1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_BUSY_RX) |
||
1589 | 1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1590 | 1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear the Overrun flag before resuming the Rx transfer*/ |
||
1591 | 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_CLEAR_OREFLAG(huart); |
||
1592 | 1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1593 | 1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reenable PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
1594 | 1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_PEIE); |
||
1595 | 1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
1596 | 1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1597 | 1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART DMA Rx request */ |
||
1598 | 1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
1599 | 1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1600 | 1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1601 | 1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
1602 | 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
1603 | 1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1604 | 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1605 | 1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1606 | 1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1607 | 1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1608 | 1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Stops the DMA Transfer. |
||
1609 | 1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
1610 | 1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
1611 | 1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1612 | 1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1613 | 1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart) |
||
1614 | 1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1615 | 1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
1616 | 1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* The Lock is not implemented on this API to allow the user application |
||
1617 | 1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** to call the HAL UART API under callbacks HAL_UART_TxCpltCallback() / HAL_UART_RxCpltCallback() |
||
1618 | 1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** when calling HAL_DMA_Abort() API the DMA TX/RX Transfer complete interrupt is generated |
||
1619 | 1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and the correspond call back is executed HAL_UART_TxCpltCallback() / HAL_UART_RxCpltCallback() |
||
1620 | 1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1621 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 28 |
||
1622 | |||
1623 | |||
1624 | 1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1625 | 1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Tx request if ongoing */ |
||
1626 | 1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT); |
||
1627 | 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
1628 | 1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1629 | 1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
1630 | 1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1631 | 1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel */ |
||
1632 | 1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL) |
||
1633 | 1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1634 | 1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Abort(huart->hdmatx); |
||
1635 | 1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1636 | 1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTxTransfer(huart); |
||
1637 | 1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1638 | 1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1639 | 1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Rx request if ongoing */ |
||
1640 | 1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); |
||
1641 | 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
1642 | 1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1643 | 1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
1644 | 1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1645 | 1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel */ |
||
1646 | 1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
1647 | 1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1648 | 1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Abort(huart->hdmarx); |
||
1649 | 1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1650 | 1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart); |
||
1651 | 1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1652 | 1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1653 | 1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1654 | 1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1655 | 1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1656 | 1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1657 | 1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing transfers (blocking mode). |
||
1658 | 1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
1659 | 1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing transfer started in Interrupt or |
||
1660 | 1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations : |
||
1661 | 1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx and Rx) |
||
1662 | 1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled) |
||
1663 | 1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode) |
||
1664 | 1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY |
||
1665 | 1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in blocking mode : when exiting function, Abort is considere |
||
1666 | 1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1667 | 1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1668 | 1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart) |
||
1669 | 1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1670 | 1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
1671 | 1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_ |
||
1672 | 1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
1673 | 1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1674 | 1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */ |
||
1675 | 1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) |
||
1676 | 1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1677 | 1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
1678 | 1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1679 | 1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel: use blocking DMA Abort API (no callback) */ |
||
1680 | 1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL) |
||
1681 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 29 |
||
1682 | |||
1683 | |||
1684 | 1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1685 | 1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null. |
||
1686 | 1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */ |
||
1687 | 1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL; |
||
1688 | 1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1689 | 1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmatx) != HAL_OK) |
||
1690 | 1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1691 | 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmatx) == HAL_DMA_ERROR_TIMEOUT) |
||
1692 | 1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1693 | 1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */ |
||
1694 | 1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA; |
||
1695 | 1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1696 | 1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1697 | 1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1698 | 1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1699 | 1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1700 | 1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1701 | 1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1702 | 1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */ |
||
1703 | 1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) |
||
1704 | 1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1705 | 1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
1706 | 1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1707 | 1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel: use blocking DMA Abort API (no callback) */ |
||
1708 | 1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
1709 | 1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1710 | 1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null. |
||
1711 | 1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */ |
||
1712 | 1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL; |
||
1713 | 1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1714 | 1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmarx) != HAL_OK) |
||
1715 | 1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1716 | 1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmarx) == HAL_DMA_ERROR_TIMEOUT) |
||
1717 | 1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1718 | 1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */ |
||
1719 | 1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA; |
||
1720 | 1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1721 | 1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1722 | 1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1723 | 1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1724 | 1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1725 | 1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1726 | 1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1727 | 1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx and Rx transfer counters */ |
||
1728 | 1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
1729 | 1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
1730 | 1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1731 | 1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */ |
||
1732 | 1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1733 | 1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1734 | 1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState and huart->gState to Ready */ |
||
1735 | 1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
1736 | 1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
1737 | 1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1738 | 1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1739 | 1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1740 | 1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1741 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 30 |
||
1742 | |||
1743 | |||
1744 | 1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1745 | 1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Transmit transfer (blocking mode). |
||
1746 | 1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
1747 | 1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Tx transfer started in Interrupt |
||
1748 | 1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations : |
||
1749 | 1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx) |
||
1750 | 1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled) |
||
1751 | 1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode) |
||
1752 | 1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY |
||
1753 | 1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in blocking mode : when exiting function, Abort is considere |
||
1754 | 1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1755 | 1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1756 | 1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart) |
||
1757 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1758 | 1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */ |
||
1759 | 1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); |
||
1760 | 1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1761 | 1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */ |
||
1762 | 1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) |
||
1763 | 1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1764 | 1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
1765 | 1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1766 | 1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel : use blocking DMA Abort API (no callback) */ |
||
1767 | 1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL) |
||
1768 | 1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1769 | 1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null. |
||
1770 | 1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */ |
||
1771 | 1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL; |
||
1772 | 1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1773 | 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmatx) != HAL_OK) |
||
1774 | 1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1775 | 1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmatx) == HAL_DMA_ERROR_TIMEOUT) |
||
1776 | 1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1777 | 1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */ |
||
1778 | 1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA; |
||
1779 | 1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1780 | 1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1781 | 1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1782 | 1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1783 | 1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1784 | 1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1785 | 1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1786 | 1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx transfer counter */ |
||
1787 | 1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
1788 | 1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1789 | 1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */ |
||
1790 | 1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
1791 | 1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1792 | 1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1793 | 1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1794 | 1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1795 | 1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1796 | 1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Receive transfer (blocking mode). |
||
1797 | 1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
1798 | 1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Rx transfer started in Interrupt |
||
1799 | 1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations : |
||
1800 | 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Rx) |
||
1801 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 31 |
||
1802 | |||
1803 | |||
1804 | 1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled) |
||
1805 | 1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode) |
||
1806 | 1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY |
||
1807 | 1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in blocking mode : when exiting function, Abort is considere |
||
1808 | 1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1809 | 1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1810 | 1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart) |
||
1811 | 1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1812 | 1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
1813 | 1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); |
||
1814 | 1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
1815 | 1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1816 | 1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */ |
||
1817 | 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) |
||
1818 | 1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1819 | 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
1820 | 1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1821 | 1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel : use blocking DMA Abort API (no callback) */ |
||
1822 | 1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
1823 | 1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1824 | 1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null. |
||
1825 | 1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */ |
||
1826 | 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL; |
||
1827 | 1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1828 | 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmarx) != HAL_OK) |
||
1829 | 1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1830 | 1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmarx) == HAL_DMA_ERROR_TIMEOUT) |
||
1831 | 1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1832 | 1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */ |
||
1833 | 1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA; |
||
1834 | 1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1835 | 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
1836 | 1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1837 | 1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1838 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1839 | 1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1840 | 1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1841 | 1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Rx transfer counter */ |
||
1842 | 1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
1843 | 1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1844 | 1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */ |
||
1845 | 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
1846 | 1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1847 | 1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1848 | 1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1849 | 1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1850 | 1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1851 | 1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing transfers (Interrupt mode). |
||
1852 | 1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
1853 | 1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing transfer started in Interrupt or |
||
1854 | 1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations : |
||
1855 | 1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx and Rx) |
||
1856 | 1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled) |
||
1857 | 1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort_IT (in case of transfer in DMA mode) |
||
1858 | 1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY |
||
1859 | 1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - At abort completion, call user abort complete callback |
||
1860 | 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be |
||
1861 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 32 |
||
1862 | |||
1863 | |||
1864 | 1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * considered as completed only when user abort complete callback is executed (not when ex |
||
1865 | 1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
1866 | 1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
1867 | 1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart) |
||
1868 | 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1869 | 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t AbortCplt = 0x01U; |
||
1870 | 1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1871 | 1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
1872 | 1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_ |
||
1873 | 1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
1874 | 1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1875 | 1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If DMA Tx and/or DMA Rx Handles are associated to UART Handle, DMA Abort complete callbacks sh |
||
1876 | 1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** before any call to DMA Abort functions */ |
||
1877 | 1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Tx Handle is valid */ |
||
1878 | 1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL) |
||
1879 | 1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1880 | 1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set DMA Abort Complete callback if UART DMA Tx request if enabled. |
||
1881 | 1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Otherwise, set it to NULL */ |
||
1882 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) |
||
1883 | 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1884 | 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = UART_DMATxAbortCallback; |
||
1885 | 1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1886 | 1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1887 | 1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1888 | 1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL; |
||
1889 | 1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1890 | 1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1891 | 1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Rx Handle is valid */ |
||
1892 | 1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
1893 | 1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1894 | 1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set DMA Abort Complete callback if UART DMA Rx request if enabled. |
||
1895 | 1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Otherwise, set it to NULL */ |
||
1896 | 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) |
||
1897 | 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1898 | 1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = UART_DMARxAbortCallback; |
||
1899 | 1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1900 | 1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1901 | 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1902 | 1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL; |
||
1903 | 1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1904 | 1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1905 | 1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1906 | 1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */ |
||
1907 | 1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) |
||
1908 | 1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1909 | 1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable DMA Tx at UART level */ |
||
1910 | 1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
1911 | 1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1912 | 1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel : use non blocking DMA Abort API (callback) */ |
||
1913 | 1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL) |
||
1914 | 1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1915 | 1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART Tx DMA Abort callback has already been initialised : |
||
1916 | 1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */ |
||
1917 | 1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1918 | 1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA TX */ |
||
1919 | 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmatx) != HAL_OK) |
||
1920 | 1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1921 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 33 |
||
1922 | |||
1923 | |||
1924 | 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL; |
||
1925 | 1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1926 | 1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1927 | 1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1928 | 1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x00U; |
||
1929 | 1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1930 | 1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1931 | 1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1932 | 1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1933 | 1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */ |
||
1934 | 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) |
||
1935 | 1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1936 | 1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
1937 | 1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1938 | 1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel : use non blocking DMA Abort API (callback) */ |
||
1939 | 1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
1940 | 1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1941 | 1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART Rx DMA Abort callback has already been initialised : |
||
1942 | 1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */ |
||
1943 | 1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1944 | 1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA RX */ |
||
1945 | 1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK) |
||
1946 | 1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1947 | 1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL; |
||
1948 | 1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x01U; |
||
1949 | 1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1950 | 1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
1951 | 1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1952 | 1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x00U; |
||
1953 | 1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1954 | 1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1955 | 1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1956 | 1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1957 | 1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* if no DMA abort complete callback execution is required => call user Abort Complete callback * |
||
1958 | 1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (AbortCplt == 0x01U) |
||
1959 | 1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
1960 | 1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx and Rx transfer counters */ |
||
1961 | 1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
1962 | 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
1963 | 1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1964 | 1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */ |
||
1965 | 1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
1966 | 1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1967 | 1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState and huart->RxState to Ready */ |
||
1968 | 1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
1969 | 1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
1970 | 1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1971 | 1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */ |
||
1972 | 1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
1973 | 1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort complete callback */ |
||
1974 | 1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback(huart); |
||
1975 | 1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
1976 | 1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort complete callback */ |
||
1977 | 1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortCpltCallback(huart); |
||
1978 | 1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
1979 | 1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1980 | 1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1981 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 34 |
||
1982 | |||
1983 | |||
1984 | 1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
1985 | 1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
1986 | 1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
1987 | 1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
1988 | 1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Transmit transfer (Interrupt mode). |
||
1989 | 1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
1990 | 1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Tx transfer started in Interrupt |
||
1991 | 1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations : |
||
1992 | 1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx) |
||
1993 | 1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled) |
||
1994 | 1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort_IT (in case of transfer in DMA mode) |
||
1995 | 1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY |
||
1996 | 1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - At abort completion, call user abort complete callback |
||
1997 | 1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be |
||
1998 | 1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * considered as completed only when user abort complete callback is executed (not when ex |
||
1999 | 1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2000 | 1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2001 | 1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart) |
||
2002 | 1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2003 | 1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */ |
||
2004 | 1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); |
||
2005 | 1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2006 | 1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */ |
||
2007 | 1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) |
||
2008 | 1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2009 | 1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
2010 | 1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2011 | 1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel : use blocking DMA Abort API (no callback) */ |
||
2012 | 1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL) |
||
2013 | 1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2014 | 1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback : |
||
2015 | 1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */ |
||
2016 | 1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = UART_DMATxOnlyAbortCallback; |
||
2017 | 1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2018 | 1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA TX */ |
||
2019 | 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmatx) != HAL_OK) |
||
2020 | 1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2021 | 1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call Directly huart->hdmatx->XferAbortCallback function in case of error */ |
||
2022 | 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback(huart->hdmatx); |
||
2023 | 1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2024 | 1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2025 | 1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2026 | 1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2027 | 1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx transfer counter */ |
||
2028 | 1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
2029 | 1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2030 | 1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */ |
||
2031 | 1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2032 | 1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2033 | 1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */ |
||
2034 | 1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2035 | 1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Transmit Complete Callback */ |
||
2036 | 1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback(huart); |
||
2037 | 1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2038 | 1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Transmit Complete Callback */ |
||
2039 | 1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortTransmitCpltCallback(huart); |
||
2040 | 1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2041 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 35 |
||
2042 | |||
2043 | |||
2044 | 1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2045 | 1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2046 | 1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2047 | 1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2048 | 1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx transfer counter */ |
||
2049 | 1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
2050 | 1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2051 | 1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */ |
||
2052 | 1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2053 | 1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2054 | 1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */ |
||
2055 | 1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2056 | 1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Transmit Complete Callback */ |
||
2057 | 1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback(huart); |
||
2058 | 1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2059 | 1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Transmit Complete Callback */ |
||
2060 | 1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortTransmitCpltCallback(huart); |
||
2061 | 1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2062 | 1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2063 | 1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2064 | 1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2065 | 1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2066 | 1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2067 | 1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2068 | 1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Receive transfer (Interrupt mode). |
||
2069 | 1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
2070 | 1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Rx transfer started in Interrupt |
||
2071 | 1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations : |
||
2072 | 1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Rx) |
||
2073 | 1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled) |
||
2074 | 1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort_IT (in case of transfer in DMA mode) |
||
2075 | 1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY |
||
2076 | 1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - At abort completion, call user abort complete callback |
||
2077 | 1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be |
||
2078 | 1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * considered as completed only when user abort complete callback is executed (not when ex |
||
2079 | 1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2080 | 1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2081 | 1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart) |
||
2082 | 1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2083 | 1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
2084 | 1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); |
||
2085 | 1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
2086 | 1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2087 | 1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */ |
||
2088 | 1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) |
||
2089 | 1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2090 | 1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
2091 | 1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2092 | 1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel : use blocking DMA Abort API (no callback) */ |
||
2093 | 1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
2094 | 1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2095 | 1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback : |
||
2096 | 1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */ |
||
2097 | 1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = UART_DMARxOnlyAbortCallback; |
||
2098 | 1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2099 | 1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA RX */ |
||
2100 | 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK) |
||
2101 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 36 |
||
2102 | |||
2103 | |||
2104 | 1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2105 | 1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call Directly huart->hdmarx->XferAbortCallback function in case of error */ |
||
2106 | 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback(huart->hdmarx); |
||
2107 | 1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2108 | 1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2109 | 1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2110 | 1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2111 | 1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Rx transfer counter */ |
||
2112 | 1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
2113 | 1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2114 | 1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */ |
||
2115 | 1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
2116 | 1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2117 | 1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */ |
||
2118 | 1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2119 | 1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Receive Complete Callback */ |
||
2120 | 1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback(huart); |
||
2121 | 1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2122 | 1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Receive Complete Callback */ |
||
2123 | 1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortReceiveCpltCallback(huart); |
||
2124 | 1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2125 | 1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2126 | 1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2127 | 1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2128 | 1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2129 | 1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Rx transfer counter */ |
||
2130 | 1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
2131 | 1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2132 | 1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */ |
||
2133 | 2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
2134 | 2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2135 | 2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */ |
||
2136 | 2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2137 | 2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Receive Complete Callback */ |
||
2138 | 2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback(huart); |
||
2139 | 2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2140 | 2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Receive Complete Callback */ |
||
2141 | 2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortReceiveCpltCallback(huart); |
||
2142 | 2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2143 | 2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2144 | 2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2145 | 2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2146 | 2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2147 | 2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2148 | 2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2149 | 2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief This function handles UART interrupt request. |
||
2150 | 2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2151 | 2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2152 | 2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2153 | 2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2154 | 2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) |
||
2155 | 2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2156 | 2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t isrflags = READ_REG(huart->Instance->SR); |
||
2157 | 2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr1its = READ_REG(huart->Instance->CR1); |
||
2158 | 2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr3its = READ_REG(huart->Instance->CR3); |
||
2159 | 2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t errorflags = 0x00U; |
||
2160 | 2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
2161 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 37 |
||
2162 | |||
2163 | |||
2164 | 2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2165 | 2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If no error occurs */ |
||
2166 | 2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** errorflags = (isrflags & (uint32_t)(USART_SR_PE | USART_SR_FE | USART_SR_ORE | USART_SR_NE)); |
||
2167 | 2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (errorflags == RESET) |
||
2168 | 2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2169 | 2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Receiver -------------------------------------------------*/ |
||
2170 | 2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) |
||
2171 | 2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2172 | 2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_Receive_IT(huart); |
||
2173 | 2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
2174 | 2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2175 | 2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2176 | 2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2177 | 2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If some errors occur */ |
||
2178 | 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((errorflags != RESET) && (((cr3its & USART_CR3_EIE) != RESET) || ((cr1its & (USART_CR1_RXNEIE |
||
2179 | 2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2180 | 2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART parity error interrupt occurred ----------------------------------*/ |
||
2181 | 2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_PE) != RESET) && ((cr1its & USART_CR1_PEIE) != RESET)) |
||
2182 | 2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2183 | 2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_PE; |
||
2184 | 2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2185 | 2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2186 | 2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART noise error interrupt occurred -----------------------------------*/ |
||
2187 | 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_NE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET)) |
||
2188 | 2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2189 | 2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_NE; |
||
2190 | 2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2191 | 2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2192 | 2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART frame error interrupt occurred -----------------------------------*/ |
||
2193 | 2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_FE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET)) |
||
2194 | 2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2195 | 2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_FE; |
||
2196 | 2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2197 | 2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2198 | 2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART Over-Run interrupt occurred --------------------------------------*/ |
||
2199 | 2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_ORE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET)) |
||
2200 | 2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2201 | 2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_ORE; |
||
2202 | 2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2203 | 2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2204 | 2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call UART Error Call back function if need be --------------------------*/ |
||
2205 | 2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->ErrorCode != HAL_UART_ERROR_NONE) |
||
2206 | 2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2207 | 2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Receiver -----------------------------------------------*/ |
||
2208 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) |
||
2209 | 2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2210 | 2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_Receive_IT(huart); |
||
2211 | 2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2212 | 2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2213 | 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If Overrun error occurs, or if any error occurs in DMA mode reception, |
||
2214 | 2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** consider error as blocking */ |
||
2215 | 2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); |
||
2216 | 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((huart->ErrorCode & HAL_UART_ERROR_ORE) != RESET) || dmarequest) |
||
2217 | 2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2218 | 2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Blocking error : transfer is aborted |
||
2219 | 2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set the UART state ready to be able to start again the process, |
||
2220 | 2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Disable Rx Interrupts, and disable Rx DMA request, if ongoing */ |
||
2221 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 38 |
||
2222 | |||
2223 | |||
2224 | 2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart); |
||
2225 | 2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2226 | 2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */ |
||
2227 | 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) |
||
2228 | 2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2229 | 2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
2230 | 2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2231 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel */ |
||
2232 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
2233 | 2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2234 | 2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback : |
||
2235 | 2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_ErrorCallback() at end of DMA abort procedure */ |
||
2236 | 2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = UART_DMAAbortOnError; |
||
2237 | 2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK) |
||
2238 | 2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2239 | 2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call Directly XferAbortCallback function in case of error */ |
||
2240 | 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback(huart->hdmarx); |
||
2241 | 2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2242 | 2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2243 | 2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2244 | 2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2245 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user error callback */ |
||
2246 | 2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2247 | 2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/ |
||
2248 | 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart); |
||
2249 | 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2250 | 2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/ |
||
2251 | 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart); |
||
2252 | 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2253 | 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2254 | 2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2255 | 2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2256 | 2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2257 | 2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user error callback */ |
||
2258 | 2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2259 | 2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/ |
||
2260 | 2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart); |
||
2261 | 2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2262 | 2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/ |
||
2263 | 2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart); |
||
2264 | 2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2265 | 2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2266 | 2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2267 | 2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2268 | 2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2269 | 2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Non Blocking error : transfer could go on. |
||
2270 | 2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Error is notified to user through user error callback */ |
||
2271 | 2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2272 | 2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/ |
||
2273 | 2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart); |
||
2274 | 2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2275 | 2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/ |
||
2276 | 2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart); |
||
2277 | 2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2278 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2279 | 2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
2280 | 2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2281 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 39 |
||
2282 | |||
2283 | |||
2284 | 2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2285 | 2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
2286 | 2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } /* End if some error occurs */ |
||
2287 | 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2288 | 2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Transmitter ------------------------------------------------*/ |
||
2289 | 2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_TXE) != RESET) && ((cr1its & USART_CR1_TXEIE) != RESET)) |
||
2290 | 2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2291 | 2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_Transmit_IT(huart); |
||
2292 | 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
2293 | 2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2294 | 2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2295 | 2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Transmitter end --------------------------------------------*/ |
||
2296 | 2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_TC) != RESET) && ((cr1its & USART_CR1_TCIE) != RESET)) |
||
2297 | 2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2298 | 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTransmit_IT(huart); |
||
2299 | 2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
2300 | 2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2301 | 2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2302 | 2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2303 | 2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2304 | 2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Tx Transfer completed callbacks. |
||
2305 | 2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2306 | 2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2307 | 2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2308 | 2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2309 | 2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) |
||
2310 | 2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2311 | 2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2312 | 2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2313 | 2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
2314 | 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_TxCpltCallback could be implemented in the user file |
||
2315 | 2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2316 | 2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2317 | 2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2318 | 2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2319 | 2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Tx Half Transfer completed callbacks. |
||
2320 | 2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2321 | 2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2322 | 2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2323 | 2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2324 | 2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart) |
||
2325 | 2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2326 | 2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2327 | 2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2328 | 2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
2329 | 2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_TxHalfCpltCallback could be implemented in the user file |
||
2330 | 2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2331 | 2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2332 | 2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2333 | 2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2334 | 2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Rx Transfer completed callbacks. |
||
2335 | 2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2336 | 2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2337 | 2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2338 | 2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2339 | 2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) |
||
2340 | 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2341 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 40 |
||
2342 | |||
2343 | |||
2344 | 2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2345 | 2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2346 | 2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
2347 | 2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_RxCpltCallback could be implemented in the user file |
||
2348 | 2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2349 | 2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2350 | 2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2351 | 2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2352 | 2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Rx Half Transfer completed callbacks. |
||
2353 | 2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2354 | 2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2355 | 2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2356 | 2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2357 | 2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart) |
||
2358 | 2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2359 | 2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2360 | 2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2361 | 2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
2362 | 2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_RxHalfCpltCallback could be implemented in the user file |
||
2363 | 2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2364 | 2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2365 | 2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2366 | 2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2367 | 2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART error callbacks. |
||
2368 | 2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2369 | 2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2370 | 2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2371 | 2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2372 | 2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart) |
||
2373 | 2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2374 | 2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2375 | 2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2376 | 2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
2377 | 2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_ErrorCallback could be implemented in the user file |
||
2378 | 2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2379 | 2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2380 | 2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2381 | 2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2382 | 2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Abort Complete callback. |
||
2383 | 2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
2384 | 2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2385 | 2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2386 | 2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_AbortCpltCallback(UART_HandleTypeDef *huart) |
||
2387 | 2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2388 | 2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2389 | 2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2390 | 2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2391 | 2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2392 | 2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_AbortCpltCallback can be implemented in the user file. |
||
2393 | 2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2394 | 2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2395 | 2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2396 | 2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2397 | 2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Abort Complete callback. |
||
2398 | 2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
2399 | 2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2400 | 2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2401 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 41 |
||
2402 | |||
2403 | |||
2404 | 2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_AbortTransmitCpltCallback(UART_HandleTypeDef *huart) |
||
2405 | 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2406 | 2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2407 | 2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2408 | 2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2409 | 2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2410 | 2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_AbortTransmitCpltCallback can be implemented in the user file. |
||
2411 | 2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2412 | 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2413 | 2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2414 | 2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2415 | 2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Abort Receive Complete callback. |
||
2416 | 2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
2417 | 2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2418 | 2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2419 | 2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_AbortReceiveCpltCallback(UART_HandleTypeDef *huart) |
||
2420 | 2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2421 | 2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
2422 | 2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart); |
||
2423 | 2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2424 | 2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2425 | 2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_AbortReceiveCpltCallback can be implemented in the user file. |
||
2426 | 2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2427 | 2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2428 | 2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2429 | 2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2430 | 2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @} |
||
2431 | 2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2432 | 2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2433 | 2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group3 Peripheral Control functions |
||
2434 | 2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART control functions |
||
2435 | 2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * |
||
2436 | 2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim |
||
2437 | 2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================================================================== |
||
2438 | 2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Peripheral Control functions ##### |
||
2439 | 2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================================================================== |
||
2440 | 2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
2441 | 2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to control the UART: |
||
2442 | 2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_LIN_SendBreak() API can be helpful to transmit the break character. |
||
2443 | 2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_MultiProcessor_EnterMuteMode() API can be helpful to enter the UART in mute mode. |
||
2444 | 2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_MultiProcessor_ExitMuteMode() API can be helpful to exit the UART mute mode by software |
||
2445 | 2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_HalfDuplex_EnableTransmitter() API to enable the UART transmitter and disables the UART |
||
2446 | 2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_HalfDuplex_EnableReceiver() API to enable the UART receiver and disables the UART trans |
||
2447 | 2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2448 | 2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim |
||
2449 | 2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
2450 | 2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2451 | 2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2452 | 2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2453 | 2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Transmits break characters. |
||
2454 | 2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2455 | 2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2456 | 2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2457 | 2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2458 | 2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart) |
||
2459 | 2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2460 | 2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
2461 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 42 |
||
2462 | |||
2463 | |||
2464 | 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance)); |
||
2465 | 2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2466 | 2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
2467 | 2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
2468 | 2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2469 | 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
2470 | 2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2471 | 2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Send break characters */ |
||
2472 | 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_SBK); |
||
2473 | 2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2474 | 2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2475 | 2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2476 | 2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
2477 | 2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
2478 | 2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2479 | 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2480 | 2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2481 | 2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2482 | 2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2483 | 2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Enters the UART in mute mode. |
||
2484 | 2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2485 | 2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2486 | 2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2487 | 2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2488 | 2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart) |
||
2489 | 2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2490 | 2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
2491 | 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance)); |
||
2492 | 2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2493 | 2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
2494 | 2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
2495 | 2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2496 | 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
2497 | 2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2498 | 2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the USART mute mode by setting the RWU bit in the CR1 register */ |
||
2499 | 2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_RWU); |
||
2500 | 2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2501 | 2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2502 | 2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2503 | 2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
2504 | 2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
2505 | 2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2506 | 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2507 | 2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2508 | 2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2509 | 2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2510 | 2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Exits the UART mute mode: wake up software. |
||
2511 | 2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2512 | 2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2513 | 2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2514 | 2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2515 | 2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_MultiProcessor_ExitMuteMode(UART_HandleTypeDef *huart) |
||
2516 | 2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2517 | 2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
2518 | 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance)); |
||
2519 | 2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2520 | 2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
2521 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 43 |
||
2522 | |||
2523 | |||
2524 | 2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
2525 | 2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2526 | 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
2527 | 2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2528 | 2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the USART mute mode by clearing the RWU bit in the CR1 register */ |
||
2529 | 2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_RWU); |
||
2530 | 2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2531 | 2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2532 | 2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2533 | 2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
2534 | 2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
2535 | 2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2536 | 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2537 | 2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2538 | 2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2539 | 2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2540 | 2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Enables the UART transmitter and disables the UART receiver. |
||
2541 | 2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2542 | 2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2543 | 2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2544 | 2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2545 | 2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter(UART_HandleTypeDef *huart) |
||
2546 | 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2547 | 2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U; |
||
2548 | 2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2549 | 2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
2550 | 2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
2551 | 2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2552 | 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
2553 | 2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2554 | 2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR1 Configuration -----------------------*/ |
||
2555 | 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = huart->Instance->CR1; |
||
2556 | 2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2557 | 2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear TE and RE bits */ |
||
2558 | 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg &= (uint32_t)~((uint32_t)(USART_CR1_TE | USART_CR1_RE)); |
||
2559 | 2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2560 | 2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the USART's transmit interface by setting the TE bit in the USART CR1 register */ |
||
2561 | 2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg |= (uint32_t)USART_CR1_TE; |
||
2562 | 2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2563 | 2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Write to USART CR1 */ |
||
2564 | 2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** WRITE_REG(huart->Instance->CR1, (uint32_t)tmpreg); |
||
2565 | 2411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2566 | 2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2567 | 2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2568 | 2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
2569 | 2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
2570 | 2416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2571 | 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2572 | 2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2573 | 2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2574 | 2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2575 | 2421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Enables the UART receiver and disables the UART transmitter. |
||
2576 | 2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2577 | 2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2578 | 2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2579 | 2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2580 | 2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart) |
||
2581 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 44 |
||
2582 | |||
2583 | |||
2584 | 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2585 | 2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U; |
||
2586 | 2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2587 | 2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
2588 | 2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart); |
||
2589 | 2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2590 | 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY; |
||
2591 | 2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2592 | 2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR1 Configuration -----------------------*/ |
||
2593 | 2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = huart->Instance->CR1; |
||
2594 | 2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2595 | 2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear TE and RE bits */ |
||
2596 | 2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg &= (uint32_t)~((uint32_t)(USART_CR1_TE | USART_CR1_RE)); |
||
2597 | 2440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2598 | 2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the USART's receive interface by setting the RE bit in the USART CR1 register */ |
||
2599 | 2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg |= (uint32_t)USART_CR1_RE; |
||
2600 | 2443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2601 | 2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Write to USART CR1 */ |
||
2602 | 2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** WRITE_REG(huart->Instance->CR1, (uint32_t)tmpreg); |
||
2603 | 2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2604 | 2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2605 | 2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2606 | 2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
2607 | 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
2608 | 2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2609 | 2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2610 | 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2611 | 2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2612 | 2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2613 | 2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @} |
||
2614 | 2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2615 | 2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2616 | 2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group4 Peripheral State and Errors functions |
||
2617 | 2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART State and Errors functions |
||
2618 | 2461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * |
||
2619 | 2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim |
||
2620 | 2463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================================================================== |
||
2621 | 2464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Peripheral State and Errors functions ##### |
||
2622 | 2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ============================================================================== |
||
2623 | 2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..] |
||
2624 | 2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to return the State of |
||
2625 | 2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART communication process, return Peripheral Errors occurred during communication |
||
2626 | 2469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** process |
||
2627 | 2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_GetState() API can be helpful to check in run-time the state of the UART peripheral |
||
2628 | 2471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_GetError() check in run-time errors that could be occurred during communication. |
||
2629 | 2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2630 | 2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim |
||
2631 | 2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
2632 | 2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2633 | 2476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2634 | 2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2635 | 2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Returns the UART state. |
||
2636 | 2479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2637 | 2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2638 | 2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL state |
||
2639 | 2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2640 | 2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart) |
||
2641 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 45 |
||
2642 | |||
2643 | |||
2644 | 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2645 | 2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t temp1 = 0x00U, temp2 = 0x00U; |
||
2646 | 2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp1 = huart->gState; |
||
2647 | 2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp2 = huart->RxState; |
||
2648 | 2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2649 | 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return (HAL_UART_StateTypeDef)(temp1 | temp2); |
||
2650 | 2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2651 | 2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2652 | 2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2653 | 2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Return the UART error code |
||
2654 | 2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2655 | 2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART. |
||
2656 | 2496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval UART Error Code |
||
2657 | 2497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2658 | 2498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart) |
||
2659 | 2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2660 | 2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return huart->ErrorCode; |
||
2661 | 2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2662 | 2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2663 | 2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2664 | 2504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @} |
||
2665 | 2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2666 | 2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2667 | 2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2668 | 2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @} |
||
2669 | 2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2670 | 2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2671 | 2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Private_Functions UART Private Functions |
||
2672 | 2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{ |
||
2673 | 2513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2674 | 2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2675 | 2515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2676 | 2516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initialize the callbacks to their default values. |
||
2677 | 2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
2678 | 2518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval none |
||
2679 | 2519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2680 | 2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2681 | 2521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** void UART_InitCallbacksToDefault(UART_HandleTypeDef *huart) |
||
2682 | 2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2683 | 2523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the UART Callback settings */ |
||
2684 | 2524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback = HAL_UART_TxHalfCpltCallback; /* Legacy weak TxHalfCpltC |
||
2685 | 2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback = HAL_UART_TxCpltCallback; /* Legacy weak TxCpltCallb |
||
2686 | 2526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback = HAL_UART_RxHalfCpltCallback; /* Legacy weak RxHalfCpltC |
||
2687 | 2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback = HAL_UART_RxCpltCallback; /* Legacy weak RxCpltCallb |
||
2688 | 2528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback = HAL_UART_ErrorCallback; /* Legacy weak ErrorCallba |
||
2689 | 2529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback = HAL_UART_AbortCpltCallback; /* Legacy weak AbortCpltCa |
||
2690 | 2530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback = HAL_UART_AbortTransmitCpltCallback; /* Legacy weak AbortTransm |
||
2691 | 2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback = HAL_UART_AbortReceiveCpltCallback; /* Legacy weak AbortReceiv |
||
2692 | 2532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2693 | 2533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2694 | 2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2695 | 2535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2696 | 2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2697 | 2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART transmit process complete callback. |
||
2698 | 2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
2699 | 2539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
2700 | 2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2701 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 46 |
||
2702 | |||
2703 | |||
2704 | 2541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2705 | 2542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATransmitCplt(DMA_HandleTypeDef *hdma) |
||
2706 | 2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2707 | 2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
2708 | 2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/ |
||
2709 | 2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) |
||
2710 | 2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2711 | 2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
2712 | 2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2713 | 2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the DMA transfer for transmit request by setting the DMAT bit |
||
2714 | 2551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */ |
||
2715 | 2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); |
||
2716 | 2553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2717 | 2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Transmit Complete Interrupt */ |
||
2718 | 2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_TCIE); |
||
2719 | 2556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2720 | 2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2721 | 2558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Circular mode */ |
||
2722 | 2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
2723 | 2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2724 | 2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2725 | 2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Tx complete callback*/ |
||
2726 | 2563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback(huart); |
||
2727 | 2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2728 | 2565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Tx complete callback*/ |
||
2729 | 2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_TxCpltCallback(huart); |
||
2730 | 2567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2731 | 2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2732 | 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2733 | 2570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2734 | 2571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2735 | 2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART transmit process half complete callback |
||
2736 | 2573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
2737 | 2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
2738 | 2575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2739 | 2576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2740 | 2577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxHalfCplt(DMA_HandleTypeDef *hdma) |
||
2741 | 2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2742 | 2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
2743 | 2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2744 | 2581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2745 | 2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Tx complete callback*/ |
||
2746 | 2583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback(huart); |
||
2747 | 2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2748 | 2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Tx complete callback*/ |
||
2749 | 2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_TxHalfCpltCallback(huart); |
||
2750 | 2587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2751 | 2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2752 | 2589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2753 | 2590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2754 | 2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART receive process complete callback. |
||
2755 | 2592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
2756 | 2593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
2757 | 2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2758 | 2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2759 | 2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAReceiveCplt(DMA_HandleTypeDef *hdma) |
||
2760 | 2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2761 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 47 |
||
2762 | |||
2763 | |||
2764 | 2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
2765 | 2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/ |
||
2766 | 2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) |
||
2767 | 2601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2768 | 2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0U; |
||
2769 | 2603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2770 | 2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
2771 | 2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); |
||
2772 | 2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
2773 | 2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2774 | 2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the DMA transfer for the receiver request by setting the DMAR bit |
||
2775 | 2609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */ |
||
2776 | 2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); |
||
2777 | 2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2778 | 2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Rx process, restore huart->RxState to Ready */ |
||
2779 | 2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
2780 | 2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2781 | 2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2782 | 2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Rx complete callback*/ |
||
2783 | 2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback(huart); |
||
2784 | 2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2785 | 2619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Rx complete callback*/ |
||
2786 | 2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_RxCpltCallback(huart); |
||
2787 | 2621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2788 | 2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2789 | 2623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2790 | 2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2791 | 2625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART receive process half complete callback |
||
2792 | 2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
2793 | 2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
2794 | 2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2795 | 2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2796 | 2630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxHalfCplt(DMA_HandleTypeDef *hdma) |
||
2797 | 2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2798 | 2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
2799 | 2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2800 | 2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2801 | 2635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Rx Half complete callback*/ |
||
2802 | 2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback(huart); |
||
2803 | 2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2804 | 2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Rx Half complete callback*/ |
||
2805 | 2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_RxHalfCpltCallback(huart); |
||
2806 | 2640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2807 | 2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2808 | 2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2809 | 2643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2810 | 2644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART communication error callback. |
||
2811 | 2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
2812 | 2646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
2813 | 2647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2814 | 2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2815 | 2649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAError(DMA_HandleTypeDef *hdma) |
||
2816 | 2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2817 | 2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
2818 | 2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
2819 | 2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2820 | 2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Tx request if ongoing */ |
||
2821 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 48 |
||
2822 | |||
2823 | |||
2824 | 2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT); |
||
2825 | 2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
2826 | 2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2827 | 2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
2828 | 2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTxTransfer(huart); |
||
2829 | 2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2830 | 2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2831 | 2662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Rx request if ongoing */ |
||
2832 | 2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); |
||
2833 | 2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
2834 | 2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2835 | 2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
2836 | 2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart); |
||
2837 | 2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2838 | 2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2839 | 2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_DMA; |
||
2840 | 2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2841 | 2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/ |
||
2842 | 2673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart); |
||
2843 | 2674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2844 | 2675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/ |
||
2845 | 2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart); |
||
2846 | 2677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
2847 | 2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2848 | 2679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2849 | 2680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2850 | 2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief This function handles UART Communication Timeout. |
||
2851 | 2682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
2852 | 2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
2853 | 2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Flag specifies the UART flag to check. |
||
2854 | 2685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Status The new Flag status (SET or RESET). |
||
2855 | 2686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Tickstart Tick start value |
||
2856 | 2687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Timeout Timeout duration |
||
2857 | 2688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
2858 | 2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2859 | 2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, Flag |
||
2860 | 2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2861 | 2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Wait until flag is set */ |
||
2862 | 2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while ((__HAL_UART_GET_FLAG(huart, Flag) ? SET : RESET) == Status) |
||
2863 | 2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2864 | 2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check for the Timeout */ |
||
2865 | 2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (Timeout != HAL_MAX_DELAY) |
||
2866 | 2697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2867 | 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((Timeout == 0U) || ((HAL_GetTick() - Tickstart) > Timeout)) |
||
2868 | 2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2869 | 2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts for t |
||
2870 | 2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE)); |
||
2871 | 2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
2872 | 2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2873 | 2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2874 | 2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
2875 | 2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2876 | 2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */ |
||
2877 | 2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart); |
||
2878 | 2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2879 | 2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT; |
||
2880 | 2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2881 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 49 |
||
2882 | |||
2883 | |||
2884 | 2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2885 | 2713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2886 | 2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
2887 | 2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2888 | 2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2889 | 2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2890 | 2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief End ongoing Tx transfer on UART peripheral (following error detection or Transmit compl |
||
2891 | 2719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
2892 | 2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2893 | 2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2894 | 2722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndTxTransfer(UART_HandleTypeDef *huart) |
||
2895 | 2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2896 | 27 .loc 1 2723 1 view -0 |
||
2897 | 28 .cfi_startproc |
||
2898 | 29 @ args = 0, pretend = 0, frame = 0 |
||
2899 | 30 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2900 | 31 @ link register save eliminated. |
||
2901 | 2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */ |
||
2902 | 2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); |
||
2903 | 32 .loc 1 2725 3 view .LVU1 |
||
2904 | 33 0000 0268 ldr r2, [r0] |
||
2905 | 34 0002 D368 ldr r3, [r2, #12] |
||
2906 | 35 0004 23F0C003 bic r3, r3, #192 |
||
2907 | 36 0008 D360 str r3, [r2, #12] |
||
2908 | 2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2909 | 2727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Tx process, restore huart->gState to Ready */ |
||
2910 | 2728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
2911 | 37 .loc 1 2728 3 view .LVU2 |
||
2912 | 38 .loc 1 2728 17 is_stmt 0 view .LVU3 |
||
2913 | 39 000a 2023 movs r3, #32 |
||
2914 | 40 000c 80F83930 strb r3, [r0, #57] |
||
2915 | 2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2916 | 41 .loc 1 2729 1 view .LVU4 |
||
2917 | 42 0010 7047 bx lr |
||
2918 | 43 .cfi_endproc |
||
2919 | 44 .LFE109: |
||
2920 | 46 .section .text.UART_EndRxTransfer,"ax",%progbits |
||
2921 | 47 .align 1 |
||
2922 | 48 .syntax unified |
||
2923 | 49 .thumb |
||
2924 | 50 .thumb_func |
||
2925 | 51 .fpu softvfp |
||
2926 | 53 UART_EndRxTransfer: |
||
2927 | 54 .LVL1: |
||
2928 | 55 .LFB110: |
||
2929 | 2730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2930 | 2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2931 | 2732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief End ongoing Rx transfer on UART peripheral (following error detection or Reception comp |
||
2932 | 2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle. |
||
2933 | 2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2934 | 2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2935 | 2736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndRxTransfer(UART_HandleTypeDef *huart) |
||
2936 | 2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2937 | 56 .loc 1 2737 1 is_stmt 1 view -0 |
||
2938 | 57 .cfi_startproc |
||
2939 | 58 @ args = 0, pretend = 0, frame = 0 |
||
2940 | 59 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2941 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 50 |
||
2942 | |||
2943 | |||
2944 | 60 @ link register save eliminated. |
||
2945 | 2738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
2946 | 2739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); |
||
2947 | 61 .loc 1 2739 3 view .LVU6 |
||
2948 | 62 0000 0268 ldr r2, [r0] |
||
2949 | 63 0002 D368 ldr r3, [r2, #12] |
||
2950 | 64 0004 23F49073 bic r3, r3, #288 |
||
2951 | 65 0008 D360 str r3, [r2, #12] |
||
2952 | 2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
2953 | 66 .loc 1 2740 3 view .LVU7 |
||
2954 | 67 000a 0268 ldr r2, [r0] |
||
2955 | 68 000c 5369 ldr r3, [r2, #20] |
||
2956 | 69 000e 23F00103 bic r3, r3, #1 |
||
2957 | 70 0012 5361 str r3, [r2, #20] |
||
2958 | 2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2959 | 2742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Rx process, restore huart->RxState to Ready */ |
||
2960 | 2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
2961 | 71 .loc 1 2743 3 view .LVU8 |
||
2962 | 72 .loc 1 2743 18 is_stmt 0 view .LVU9 |
||
2963 | 73 0014 2023 movs r3, #32 |
||
2964 | 74 0016 80F83A30 strb r3, [r0, #58] |
||
2965 | 2744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
2966 | 75 .loc 1 2744 1 view .LVU10 |
||
2967 | 76 001a 7047 bx lr |
||
2968 | 77 .cfi_endproc |
||
2969 | 78 .LFE110: |
||
2970 | 80 .section .text.UART_Transmit_IT,"ax",%progbits |
||
2971 | 81 .align 1 |
||
2972 | 82 .syntax unified |
||
2973 | 83 .thumb |
||
2974 | 84 .thumb_func |
||
2975 | 85 .fpu softvfp |
||
2976 | 87 UART_Transmit_IT: |
||
2977 | 88 .LVL2: |
||
2978 | 89 .LFB116: |
||
2979 | 2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2980 | 2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
2981 | 2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART communication abort callback, when initiated by HAL services on Error |
||
2982 | 2748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (To be called at end of DMA Abort procedure following error occurrence). |
||
2983 | 2749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
2984 | 2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
2985 | 2751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
2986 | 2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
2987 | 2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma) |
||
2988 | 2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
2989 | 2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
2990 | 2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
2991 | 2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
2992 | 2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
2993 | 2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
2994 | 2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/ |
||
2995 | 2761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart); |
||
2996 | 2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
2997 | 2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/ |
||
2998 | 2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart); |
||
2999 | 2765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
3000 | 2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3001 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 51 |
||
3002 | |||
3003 | |||
3004 | 2767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3005 | 2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3006 | 2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Tx communication abort callback, when initiated by user |
||
3007 | 2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (To be called at end of DMA Tx Abort procedure following user abort request). |
||
3008 | 2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When this callback is executed, User Abort complete call back is called only if no |
||
3009 | 2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * Abort still ongoing for Rx DMA Handle. |
||
3010 | 2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
3011 | 2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
3012 | 2775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
3013 | 2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3014 | 2777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxAbortCallback(DMA_HandleTypeDef *hdma) |
||
3015 | 2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3016 | 2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
3017 | 2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3018 | 2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL; |
||
3019 | 2782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3020 | 2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check if an Abort process is still ongoing */ |
||
3021 | 2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL) |
||
3022 | 2785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3023 | 2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx->XferAbortCallback != NULL) |
||
3024 | 2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3025 | 2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
3026 | 2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3027 | 2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3028 | 2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3029 | 2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* No Abort process still ongoing : All DMA channels are aborted, call user Abort Complete callba |
||
3030 | 2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
3031 | 2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
3032 | 2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3033 | 2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */ |
||
3034 | 2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
3035 | 2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3036 | 2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState and huart->RxState to Ready */ |
||
3037 | 2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
3038 | 2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3039 | 2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3040 | 2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */ |
||
3041 | 2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
3042 | 2805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort complete callback */ |
||
3043 | 2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback(huart); |
||
3044 | 2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3045 | 2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort complete callback */ |
||
3046 | 2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortCpltCallback(huart); |
||
3047 | 2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
3048 | 2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3049 | 2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3050 | 2813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3051 | 2814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Rx communication abort callback, when initiated by user |
||
3052 | 2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (To be called at end of DMA Rx Abort procedure following user abort request). |
||
3053 | 2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When this callback is executed, User Abort complete call back is called only if no |
||
3054 | 2817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * Abort still ongoing for Tx DMA Handle. |
||
3055 | 2818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
3056 | 2819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
3057 | 2820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
3058 | 2821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3059 | 2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxAbortCallback(DMA_HandleTypeDef *hdma) |
||
3060 | 2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3061 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 52 |
||
3062 | |||
3063 | |||
3064 | 2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
3065 | 2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3066 | 2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL; |
||
3067 | 2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3068 | 2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check if an Abort process is still ongoing */ |
||
3069 | 2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL) |
||
3070 | 2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3071 | 2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx->XferAbortCallback != NULL) |
||
3072 | 2832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3073 | 2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
3074 | 2834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3075 | 2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3076 | 2836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3077 | 2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* No Abort process still ongoing : All DMA channels are aborted, call user Abort Complete callba |
||
3078 | 2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
3079 | 2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
3080 | 2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3081 | 2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */ |
||
3082 | 2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE; |
||
3083 | 2843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3084 | 2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState and huart->RxState to Ready */ |
||
3085 | 2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
3086 | 2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3087 | 2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3088 | 2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */ |
||
3089 | 2849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
3090 | 2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort complete callback */ |
||
3091 | 2851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback(huart); |
||
3092 | 2852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3093 | 2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort complete callback */ |
||
3094 | 2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortCpltCallback(huart); |
||
3095 | 2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
3096 | 2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3097 | 2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3098 | 2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3099 | 2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Tx communication abort callback, when initiated by user by a call to |
||
3100 | 2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * HAL_UART_AbortTransmit_IT API (Abort only Tx transfer) |
||
3101 | 2861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (This callback is executed at end of DMA Tx Abort procedure following user abort reques |
||
3102 | 2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * and leads to user Tx Abort Complete callback execution). |
||
3103 | 2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
3104 | 2864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
3105 | 2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
3106 | 2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3107 | 2867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxOnlyAbortCallback(DMA_HandleTypeDef *hdma) |
||
3108 | 2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3109 | 2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
3110 | 2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3111 | 2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
3112 | 2872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3113 | 2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */ |
||
3114 | 2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
3115 | 2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3116 | 2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */ |
||
3117 | 2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
3118 | 2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Transmit Complete Callback */ |
||
3119 | 2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback(huart); |
||
3120 | 2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 53 |
||
3122 | |||
3123 | |||
3124 | 2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Transmit Complete Callback */ |
||
3125 | 2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortTransmitCpltCallback(huart); |
||
3126 | 2883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
3127 | 2884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3128 | 2885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3129 | 2886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3130 | 2887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Rx communication abort callback, when initiated by user by a call to |
||
3131 | 2888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * HAL_UART_AbortReceive_IT API (Abort only Rx transfer) |
||
3132 | 2889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (This callback is executed at end of DMA Rx Abort procedure following user abort reques |
||
3133 | 2890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * and leads to user Rx Abort Complete callback execution). |
||
3134 | 2891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains |
||
3135 | 2892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module. |
||
3136 | 2893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
3137 | 2894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3138 | 2895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxOnlyAbortCallback(DMA_HandleTypeDef *hdma) |
||
3139 | 2896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3140 | 2897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
3141 | 2898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3142 | 2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
3143 | 2900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3144 | 2901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */ |
||
3145 | 2902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3146 | 2903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3147 | 2904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */ |
||
3148 | 2905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
3149 | 2906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Receive Complete Callback */ |
||
3150 | 2907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback(huart); |
||
3151 | 2908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3152 | 2909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Receive Complete Callback */ |
||
3153 | 2910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortReceiveCpltCallback(huart); |
||
3154 | 2911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
3155 | 2912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3156 | 2913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3157 | 2914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3158 | 2915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in non blocking mode. |
||
3159 | 2916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
3160 | 2917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
3161 | 2918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
3162 | 2919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3163 | 2920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart) |
||
3164 | 2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3165 | 90 .loc 1 2921 1 is_stmt 1 view -0 |
||
3166 | 91 .cfi_startproc |
||
3167 | 92 @ args = 0, pretend = 0, frame = 0 |
||
3168 | 93 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3169 | 94 @ link register save eliminated. |
||
3170 | 2922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
3171 | 95 .loc 1 2922 3 view .LVU12 |
||
3172 | 2923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3173 | 2924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is ongoing */ |
||
3174 | 2925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_BUSY_TX) |
||
3175 | 96 .loc 1 2925 3 view .LVU13 |
||
3176 | 97 .loc 1 2925 12 is_stmt 0 view .LVU14 |
||
3177 | 98 0000 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
3178 | 99 0004 DBB2 uxtb r3, r3 |
||
3179 | 100 .loc 1 2925 6 view .LVU15 |
||
3180 | 101 0006 212B cmp r3, #33 |
||
3181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 54 |
||
3182 | |||
3183 | |||
3184 | 102 0008 01D0 beq .L10 |
||
3185 | 2926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3186 | 2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
3187 | 2928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3188 | 2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint16_t *) huart->pTxBuffPtr; |
||
3189 | 2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF); |
||
3190 | 2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3191 | 2932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3192 | 2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr += 2U; |
||
3193 | 2934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3194 | 2935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3195 | 2936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3196 | 2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr += 1U; |
||
3197 | 2938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3198 | 2939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3199 | 2940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3200 | 2941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3201 | 2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint8_t)(*huart->pTxBuffPtr++ & (uint8_t)0x00FF); |
||
3202 | 2943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3203 | 2944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3204 | 2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (--huart->TxXferCount == 0U) |
||
3205 | 2946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3206 | 2947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Transmit Complete Interrupt */ |
||
3207 | 2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_TXE); |
||
3208 | 2949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3209 | 2950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Transmit Complete Interrupt */ |
||
3210 | 2951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_TC); |
||
3211 | 2952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3212 | 2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
3213 | 2954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3214 | 2955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3215 | 2956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3216 | 2957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
3217 | 103 .loc 1 2957 12 view .LVU16 |
||
3218 | 104 000a 0220 movs r0, #2 |
||
3219 | 105 .LVL3: |
||
3220 | 2958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3221 | 2959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3222 | 106 .loc 1 2959 1 view .LVU17 |
||
3223 | 107 000c 7047 bx lr |
||
3224 | 108 .LVL4: |
||
3225 | 109 .L10: |
||
3226 | 2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3227 | 110 .loc 1 2927 5 is_stmt 1 view .LVU18 |
||
3228 | 2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3229 | 111 .loc 1 2927 20 is_stmt 0 view .LVU19 |
||
3230 | 112 000e 8368 ldr r3, [r0, #8] |
||
3231 | 2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3232 | 113 .loc 1 2927 8 view .LVU20 |
||
3233 | 114 0010 B3F5805F cmp r3, #4096 |
||
3234 | 115 0014 16D0 beq .L11 |
||
3235 | 2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3236 | 116 .loc 1 2942 7 is_stmt 1 view .LVU21 |
||
3237 | 2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3238 | 117 .loc 1 2942 45 is_stmt 0 view .LVU22 |
||
3239 | 118 0016 036A ldr r3, [r0, #32] |
||
3240 | 2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 55 |
||
3242 | |||
3243 | |||
3244 | 119 .loc 1 2942 57 view .LVU23 |
||
3245 | 120 0018 5A1C adds r2, r3, #1 |
||
3246 | 121 001a 0262 str r2, [r0, #32] |
||
3247 | 2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3248 | 122 .loc 1 2942 39 view .LVU24 |
||
3249 | 123 001c 1A78 ldrb r2, [r3] @ zero_extendqisi2 |
||
3250 | 2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3251 | 124 .loc 1 2942 12 view .LVU25 |
||
3252 | 125 001e 0368 ldr r3, [r0] |
||
3253 | 2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3254 | 126 .loc 1 2942 27 view .LVU26 |
||
3255 | 127 0020 5A60 str r2, [r3, #4] |
||
3256 | 128 .L7: |
||
3257 | 2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3258 | 129 .loc 1 2945 5 is_stmt 1 view .LVU27 |
||
3259 | 2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3260 | 130 .loc 1 2945 16 is_stmt 0 view .LVU28 |
||
3261 | 131 0022 C38C ldrh r3, [r0, #38] |
||
3262 | 2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3263 | 132 .loc 1 2945 9 view .LVU29 |
||
3264 | 133 0024 013B subs r3, r3, #1 |
||
3265 | 134 0026 9BB2 uxth r3, r3 |
||
3266 | 2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3267 | 135 .loc 1 2945 8 view .LVU30 |
||
3268 | 136 0028 C384 strh r3, [r0, #38] @ movhi |
||
3269 | 137 002a 4BB9 cbnz r3, .L8 |
||
3270 | 2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3271 | 138 .loc 1 2948 7 is_stmt 1 view .LVU31 |
||
3272 | 139 002c 0268 ldr r2, [r0] |
||
3273 | 140 002e D368 ldr r3, [r2, #12] |
||
3274 | 141 0030 23F08003 bic r3, r3, #128 |
||
3275 | 142 0034 D360 str r3, [r2, #12] |
||
3276 | 2951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3277 | 143 .loc 1 2951 7 view .LVU32 |
||
3278 | 144 0036 0268 ldr r2, [r0] |
||
3279 | 145 0038 D368 ldr r3, [r2, #12] |
||
3280 | 146 003a 43F04003 orr r3, r3, #64 |
||
3281 | 147 003e D360 str r3, [r2, #12] |
||
3282 | 148 .L8: |
||
3283 | 2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3284 | 149 .loc 1 2953 5 view .LVU33 |
||
3285 | 2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3286 | 150 .loc 1 2953 12 is_stmt 0 view .LVU34 |
||
3287 | 151 0040 0020 movs r0, #0 |
||
3288 | 152 .LVL5: |
||
3289 | 2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3290 | 153 .loc 1 2953 12 view .LVU35 |
||
3291 | 154 0042 7047 bx lr |
||
3292 | 155 .LVL6: |
||
3293 | 156 .L11: |
||
3294 | 2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF); |
||
3295 | 157 .loc 1 2929 7 is_stmt 1 view .LVU36 |
||
3296 | 2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF); |
||
3297 | 158 .loc 1 2929 11 is_stmt 0 view .LVU37 |
||
3298 | 159 0044 036A ldr r3, [r0, #32] |
||
3299 | 160 .LVL7: |
||
3300 | 2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 56 |
||
3302 | |||
3303 | |||
3304 | 161 .loc 1 2930 7 is_stmt 1 view .LVU38 |
||
3305 | 2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3306 | 162 .loc 1 2930 40 is_stmt 0 view .LVU39 |
||
3307 | 163 0046 1B88 ldrh r3, [r3] |
||
3308 | 164 .LVL8: |
||
3309 | 2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3310 | 165 .loc 1 2930 12 view .LVU40 |
||
3311 | 166 0048 0268 ldr r2, [r0] |
||
3312 | 2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3313 | 167 .loc 1 2930 29 view .LVU41 |
||
3314 | 168 004a C3F30803 ubfx r3, r3, #0, #9 |
||
3315 | 2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3316 | 169 .loc 1 2930 27 view .LVU42 |
||
3317 | 170 004e 5360 str r3, [r2, #4] |
||
3318 | 171 .LVL9: |
||
3319 | 2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3320 | 172 .loc 1 2931 7 is_stmt 1 view .LVU43 |
||
3321 | 2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3322 | 173 .loc 1 2931 22 is_stmt 0 view .LVU44 |
||
3323 | 174 0050 0369 ldr r3, [r0, #16] |
||
3324 | 2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3325 | 175 .loc 1 2931 10 view .LVU45 |
||
3326 | 176 0052 1BB9 cbnz r3, .L6 |
||
3327 | 2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3328 | 177 .loc 1 2933 9 is_stmt 1 view .LVU46 |
||
3329 | 2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3330 | 178 .loc 1 2933 27 is_stmt 0 view .LVU47 |
||
3331 | 179 0054 036A ldr r3, [r0, #32] |
||
3332 | 180 0056 0233 adds r3, r3, #2 |
||
3333 | 181 0058 0362 str r3, [r0, #32] |
||
3334 | 182 005a E2E7 b .L7 |
||
3335 | 183 .L6: |
||
3336 | 2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3337 | 184 .loc 1 2937 9 is_stmt 1 view .LVU48 |
||
3338 | 2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3339 | 185 .loc 1 2937 27 is_stmt 0 view .LVU49 |
||
3340 | 186 005c 036A ldr r3, [r0, #32] |
||
3341 | 187 005e 0133 adds r3, r3, #1 |
||
3342 | 188 0060 0362 str r3, [r0, #32] |
||
3343 | 189 0062 DEE7 b .L7 |
||
3344 | 190 .cfi_endproc |
||
3345 | 191 .LFE116: |
||
3346 | 193 .section .text.UART_SetConfig,"ax",%progbits |
||
3347 | 194 .align 1 |
||
3348 | 195 .syntax unified |
||
3349 | 196 .thumb |
||
3350 | 197 .thumb_func |
||
3351 | 198 .fpu softvfp |
||
3352 | 200 UART_SetConfig: |
||
3353 | 201 .LVL10: |
||
3354 | 202 .LFB119: |
||
3355 | 2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3356 | 2961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3357 | 2962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Wraps up transmission in non blocking mode. |
||
3358 | 2963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
3359 | 2964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
3360 | 2965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
3361 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 57 |
||
3362 | |||
3363 | |||
3364 | 2966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3365 | 2967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_EndTransmit_IT(UART_HandleTypeDef *huart) |
||
3366 | 2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3367 | 2969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Transmit Complete Interrupt */ |
||
3368 | 2970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_TC); |
||
3369 | 2971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3370 | 2972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Tx process is ended, restore huart->gState to Ready */ |
||
3371 | 2973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
3372 | 2974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3373 | 2975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
3374 | 2976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Tx complete callback*/ |
||
3375 | 2977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback(huart); |
||
3376 | 2978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3377 | 2979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Tx complete callback*/ |
||
3378 | 2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_TxCpltCallback(huart); |
||
3379 | 2981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
3380 | 2982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3381 | 2983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
3382 | 2984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3383 | 2985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3384 | 2986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3385 | 2987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in non blocking mode |
||
3386 | 2988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
3387 | 2989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
3388 | 2990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status |
||
3389 | 2991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3390 | 2992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart) |
||
3391 | 2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3392 | 2994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
3393 | 2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3394 | 2996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is ongoing */ |
||
3395 | 2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_BUSY_RX) |
||
3396 | 2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3397 | 2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
3398 | 3000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3399 | 3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint16_t *) huart->pRxBuffPtr; |
||
3400 | 3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3401 | 3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3402 | 3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *tmp = (uint16_t)(huart->Instance->DR & (uint16_t)0x01FF); |
||
3403 | 3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U; |
||
3404 | 3006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3405 | 3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3406 | 3008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3407 | 3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *tmp = (uint16_t)(huart->Instance->DR & (uint16_t)0x00FF); |
||
3408 | 3010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 1U; |
||
3409 | 3011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3410 | 3012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3411 | 3013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3412 | 3014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3413 | 3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
3414 | 3016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3415 | 3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *huart->pRxBuffPtr++ = (uint8_t)(huart->Instance->DR & (uint8_t)0x00FF); |
||
3416 | 3018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3417 | 3019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3418 | 3020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3419 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *huart->pRxBuffPtr++ = (uint8_t)(huart->Instance->DR & (uint8_t)0x007F); |
||
3420 | 3022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3421 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 58 |
||
3422 | |||
3423 | |||
3424 | 3023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3425 | 3024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3426 | 3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (--huart->RxXferCount == 0U) |
||
3427 | 3026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3428 | 3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Data Register not empty Interrupt */ |
||
3429 | 3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_RXNE); |
||
3430 | 3029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3431 | 3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Parity Error Interrupt */ |
||
3432 | 3031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_PE); |
||
3433 | 3032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3434 | 3033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Error Interrupt: (Frame error, noise error, overrun error) */ |
||
3435 | 3034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_ERR); |
||
3436 | 3035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3437 | 3036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Rx process is completed, restore huart->RxState to Ready */ |
||
3438 | 3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3439 | 3038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3440 | 3039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
3441 | 3040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Rx complete callback*/ |
||
3442 | 3041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback(huart); |
||
3443 | 3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3444 | 3043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Rx complete callback*/ |
||
3445 | 3044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_RxCpltCallback(huart); |
||
3446 | 3045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
3447 | 3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3448 | 3047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
3449 | 3048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3450 | 3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK; |
||
3451 | 3050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3452 | 3051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3453 | 3052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3454 | 3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY; |
||
3455 | 3054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3456 | 3055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3457 | 3056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3458 | 3057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** |
||
3459 | 3058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Configures the UART peripheral. |
||
3460 | 3059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains |
||
3461 | 3060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module. |
||
3462 | 3061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None |
||
3463 | 3062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */ |
||
3464 | 3063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_SetConfig(UART_HandleTypeDef *huart) |
||
3465 | 3064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3466 | 203 .loc 1 3064 1 is_stmt 1 view -0 |
||
3467 | 204 .cfi_startproc |
||
3468 | 205 @ args = 0, pretend = 0, frame = 0 |
||
3469 | 206 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3470 | 207 .loc 1 3064 1 is_stmt 0 view .LVU51 |
||
3471 | 208 0000 38B5 push {r3, r4, r5, lr} |
||
3472 | 209 .LCFI0: |
||
3473 | 210 .cfi_def_cfa_offset 16 |
||
3474 | 211 .cfi_offset 3, -16 |
||
3475 | 212 .cfi_offset 4, -12 |
||
3476 | 213 .cfi_offset 5, -8 |
||
3477 | 214 .cfi_offset 14, -4 |
||
3478 | 215 0002 0446 mov r4, r0 |
||
3479 | 3065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg; |
||
3480 | 216 .loc 1 3065 3 is_stmt 1 view .LVU52 |
||
3481 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 59 |
||
3482 | |||
3483 | |||
3484 | 3066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t pclk; |
||
3485 | 217 .loc 1 3066 3 view .LVU53 |
||
3486 | 3067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3487 | 3068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
3488 | 3069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_BAUDRATE(huart->Init.BaudRate)); |
||
3489 | 218 .loc 1 3069 3 view .LVU54 |
||
3490 | 3070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_STOPBITS(huart->Init.StopBits)); |
||
3491 | 219 .loc 1 3070 3 view .LVU55 |
||
3492 | 3071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_PARITY(huart->Init.Parity)); |
||
3493 | 220 .loc 1 3071 3 view .LVU56 |
||
3494 | 3072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_MODE(huart->Init.Mode)); |
||
3495 | 221 .loc 1 3072 3 view .LVU57 |
||
3496 | 3073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3497 | 3074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR2 Configuration -----------------------*/ |
||
3498 | 3075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Configure the UART Stop Bits: Set STOP[13:12] bits |
||
3499 | 3076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** according to huart->Init.StopBits value */ |
||
3500 | 3077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR2, USART_CR2_STOP, huart->Init.StopBits); |
||
3501 | 222 .loc 1 3077 3 view .LVU58 |
||
3502 | 223 0004 0268 ldr r2, [r0] |
||
3503 | 224 0006 1369 ldr r3, [r2, #16] |
||
3504 | 225 0008 23F44053 bic r3, r3, #12288 |
||
3505 | 226 000c C168 ldr r1, [r0, #12] |
||
3506 | 227 000e 0B43 orrs r3, r3, r1 |
||
3507 | 228 0010 1361 str r3, [r2, #16] |
||
3508 | 3078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3509 | 3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR1 Configuration -----------------------*/ |
||
3510 | 3080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Configure the UART Word Length, Parity and mode: |
||
3511 | 3081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set the M bits according to huart->Init.WordLength value |
||
3512 | 3082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set PCE and PS bits according to huart->Init.Parity value |
||
3513 | 3083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set TE and RE bits according to huart->Init.Mode value |
||
3514 | 3084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set OVER8 bit according to huart->Init.OverSampling value */ |
||
3515 | 3085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3516 | 3086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
3517 | 3087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = (uint32_t)huart->Init.WordLength | huart->Init.Parity | huart->Init.Mode | huart->Init.O |
||
3518 | 3088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR1, |
||
3519 | 3089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (uint32_t)(USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE | |
||
3520 | 3090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg); |
||
3521 | 3091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3522 | 3092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = (uint32_t)huart->Init.WordLength | huart->Init.Parity | huart->Init.Mode; |
||
3523 | 229 .loc 1 3092 3 view .LVU59 |
||
3524 | 230 .loc 1 3092 33 is_stmt 0 view .LVU60 |
||
3525 | 231 0012 8368 ldr r3, [r0, #8] |
||
3526 | 232 .loc 1 3092 58 view .LVU61 |
||
3527 | 233 0014 0269 ldr r2, [r0, #16] |
||
3528 | 234 .loc 1 3092 45 view .LVU62 |
||
3529 | 235 0016 1343 orrs r3, r3, r2 |
||
3530 | 236 .loc 1 3092 79 view .LVU63 |
||
3531 | 237 0018 4269 ldr r2, [r0, #20] |
||
3532 | 238 .loc 1 3092 10 view .LVU64 |
||
3533 | 239 001a 1A43 orrs r2, r2, r3 |
||
3534 | 240 .LVL11: |
||
3535 | 3093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR1, |
||
3536 | 241 .loc 1 3093 3 is_stmt 1 view .LVU65 |
||
3537 | 242 001c 0168 ldr r1, [r0] |
||
3538 | 243 001e CB68 ldr r3, [r1, #12] |
||
3539 | 244 0020 23F4B053 bic r3, r3, #5632 |
||
3540 | 245 0024 23F00C03 bic r3, r3, #12 |
||
3541 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 60 |
||
3542 | |||
3543 | |||
3544 | 246 0028 1343 orrs r3, r3, r2 |
||
3545 | 247 002a CB60 str r3, [r1, #12] |
||
3546 | 3094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (uint32_t)(USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE), |
||
3547 | 3095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg); |
||
3548 | 3096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */ |
||
3549 | 3097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3550 | 3098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR3 Configuration -----------------------*/ |
||
3551 | 3099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Configure the UART HFC: Set CTSE and RTSE bits according to huart->Init.HwFlowCtl value */ |
||
3552 | 3100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR3, (USART_CR3_RTSE | USART_CR3_CTSE), huart->Init.HwFlowCtl); |
||
3553 | 248 .loc 1 3100 3 view .LVU66 |
||
3554 | 249 002c 0268 ldr r2, [r0] |
||
3555 | 250 .LVL12: |
||
3556 | 251 .loc 1 3100 3 is_stmt 0 view .LVU67 |
||
3557 | 252 002e 5369 ldr r3, [r2, #20] |
||
3558 | 253 0030 23F44073 bic r3, r3, #768 |
||
3559 | 254 0034 8169 ldr r1, [r0, #24] |
||
3560 | 255 0036 0B43 orrs r3, r3, r1 |
||
3561 | 256 0038 5361 str r3, [r2, #20] |
||
3562 | 3101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3563 | 3102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
3564 | 3103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the Over Sampling */ |
||
3565 | 3104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if(huart->Init.OverSampling == UART_OVERSAMPLING_8) |
||
3566 | 3105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3567 | 3106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART BRR Configuration ---------------------*/ |
||
3568 | 3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if(huart->Instance == USART1) |
||
3569 | 3108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3570 | 3109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK2Freq(); |
||
3571 | 3110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING8(pclk, huart->Init.BaudRate); |
||
3572 | 3111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3573 | 3112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3574 | 3113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3575 | 3114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK1Freq(); |
||
3576 | 3115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING8(pclk, huart->Init.BaudRate); |
||
3577 | 3116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3578 | 3117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3579 | 3118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3580 | 3119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3581 | 3120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART BRR Configuration ---------------------*/ |
||
3582 | 3121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if(huart->Instance == USART1) |
||
3583 | 3122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3584 | 3123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK2Freq(); |
||
3585 | 3124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); |
||
3586 | 3125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3587 | 3126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3588 | 3127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3589 | 3128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK1Freq(); |
||
3590 | 3129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); |
||
3591 | 3130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3592 | 3131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3593 | 3132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else |
||
3594 | 3133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART BRR Configuration ---------------------*/ |
||
3595 | 3134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if(huart->Instance == USART1) |
||
3596 | 257 .loc 1 3134 3 is_stmt 1 view .LVU68 |
||
3597 | 258 .loc 1 3134 11 is_stmt 0 view .LVU69 |
||
3598 | 259 003a 0268 ldr r2, [r0] |
||
3599 | 260 .loc 1 3134 5 view .LVU70 |
||
3600 | 261 003c 214B ldr r3, .L17 |
||
3601 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 61 |
||
3602 | |||
3603 | |||
3604 | 262 003e 9A42 cmp r2, r3 |
||
3605 | 263 0040 1FD0 beq .L16 |
||
3606 | 3135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3607 | 3136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK2Freq(); |
||
3608 | 3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); |
||
3609 | 3138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3610 | 3139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else |
||
3611 | 3140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3612 | 3141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK1Freq(); |
||
3613 | 264 .loc 1 3141 5 is_stmt 1 view .LVU71 |
||
3614 | 265 .loc 1 3141 12 is_stmt 0 view .LVU72 |
||
3615 | 266 0042 FFF7FEFF bl HAL_RCC_GetPCLK1Freq |
||
3616 | 267 .LVL13: |
||
3617 | 3142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); |
||
3618 | 268 .loc 1 3142 5 is_stmt 1 view .LVU73 |
||
3619 | 269 .loc 1 3142 28 is_stmt 0 view .LVU74 |
||
3620 | 270 0046 00EB8000 add r0, r0, r0, lsl #2 |
||
3621 | 271 .LVL14: |
||
3622 | 272 .loc 1 3142 28 view .LVU75 |
||
3623 | 273 004a 00EB8000 add r0, r0, r0, lsl #2 |
||
3624 | 274 004e 6368 ldr r3, [r4, #4] |
||
3625 | 275 0050 9B00 lsls r3, r3, #2 |
||
3626 | 276 0052 B0FBF3F0 udiv r0, r0, r3 |
||
3627 | 277 0056 1C4D ldr r5, .L17+4 |
||
3628 | 278 0058 A5FB0032 umull r3, r2, r5, r0 |
||
3629 | 279 005c 5109 lsrs r1, r2, #5 |
||
3630 | 280 005e 6422 movs r2, #100 |
||
3631 | 281 0060 02FB1102 mls r2, r2, r1, r0 |
||
3632 | 282 0064 1301 lsls r3, r2, #4 |
||
3633 | 283 0066 3233 adds r3, r3, #50 |
||
3634 | 284 0068 A5FB0323 umull r2, r3, r5, r3 |
||
3635 | 285 006c 5B09 lsrs r3, r3, #5 |
||
3636 | 286 006e 03F0F002 and r2, r3, #240 |
||
3637 | 287 0072 02EB0112 add r2, r2, r1, lsl #4 |
||
3638 | 288 0076 03F00F03 and r3, r3, #15 |
||
3639 | 289 .loc 1 3142 10 view .LVU76 |
||
3640 | 290 007a 2168 ldr r1, [r4] |
||
3641 | 291 .loc 1 3142 28 view .LVU77 |
||
3642 | 292 007c 1344 add r3, r3, r2 |
||
3643 | 293 .loc 1 3142 26 view .LVU78 |
||
3644 | 294 007e 8B60 str r3, [r1, #8] |
||
3645 | 295 .L12: |
||
3646 | 3143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3647 | 3144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */ |
||
3648 | 3145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3649 | 296 .loc 1 3145 1 view .LVU79 |
||
3650 | 297 0080 38BD pop {r3, r4, r5, pc} |
||
3651 | 298 .LVL15: |
||
3652 | 299 .L16: |
||
3653 | 3136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); |
||
3654 | 300 .loc 1 3136 5 is_stmt 1 view .LVU80 |
||
3655 | 3136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); |
||
3656 | 301 .loc 1 3136 12 is_stmt 0 view .LVU81 |
||
3657 | 302 0082 FFF7FEFF bl HAL_RCC_GetPCLK2Freq |
||
3658 | 303 .LVL16: |
||
3659 | 3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3660 | 304 .loc 1 3137 5 is_stmt 1 view .LVU82 |
||
3661 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 62 |
||
3662 | |||
3663 | |||
3664 | 3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3665 | 305 .loc 1 3137 28 is_stmt 0 view .LVU83 |
||
3666 | 306 0086 00EB8000 add r0, r0, r0, lsl #2 |
||
3667 | 307 .LVL17: |
||
3668 | 3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3669 | 308 .loc 1 3137 28 view .LVU84 |
||
3670 | 309 008a 00EB8000 add r0, r0, r0, lsl #2 |
||
3671 | 310 008e 6368 ldr r3, [r4, #4] |
||
3672 | 311 0090 9B00 lsls r3, r3, #2 |
||
3673 | 312 0092 B0FBF3F0 udiv r0, r0, r3 |
||
3674 | 313 0096 0C4D ldr r5, .L17+4 |
||
3675 | 314 0098 A5FB0032 umull r3, r2, r5, r0 |
||
3676 | 315 009c 5109 lsrs r1, r2, #5 |
||
3677 | 316 009e 6422 movs r2, #100 |
||
3678 | 317 00a0 02FB1102 mls r2, r2, r1, r0 |
||
3679 | 318 00a4 1301 lsls r3, r2, #4 |
||
3680 | 319 00a6 3233 adds r3, r3, #50 |
||
3681 | 320 00a8 A5FB0323 umull r2, r3, r5, r3 |
||
3682 | 321 00ac 5B09 lsrs r3, r3, #5 |
||
3683 | 322 00ae 03F0F002 and r2, r3, #240 |
||
3684 | 323 00b2 02EB0112 add r2, r2, r1, lsl #4 |
||
3685 | 324 00b6 03F00F03 and r3, r3, #15 |
||
3686 | 3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3687 | 325 .loc 1 3137 10 view .LVU85 |
||
3688 | 326 00ba 2168 ldr r1, [r4] |
||
3689 | 3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3690 | 327 .loc 1 3137 28 view .LVU86 |
||
3691 | 328 00bc 1344 add r3, r3, r2 |
||
3692 | 3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3693 | 329 .loc 1 3137 26 view .LVU87 |
||
3694 | 330 00be 8B60 str r3, [r1, #8] |
||
3695 | 331 00c0 DEE7 b .L12 |
||
3696 | 332 .L18: |
||
3697 | 333 00c2 00BF .align 2 |
||
3698 | 334 .L17: |
||
3699 | 335 00c4 00380140 .word 1073821696 |
||
3700 | 336 00c8 1F85EB51 .word 1374389535 |
||
3701 | 337 .cfi_endproc |
||
3702 | 338 .LFE119: |
||
3703 | 340 .section .text.UART_WaitOnFlagUntilTimeout,"ax",%progbits |
||
3704 | 341 .align 1 |
||
3705 | 342 .syntax unified |
||
3706 | 343 .thumb |
||
3707 | 344 .thumb_func |
||
3708 | 345 .fpu softvfp |
||
3709 | 347 UART_WaitOnFlagUntilTimeout: |
||
3710 | 348 .LVL18: |
||
3711 | 349 .LFB108: |
||
3712 | 2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Wait until flag is set */ |
||
3713 | 350 .loc 1 2691 1 is_stmt 1 view -0 |
||
3714 | 351 .cfi_startproc |
||
3715 | 352 @ args = 4, pretend = 0, frame = 0 |
||
3716 | 353 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3717 | 2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Wait until flag is set */ |
||
3718 | 354 .loc 1 2691 1 is_stmt 0 view .LVU89 |
||
3719 | 355 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr} |
||
3720 | 356 .LCFI1: |
||
3721 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 63 |
||
3722 | |||
3723 | |||
3724 | 357 .cfi_def_cfa_offset 24 |
||
3725 | 358 .cfi_offset 4, -24 |
||
3726 | 359 .cfi_offset 5, -20 |
||
3727 | 360 .cfi_offset 6, -16 |
||
3728 | 361 .cfi_offset 7, -12 |
||
3729 | 362 .cfi_offset 8, -8 |
||
3730 | 363 .cfi_offset 14, -4 |
||
3731 | 364 0004 0546 mov r5, r0 |
||
3732 | 365 0006 0F46 mov r7, r1 |
||
3733 | 366 0008 1646 mov r6, r2 |
||
3734 | 367 000a 9846 mov r8, r3 |
||
3735 | 368 000c 069C ldr r4, [sp, #24] |
||
3736 | 2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3737 | 369 .loc 1 2693 3 is_stmt 1 view .LVU90 |
||
3738 | 370 .LVL19: |
||
3739 | 371 .L21: |
||
3740 | 2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3741 | 372 .loc 1 2693 11 is_stmt 0 view .LVU91 |
||
3742 | 373 000e 2B68 ldr r3, [r5] |
||
3743 | 374 0010 1B68 ldr r3, [r3] |
||
3744 | 2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3745 | 375 .loc 1 2693 50 view .LVU92 |
||
3746 | 376 0012 37EA0303 bics r3, r7, r3 |
||
3747 | 377 0016 0CBF ite eq |
||
3748 | 378 0018 0123 moveq r3, #1 |
||
3749 | 379 001a 0023 movne r3, #0 |
||
3750 | 2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3751 | 380 .loc 1 2693 9 view .LVU93 |
||
3752 | 381 001c B342 cmp r3, r6 |
||
3753 | 382 001e 1DD1 bne .L26 |
||
3754 | 2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3755 | 383 .loc 1 2696 5 is_stmt 1 view .LVU94 |
||
3756 | 2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3757 | 384 .loc 1 2696 8 is_stmt 0 view .LVU95 |
||
3758 | 385 0020 B4F1FF3F cmp r4, #-1 |
||
3759 | 386 0024 F3D0 beq .L21 |
||
3760 | 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3761 | 387 .loc 1 2698 7 is_stmt 1 view .LVU96 |
||
3762 | 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3763 | 388 .loc 1 2698 10 is_stmt 0 view .LVU97 |
||
3764 | 389 0026 2CB1 cbz r4, .L22 |
||
3765 | 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3766 | 390 .loc 1 2698 32 discriminator 1 view .LVU98 |
||
3767 | 391 0028 FFF7FEFF bl HAL_GetTick |
||
3768 | 392 .LVL20: |
||
3769 | 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3770 | 393 .loc 1 2698 46 discriminator 1 view .LVU99 |
||
3771 | 394 002c A0EB0800 sub r0, r0, r8 |
||
3772 | 2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3773 | 395 .loc 1 2698 27 discriminator 1 view .LVU100 |
||
3774 | 396 0030 A042 cmp r0, r4 |
||
3775 | 397 0032 ECD9 bls .L21 |
||
3776 | 398 .L22: |
||
3777 | 2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
3778 | 399 .loc 1 2701 9 is_stmt 1 view .LVU101 |
||
3779 | 400 0034 2A68 ldr r2, [r5] |
||
3780 | 401 0036 D368 ldr r3, [r2, #12] |
||
3781 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 64 |
||
3782 | |||
3783 | |||
3784 | 402 0038 23F4D073 bic r3, r3, #416 |
||
3785 | 403 003c D360 str r3, [r2, #12] |
||
3786 | 2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3787 | 404 .loc 1 2702 9 view .LVU102 |
||
3788 | 405 003e 2A68 ldr r2, [r5] |
||
3789 | 406 0040 5369 ldr r3, [r2, #20] |
||
3790 | 407 0042 23F00103 bic r3, r3, #1 |
||
3791 | 408 0046 5361 str r3, [r2, #20] |
||
3792 | 2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3793 | 409 .loc 1 2704 9 view .LVU103 |
||
3794 | 2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3795 | 410 .loc 1 2704 24 is_stmt 0 view .LVU104 |
||
3796 | 411 0048 2023 movs r3, #32 |
||
3797 | 412 004a 85F83930 strb r3, [r5, #57] |
||
3798 | 2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3799 | 413 .loc 1 2705 9 is_stmt 1 view .LVU105 |
||
3800 | 2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3801 | 414 .loc 1 2705 24 is_stmt 0 view .LVU106 |
||
3802 | 415 004e 85F83A30 strb r3, [r5, #58] |
||
3803 | 2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3804 | 416 .loc 1 2708 9 is_stmt 1 view .LVU107 |
||
3805 | 2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3806 | 417 .loc 1 2708 9 view .LVU108 |
||
3807 | 418 0052 0023 movs r3, #0 |
||
3808 | 419 0054 85F83830 strb r3, [r5, #56] |
||
3809 | 2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3810 | 420 .loc 1 2710 9 view .LVU109 |
||
3811 | 2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3812 | 421 .loc 1 2710 16 is_stmt 0 view .LVU110 |
||
3813 | 422 0058 0320 movs r0, #3 |
||
3814 | 423 005a 00E0 b .L23 |
||
3815 | 424 .L26: |
||
3816 | 2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3817 | 425 .loc 1 2714 10 view .LVU111 |
||
3818 | 426 005c 0020 movs r0, #0 |
||
3819 | 427 .L23: |
||
3820 | 2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3821 | 428 .loc 1 2715 1 view .LVU112 |
||
3822 | 429 005e BDE8F081 pop {r4, r5, r6, r7, r8, pc} |
||
3823 | 2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3824 | 430 .loc 1 2715 1 view .LVU113 |
||
3825 | 431 .cfi_endproc |
||
3826 | 432 .LFE108: |
||
3827 | 434 .section .text.HAL_UART_MspInit,"ax",%progbits |
||
3828 | 435 .align 1 |
||
3829 | 436 .weak HAL_UART_MspInit |
||
3830 | 437 .syntax unified |
||
3831 | 438 .thumb |
||
3832 | 439 .thumb_func |
||
3833 | 440 .fpu softvfp |
||
3834 | 442 HAL_UART_MspInit: |
||
3835 | 443 .LVL21: |
||
3836 | 444 .LFB70: |
||
3837 | 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
3838 | 445 .loc 1 673 1 is_stmt 1 view -0 |
||
3839 | 446 .cfi_startproc |
||
3840 | 447 @ args = 0, pretend = 0, frame = 0 |
||
3841 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 65 |
||
3842 | |||
3843 | |||
3844 | 448 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3845 | 449 @ link register save eliminated. |
||
3846 | 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
3847 | 450 .loc 1 675 3 view .LVU115 |
||
3848 | 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3849 | 451 .loc 1 679 1 is_stmt 0 view .LVU116 |
||
3850 | 452 0000 7047 bx lr |
||
3851 | 453 .cfi_endproc |
||
3852 | 454 .LFE70: |
||
3853 | 456 .section .text.HAL_UART_Init,"ax",%progbits |
||
3854 | 457 .align 1 |
||
3855 | 458 .global HAL_UART_Init |
||
3856 | 459 .syntax unified |
||
3857 | 460 .thumb |
||
3858 | 461 .thumb_func |
||
3859 | 462 .fpu softvfp |
||
3860 | 464 HAL_UART_Init: |
||
3861 | 465 .LVL22: |
||
3862 | 466 .LFB65: |
||
3863 | 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
3864 | 467 .loc 1 315 1 is_stmt 1 view -0 |
||
3865 | 468 .cfi_startproc |
||
3866 | 469 @ args = 0, pretend = 0, frame = 0 |
||
3867 | 470 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3868 | 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3869 | 471 .loc 1 317 3 view .LVU118 |
||
3870 | 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3871 | 472 .loc 1 317 6 is_stmt 0 view .LVU119 |
||
3872 | 473 0000 58B3 cbz r0, .L31 |
||
3873 | 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
3874 | 474 .loc 1 315 1 view .LVU120 |
||
3875 | 475 0002 10B5 push {r4, lr} |
||
3876 | 476 .LCFI2: |
||
3877 | 477 .cfi_def_cfa_offset 8 |
||
3878 | 478 .cfi_offset 4, -8 |
||
3879 | 479 .cfi_offset 14, -4 |
||
3880 | 480 0004 0446 mov r4, r0 |
||
3881 | 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3882 | 481 .loc 1 323 3 is_stmt 1 view .LVU121 |
||
3883 | 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3884 | 482 .loc 1 331 5 view .LVU122 |
||
3885 | 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
3886 | 483 .loc 1 333 3 view .LVU123 |
||
3887 | 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3888 | 484 .loc 1 338 3 view .LVU124 |
||
3889 | 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3890 | 485 .loc 1 338 12 is_stmt 0 view .LVU125 |
||
3891 | 486 0006 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
3892 | 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
3893 | 487 .loc 1 338 6 view .LVU126 |
||
3894 | 488 000a 0BB3 cbz r3, .L36 |
||
3895 | 489 .LVL23: |
||
3896 | 490 .L30: |
||
3897 | 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3898 | 491 .loc 1 359 3 is_stmt 1 view .LVU127 |
||
3899 | 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3900 | 492 .loc 1 359 17 is_stmt 0 view .LVU128 |
||
3901 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 66 |
||
3902 | |||
3903 | |||
3904 | 493 000c 2423 movs r3, #36 |
||
3905 | 494 000e 84F83930 strb r3, [r4, #57] |
||
3906 | 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3907 | 495 .loc 1 362 3 is_stmt 1 view .LVU129 |
||
3908 | 496 0012 2268 ldr r2, [r4] |
||
3909 | 497 0014 D368 ldr r3, [r2, #12] |
||
3910 | 498 0016 23F40053 bic r3, r3, #8192 |
||
3911 | 499 001a D360 str r3, [r2, #12] |
||
3912 | 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3913 | 500 .loc 1 365 3 view .LVU130 |
||
3914 | 501 001c 2046 mov r0, r4 |
||
3915 | 502 001e FFF7FEFF bl UART_SetConfig |
||
3916 | 503 .LVL24: |
||
3917 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); |
||
3918 | 504 .loc 1 370 3 view .LVU131 |
||
3919 | 505 0022 2268 ldr r2, [r4] |
||
3920 | 506 0024 1369 ldr r3, [r2, #16] |
||
3921 | 507 0026 23F49043 bic r3, r3, #18432 |
||
3922 | 508 002a 1361 str r3, [r2, #16] |
||
3923 | 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3924 | 509 .loc 1 371 3 view .LVU132 |
||
3925 | 510 002c 2268 ldr r2, [r4] |
||
3926 | 511 002e 5369 ldr r3, [r2, #20] |
||
3927 | 512 0030 23F02A03 bic r3, r3, #42 |
||
3928 | 513 0034 5361 str r3, [r2, #20] |
||
3929 | 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3930 | 514 .loc 1 374 3 view .LVU133 |
||
3931 | 515 0036 2268 ldr r2, [r4] |
||
3932 | 516 0038 D368 ldr r3, [r2, #12] |
||
3933 | 517 003a 43F40053 orr r3, r3, #8192 |
||
3934 | 518 003e D360 str r3, [r2, #12] |
||
3935 | 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
3936 | 519 .loc 1 377 3 view .LVU134 |
||
3937 | 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
3938 | 520 .loc 1 377 20 is_stmt 0 view .LVU135 |
||
3939 | 521 0040 0020 movs r0, #0 |
||
3940 | 522 0042 E063 str r0, [r4, #60] |
||
3941 | 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3942 | 523 .loc 1 378 3 is_stmt 1 view .LVU136 |
||
3943 | 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
3944 | 524 .loc 1 378 17 is_stmt 0 view .LVU137 |
||
3945 | 525 0044 2023 movs r3, #32 |
||
3946 | 526 0046 84F83930 strb r3, [r4, #57] |
||
3947 | 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3948 | 527 .loc 1 379 3 is_stmt 1 view .LVU138 |
||
3949 | 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3950 | 528 .loc 1 379 18 is_stmt 0 view .LVU139 |
||
3951 | 529 004a 84F83A30 strb r3, [r4, #58] |
||
3952 | 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3953 | 530 .loc 1 381 3 is_stmt 1 view .LVU140 |
||
3954 | 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3955 | 531 .loc 1 382 1 is_stmt 0 view .LVU141 |
||
3956 | 532 004e 10BD pop {r4, pc} |
||
3957 | 533 .LVL25: |
||
3958 | 534 .L36: |
||
3959 | 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3960 | 535 .loc 1 341 5 is_stmt 1 view .LVU142 |
||
3961 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 67 |
||
3962 | |||
3963 | |||
3964 | 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3965 | 536 .loc 1 341 17 is_stmt 0 view .LVU143 |
||
3966 | 537 0050 80F83830 strb r3, [r0, #56] |
||
3967 | 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
3968 | 538 .loc 1 355 5 is_stmt 1 view .LVU144 |
||
3969 | 539 0054 FFF7FEFF bl HAL_UART_MspInit |
||
3970 | 540 .LVL26: |
||
3971 | 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
3972 | 541 .loc 1 355 5 is_stmt 0 view .LVU145 |
||
3973 | 542 0058 D8E7 b .L30 |
||
3974 | 543 .LVL27: |
||
3975 | 544 .L31: |
||
3976 | 545 .LCFI3: |
||
3977 | 546 .cfi_def_cfa_offset 0 |
||
3978 | 547 .cfi_restore 4 |
||
3979 | 548 .cfi_restore 14 |
||
3980 | 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
3981 | 549 .loc 1 319 12 view .LVU146 |
||
3982 | 550 005a 0120 movs r0, #1 |
||
3983 | 551 .LVL28: |
||
3984 | 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
3985 | 552 .loc 1 382 1 view .LVU147 |
||
3986 | 553 005c 7047 bx lr |
||
3987 | 554 .cfi_endproc |
||
3988 | 555 .LFE65: |
||
3989 | 557 .section .text.HAL_HalfDuplex_Init,"ax",%progbits |
||
3990 | 558 .align 1 |
||
3991 | 559 .global HAL_HalfDuplex_Init |
||
3992 | 560 .syntax unified |
||
3993 | 561 .thumb |
||
3994 | 562 .thumb_func |
||
3995 | 563 .fpu softvfp |
||
3996 | 565 HAL_HalfDuplex_Init: |
||
3997 | 566 .LVL29: |
||
3998 | 567 .LFB66: |
||
3999 | 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4000 | 568 .loc 1 392 1 is_stmt 1 view -0 |
||
4001 | 569 .cfi_startproc |
||
4002 | 570 @ args = 0, pretend = 0, frame = 0 |
||
4003 | 571 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4004 | 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4005 | 572 .loc 1 394 3 view .LVU149 |
||
4006 | 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4007 | 573 .loc 1 394 6 is_stmt 0 view .LVU150 |
||
4008 | 574 0000 0028 cmp r0, #0 |
||
4009 | 575 0002 30D0 beq .L40 |
||
4010 | 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4011 | 576 .loc 1 392 1 view .LVU151 |
||
4012 | 577 0004 10B5 push {r4, lr} |
||
4013 | 578 .LCFI4: |
||
4014 | 579 .cfi_def_cfa_offset 8 |
||
4015 | 580 .cfi_offset 4, -8 |
||
4016 | 581 .cfi_offset 14, -4 |
||
4017 | 582 0006 0446 mov r4, r0 |
||
4018 | 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength)); |
||
4019 | 583 .loc 1 400 3 is_stmt 1 view .LVU152 |
||
4020 | 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
4021 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 68 |
||
4022 | |||
4023 | |||
4024 | 584 .loc 1 401 3 view .LVU153 |
||
4025 | 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4026 | 585 .loc 1 406 3 view .LVU154 |
||
4027 | 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4028 | 586 .loc 1 406 12 is_stmt 0 view .LVU155 |
||
4029 | 587 0008 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
4030 | 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4031 | 588 .loc 1 406 6 view .LVU156 |
||
4032 | 589 000c 33B3 cbz r3, .L45 |
||
4033 | 590 .LVL30: |
||
4034 | 591 .L39: |
||
4035 | 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4036 | 592 .loc 1 427 3 is_stmt 1 view .LVU157 |
||
4037 | 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4038 | 593 .loc 1 427 17 is_stmt 0 view .LVU158 |
||
4039 | 594 000e 2423 movs r3, #36 |
||
4040 | 595 0010 84F83930 strb r3, [r4, #57] |
||
4041 | 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4042 | 596 .loc 1 430 3 is_stmt 1 view .LVU159 |
||
4043 | 597 0014 2268 ldr r2, [r4] |
||
4044 | 598 0016 D368 ldr r3, [r2, #12] |
||
4045 | 599 0018 23F40053 bic r3, r3, #8192 |
||
4046 | 600 001c D360 str r3, [r2, #12] |
||
4047 | 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4048 | 601 .loc 1 433 3 view .LVU160 |
||
4049 | 602 001e 2046 mov r0, r4 |
||
4050 | 603 0020 FFF7FEFF bl UART_SetConfig |
||
4051 | 604 .LVL31: |
||
4052 | 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN)); |
||
4053 | 605 .loc 1 438 3 view .LVU161 |
||
4054 | 606 0024 2268 ldr r2, [r4] |
||
4055 | 607 0026 1369 ldr r3, [r2, #16] |
||
4056 | 608 0028 23F49043 bic r3, r3, #18432 |
||
4057 | 609 002c 1361 str r3, [r2, #16] |
||
4058 | 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4059 | 610 .loc 1 439 3 view .LVU162 |
||
4060 | 611 002e 2268 ldr r2, [r4] |
||
4061 | 612 0030 5369 ldr r3, [r2, #20] |
||
4062 | 613 0032 23F02203 bic r3, r3, #34 |
||
4063 | 614 0036 5361 str r3, [r2, #20] |
||
4064 | 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4065 | 615 .loc 1 442 3 view .LVU163 |
||
4066 | 616 0038 2268 ldr r2, [r4] |
||
4067 | 617 003a 5369 ldr r3, [r2, #20] |
||
4068 | 618 003c 43F00803 orr r3, r3, #8 |
||
4069 | 619 0040 5361 str r3, [r2, #20] |
||
4070 | 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4071 | 620 .loc 1 445 3 view .LVU164 |
||
4072 | 621 0042 2268 ldr r2, [r4] |
||
4073 | 622 0044 D368 ldr r3, [r2, #12] |
||
4074 | 623 0046 43F40053 orr r3, r3, #8192 |
||
4075 | 624 004a D360 str r3, [r2, #12] |
||
4076 | 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
4077 | 625 .loc 1 448 3 view .LVU165 |
||
4078 | 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
4079 | 626 .loc 1 448 20 is_stmt 0 view .LVU166 |
||
4080 | 627 004c 0020 movs r0, #0 |
||
4081 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 69 |
||
4082 | |||
4083 | |||
4084 | 628 004e E063 str r0, [r4, #60] |
||
4085 | 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
4086 | 629 .loc 1 449 3 is_stmt 1 view .LVU167 |
||
4087 | 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
4088 | 630 .loc 1 449 17 is_stmt 0 view .LVU168 |
||
4089 | 631 0050 2023 movs r3, #32 |
||
4090 | 632 0052 84F83930 strb r3, [r4, #57] |
||
4091 | 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4092 | 633 .loc 1 450 3 is_stmt 1 view .LVU169 |
||
4093 | 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4094 | 634 .loc 1 450 18 is_stmt 0 view .LVU170 |
||
4095 | 635 0056 84F83A30 strb r3, [r4, #58] |
||
4096 | 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4097 | 636 .loc 1 452 3 is_stmt 1 view .LVU171 |
||
4098 | 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4099 | 637 .loc 1 453 1 is_stmt 0 view .LVU172 |
||
4100 | 638 005a 10BD pop {r4, pc} |
||
4101 | 639 .LVL32: |
||
4102 | 640 .L45: |
||
4103 | 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4104 | 641 .loc 1 409 5 is_stmt 1 view .LVU173 |
||
4105 | 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4106 | 642 .loc 1 409 17 is_stmt 0 view .LVU174 |
||
4107 | 643 005c 80F83830 strb r3, [r0, #56] |
||
4108 | 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
4109 | 644 .loc 1 423 5 is_stmt 1 view .LVU175 |
||
4110 | 645 0060 FFF7FEFF bl HAL_UART_MspInit |
||
4111 | 646 .LVL33: |
||
4112 | 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
4113 | 647 .loc 1 423 5 is_stmt 0 view .LVU176 |
||
4114 | 648 0064 D3E7 b .L39 |
||
4115 | 649 .LVL34: |
||
4116 | 650 .L40: |
||
4117 | 651 .LCFI5: |
||
4118 | 652 .cfi_def_cfa_offset 0 |
||
4119 | 653 .cfi_restore 4 |
||
4120 | 654 .cfi_restore 14 |
||
4121 | 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4122 | 655 .loc 1 396 12 view .LVU177 |
||
4123 | 656 0066 0120 movs r0, #1 |
||
4124 | 657 .LVL35: |
||
4125 | 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4126 | 658 .loc 1 453 1 view .LVU178 |
||
4127 | 659 0068 7047 bx lr |
||
4128 | 660 .cfi_endproc |
||
4129 | 661 .LFE66: |
||
4130 | 663 .section .text.HAL_LIN_Init,"ax",%progbits |
||
4131 | 664 .align 1 |
||
4132 | 665 .global HAL_LIN_Init |
||
4133 | 666 .syntax unified |
||
4134 | 667 .thumb |
||
4135 | 668 .thumb_func |
||
4136 | 669 .fpu softvfp |
||
4137 | 671 HAL_LIN_Init: |
||
4138 | 672 .LVL36: |
||
4139 | 673 .LFB67: |
||
4140 | 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4141 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 70 |
||
4142 | |||
4143 | |||
4144 | 674 .loc 1 467 1 is_stmt 1 view -0 |
||
4145 | 675 .cfi_startproc |
||
4146 | 676 @ args = 0, pretend = 0, frame = 0 |
||
4147 | 677 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4148 | 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4149 | 678 .loc 1 469 3 view .LVU180 |
||
4150 | 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4151 | 679 .loc 1 469 6 is_stmt 0 view .LVU181 |
||
4152 | 680 0000 0028 cmp r0, #0 |
||
4153 | 681 0002 3BD0 beq .L49 |
||
4154 | 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4155 | 682 .loc 1 467 1 view .LVU182 |
||
4156 | 683 0004 38B5 push {r3, r4, r5, lr} |
||
4157 | 684 .LCFI6: |
||
4158 | 685 .cfi_def_cfa_offset 16 |
||
4159 | 686 .cfi_offset 3, -16 |
||
4160 | 687 .cfi_offset 4, -12 |
||
4161 | 688 .cfi_offset 5, -8 |
||
4162 | 689 .cfi_offset 14, -4 |
||
4163 | 690 0006 0446 mov r4, r0 |
||
4164 | 691 0008 0D46 mov r5, r1 |
||
4165 | 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4166 | 692 .loc 1 475 3 is_stmt 1 view .LVU183 |
||
4167 | 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_WORD_LENGTH(huart->Init.WordLength)); |
||
4168 | 693 .loc 1 478 3 view .LVU184 |
||
4169 | 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
4170 | 694 .loc 1 479 3 view .LVU185 |
||
4171 | 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4172 | 695 .loc 1 484 3 view .LVU186 |
||
4173 | 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4174 | 696 .loc 1 484 12 is_stmt 0 view .LVU187 |
||
4175 | 697 000a 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
4176 | 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4177 | 698 .loc 1 484 6 view .LVU188 |
||
4178 | 699 000e 002B cmp r3, #0 |
||
4179 | 700 0010 2FD0 beq .L54 |
||
4180 | 701 .LVL37: |
||
4181 | 702 .L48: |
||
4182 | 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4183 | 703 .loc 1 505 3 is_stmt 1 view .LVU189 |
||
4184 | 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4185 | 704 .loc 1 505 17 is_stmt 0 view .LVU190 |
||
4186 | 705 0012 2423 movs r3, #36 |
||
4187 | 706 0014 84F83930 strb r3, [r4, #57] |
||
4188 | 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4189 | 707 .loc 1 508 3 is_stmt 1 view .LVU191 |
||
4190 | 708 0018 2268 ldr r2, [r4] |
||
4191 | 709 001a D368 ldr r3, [r2, #12] |
||
4192 | 710 001c 23F40053 bic r3, r3, #8192 |
||
4193 | 711 0020 D360 str r3, [r2, #12] |
||
4194 | 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4195 | 712 .loc 1 511 3 view .LVU192 |
||
4196 | 713 0022 2046 mov r0, r4 |
||
4197 | 714 0024 FFF7FEFF bl UART_SetConfig |
||
4198 | 715 .LVL38: |
||
4199 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN)); |
||
4200 | 716 .loc 1 516 3 view .LVU193 |
||
4201 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 71 |
||
4202 | |||
4203 | |||
4204 | 717 0028 2268 ldr r2, [r4] |
||
4205 | 718 002a 1369 ldr r3, [r2, #16] |
||
4206 | 719 002c 23F40063 bic r3, r3, #2048 |
||
4207 | 720 0030 1361 str r3, [r2, #16] |
||
4208 | 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4209 | 721 .loc 1 517 3 view .LVU194 |
||
4210 | 722 0032 2268 ldr r2, [r4] |
||
4211 | 723 0034 5369 ldr r3, [r2, #20] |
||
4212 | 724 0036 23F02A03 bic r3, r3, #42 |
||
4213 | 725 003a 5361 str r3, [r2, #20] |
||
4214 | 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4215 | 726 .loc 1 520 3 view .LVU195 |
||
4216 | 727 003c 2268 ldr r2, [r4] |
||
4217 | 728 003e 1369 ldr r3, [r2, #16] |
||
4218 | 729 0040 43F48043 orr r3, r3, #16384 |
||
4219 | 730 0044 1361 str r3, [r2, #16] |
||
4220 | 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, BreakDetectLength); |
||
4221 | 731 .loc 1 523 3 view .LVU196 |
||
4222 | 732 0046 2268 ldr r2, [r4] |
||
4223 | 733 0048 1369 ldr r3, [r2, #16] |
||
4224 | 734 004a 23F02003 bic r3, r3, #32 |
||
4225 | 735 004e 1361 str r3, [r2, #16] |
||
4226 | 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4227 | 736 .loc 1 524 3 view .LVU197 |
||
4228 | 737 0050 2368 ldr r3, [r4] |
||
4229 | 738 0052 1969 ldr r1, [r3, #16] |
||
4230 | 739 0054 0D43 orrs r5, r5, r1 |
||
4231 | 740 .LVL39: |
||
4232 | 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4233 | 741 .loc 1 524 3 is_stmt 0 view .LVU198 |
||
4234 | 742 0056 1D61 str r5, [r3, #16] |
||
4235 | 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4236 | 743 .loc 1 527 3 is_stmt 1 view .LVU199 |
||
4237 | 744 0058 2268 ldr r2, [r4] |
||
4238 | 745 005a D368 ldr r3, [r2, #12] |
||
4239 | 746 005c 43F40053 orr r3, r3, #8192 |
||
4240 | 747 0060 D360 str r3, [r2, #12] |
||
4241 | 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
4242 | 748 .loc 1 530 3 view .LVU200 |
||
4243 | 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
4244 | 749 .loc 1 530 20 is_stmt 0 view .LVU201 |
||
4245 | 750 0062 0020 movs r0, #0 |
||
4246 | 751 0064 E063 str r0, [r4, #60] |
||
4247 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
4248 | 752 .loc 1 531 3 is_stmt 1 view .LVU202 |
||
4249 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
4250 | 753 .loc 1 531 17 is_stmt 0 view .LVU203 |
||
4251 | 754 0066 2023 movs r3, #32 |
||
4252 | 755 0068 84F83930 strb r3, [r4, #57] |
||
4253 | 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4254 | 756 .loc 1 532 3 is_stmt 1 view .LVU204 |
||
4255 | 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4256 | 757 .loc 1 532 18 is_stmt 0 view .LVU205 |
||
4257 | 758 006c 84F83A30 strb r3, [r4, #58] |
||
4258 | 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4259 | 759 .loc 1 534 3 is_stmt 1 view .LVU206 |
||
4260 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4261 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 72 |
||
4262 | |||
4263 | |||
4264 | 760 .loc 1 535 1 is_stmt 0 view .LVU207 |
||
4265 | 761 0070 38BD pop {r3, r4, r5, pc} |
||
4266 | 762 .LVL40: |
||
4267 | 763 .L54: |
||
4268 | 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4269 | 764 .loc 1 487 5 is_stmt 1 view .LVU208 |
||
4270 | 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4271 | 765 .loc 1 487 17 is_stmt 0 view .LVU209 |
||
4272 | 766 0072 80F83830 strb r3, [r0, #56] |
||
4273 | 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
4274 | 767 .loc 1 501 5 is_stmt 1 view .LVU210 |
||
4275 | 768 0076 FFF7FEFF bl HAL_UART_MspInit |
||
4276 | 769 .LVL41: |
||
4277 | 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
4278 | 770 .loc 1 501 5 is_stmt 0 view .LVU211 |
||
4279 | 771 007a CAE7 b .L48 |
||
4280 | 772 .LVL42: |
||
4281 | 773 .L49: |
||
4282 | 774 .LCFI7: |
||
4283 | 775 .cfi_def_cfa_offset 0 |
||
4284 | 776 .cfi_restore 3 |
||
4285 | 777 .cfi_restore 4 |
||
4286 | 778 .cfi_restore 5 |
||
4287 | 779 .cfi_restore 14 |
||
4288 | 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4289 | 780 .loc 1 471 12 view .LVU212 |
||
4290 | 781 007c 0120 movs r0, #1 |
||
4291 | 782 .LVL43: |
||
4292 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4293 | 783 .loc 1 535 1 view .LVU213 |
||
4294 | 784 007e 7047 bx lr |
||
4295 | 785 .cfi_endproc |
||
4296 | 786 .LFE67: |
||
4297 | 788 .section .text.HAL_MultiProcessor_Init,"ax",%progbits |
||
4298 | 789 .align 1 |
||
4299 | 790 .global HAL_MultiProcessor_Init |
||
4300 | 791 .syntax unified |
||
4301 | 792 .thumb |
||
4302 | 793 .thumb_func |
||
4303 | 794 .fpu softvfp |
||
4304 | 796 HAL_MultiProcessor_Init: |
||
4305 | 797 .LVL44: |
||
4306 | 798 .LFB68: |
||
4307 | 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4308 | 799 .loc 1 550 1 is_stmt 1 view -0 |
||
4309 | 800 .cfi_startproc |
||
4310 | 801 @ args = 0, pretend = 0, frame = 0 |
||
4311 | 802 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4312 | 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4313 | 803 .loc 1 552 3 view .LVU215 |
||
4314 | 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4315 | 804 .loc 1 552 6 is_stmt 0 view .LVU216 |
||
4316 | 805 0000 0028 cmp r0, #0 |
||
4317 | 806 0002 40D0 beq .L58 |
||
4318 | 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4319 | 807 .loc 1 550 1 view .LVU217 |
||
4320 | 808 0004 70B5 push {r4, r5, r6, lr} |
||
4321 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 73 |
||
4322 | |||
4323 | |||
4324 | 809 .LCFI8: |
||
4325 | 810 .cfi_def_cfa_offset 16 |
||
4326 | 811 .cfi_offset 4, -16 |
||
4327 | 812 .cfi_offset 5, -12 |
||
4328 | 813 .cfi_offset 6, -8 |
||
4329 | 814 .cfi_offset 14, -4 |
||
4330 | 815 0006 0446 mov r4, r0 |
||
4331 | 816 0008 1646 mov r6, r2 |
||
4332 | 817 000a 0D46 mov r5, r1 |
||
4333 | 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4334 | 818 .loc 1 558 3 is_stmt 1 view .LVU218 |
||
4335 | 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_ADDRESS(Address)); |
||
4336 | 819 .loc 1 561 3 view .LVU219 |
||
4337 | 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength)); |
||
4338 | 820 .loc 1 562 3 view .LVU220 |
||
4339 | 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8) |
||
4340 | 821 .loc 1 563 3 view .LVU221 |
||
4341 | 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4342 | 822 .loc 1 568 3 view .LVU222 |
||
4343 | 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4344 | 823 .loc 1 568 12 is_stmt 0 view .LVU223 |
||
4345 | 824 000c 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
4346 | 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4347 | 825 .loc 1 568 6 view .LVU224 |
||
4348 | 826 0010 002B cmp r3, #0 |
||
4349 | 827 0012 33D0 beq .L63 |
||
4350 | 828 .LVL45: |
||
4351 | 829 .L57: |
||
4352 | 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4353 | 830 .loc 1 589 3 is_stmt 1 view .LVU225 |
||
4354 | 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4355 | 831 .loc 1 589 17 is_stmt 0 view .LVU226 |
||
4356 | 832 0014 2423 movs r3, #36 |
||
4357 | 833 0016 84F83930 strb r3, [r4, #57] |
||
4358 | 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4359 | 834 .loc 1 592 3 is_stmt 1 view .LVU227 |
||
4360 | 835 001a 2268 ldr r2, [r4] |
||
4361 | 836 001c D368 ldr r3, [r2, #12] |
||
4362 | 837 001e 23F40053 bic r3, r3, #8192 |
||
4363 | 838 0022 D360 str r3, [r2, #12] |
||
4364 | 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4365 | 839 .loc 1 595 3 view .LVU228 |
||
4366 | 840 0024 2046 mov r0, r4 |
||
4367 | 841 0026 FFF7FEFF bl UART_SetConfig |
||
4368 | 842 .LVL46: |
||
4369 | 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); |
||
4370 | 843 .loc 1 600 3 view .LVU229 |
||
4371 | 844 002a 2268 ldr r2, [r4] |
||
4372 | 845 002c 1369 ldr r3, [r2, #16] |
||
4373 | 846 002e 23F49043 bic r3, r3, #18432 |
||
4374 | 847 0032 1361 str r3, [r2, #16] |
||
4375 | 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4376 | 848 .loc 1 601 3 view .LVU230 |
||
4377 | 849 0034 2268 ldr r2, [r4] |
||
4378 | 850 0036 5369 ldr r3, [r2, #20] |
||
4379 | 851 0038 23F02A03 bic r3, r3, #42 |
||
4380 | 852 003c 5361 str r3, [r2, #20] |
||
4381 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 74 |
||
4382 | |||
4383 | |||
4384 | 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, Address); |
||
4385 | 853 .loc 1 604 3 view .LVU231 |
||
4386 | 854 003e 2268 ldr r2, [r4] |
||
4387 | 855 0040 1369 ldr r3, [r2, #16] |
||
4388 | 856 0042 23F00F03 bic r3, r3, #15 |
||
4389 | 857 0046 1361 str r3, [r2, #16] |
||
4390 | 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4391 | 858 .loc 1 605 3 view .LVU232 |
||
4392 | 859 0048 2368 ldr r3, [r4] |
||
4393 | 860 004a 1969 ldr r1, [r3, #16] |
||
4394 | 861 004c 0D43 orrs r5, r5, r1 |
||
4395 | 862 004e 1D61 str r5, [r3, #16] |
||
4396 | 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, WakeUpMethod); |
||
4397 | 863 .loc 1 608 3 view .LVU233 |
||
4398 | 864 0050 2268 ldr r2, [r4] |
||
4399 | 865 0052 D368 ldr r3, [r2, #12] |
||
4400 | 866 0054 23F40063 bic r3, r3, #2048 |
||
4401 | 867 0058 D360 str r3, [r2, #12] |
||
4402 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4403 | 868 .loc 1 609 3 view .LVU234 |
||
4404 | 869 005a 2168 ldr r1, [r4] |
||
4405 | 870 005c CB68 ldr r3, [r1, #12] |
||
4406 | 871 005e 3343 orrs r3, r3, r6 |
||
4407 | 872 0060 CB60 str r3, [r1, #12] |
||
4408 | 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4409 | 873 .loc 1 612 3 view .LVU235 |
||
4410 | 874 0062 2268 ldr r2, [r4] |
||
4411 | 875 0064 D368 ldr r3, [r2, #12] |
||
4412 | 876 0066 43F40053 orr r3, r3, #8192 |
||
4413 | 877 006a D360 str r3, [r2, #12] |
||
4414 | 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
4415 | 878 .loc 1 615 3 view .LVU236 |
||
4416 | 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
4417 | 879 .loc 1 615 20 is_stmt 0 view .LVU237 |
||
4418 | 880 006c 0020 movs r0, #0 |
||
4419 | 881 006e E063 str r0, [r4, #60] |
||
4420 | 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
4421 | 882 .loc 1 616 3 is_stmt 1 view .LVU238 |
||
4422 | 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
4423 | 883 .loc 1 616 17 is_stmt 0 view .LVU239 |
||
4424 | 884 0070 2023 movs r3, #32 |
||
4425 | 885 0072 84F83930 strb r3, [r4, #57] |
||
4426 | 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4427 | 886 .loc 1 617 3 is_stmt 1 view .LVU240 |
||
4428 | 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4429 | 887 .loc 1 617 18 is_stmt 0 view .LVU241 |
||
4430 | 888 0076 84F83A30 strb r3, [r4, #58] |
||
4431 | 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4432 | 889 .loc 1 619 3 is_stmt 1 view .LVU242 |
||
4433 | 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4434 | 890 .loc 1 620 1 is_stmt 0 view .LVU243 |
||
4435 | 891 007a 70BD pop {r4, r5, r6, pc} |
||
4436 | 892 .LVL47: |
||
4437 | 893 .L63: |
||
4438 | 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4439 | 894 .loc 1 571 5 is_stmt 1 view .LVU244 |
||
4440 | 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4441 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 75 |
||
4442 | |||
4443 | |||
4444 | 895 .loc 1 571 17 is_stmt 0 view .LVU245 |
||
4445 | 896 007c 80F83830 strb r3, [r0, #56] |
||
4446 | 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
4447 | 897 .loc 1 585 5 is_stmt 1 view .LVU246 |
||
4448 | 898 0080 FFF7FEFF bl HAL_UART_MspInit |
||
4449 | 899 .LVL48: |
||
4450 | 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
4451 | 900 .loc 1 585 5 is_stmt 0 view .LVU247 |
||
4452 | 901 0084 C6E7 b .L57 |
||
4453 | 902 .LVL49: |
||
4454 | 903 .L58: |
||
4455 | 904 .LCFI9: |
||
4456 | 905 .cfi_def_cfa_offset 0 |
||
4457 | 906 .cfi_restore 4 |
||
4458 | 907 .cfi_restore 5 |
||
4459 | 908 .cfi_restore 6 |
||
4460 | 909 .cfi_restore 14 |
||
4461 | 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4462 | 910 .loc 1 554 12 view .LVU248 |
||
4463 | 911 0086 0120 movs r0, #1 |
||
4464 | 912 .LVL50: |
||
4465 | 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4466 | 913 .loc 1 620 1 view .LVU249 |
||
4467 | 914 0088 7047 bx lr |
||
4468 | 915 .cfi_endproc |
||
4469 | 916 .LFE68: |
||
4470 | 918 .section .text.HAL_UART_MspDeInit,"ax",%progbits |
||
4471 | 919 .align 1 |
||
4472 | 920 .weak HAL_UART_MspDeInit |
||
4473 | 921 .syntax unified |
||
4474 | 922 .thumb |
||
4475 | 923 .thumb_func |
||
4476 | 924 .fpu softvfp |
||
4477 | 926 HAL_UART_MspDeInit: |
||
4478 | 927 .LVL51: |
||
4479 | 928 .LFB71: |
||
4480 | 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
4481 | 929 .loc 1 688 1 is_stmt 1 view -0 |
||
4482 | 930 .cfi_startproc |
||
4483 | 931 @ args = 0, pretend = 0, frame = 0 |
||
4484 | 932 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4485 | 933 @ link register save eliminated. |
||
4486 | 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
4487 | 934 .loc 1 690 3 view .LVU251 |
||
4488 | 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4489 | 935 .loc 1 694 1 is_stmt 0 view .LVU252 |
||
4490 | 936 0000 7047 bx lr |
||
4491 | 937 .cfi_endproc |
||
4492 | 938 .LFE71: |
||
4493 | 940 .section .text.HAL_UART_DeInit,"ax",%progbits |
||
4494 | 941 .align 1 |
||
4495 | 942 .global HAL_UART_DeInit |
||
4496 | 943 .syntax unified |
||
4497 | 944 .thumb |
||
4498 | 945 .thumb_func |
||
4499 | 946 .fpu softvfp |
||
4500 | 948 HAL_UART_DeInit: |
||
4501 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 76 |
||
4502 | |||
4503 | |||
4504 | 949 .LVL52: |
||
4505 | 950 .LFB69: |
||
4506 | 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4507 | 951 .loc 1 629 1 is_stmt 1 view -0 |
||
4508 | 952 .cfi_startproc |
||
4509 | 953 @ args = 0, pretend = 0, frame = 0 |
||
4510 | 954 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4511 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4512 | 955 .loc 1 631 3 view .LVU254 |
||
4513 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4514 | 956 .loc 1 631 6 is_stmt 0 view .LVU255 |
||
4515 | 957 0000 A0B1 cbz r0, .L67 |
||
4516 | 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */ |
||
4517 | 958 .loc 1 629 1 view .LVU256 |
||
4518 | 959 0002 10B5 push {r4, lr} |
||
4519 | 960 .LCFI10: |
||
4520 | 961 .cfi_def_cfa_offset 8 |
||
4521 | 962 .cfi_offset 4, -8 |
||
4522 | 963 .cfi_offset 14, -4 |
||
4523 | 964 0004 0446 mov r4, r0 |
||
4524 | 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4525 | 965 .loc 1 637 3 is_stmt 1 view .LVU257 |
||
4526 | 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4527 | 966 .loc 1 639 3 view .LVU258 |
||
4528 | 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4529 | 967 .loc 1 639 17 is_stmt 0 view .LVU259 |
||
4530 | 968 0006 2423 movs r3, #36 |
||
4531 | 969 0008 80F83930 strb r3, [r0, #57] |
||
4532 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4533 | 970 .loc 1 642 3 is_stmt 1 view .LVU260 |
||
4534 | 971 000c 0268 ldr r2, [r0] |
||
4535 | 972 000e D368 ldr r3, [r2, #12] |
||
4536 | 973 0010 23F40053 bic r3, r3, #8192 |
||
4537 | 974 0014 D360 str r3, [r2, #12] |
||
4538 | 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ |
||
4539 | 975 .loc 1 653 3 view .LVU261 |
||
4540 | 976 0016 FFF7FEFF bl HAL_UART_MspDeInit |
||
4541 | 977 .LVL53: |
||
4542 | 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_RESET; |
||
4543 | 978 .loc 1 656 3 view .LVU262 |
||
4544 | 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_RESET; |
||
4545 | 979 .loc 1 656 20 is_stmt 0 view .LVU263 |
||
4546 | 980 001a 0020 movs r0, #0 |
||
4547 | 981 001c E063 str r0, [r4, #60] |
||
4548 | 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_RESET; |
||
4549 | 982 .loc 1 657 3 is_stmt 1 view .LVU264 |
||
4550 | 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_RESET; |
||
4551 | 983 .loc 1 657 17 is_stmt 0 view .LVU265 |
||
4552 | 984 001e 84F83900 strb r0, [r4, #57] |
||
4553 | 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4554 | 985 .loc 1 658 3 is_stmt 1 view .LVU266 |
||
4555 | 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4556 | 986 .loc 1 658 18 is_stmt 0 view .LVU267 |
||
4557 | 987 0022 84F83A00 strb r0, [r4, #58] |
||
4558 | 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4559 | 988 .loc 1 661 3 is_stmt 1 view .LVU268 |
||
4560 | 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4561 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 77 |
||
4562 | |||
4563 | |||
4564 | 989 .loc 1 661 3 view .LVU269 |
||
4565 | 990 0026 84F83800 strb r0, [r4, #56] |
||
4566 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4567 | 991 .loc 1 663 3 view .LVU270 |
||
4568 | 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4569 | 992 .loc 1 664 1 is_stmt 0 view .LVU271 |
||
4570 | 993 002a 10BD pop {r4, pc} |
||
4571 | 994 .LVL54: |
||
4572 | 995 .L67: |
||
4573 | 996 .LCFI11: |
||
4574 | 997 .cfi_def_cfa_offset 0 |
||
4575 | 998 .cfi_restore 4 |
||
4576 | 999 .cfi_restore 14 |
||
4577 | 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4578 | 1000 .loc 1 633 12 view .LVU272 |
||
4579 | 1001 002c 0120 movs r0, #1 |
||
4580 | 1002 .LVL55: |
||
4581 | 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4582 | 1003 .loc 1 664 1 view .LVU273 |
||
4583 | 1004 002e 7047 bx lr |
||
4584 | 1005 .cfi_endproc |
||
4585 | 1006 .LFE69: |
||
4586 | 1008 .section .text.HAL_UART_Transmit,"ax",%progbits |
||
4587 | 1009 .align 1 |
||
4588 | 1010 .global HAL_UART_Transmit |
||
4589 | 1011 .syntax unified |
||
4590 | 1012 .thumb |
||
4591 | 1013 .thumb_func |
||
4592 | 1014 .fpu softvfp |
||
4593 | 1016 HAL_UART_Transmit: |
||
4594 | 1017 .LVL56: |
||
4595 | 1018 .LFB72: |
||
4596 | 1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
4597 | 1019 .loc 1 1028 1 is_stmt 1 view -0 |
||
4598 | 1020 .cfi_startproc |
||
4599 | 1021 @ args = 0, pretend = 0, frame = 0 |
||
4600 | 1022 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4601 | 1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
4602 | 1023 .loc 1 1028 1 is_stmt 0 view .LVU275 |
||
4603 | 1024 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr} |
||
4604 | 1025 .LCFI12: |
||
4605 | 1026 .cfi_def_cfa_offset 24 |
||
4606 | 1027 .cfi_offset 4, -24 |
||
4607 | 1028 .cfi_offset 5, -20 |
||
4608 | 1029 .cfi_offset 6, -16 |
||
4609 | 1030 .cfi_offset 7, -12 |
||
4610 | 1031 .cfi_offset 8, -8 |
||
4611 | 1032 .cfi_offset 14, -4 |
||
4612 | 1033 0004 82B0 sub sp, sp, #8 |
||
4613 | 1034 .LCFI13: |
||
4614 | 1035 .cfi_def_cfa_offset 32 |
||
4615 | 1036 0006 1E46 mov r6, r3 |
||
4616 | 1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tickstart = 0U; |
||
4617 | 1037 .loc 1 1029 3 is_stmt 1 view .LVU276 |
||
4618 | 1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4619 | 1038 .loc 1 1030 3 view .LVU277 |
||
4620 | 1039 .LVL57: |
||
4621 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 78 |
||
4622 | |||
4623 | |||
4624 | 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4625 | 1040 .loc 1 1033 3 view .LVU278 |
||
4626 | 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4627 | 1041 .loc 1 1033 12 is_stmt 0 view .LVU279 |
||
4628 | 1042 0008 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
4629 | 1043 .LVL58: |
||
4630 | 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4631 | 1044 .loc 1 1033 12 view .LVU280 |
||
4632 | 1045 000c DBB2 uxtb r3, r3 |
||
4633 | 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4634 | 1046 .loc 1 1033 6 view .LVU281 |
||
4635 | 1047 000e 202B cmp r3, #32 |
||
4636 | 1048 0010 55D1 bne .L79 |
||
4637 | 1049 0012 0446 mov r4, r0 |
||
4638 | 1050 0014 0D46 mov r5, r1 |
||
4639 | 1051 0016 9046 mov r8, r2 |
||
4640 | 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4641 | 1052 .loc 1 1035 5 is_stmt 1 view .LVU282 |
||
4642 | 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4643 | 1053 .loc 1 1035 8 is_stmt 0 view .LVU283 |
||
4644 | 1054 0018 0029 cmp r1, #0 |
||
4645 | 1055 001a 55D0 beq .L80 |
||
4646 | 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4647 | 1056 .loc 1 1035 25 discriminator 1 view .LVU284 |
||
4648 | 1057 001c 002A cmp r2, #0 |
||
4649 | 1058 001e 55D0 beq .L81 |
||
4650 | 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4651 | 1059 .loc 1 1041 5 is_stmt 1 view .LVU285 |
||
4652 | 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4653 | 1060 .loc 1 1041 5 view .LVU286 |
||
4654 | 1061 0020 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
4655 | 1062 0024 012B cmp r3, #1 |
||
4656 | 1063 0026 53D0 beq .L82 |
||
4657 | 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4658 | 1064 .loc 1 1041 5 discriminator 2 view .LVU287 |
||
4659 | 1065 0028 0123 movs r3, #1 |
||
4660 | 1066 002a 80F83830 strb r3, [r0, #56] |
||
4661 | 1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
4662 | 1067 .loc 1 1043 5 discriminator 2 view .LVU288 |
||
4663 | 1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
4664 | 1068 .loc 1 1043 22 is_stmt 0 discriminator 2 view .LVU289 |
||
4665 | 1069 002e 0023 movs r3, #0 |
||
4666 | 1070 0030 C363 str r3, [r0, #60] |
||
4667 | 1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4668 | 1071 .loc 1 1044 5 is_stmt 1 discriminator 2 view .LVU290 |
||
4669 | 1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4670 | 1072 .loc 1 1044 19 is_stmt 0 discriminator 2 view .LVU291 |
||
4671 | 1073 0032 2123 movs r3, #33 |
||
4672 | 1074 0034 80F83930 strb r3, [r0, #57] |
||
4673 | 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4674 | 1075 .loc 1 1047 5 is_stmt 1 discriminator 2 view .LVU292 |
||
4675 | 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4676 | 1076 .loc 1 1047 17 is_stmt 0 discriminator 2 view .LVU293 |
||
4677 | 1077 0038 FFF7FEFF bl HAL_GetTick |
||
4678 | 1078 .LVL59: |
||
4679 | 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4680 | 1079 .loc 1 1047 17 discriminator 2 view .LVU294 |
||
4681 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 79 |
||
4682 | |||
4683 | |||
4684 | 1080 003c 0746 mov r7, r0 |
||
4685 | 1081 .LVL60: |
||
4686 | 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
4687 | 1082 .loc 1 1049 5 is_stmt 1 discriminator 2 view .LVU295 |
||
4688 | 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
4689 | 1083 .loc 1 1049 23 is_stmt 0 discriminator 2 view .LVU296 |
||
4690 | 1084 003e A4F82480 strh r8, [r4, #36] @ movhi |
||
4691 | 1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while (huart->TxXferCount > 0U) |
||
4692 | 1085 .loc 1 1050 5 is_stmt 1 discriminator 2 view .LVU297 |
||
4693 | 1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while (huart->TxXferCount > 0U) |
||
4694 | 1086 .loc 1 1050 24 is_stmt 0 discriminator 2 view .LVU298 |
||
4695 | 1087 0042 A4F82680 strh r8, [r4, #38] @ movhi |
||
4696 | 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4697 | 1088 .loc 1 1051 5 is_stmt 1 discriminator 2 view .LVU299 |
||
4698 | 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4699 | 1089 .loc 1 1051 11 is_stmt 0 discriminator 2 view .LVU300 |
||
4700 | 1090 0046 10E0 b .L74 |
||
4701 | 1091 .LVL61: |
||
4702 | 1092 .L88: |
||
4703 | 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4704 | 1093 .loc 1 1056 9 is_stmt 1 view .LVU301 |
||
4705 | 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4706 | 1094 .loc 1 1056 13 is_stmt 0 view .LVU302 |
||
4707 | 1095 0048 0096 str r6, [sp] |
||
4708 | 1096 004a 3B46 mov r3, r7 |
||
4709 | 1097 004c 0022 movs r2, #0 |
||
4710 | 1098 004e 8021 movs r1, #128 |
||
4711 | 1099 0050 2046 mov r0, r4 |
||
4712 | 1100 0052 FFF7FEFF bl UART_WaitOnFlagUntilTimeout |
||
4713 | 1101 .LVL62: |
||
4714 | 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4715 | 1102 .loc 1 1056 12 view .LVU303 |
||
4716 | 1103 0056 0028 cmp r0, #0 |
||
4717 | 1104 0058 3CD1 bne .L83 |
||
4718 | 1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (*tmp & (uint16_t)0x01FF); |
||
4719 | 1105 .loc 1 1060 9 is_stmt 1 view .LVU304 |
||
4720 | 1106 .LVL63: |
||
4721 | 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
4722 | 1107 .loc 1 1061 9 view .LVU305 |
||
4723 | 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
4724 | 1108 .loc 1 1061 32 is_stmt 0 view .LVU306 |
||
4725 | 1109 005a 2B88 ldrh r3, [r5] |
||
4726 | 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
4727 | 1110 .loc 1 1061 14 view .LVU307 |
||
4728 | 1111 005c 2268 ldr r2, [r4] |
||
4729 | 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
4730 | 1112 .loc 1 1061 37 view .LVU308 |
||
4731 | 1113 005e C3F30803 ubfx r3, r3, #0, #9 |
||
4732 | 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
4733 | 1114 .loc 1 1061 29 view .LVU309 |
||
4734 | 1115 0062 5360 str r3, [r2, #4] |
||
4735 | 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4736 | 1116 .loc 1 1062 9 is_stmt 1 view .LVU310 |
||
4737 | 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4738 | 1117 .loc 1 1062 24 is_stmt 0 view .LVU311 |
||
4739 | 1118 0064 2369 ldr r3, [r4, #16] |
||
4740 | 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4741 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 80 |
||
4742 | |||
4743 | |||
4744 | 1119 .loc 1 1062 12 view .LVU312 |
||
4745 | 1120 0066 C3B9 cbnz r3, .L76 |
||
4746 | 1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4747 | 1121 .loc 1 1064 11 is_stmt 1 view .LVU313 |
||
4748 | 1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4749 | 1122 .loc 1 1064 17 is_stmt 0 view .LVU314 |
||
4750 | 1123 0068 0235 adds r5, r5, #2 |
||
4751 | 1124 .LVL64: |
||
4752 | 1125 .L74: |
||
4753 | 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4754 | 1126 .loc 1 1051 17 view .LVU315 |
||
4755 | 1127 006a E38C ldrh r3, [r4, #38] |
||
4756 | 1128 006c 9BB2 uxth r3, r3 |
||
4757 | 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4758 | 1129 .loc 1 1051 11 view .LVU316 |
||
4759 | 1130 006e B3B1 cbz r3, .L87 |
||
4760 | 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
4761 | 1131 .loc 1 1053 7 is_stmt 1 view .LVU317 |
||
4762 | 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
4763 | 1132 .loc 1 1053 12 is_stmt 0 view .LVU318 |
||
4764 | 1133 0070 E38C ldrh r3, [r4, #38] |
||
4765 | 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
4766 | 1134 .loc 1 1053 25 view .LVU319 |
||
4767 | 1135 0072 013B subs r3, r3, #1 |
||
4768 | 1136 0074 9BB2 uxth r3, r3 |
||
4769 | 1137 0076 E384 strh r3, [r4, #38] @ movhi |
||
4770 | 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4771 | 1138 .loc 1 1054 7 is_stmt 1 view .LVU320 |
||
4772 | 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4773 | 1139 .loc 1 1054 22 is_stmt 0 view .LVU321 |
||
4774 | 1140 0078 A368 ldr r3, [r4, #8] |
||
4775 | 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4776 | 1141 .loc 1 1054 10 view .LVU322 |
||
4777 | 1142 007a B3F5805F cmp r3, #4096 |
||
4778 | 1143 007e E3D0 beq .L88 |
||
4779 | 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4780 | 1144 .loc 1 1073 9 is_stmt 1 view .LVU323 |
||
4781 | 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4782 | 1145 .loc 1 1073 13 is_stmt 0 view .LVU324 |
||
4783 | 1146 0080 0096 str r6, [sp] |
||
4784 | 1147 0082 3B46 mov r3, r7 |
||
4785 | 1148 0084 0022 movs r2, #0 |
||
4786 | 1149 0086 8021 movs r1, #128 |
||
4787 | 1150 0088 2046 mov r0, r4 |
||
4788 | 1151 008a FFF7FEFF bl UART_WaitOnFlagUntilTimeout |
||
4789 | 1152 .LVL65: |
||
4790 | 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4791 | 1153 .loc 1 1073 12 view .LVU325 |
||
4792 | 1154 008e 18BB cbnz r0, .L84 |
||
4793 | 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4794 | 1155 .loc 1 1077 9 is_stmt 1 view .LVU326 |
||
4795 | 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4796 | 1156 .loc 1 1077 32 is_stmt 0 view .LVU327 |
||
4797 | 1157 0090 15F8012B ldrb r2, [r5], #1 @ zero_extendqisi2 |
||
4798 | 1158 .LVL66: |
||
4799 | 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4800 | 1159 .loc 1 1077 14 view .LVU328 |
||
4801 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 81 |
||
4802 | |||
4803 | |||
4804 | 1160 0094 2368 ldr r3, [r4] |
||
4805 | 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4806 | 1161 .loc 1 1077 29 view .LVU329 |
||
4807 | 1162 0096 5A60 str r2, [r3, #4] |
||
4808 | 1163 0098 E7E7 b .L74 |
||
4809 | 1164 .LVL67: |
||
4810 | 1165 .L76: |
||
4811 | 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4812 | 1166 .loc 1 1068 11 is_stmt 1 view .LVU330 |
||
4813 | 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4814 | 1167 .loc 1 1068 17 is_stmt 0 view .LVU331 |
||
4815 | 1168 009a 0135 adds r5, r5, #1 |
||
4816 | 1169 .LVL68: |
||
4817 | 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4818 | 1170 .loc 1 1068 17 view .LVU332 |
||
4819 | 1171 009c E5E7 b .L74 |
||
4820 | 1172 .LVL69: |
||
4821 | 1173 .L87: |
||
4822 | 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4823 | 1174 .loc 1 1081 5 is_stmt 1 view .LVU333 |
||
4824 | 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4825 | 1175 .loc 1 1081 9 is_stmt 0 view .LVU334 |
||
4826 | 1176 009e 0096 str r6, [sp] |
||
4827 | 1177 00a0 3B46 mov r3, r7 |
||
4828 | 1178 00a2 0022 movs r2, #0 |
||
4829 | 1179 00a4 4021 movs r1, #64 |
||
4830 | 1180 00a6 2046 mov r0, r4 |
||
4831 | 1181 00a8 FFF7FEFF bl UART_WaitOnFlagUntilTimeout |
||
4832 | 1182 .LVL70: |
||
4833 | 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4834 | 1183 .loc 1 1081 8 view .LVU335 |
||
4835 | 1184 00ac 0346 mov r3, r0 |
||
4836 | 1185 00ae A8B9 cbnz r0, .L85 |
||
4837 | 1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4838 | 1186 .loc 1 1087 5 is_stmt 1 view .LVU336 |
||
4839 | 1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4840 | 1187 .loc 1 1087 19 is_stmt 0 view .LVU337 |
||
4841 | 1188 00b0 2022 movs r2, #32 |
||
4842 | 1189 00b2 84F83920 strb r2, [r4, #57] |
||
4843 | 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4844 | 1190 .loc 1 1090 5 is_stmt 1 view .LVU338 |
||
4845 | 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4846 | 1191 .loc 1 1090 5 view .LVU339 |
||
4847 | 1192 00b6 0022 movs r2, #0 |
||
4848 | 1193 00b8 84F83820 strb r2, [r4, #56] |
||
4849 | 1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4850 | 1194 .loc 1 1092 5 view .LVU340 |
||
4851 | 1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4852 | 1195 .loc 1 1092 12 is_stmt 0 view .LVU341 |
||
4853 | 1196 00bc 00E0 b .L73 |
||
4854 | 1197 .LVL71: |
||
4855 | 1198 .L79: |
||
4856 | 1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4857 | 1199 .loc 1 1096 12 view .LVU342 |
||
4858 | 1200 00be 0223 movs r3, #2 |
||
4859 | 1201 .LVL72: |
||
4860 | 1202 .L73: |
||
4861 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 82 |
||
4862 | |||
4863 | |||
4864 | 1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4865 | 1203 .loc 1 1098 1 view .LVU343 |
||
4866 | 1204 00c0 1846 mov r0, r3 |
||
4867 | 1205 00c2 02B0 add sp, sp, #8 |
||
4868 | 1206 .LCFI14: |
||
4869 | 1207 .cfi_remember_state |
||
4870 | 1208 .cfi_def_cfa_offset 24 |
||
4871 | 1209 @ sp needed |
||
4872 | 1210 00c4 BDE8F081 pop {r4, r5, r6, r7, r8, pc} |
||
4873 | 1211 .LVL73: |
||
4874 | 1212 .L80: |
||
4875 | 1213 .LCFI15: |
||
4876 | 1214 .cfi_restore_state |
||
4877 | 1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4878 | 1215 .loc 1 1037 15 view .LVU344 |
||
4879 | 1216 00c8 0123 movs r3, #1 |
||
4880 | 1217 00ca F9E7 b .L73 |
||
4881 | 1218 .L81: |
||
4882 | 1219 00cc 0123 movs r3, #1 |
||
4883 | 1220 00ce F7E7 b .L73 |
||
4884 | 1221 .L82: |
||
4885 | 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4886 | 1222 .loc 1 1041 5 view .LVU345 |
||
4887 | 1223 00d0 0223 movs r3, #2 |
||
4888 | 1224 00d2 F5E7 b .L73 |
||
4889 | 1225 .LVL74: |
||
4890 | 1226 .L83: |
||
4891 | 1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4892 | 1227 .loc 1 1058 18 view .LVU346 |
||
4893 | 1228 00d4 0323 movs r3, #3 |
||
4894 | 1229 00d6 F3E7 b .L73 |
||
4895 | 1230 .L84: |
||
4896 | 1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4897 | 1231 .loc 1 1075 18 view .LVU347 |
||
4898 | 1232 00d8 0323 movs r3, #3 |
||
4899 | 1233 00da F1E7 b .L73 |
||
4900 | 1234 .L85: |
||
4901 | 1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
4902 | 1235 .loc 1 1083 14 view .LVU348 |
||
4903 | 1236 00dc 0323 movs r3, #3 |
||
4904 | 1237 00de EFE7 b .L73 |
||
4905 | 1238 .cfi_endproc |
||
4906 | 1239 .LFE72: |
||
4907 | 1241 .section .text.HAL_UART_Receive,"ax",%progbits |
||
4908 | 1242 .align 1 |
||
4909 | 1243 .global HAL_UART_Receive |
||
4910 | 1244 .syntax unified |
||
4911 | 1245 .thumb |
||
4912 | 1246 .thumb_func |
||
4913 | 1247 .fpu softvfp |
||
4914 | 1249 HAL_UART_Receive: |
||
4915 | 1250 .LVL75: |
||
4916 | 1251 .LFB73: |
||
4917 | 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
4918 | 1252 .loc 1 1113 1 is_stmt 1 view -0 |
||
4919 | 1253 .cfi_startproc |
||
4920 | 1254 @ args = 0, pretend = 0, frame = 0 |
||
4921 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 83 |
||
4922 | |||
4923 | |||
4924 | 1255 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4925 | 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
4926 | 1256 .loc 1 1113 1 is_stmt 0 view .LVU350 |
||
4927 | 1257 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr} |
||
4928 | 1258 .LCFI16: |
||
4929 | 1259 .cfi_def_cfa_offset 24 |
||
4930 | 1260 .cfi_offset 4, -24 |
||
4931 | 1261 .cfi_offset 5, -20 |
||
4932 | 1262 .cfi_offset 6, -16 |
||
4933 | 1263 .cfi_offset 7, -12 |
||
4934 | 1264 .cfi_offset 8, -8 |
||
4935 | 1265 .cfi_offset 14, -4 |
||
4936 | 1266 0004 82B0 sub sp, sp, #8 |
||
4937 | 1267 .LCFI17: |
||
4938 | 1268 .cfi_def_cfa_offset 32 |
||
4939 | 1269 0006 1E46 mov r6, r3 |
||
4940 | 1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tickstart = 0U; |
||
4941 | 1270 .loc 1 1114 3 is_stmt 1 view .LVU351 |
||
4942 | 1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4943 | 1271 .loc 1 1115 3 view .LVU352 |
||
4944 | 1272 .LVL76: |
||
4945 | 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4946 | 1273 .loc 1 1118 3 view .LVU353 |
||
4947 | 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4948 | 1274 .loc 1 1118 12 is_stmt 0 view .LVU354 |
||
4949 | 1275 0008 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2 |
||
4950 | 1276 .LVL77: |
||
4951 | 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4952 | 1277 .loc 1 1118 12 view .LVU355 |
||
4953 | 1278 000c DBB2 uxtb r3, r3 |
||
4954 | 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4955 | 1279 .loc 1 1118 6 view .LVU356 |
||
4956 | 1280 000e 202B cmp r3, #32 |
||
4957 | 1281 0010 5AD1 bne .L97 |
||
4958 | 1282 0012 0446 mov r4, r0 |
||
4959 | 1283 0014 0D46 mov r5, r1 |
||
4960 | 1284 0016 9046 mov r8, r2 |
||
4961 | 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4962 | 1285 .loc 1 1120 5 is_stmt 1 view .LVU357 |
||
4963 | 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4964 | 1286 .loc 1 1120 8 is_stmt 0 view .LVU358 |
||
4965 | 1287 0018 0029 cmp r1, #0 |
||
4966 | 1288 001a 59D0 beq .L98 |
||
4967 | 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
4968 | 1289 .loc 1 1120 25 discriminator 1 view .LVU359 |
||
4969 | 1290 001c 002A cmp r2, #0 |
||
4970 | 1291 001e 59D0 beq .L99 |
||
4971 | 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4972 | 1292 .loc 1 1126 5 is_stmt 1 view .LVU360 |
||
4973 | 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4974 | 1293 .loc 1 1126 5 view .LVU361 |
||
4975 | 1294 0020 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
4976 | 1295 0024 012B cmp r3, #1 |
||
4977 | 1296 0026 57D0 beq .L100 |
||
4978 | 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4979 | 1297 .loc 1 1126 5 discriminator 2 view .LVU362 |
||
4980 | 1298 0028 0123 movs r3, #1 |
||
4981 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 84 |
||
4982 | |||
4983 | |||
4984 | 1299 002a 80F83830 strb r3, [r0, #56] |
||
4985 | 1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
4986 | 1300 .loc 1 1128 5 discriminator 2 view .LVU363 |
||
4987 | 1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
4988 | 1301 .loc 1 1128 22 is_stmt 0 discriminator 2 view .LVU364 |
||
4989 | 1302 002e 0023 movs r3, #0 |
||
4990 | 1303 0030 C363 str r3, [r0, #60] |
||
4991 | 1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4992 | 1304 .loc 1 1129 5 is_stmt 1 discriminator 2 view .LVU365 |
||
4993 | 1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4994 | 1305 .loc 1 1129 20 is_stmt 0 discriminator 2 view .LVU366 |
||
4995 | 1306 0032 2223 movs r3, #34 |
||
4996 | 1307 0034 80F83A30 strb r3, [r0, #58] |
||
4997 | 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
4998 | 1308 .loc 1 1132 5 is_stmt 1 discriminator 2 view .LVU367 |
||
4999 | 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5000 | 1309 .loc 1 1132 17 is_stmt 0 discriminator 2 view .LVU368 |
||
5001 | 1310 0038 FFF7FEFF bl HAL_GetTick |
||
5002 | 1311 .LVL78: |
||
5003 | 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5004 | 1312 .loc 1 1132 17 discriminator 2 view .LVU369 |
||
5005 | 1313 003c 0746 mov r7, r0 |
||
5006 | 1314 .LVL79: |
||
5007 | 1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size; |
||
5008 | 1315 .loc 1 1134 5 is_stmt 1 discriminator 2 view .LVU370 |
||
5009 | 1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size; |
||
5010 | 1316 .loc 1 1134 23 is_stmt 0 discriminator 2 view .LVU371 |
||
5011 | 1317 003e A4F82C80 strh r8, [r4, #44] @ movhi |
||
5012 | 1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5013 | 1318 .loc 1 1135 5 is_stmt 1 discriminator 2 view .LVU372 |
||
5014 | 1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5015 | 1319 .loc 1 1135 24 is_stmt 0 discriminator 2 view .LVU373 |
||
5016 | 1320 0042 A4F82E80 strh r8, [r4, #46] @ movhi |
||
5017 | 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5018 | 1321 .loc 1 1138 5 is_stmt 1 discriminator 2 view .LVU374 |
||
5019 | 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5020 | 1322 .loc 1 1138 11 is_stmt 0 discriminator 2 view .LVU375 |
||
5021 | 1323 0046 1DE0 b .L91 |
||
5022 | 1324 .LVL80: |
||
5023 | 1325 .L105: |
||
5024 | 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5025 | 1326 .loc 1 1143 9 is_stmt 1 view .LVU376 |
||
5026 | 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5027 | 1327 .loc 1 1143 13 is_stmt 0 view .LVU377 |
||
5028 | 1328 0048 0096 str r6, [sp] |
||
5029 | 1329 004a 3B46 mov r3, r7 |
||
5030 | 1330 004c 0022 movs r2, #0 |
||
5031 | 1331 004e 2021 movs r1, #32 |
||
5032 | 1332 0050 2046 mov r0, r4 |
||
5033 | 1333 0052 FFF7FEFF bl UART_WaitOnFlagUntilTimeout |
||
5034 | 1334 .LVL81: |
||
5035 | 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5036 | 1335 .loc 1 1143 12 view .LVU378 |
||
5037 | 1336 0056 0028 cmp r0, #0 |
||
5038 | 1337 0058 40D1 bne .L101 |
||
5039 | 1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
5040 | 1338 .loc 1 1147 9 is_stmt 1 view .LVU379 |
||
5041 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 85 |
||
5042 | |||
5043 | |||
5044 | 1339 .LVL82: |
||
5045 | 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5046 | 1340 .loc 1 1148 9 view .LVU380 |
||
5047 | 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5048 | 1341 .loc 1 1148 24 is_stmt 0 view .LVU381 |
||
5049 | 1342 005a 2369 ldr r3, [r4, #16] |
||
5050 | 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5051 | 1343 .loc 1 1148 12 view .LVU382 |
||
5052 | 1344 005c 33B9 cbnz r3, .L93 |
||
5053 | 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 2U; |
||
5054 | 1345 .loc 1 1150 11 is_stmt 1 view .LVU383 |
||
5055 | 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 2U; |
||
5056 | 1346 .loc 1 1150 34 is_stmt 0 view .LVU384 |
||
5057 | 1347 005e 2368 ldr r3, [r4] |
||
5058 | 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 2U; |
||
5059 | 1348 .loc 1 1150 44 view .LVU385 |
||
5060 | 1349 0060 5B68 ldr r3, [r3, #4] |
||
5061 | 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 2U; |
||
5062 | 1350 .loc 1 1150 18 view .LVU386 |
||
5063 | 1351 0062 C3F30803 ubfx r3, r3, #0, #9 |
||
5064 | 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 2U; |
||
5065 | 1352 .loc 1 1150 16 view .LVU387 |
||
5066 | 1353 0066 25F8023B strh r3, [r5], #2 @ movhi |
||
5067 | 1354 .LVL83: |
||
5068 | 1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5069 | 1355 .loc 1 1151 11 is_stmt 1 view .LVU388 |
||
5070 | 1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5071 | 1356 .loc 1 1151 11 is_stmt 0 view .LVU389 |
||
5072 | 1357 006a 0BE0 b .L91 |
||
5073 | 1358 .LVL84: |
||
5074 | 1359 .L93: |
||
5075 | 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 1U; |
||
5076 | 1360 .loc 1 1155 11 is_stmt 1 view .LVU390 |
||
5077 | 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 1U; |
||
5078 | 1361 .loc 1 1155 34 is_stmt 0 view .LVU391 |
||
5079 | 1362 006c 2368 ldr r3, [r4] |
||
5080 | 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 1U; |
||
5081 | 1363 .loc 1 1155 44 view .LVU392 |
||
5082 | 1364 006e 5B68 ldr r3, [r3, #4] |
||
5083 | 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 1U; |
||
5084 | 1365 .loc 1 1155 18 view .LVU393 |
||
5085 | 1366 0070 DBB2 uxtb r3, r3 |
||
5086 | 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pData += 1U; |
||
5087 | 1367 .loc 1 1155 16 view .LVU394 |
||
5088 | 1368 0072 25F8013B strh r3, [r5], #1 @ movhi |
||
5089 | 1369 .LVL85: |
||
5090 | 1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5091 | 1370 .loc 1 1156 11 is_stmt 1 view .LVU395 |
||
5092 | 1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5093 | 1371 .loc 1 1156 11 is_stmt 0 view .LVU396 |
||
5094 | 1372 0076 05E0 b .L91 |
||
5095 | 1373 .LVL86: |
||
5096 | 1374 .L95: |
||
5097 | 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5098 | 1375 .loc 1 1172 11 is_stmt 1 view .LVU397 |
||
5099 | 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5100 | 1376 .loc 1 1172 37 is_stmt 0 view .LVU398 |
||
5101 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 86 |
||
5102 | |||
5103 | |||
5104 | 1377 0078 2368 ldr r3, [r4] |
||
5105 | 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5106 | 1378 .loc 1 1172 47 view .LVU399 |
||
5107 | 1379 007a 5B68 ldr r3, [r3, #4] |
||
5108 | 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5109 | 1380 .loc 1 1172 22 view .LVU400 |
||
5110 | 1381 007c 03F07F03 and r3, r3, #127 |
||
5111 | 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5112 | 1382 .loc 1 1172 20 view .LVU401 |
||
5113 | 1383 0080 05F8013B strb r3, [r5], #1 |
||
5114 | 1384 .LVL87: |
||
5115 | 1385 .L91: |
||
5116 | 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5117 | 1386 .loc 1 1138 17 view .LVU402 |
||
5118 | 1387 0084 E38D ldrh r3, [r4, #46] |
||
5119 | 1388 0086 9BB2 uxth r3, r3 |
||
5120 | 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5121 | 1389 .loc 1 1138 11 view .LVU403 |
||
5122 | 1390 0088 BBB1 cbz r3, .L104 |
||
5123 | 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
5124 | 1391 .loc 1 1140 7 is_stmt 1 view .LVU404 |
||
5125 | 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
5126 | 1392 .loc 1 1140 12 is_stmt 0 view .LVU405 |
||
5127 | 1393 008a E38D ldrh r3, [r4, #46] |
||
5128 | 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.WordLength == UART_WORDLENGTH_9B) |
||
5129 | 1394 .loc 1 1140 25 view .LVU406 |
||
5130 | 1395 008c 013B subs r3, r3, #1 |
||
5131 | 1396 008e 9BB2 uxth r3, r3 |
||
5132 | 1397 0090 E385 strh r3, [r4, #46] @ movhi |
||
5133 | 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5134 | 1398 .loc 1 1141 7 is_stmt 1 view .LVU407 |
||
5135 | 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5136 | 1399 .loc 1 1141 22 is_stmt 0 view .LVU408 |
||
5137 | 1400 0092 A368 ldr r3, [r4, #8] |
||
5138 | 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5139 | 1401 .loc 1 1141 10 view .LVU409 |
||
5140 | 1402 0094 B3F5805F cmp r3, #4096 |
||
5141 | 1403 0098 D6D0 beq .L105 |
||
5142 | 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5143 | 1404 .loc 1 1162 9 is_stmt 1 view .LVU410 |
||
5144 | 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5145 | 1405 .loc 1 1162 13 is_stmt 0 view .LVU411 |
||
5146 | 1406 009a 0096 str r6, [sp] |
||
5147 | 1407 009c 3B46 mov r3, r7 |
||
5148 | 1408 009e 0022 movs r2, #0 |
||
5149 | 1409 00a0 2021 movs r1, #32 |
||
5150 | 1410 00a2 2046 mov r0, r4 |
||
5151 | 1411 00a4 FFF7FEFF bl UART_WaitOnFlagUntilTimeout |
||
5152 | 1412 .LVL88: |
||
5153 | 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5154 | 1413 .loc 1 1162 12 view .LVU412 |
||
5155 | 1414 00a8 D0B9 cbnz r0, .L102 |
||
5156 | 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5157 | 1415 .loc 1 1166 9 is_stmt 1 view .LVU413 |
||
5158 | 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5159 | 1416 .loc 1 1166 24 is_stmt 0 view .LVU414 |
||
5160 | 1417 00aa 2369 ldr r3, [r4, #16] |
||
5161 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 87 |
||
5162 | |||
5163 | |||
5164 | 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5165 | 1418 .loc 1 1166 12 view .LVU415 |
||
5166 | 1419 00ac 002B cmp r3, #0 |
||
5167 | 1420 00ae E3D1 bne .L95 |
||
5168 | 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5169 | 1421 .loc 1 1168 11 is_stmt 1 view .LVU416 |
||
5170 | 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5171 | 1422 .loc 1 1168 37 is_stmt 0 view .LVU417 |
||
5172 | 1423 00b0 2368 ldr r3, [r4] |
||
5173 | 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5174 | 1424 .loc 1 1168 47 view .LVU418 |
||
5175 | 1425 00b2 5B68 ldr r3, [r3, #4] |
||
5176 | 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5177 | 1426 .loc 1 1168 20 view .LVU419 |
||
5178 | 1427 00b4 05F8013B strb r3, [r5], #1 |
||
5179 | 1428 .LVL89: |
||
5180 | 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5181 | 1429 .loc 1 1168 20 view .LVU420 |
||
5182 | 1430 00b8 E4E7 b .L91 |
||
5183 | 1431 .LVL90: |
||
5184 | 1432 .L104: |
||
5185 | 1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5186 | 1433 .loc 1 1179 5 is_stmt 1 view .LVU421 |
||
5187 | 1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5188 | 1434 .loc 1 1179 20 is_stmt 0 view .LVU422 |
||
5189 | 1435 00ba 2023 movs r3, #32 |
||
5190 | 1436 00bc 84F83A30 strb r3, [r4, #58] |
||
5191 | 1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5192 | 1437 .loc 1 1182 5 is_stmt 1 view .LVU423 |
||
5193 | 1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5194 | 1438 .loc 1 1182 5 view .LVU424 |
||
5195 | 1439 00c0 0020 movs r0, #0 |
||
5196 | 1440 00c2 84F83800 strb r0, [r4, #56] |
||
5197 | 1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5198 | 1441 .loc 1 1184 5 view .LVU425 |
||
5199 | 1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5200 | 1442 .loc 1 1184 12 is_stmt 0 view .LVU426 |
||
5201 | 1443 00c6 00E0 b .L90 |
||
5202 | 1444 .LVL91: |
||
5203 | 1445 .L97: |
||
5204 | 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5205 | 1446 .loc 1 1188 12 view .LVU427 |
||
5206 | 1447 00c8 0220 movs r0, #2 |
||
5207 | 1448 .LVL92: |
||
5208 | 1449 .L90: |
||
5209 | 1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5210 | 1450 .loc 1 1190 1 view .LVU428 |
||
5211 | 1451 00ca 02B0 add sp, sp, #8 |
||
5212 | 1452 .LCFI18: |
||
5213 | 1453 .cfi_remember_state |
||
5214 | 1454 .cfi_def_cfa_offset 24 |
||
5215 | 1455 @ sp needed |
||
5216 | 1456 00cc BDE8F081 pop {r4, r5, r6, r7, r8, pc} |
||
5217 | 1457 .LVL93: |
||
5218 | 1458 .L98: |
||
5219 | 1459 .LCFI19: |
||
5220 | 1460 .cfi_restore_state |
||
5221 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 88 |
||
5222 | |||
5223 | |||
5224 | 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5225 | 1461 .loc 1 1122 15 view .LVU429 |
||
5226 | 1462 00d0 0120 movs r0, #1 |
||
5227 | 1463 .LVL94: |
||
5228 | 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5229 | 1464 .loc 1 1122 15 view .LVU430 |
||
5230 | 1465 00d2 FAE7 b .L90 |
||
5231 | 1466 .LVL95: |
||
5232 | 1467 .L99: |
||
5233 | 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5234 | 1468 .loc 1 1122 15 view .LVU431 |
||
5235 | 1469 00d4 0120 movs r0, #1 |
||
5236 | 1470 .LVL96: |
||
5237 | 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5238 | 1471 .loc 1 1122 15 view .LVU432 |
||
5239 | 1472 00d6 F8E7 b .L90 |
||
5240 | 1473 .LVL97: |
||
5241 | 1474 .L100: |
||
5242 | 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5243 | 1475 .loc 1 1126 5 view .LVU433 |
||
5244 | 1476 00d8 0220 movs r0, #2 |
||
5245 | 1477 .LVL98: |
||
5246 | 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5247 | 1478 .loc 1 1126 5 view .LVU434 |
||
5248 | 1479 00da F6E7 b .L90 |
||
5249 | 1480 .LVL99: |
||
5250 | 1481 .L101: |
||
5251 | 1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5252 | 1482 .loc 1 1145 18 view .LVU435 |
||
5253 | 1483 00dc 0320 movs r0, #3 |
||
5254 | 1484 00de F4E7 b .L90 |
||
5255 | 1485 .L102: |
||
5256 | 1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5257 | 1486 .loc 1 1164 18 view .LVU436 |
||
5258 | 1487 00e0 0320 movs r0, #3 |
||
5259 | 1488 00e2 F2E7 b .L90 |
||
5260 | 1489 .cfi_endproc |
||
5261 | 1490 .LFE73: |
||
5262 | 1492 .section .text.HAL_UART_Transmit_IT,"ax",%progbits |
||
5263 | 1493 .align 1 |
||
5264 | 1494 .global HAL_UART_Transmit_IT |
||
5265 | 1495 .syntax unified |
||
5266 | 1496 .thumb |
||
5267 | 1497 .thumb_func |
||
5268 | 1498 .fpu softvfp |
||
5269 | 1500 HAL_UART_Transmit_IT: |
||
5270 | 1501 .LVL100: |
||
5271 | 1502 .LFB74: |
||
5272 | 1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */ |
||
5273 | 1503 .loc 1 1204 1 is_stmt 1 view -0 |
||
5274 | 1504 .cfi_startproc |
||
5275 | 1505 @ args = 0, pretend = 0, frame = 0 |
||
5276 | 1506 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5277 | 1507 @ link register save eliminated. |
||
5278 | 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5279 | 1508 .loc 1 1206 3 view .LVU438 |
||
5280 | 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5281 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 89 |
||
5282 | |||
5283 | |||
5284 | 1509 .loc 1 1206 12 is_stmt 0 view .LVU439 |
||
5285 | 1510 0000 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
5286 | 1511 0004 DBB2 uxtb r3, r3 |
||
5287 | 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5288 | 1512 .loc 1 1206 6 view .LVU440 |
||
5289 | 1513 0006 202B cmp r3, #32 |
||
5290 | 1514 0008 16D1 bne .L108 |
||
5291 | 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5292 | 1515 .loc 1 1208 5 is_stmt 1 view .LVU441 |
||
5293 | 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5294 | 1516 .loc 1 1208 8 is_stmt 0 view .LVU442 |
||
5295 | 1517 000a B9B1 cbz r1, .L109 |
||
5296 | 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5297 | 1518 .loc 1 1208 25 discriminator 1 view .LVU443 |
||
5298 | 1519 000c C2B1 cbz r2, .L110 |
||
5299 | 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5300 | 1520 .loc 1 1214 5 is_stmt 1 view .LVU444 |
||
5301 | 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5302 | 1521 .loc 1 1214 5 view .LVU445 |
||
5303 | 1522 000e 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
5304 | 1523 0012 012B cmp r3, #1 |
||
5305 | 1524 0014 16D0 beq .L111 |
||
5306 | 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5307 | 1525 .loc 1 1214 5 discriminator 2 view .LVU446 |
||
5308 | 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size; |
||
5309 | 1526 .loc 1 1216 5 discriminator 2 view .LVU447 |
||
5310 | 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size; |
||
5311 | 1527 .loc 1 1216 23 is_stmt 0 discriminator 2 view .LVU448 |
||
5312 | 1528 0016 0162 str r1, [r0, #32] |
||
5313 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
5314 | 1529 .loc 1 1217 5 is_stmt 1 discriminator 2 view .LVU449 |
||
5315 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
5316 | 1530 .loc 1 1217 23 is_stmt 0 discriminator 2 view .LVU450 |
||
5317 | 1531 0018 8284 strh r2, [r0, #36] @ movhi |
||
5318 | 1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5319 | 1532 .loc 1 1218 5 is_stmt 1 discriminator 2 view .LVU451 |
||
5320 | 1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5321 | 1533 .loc 1 1218 24 is_stmt 0 discriminator 2 view .LVU452 |
||
5322 | 1534 001a C284 strh r2, [r0, #38] @ movhi |
||
5323 | 1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
5324 | 1535 .loc 1 1220 5 is_stmt 1 discriminator 2 view .LVU453 |
||
5325 | 1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
5326 | 1536 .loc 1 1220 22 is_stmt 0 discriminator 2 view .LVU454 |
||
5327 | 1537 001c 0023 movs r3, #0 |
||
5328 | 1538 001e C363 str r3, [r0, #60] |
||
5329 | 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5330 | 1539 .loc 1 1221 5 is_stmt 1 discriminator 2 view .LVU455 |
||
5331 | 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5332 | 1540 .loc 1 1221 19 is_stmt 0 discriminator 2 view .LVU456 |
||
5333 | 1541 0020 2122 movs r2, #33 |
||
5334 | 1542 .LVL101: |
||
5335 | 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5336 | 1543 .loc 1 1221 19 discriminator 2 view .LVU457 |
||
5337 | 1544 0022 80F83920 strb r2, [r0, #57] |
||
5338 | 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5339 | 1545 .loc 1 1224 5 is_stmt 1 discriminator 2 view .LVU458 |
||
5340 | 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5341 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 90 |
||
5342 | |||
5343 | |||
5344 | 1546 .loc 1 1224 5 discriminator 2 view .LVU459 |
||
5345 | 1547 0026 80F83830 strb r3, [r0, #56] |
||
5346 | 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5347 | 1548 .loc 1 1227 5 discriminator 2 view .LVU460 |
||
5348 | 1549 002a 0168 ldr r1, [r0] |
||
5349 | 1550 .LVL102: |
||
5350 | 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5351 | 1551 .loc 1 1227 5 is_stmt 0 discriminator 2 view .LVU461 |
||
5352 | 1552 002c CA68 ldr r2, [r1, #12] |
||
5353 | 1553 002e 42F08002 orr r2, r2, #128 |
||
5354 | 1554 0032 CA60 str r2, [r1, #12] |
||
5355 | 1555 .LVL103: |
||
5356 | 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5357 | 1556 .loc 1 1229 5 is_stmt 1 discriminator 2 view .LVU462 |
||
5358 | 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5359 | 1557 .loc 1 1229 12 is_stmt 0 discriminator 2 view .LVU463 |
||
5360 | 1558 0034 1846 mov r0, r3 |
||
5361 | 1559 .LVL104: |
||
5362 | 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5363 | 1560 .loc 1 1229 12 discriminator 2 view .LVU464 |
||
5364 | 1561 0036 7047 bx lr |
||
5365 | 1562 .LVL105: |
||
5366 | 1563 .L108: |
||
5367 | 1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5368 | 1564 .loc 1 1233 12 view .LVU465 |
||
5369 | 1565 0038 0220 movs r0, #2 |
||
5370 | 1566 .LVL106: |
||
5371 | 1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5372 | 1567 .loc 1 1233 12 view .LVU466 |
||
5373 | 1568 003a 7047 bx lr |
||
5374 | 1569 .LVL107: |
||
5375 | 1570 .L109: |
||
5376 | 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5377 | 1571 .loc 1 1210 14 view .LVU467 |
||
5378 | 1572 003c 0120 movs r0, #1 |
||
5379 | 1573 .LVL108: |
||
5380 | 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5381 | 1574 .loc 1 1210 14 view .LVU468 |
||
5382 | 1575 003e 7047 bx lr |
||
5383 | 1576 .LVL109: |
||
5384 | 1577 .L110: |
||
5385 | 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5386 | 1578 .loc 1 1210 14 view .LVU469 |
||
5387 | 1579 0040 0120 movs r0, #1 |
||
5388 | 1580 .LVL110: |
||
5389 | 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5390 | 1581 .loc 1 1210 14 view .LVU470 |
||
5391 | 1582 0042 7047 bx lr |
||
5392 | 1583 .LVL111: |
||
5393 | 1584 .L111: |
||
5394 | 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5395 | 1585 .loc 1 1214 5 view .LVU471 |
||
5396 | 1586 0044 0220 movs r0, #2 |
||
5397 | 1587 .LVL112: |
||
5398 | 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5399 | 1588 .loc 1 1235 1 view .LVU472 |
||
5400 | 1589 0046 7047 bx lr |
||
5401 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 91 |
||
5402 | |||
5403 | |||
5404 | 1590 .cfi_endproc |
||
5405 | 1591 .LFE74: |
||
5406 | 1593 .section .text.HAL_UART_Receive_IT,"ax",%progbits |
||
5407 | 1594 .align 1 |
||
5408 | 1595 .global HAL_UART_Receive_IT |
||
5409 | 1596 .syntax unified |
||
5410 | 1597 .thumb |
||
5411 | 1598 .thumb_func |
||
5412 | 1599 .fpu softvfp |
||
5413 | 1601 HAL_UART_Receive_IT: |
||
5414 | 1602 .LVL113: |
||
5415 | 1603 .LFB75: |
||
5416 | 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */ |
||
5417 | 1604 .loc 1 1249 1 is_stmt 1 view -0 |
||
5418 | 1605 .cfi_startproc |
||
5419 | 1606 @ args = 0, pretend = 0, frame = 0 |
||
5420 | 1607 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5421 | 1608 @ link register save eliminated. |
||
5422 | 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5423 | 1609 .loc 1 1251 3 view .LVU474 |
||
5424 | 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5425 | 1610 .loc 1 1251 12 is_stmt 0 view .LVU475 |
||
5426 | 1611 0000 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2 |
||
5427 | 1612 0004 DBB2 uxtb r3, r3 |
||
5428 | 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5429 | 1613 .loc 1 1251 6 view .LVU476 |
||
5430 | 1614 0006 202B cmp r3, #32 |
||
5431 | 1615 0008 20D1 bne .L114 |
||
5432 | 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5433 | 1616 .loc 1 1253 5 is_stmt 1 view .LVU477 |
||
5434 | 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5435 | 1617 .loc 1 1253 8 is_stmt 0 view .LVU478 |
||
5436 | 1618 000a 09B3 cbz r1, .L115 |
||
5437 | 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5438 | 1619 .loc 1 1253 25 discriminator 1 view .LVU479 |
||
5439 | 1620 000c 12B3 cbz r2, .L116 |
||
5440 | 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5441 | 1621 .loc 1 1259 5 is_stmt 1 view .LVU480 |
||
5442 | 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5443 | 1622 .loc 1 1259 5 view .LVU481 |
||
5444 | 1623 000e 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
5445 | 1624 0012 012B cmp r3, #1 |
||
5446 | 1625 0014 20D0 beq .L117 |
||
5447 | 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5448 | 1626 .loc 1 1259 5 discriminator 2 view .LVU482 |
||
5449 | 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size; |
||
5450 | 1627 .loc 1 1261 5 discriminator 2 view .LVU483 |
||
5451 | 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size; |
||
5452 | 1628 .loc 1 1261 23 is_stmt 0 discriminator 2 view .LVU484 |
||
5453 | 1629 0016 8162 str r1, [r0, #40] |
||
5454 | 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size; |
||
5455 | 1630 .loc 1 1262 5 is_stmt 1 discriminator 2 view .LVU485 |
||
5456 | 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size; |
||
5457 | 1631 .loc 1 1262 23 is_stmt 0 discriminator 2 view .LVU486 |
||
5458 | 1632 0018 8285 strh r2, [r0, #44] @ movhi |
||
5459 | 1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5460 | 1633 .loc 1 1263 5 is_stmt 1 discriminator 2 view .LVU487 |
||
5461 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 92 |
||
5462 | |||
5463 | |||
5464 | 1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5465 | 1634 .loc 1 1263 24 is_stmt 0 discriminator 2 view .LVU488 |
||
5466 | 1635 001a C285 strh r2, [r0, #46] @ movhi |
||
5467 | 1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
5468 | 1636 .loc 1 1265 5 is_stmt 1 discriminator 2 view .LVU489 |
||
5469 | 1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
5470 | 1637 .loc 1 1265 22 is_stmt 0 discriminator 2 view .LVU490 |
||
5471 | 1638 001c 0023 movs r3, #0 |
||
5472 | 1639 001e C363 str r3, [r0, #60] |
||
5473 | 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5474 | 1640 .loc 1 1266 5 is_stmt 1 discriminator 2 view .LVU491 |
||
5475 | 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5476 | 1641 .loc 1 1266 20 is_stmt 0 discriminator 2 view .LVU492 |
||
5477 | 1642 0020 2222 movs r2, #34 |
||
5478 | 1643 .LVL114: |
||
5479 | 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5480 | 1644 .loc 1 1266 20 discriminator 2 view .LVU493 |
||
5481 | 1645 0022 80F83A20 strb r2, [r0, #58] |
||
5482 | 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5483 | 1646 .loc 1 1269 5 is_stmt 1 discriminator 2 view .LVU494 |
||
5484 | 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5485 | 1647 .loc 1 1269 5 discriminator 2 view .LVU495 |
||
5486 | 1648 0026 80F83830 strb r3, [r0, #56] |
||
5487 | 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5488 | 1649 .loc 1 1272 5 discriminator 2 view .LVU496 |
||
5489 | 1650 002a 0168 ldr r1, [r0] |
||
5490 | 1651 .LVL115: |
||
5491 | 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5492 | 1652 .loc 1 1272 5 is_stmt 0 discriminator 2 view .LVU497 |
||
5493 | 1653 002c CA68 ldr r2, [r1, #12] |
||
5494 | 1654 002e 42F48072 orr r2, r2, #256 |
||
5495 | 1655 0032 CA60 str r2, [r1, #12] |
||
5496 | 1656 .LVL116: |
||
5497 | 1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5498 | 1657 .loc 1 1275 5 is_stmt 1 discriminator 2 view .LVU498 |
||
5499 | 1658 0034 0168 ldr r1, [r0] |
||
5500 | 1659 0036 4A69 ldr r2, [r1, #20] |
||
5501 | 1660 0038 42F00102 orr r2, r2, #1 |
||
5502 | 1661 003c 4A61 str r2, [r1, #20] |
||
5503 | 1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5504 | 1662 .loc 1 1278 5 discriminator 2 view .LVU499 |
||
5505 | 1663 003e 0168 ldr r1, [r0] |
||
5506 | 1664 0040 CA68 ldr r2, [r1, #12] |
||
5507 | 1665 0042 42F02002 orr r2, r2, #32 |
||
5508 | 1666 0046 CA60 str r2, [r1, #12] |
||
5509 | 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5510 | 1667 .loc 1 1280 5 discriminator 2 view .LVU500 |
||
5511 | 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5512 | 1668 .loc 1 1280 12 is_stmt 0 discriminator 2 view .LVU501 |
||
5513 | 1669 0048 1846 mov r0, r3 |
||
5514 | 1670 .LVL117: |
||
5515 | 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5516 | 1671 .loc 1 1280 12 discriminator 2 view .LVU502 |
||
5517 | 1672 004a 7047 bx lr |
||
5518 | 1673 .LVL118: |
||
5519 | 1674 .L114: |
||
5520 | 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5521 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 93 |
||
5522 | |||
5523 | |||
5524 | 1675 .loc 1 1284 12 view .LVU503 |
||
5525 | 1676 004c 0220 movs r0, #2 |
||
5526 | 1677 .LVL119: |
||
5527 | 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5528 | 1678 .loc 1 1284 12 view .LVU504 |
||
5529 | 1679 004e 7047 bx lr |
||
5530 | 1680 .LVL120: |
||
5531 | 1681 .L115: |
||
5532 | 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5533 | 1682 .loc 1 1255 14 view .LVU505 |
||
5534 | 1683 0050 0120 movs r0, #1 |
||
5535 | 1684 .LVL121: |
||
5536 | 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5537 | 1685 .loc 1 1255 14 view .LVU506 |
||
5538 | 1686 0052 7047 bx lr |
||
5539 | 1687 .LVL122: |
||
5540 | 1688 .L116: |
||
5541 | 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5542 | 1689 .loc 1 1255 14 view .LVU507 |
||
5543 | 1690 0054 0120 movs r0, #1 |
||
5544 | 1691 .LVL123: |
||
5545 | 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5546 | 1692 .loc 1 1255 14 view .LVU508 |
||
5547 | 1693 0056 7047 bx lr |
||
5548 | 1694 .LVL124: |
||
5549 | 1695 .L117: |
||
5550 | 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5551 | 1696 .loc 1 1259 5 view .LVU509 |
||
5552 | 1697 0058 0220 movs r0, #2 |
||
5553 | 1698 .LVL125: |
||
5554 | 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5555 | 1699 .loc 1 1286 1 view .LVU510 |
||
5556 | 1700 005a 7047 bx lr |
||
5557 | 1701 .cfi_endproc |
||
5558 | 1702 .LFE75: |
||
5559 | 1704 .section .text.HAL_UART_Transmit_DMA,"ax",%progbits |
||
5560 | 1705 .align 1 |
||
5561 | 1706 .global HAL_UART_Transmit_DMA |
||
5562 | 1707 .syntax unified |
||
5563 | 1708 .thumb |
||
5564 | 1709 .thumb_func |
||
5565 | 1710 .fpu softvfp |
||
5566 | 1712 HAL_UART_Transmit_DMA: |
||
5567 | 1713 .LVL126: |
||
5568 | 1714 .LFB76: |
||
5569 | 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp; |
||
5570 | 1715 .loc 1 1300 1 is_stmt 1 view -0 |
||
5571 | 1716 .cfi_startproc |
||
5572 | 1717 @ args = 0, pretend = 0, frame = 0 |
||
5573 | 1718 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5574 | 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp; |
||
5575 | 1719 .loc 1 1300 1 is_stmt 0 view .LVU512 |
||
5576 | 1720 0000 38B5 push {r3, r4, r5, lr} |
||
5577 | 1721 .LCFI20: |
||
5578 | 1722 .cfi_def_cfa_offset 16 |
||
5579 | 1723 .cfi_offset 3, -16 |
||
5580 | 1724 .cfi_offset 4, -12 |
||
5581 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 94 |
||
5582 | |||
5583 | |||
5584 | 1725 .cfi_offset 5, -8 |
||
5585 | 1726 .cfi_offset 14, -4 |
||
5586 | 1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5587 | 1727 .loc 1 1301 3 is_stmt 1 view .LVU513 |
||
5588 | 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5589 | 1728 .loc 1 1304 3 view .LVU514 |
||
5590 | 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5591 | 1729 .loc 1 1304 12 is_stmt 0 view .LVU515 |
||
5592 | 1730 0002 90F83950 ldrb r5, [r0, #57] @ zero_extendqisi2 |
||
5593 | 1731 0006 EDB2 uxtb r5, r5 |
||
5594 | 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5595 | 1732 .loc 1 1304 6 view .LVU516 |
||
5596 | 1733 0008 202D cmp r5, #32 |
||
5597 | 1734 000a 31D1 bne .L120 |
||
5598 | 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5599 | 1735 .loc 1 1306 5 is_stmt 1 view .LVU517 |
||
5600 | 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5601 | 1736 .loc 1 1306 8 is_stmt 0 view .LVU518 |
||
5602 | 1737 000c 0029 cmp r1, #0 |
||
5603 | 1738 000e 31D0 beq .L121 |
||
5604 | 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5605 | 1739 .loc 1 1306 25 discriminator 1 view .LVU519 |
||
5606 | 1740 0010 002A cmp r2, #0 |
||
5607 | 1741 0012 31D0 beq .L122 |
||
5608 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5609 | 1742 .loc 1 1312 5 is_stmt 1 view .LVU520 |
||
5610 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5611 | 1743 .loc 1 1312 5 view .LVU521 |
||
5612 | 1744 0014 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
5613 | 1745 0018 012B cmp r3, #1 |
||
5614 | 1746 001a 2FD0 beq .L123 |
||
5615 | 1747 001c 1346 mov r3, r2 |
||
5616 | 1748 001e 0446 mov r4, r0 |
||
5617 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5618 | 1749 .loc 1 1312 5 discriminator 2 view .LVU522 |
||
5619 | 1750 0020 0122 movs r2, #1 |
||
5620 | 1751 .LVL127: |
||
5621 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5622 | 1752 .loc 1 1312 5 is_stmt 0 discriminator 2 view .LVU523 |
||
5623 | 1753 0022 80F83820 strb r2, [r0, #56] |
||
5624 | 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size; |
||
5625 | 1754 .loc 1 1314 5 is_stmt 1 discriminator 2 view .LVU524 |
||
5626 | 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size; |
||
5627 | 1755 .loc 1 1314 23 is_stmt 0 discriminator 2 view .LVU525 |
||
5628 | 1756 0026 0162 str r1, [r0, #32] |
||
5629 | 1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
5630 | 1757 .loc 1 1315 5 is_stmt 1 discriminator 2 view .LVU526 |
||
5631 | 1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size; |
||
5632 | 1758 .loc 1 1315 23 is_stmt 0 discriminator 2 view .LVU527 |
||
5633 | 1759 0028 8384 strh r3, [r0, #36] @ movhi |
||
5634 | 1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5635 | 1760 .loc 1 1316 5 is_stmt 1 discriminator 2 view .LVU528 |
||
5636 | 1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5637 | 1761 .loc 1 1316 24 is_stmt 0 discriminator 2 view .LVU529 |
||
5638 | 1762 002a C384 strh r3, [r0, #38] @ movhi |
||
5639 | 1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
5640 | 1763 .loc 1 1318 5 is_stmt 1 discriminator 2 view .LVU530 |
||
5641 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 95 |
||
5642 | |||
5643 | |||
5644 | 1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX; |
||
5645 | 1764 .loc 1 1318 22 is_stmt 0 discriminator 2 view .LVU531 |
||
5646 | 1765 002c 0025 movs r5, #0 |
||
5647 | 1766 002e C563 str r5, [r0, #60] |
||
5648 | 1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5649 | 1767 .loc 1 1319 5 is_stmt 1 discriminator 2 view .LVU532 |
||
5650 | 1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5651 | 1768 .loc 1 1319 19 is_stmt 0 discriminator 2 view .LVU533 |
||
5652 | 1769 0030 2122 movs r2, #33 |
||
5653 | 1770 0032 80F83920 strb r2, [r0, #57] |
||
5654 | 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5655 | 1771 .loc 1 1322 5 is_stmt 1 discriminator 2 view .LVU534 |
||
5656 | 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5657 | 1772 .loc 1 1322 10 is_stmt 0 discriminator 2 view .LVU535 |
||
5658 | 1773 0036 026B ldr r2, [r0, #48] |
||
5659 | 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5660 | 1774 .loc 1 1322 37 discriminator 2 view .LVU536 |
||
5661 | 1775 0038 1148 ldr r0, .L125 |
||
5662 | 1776 .LVL128: |
||
5663 | 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5664 | 1777 .loc 1 1322 37 discriminator 2 view .LVU537 |
||
5665 | 1778 003a 9062 str r0, [r2, #40] |
||
5666 | 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5667 | 1779 .loc 1 1325 5 is_stmt 1 discriminator 2 view .LVU538 |
||
5668 | 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5669 | 1780 .loc 1 1325 10 is_stmt 0 discriminator 2 view .LVU539 |
||
5670 | 1781 003c 226B ldr r2, [r4, #48] |
||
5671 | 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5672 | 1782 .loc 1 1325 41 discriminator 2 view .LVU540 |
||
5673 | 1783 003e 1148 ldr r0, .L125+4 |
||
5674 | 1784 0040 D062 str r0, [r2, #44] |
||
5675 | 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5676 | 1785 .loc 1 1328 5 is_stmt 1 discriminator 2 view .LVU541 |
||
5677 | 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5678 | 1786 .loc 1 1328 10 is_stmt 0 discriminator 2 view .LVU542 |
||
5679 | 1787 0042 226B ldr r2, [r4, #48] |
||
5680 | 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5681 | 1788 .loc 1 1328 38 discriminator 2 view .LVU543 |
||
5682 | 1789 0044 1048 ldr r0, .L125+8 |
||
5683 | 1790 0046 1063 str r0, [r2, #48] |
||
5684 | 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5685 | 1791 .loc 1 1331 5 is_stmt 1 discriminator 2 view .LVU544 |
||
5686 | 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5687 | 1792 .loc 1 1331 10 is_stmt 0 discriminator 2 view .LVU545 |
||
5688 | 1793 0048 226B ldr r2, [r4, #48] |
||
5689 | 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5690 | 1794 .loc 1 1331 38 discriminator 2 view .LVU546 |
||
5691 | 1795 004a 5563 str r5, [r2, #52] |
||
5692 | 1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Start_IT(huart->hdmatx, *(uint32_t *)tmp, (uint32_t)&huart->Instance->DR, Size); |
||
5693 | 1796 .loc 1 1334 5 is_stmt 1 discriminator 2 view .LVU547 |
||
5694 | 1797 .LVL129: |
||
5695 | 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5696 | 1798 .loc 1 1335 5 discriminator 2 view .LVU548 |
||
5697 | 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5698 | 1799 .loc 1 1335 71 is_stmt 0 discriminator 2 view .LVU549 |
||
5699 | 1800 004c 2268 ldr r2, [r4] |
||
5700 | 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5701 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 96 |
||
5702 | |||
5703 | |||
5704 | 1801 .loc 1 1335 5 discriminator 2 view .LVU550 |
||
5705 | 1802 004e 0432 adds r2, r2, #4 |
||
5706 | 1803 0050 206B ldr r0, [r4, #48] |
||
5707 | 1804 0052 FFF7FEFF bl HAL_DMA_Start_IT |
||
5708 | 1805 .LVL130: |
||
5709 | 1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5710 | 1806 .loc 1 1338 5 is_stmt 1 discriminator 2 view .LVU551 |
||
5711 | 1807 0056 2368 ldr r3, [r4] |
||
5712 | 1808 0058 6FF04002 mvn r2, #64 |
||
5713 | 1809 005c 1A60 str r2, [r3] |
||
5714 | 1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5715 | 1810 .loc 1 1341 5 discriminator 2 view .LVU552 |
||
5716 | 1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5717 | 1811 .loc 1 1341 5 discriminator 2 view .LVU553 |
||
5718 | 1812 005e 84F83850 strb r5, [r4, #56] |
||
5719 | 1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5720 | 1813 .loc 1 1345 5 discriminator 2 view .LVU554 |
||
5721 | 1814 0062 2268 ldr r2, [r4] |
||
5722 | 1815 0064 5369 ldr r3, [r2, #20] |
||
5723 | 1816 0066 43F08003 orr r3, r3, #128 |
||
5724 | 1817 006a 5361 str r3, [r2, #20] |
||
5725 | 1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5726 | 1818 .loc 1 1347 5 discriminator 2 view .LVU555 |
||
5727 | 1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5728 | 1819 .loc 1 1347 12 is_stmt 0 discriminator 2 view .LVU556 |
||
5729 | 1820 006c 2846 mov r0, r5 |
||
5730 | 1821 006e 00E0 b .L119 |
||
5731 | 1822 .LVL131: |
||
5732 | 1823 .L120: |
||
5733 | 1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5734 | 1824 .loc 1 1351 12 view .LVU557 |
||
5735 | 1825 0070 0220 movs r0, #2 |
||
5736 | 1826 .LVL132: |
||
5737 | 1827 .L119: |
||
5738 | 1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5739 | 1828 .loc 1 1353 1 view .LVU558 |
||
5740 | 1829 0072 38BD pop {r3, r4, r5, pc} |
||
5741 | 1830 .LVL133: |
||
5742 | 1831 .L121: |
||
5743 | 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5744 | 1832 .loc 1 1308 14 view .LVU559 |
||
5745 | 1833 0074 0120 movs r0, #1 |
||
5746 | 1834 .LVL134: |
||
5747 | 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5748 | 1835 .loc 1 1308 14 view .LVU560 |
||
5749 | 1836 0076 FCE7 b .L119 |
||
5750 | 1837 .LVL135: |
||
5751 | 1838 .L122: |
||
5752 | 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5753 | 1839 .loc 1 1308 14 view .LVU561 |
||
5754 | 1840 0078 0120 movs r0, #1 |
||
5755 | 1841 .LVL136: |
||
5756 | 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5757 | 1842 .loc 1 1308 14 view .LVU562 |
||
5758 | 1843 007a FAE7 b .L119 |
||
5759 | 1844 .LVL137: |
||
5760 | 1845 .L123: |
||
5761 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 97 |
||
5762 | |||
5763 | |||
5764 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5765 | 1846 .loc 1 1312 5 view .LVU563 |
||
5766 | 1847 007c 0220 movs r0, #2 |
||
5767 | 1848 .LVL138: |
||
5768 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5769 | 1849 .loc 1 1312 5 view .LVU564 |
||
5770 | 1850 007e F8E7 b .L119 |
||
5771 | 1851 .L126: |
||
5772 | 1852 .align 2 |
||
5773 | 1853 .L125: |
||
5774 | 1854 0080 00000000 .word UART_DMATransmitCplt |
||
5775 | 1855 0084 00000000 .word UART_DMATxHalfCplt |
||
5776 | 1856 0088 00000000 .word UART_DMAError |
||
5777 | 1857 .cfi_endproc |
||
5778 | 1858 .LFE76: |
||
5779 | 1860 .section .text.HAL_UART_Receive_DMA,"ax",%progbits |
||
5780 | 1861 .align 1 |
||
5781 | 1862 .global HAL_UART_Receive_DMA |
||
5782 | 1863 .syntax unified |
||
5783 | 1864 .thumb |
||
5784 | 1865 .thumb_func |
||
5785 | 1866 .fpu softvfp |
||
5786 | 1868 HAL_UART_Receive_DMA: |
||
5787 | 1869 .LVL139: |
||
5788 | 1870 .LFB77: |
||
5789 | 1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp; |
||
5790 | 1871 .loc 1 1368 1 is_stmt 1 view -0 |
||
5791 | 1872 .cfi_startproc |
||
5792 | 1873 @ args = 0, pretend = 0, frame = 8 |
||
5793 | 1874 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5794 | 1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp; |
||
5795 | 1875 .loc 1 1368 1 is_stmt 0 view .LVU566 |
||
5796 | 1876 0000 30B5 push {r4, r5, lr} |
||
5797 | 1877 .LCFI21: |
||
5798 | 1878 .cfi_def_cfa_offset 12 |
||
5799 | 1879 .cfi_offset 4, -12 |
||
5800 | 1880 .cfi_offset 5, -8 |
||
5801 | 1881 .cfi_offset 14, -4 |
||
5802 | 1882 0002 83B0 sub sp, sp, #12 |
||
5803 | 1883 .LCFI22: |
||
5804 | 1884 .cfi_def_cfa_offset 24 |
||
5805 | 1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5806 | 1885 .loc 1 1369 3 is_stmt 1 view .LVU567 |
||
5807 | 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5808 | 1886 .loc 1 1372 3 view .LVU568 |
||
5809 | 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5810 | 1887 .loc 1 1372 12 is_stmt 0 view .LVU569 |
||
5811 | 1888 0004 90F83A50 ldrb r5, [r0, #58] @ zero_extendqisi2 |
||
5812 | 1889 0008 EDB2 uxtb r5, r5 |
||
5813 | 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5814 | 1890 .loc 1 1372 6 view .LVU570 |
||
5815 | 1891 000a 202D cmp r5, #32 |
||
5816 | 1892 000c 3DD1 bne .L129 |
||
5817 | 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5818 | 1893 .loc 1 1374 5 is_stmt 1 view .LVU571 |
||
5819 | 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5820 | 1894 .loc 1 1374 8 is_stmt 0 view .LVU572 |
||
5821 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 98 |
||
5822 | |||
5823 | |||
5824 | 1895 000e 0029 cmp r1, #0 |
||
5825 | 1896 0010 3ED0 beq .L130 |
||
5826 | 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
5827 | 1897 .loc 1 1374 25 discriminator 1 view .LVU573 |
||
5828 | 1898 0012 002A cmp r2, #0 |
||
5829 | 1899 0014 3ED0 beq .L131 |
||
5830 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5831 | 1900 .loc 1 1380 5 is_stmt 1 view .LVU574 |
||
5832 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5833 | 1901 .loc 1 1380 5 view .LVU575 |
||
5834 | 1902 0016 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
5835 | 1903 001a 012B cmp r3, #1 |
||
5836 | 1904 001c 3CD0 beq .L132 |
||
5837 | 1905 001e 1346 mov r3, r2 |
||
5838 | 1906 0020 0A46 mov r2, r1 |
||
5839 | 1907 .LVL140: |
||
5840 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5841 | 1908 .loc 1 1380 5 is_stmt 0 view .LVU576 |
||
5842 | 1909 0022 0446 mov r4, r0 |
||
5843 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5844 | 1910 .loc 1 1380 5 is_stmt 1 discriminator 2 view .LVU577 |
||
5845 | 1911 0024 0121 movs r1, #1 |
||
5846 | 1912 .LVL141: |
||
5847 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5848 | 1913 .loc 1 1380 5 is_stmt 0 discriminator 2 view .LVU578 |
||
5849 | 1914 0026 80F83810 strb r1, [r0, #56] |
||
5850 | 1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size; |
||
5851 | 1915 .loc 1 1382 5 is_stmt 1 discriminator 2 view .LVU579 |
||
5852 | 1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size; |
||
5853 | 1916 .loc 1 1382 23 is_stmt 0 discriminator 2 view .LVU580 |
||
5854 | 1917 002a 8262 str r2, [r0, #40] |
||
5855 | 1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5856 | 1918 .loc 1 1383 5 is_stmt 1 discriminator 2 view .LVU581 |
||
5857 | 1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5858 | 1919 .loc 1 1383 23 is_stmt 0 discriminator 2 view .LVU582 |
||
5859 | 1920 002c 8385 strh r3, [r0, #44] @ movhi |
||
5860 | 1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
5861 | 1921 .loc 1 1385 5 is_stmt 1 discriminator 2 view .LVU583 |
||
5862 | 1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX; |
||
5863 | 1922 .loc 1 1385 22 is_stmt 0 discriminator 2 view .LVU584 |
||
5864 | 1923 002e 0025 movs r5, #0 |
||
5865 | 1924 0030 C563 str r5, [r0, #60] |
||
5866 | 1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5867 | 1925 .loc 1 1386 5 is_stmt 1 discriminator 2 view .LVU585 |
||
5868 | 1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5869 | 1926 .loc 1 1386 20 is_stmt 0 discriminator 2 view .LVU586 |
||
5870 | 1927 0032 2221 movs r1, #34 |
||
5871 | 1928 0034 80F83A10 strb r1, [r0, #58] |
||
5872 | 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5873 | 1929 .loc 1 1389 5 is_stmt 1 discriminator 2 view .LVU587 |
||
5874 | 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5875 | 1930 .loc 1 1389 10 is_stmt 0 discriminator 2 view .LVU588 |
||
5876 | 1931 0038 416B ldr r1, [r0, #52] |
||
5877 | 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5878 | 1932 .loc 1 1389 37 discriminator 2 view .LVU589 |
||
5879 | 1933 003a 1848 ldr r0, .L134 |
||
5880 | 1934 .LVL142: |
||
5881 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 99 |
||
5882 | |||
5883 | |||
5884 | 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5885 | 1935 .loc 1 1389 37 discriminator 2 view .LVU590 |
||
5886 | 1936 003c 8862 str r0, [r1, #40] |
||
5887 | 1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5888 | 1937 .loc 1 1392 5 is_stmt 1 discriminator 2 view .LVU591 |
||
5889 | 1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5890 | 1938 .loc 1 1392 10 is_stmt 0 discriminator 2 view .LVU592 |
||
5891 | 1939 003e 616B ldr r1, [r4, #52] |
||
5892 | 1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5893 | 1940 .loc 1 1392 41 discriminator 2 view .LVU593 |
||
5894 | 1941 0040 1748 ldr r0, .L134+4 |
||
5895 | 1942 0042 C862 str r0, [r1, #44] |
||
5896 | 1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5897 | 1943 .loc 1 1395 5 is_stmt 1 discriminator 2 view .LVU594 |
||
5898 | 1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5899 | 1944 .loc 1 1395 10 is_stmt 0 discriminator 2 view .LVU595 |
||
5900 | 1945 0044 616B ldr r1, [r4, #52] |
||
5901 | 1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5902 | 1946 .loc 1 1395 38 discriminator 2 view .LVU596 |
||
5903 | 1947 0046 1748 ldr r0, .L134+8 |
||
5904 | 1948 0048 0863 str r0, [r1, #48] |
||
5905 | 1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5906 | 1949 .loc 1 1398 5 is_stmt 1 discriminator 2 view .LVU597 |
||
5907 | 1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5908 | 1950 .loc 1 1398 10 is_stmt 0 discriminator 2 view .LVU598 |
||
5909 | 1951 004a 616B ldr r1, [r4, #52] |
||
5910 | 1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5911 | 1952 .loc 1 1398 38 discriminator 2 view .LVU599 |
||
5912 | 1953 004c 4D63 str r5, [r1, #52] |
||
5913 | 1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Start_IT(huart->hdmarx, (uint32_t)&huart->Instance->DR, *(uint32_t *)tmp, Size); |
||
5914 | 1954 .loc 1 1401 5 is_stmt 1 discriminator 2 view .LVU600 |
||
5915 | 1955 .LVL143: |
||
5916 | 1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5917 | 1956 .loc 1 1402 5 discriminator 2 view .LVU601 |
||
5918 | 1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5919 | 1957 .loc 1 1402 53 is_stmt 0 discriminator 2 view .LVU602 |
||
5920 | 1958 004e 2168 ldr r1, [r4] |
||
5921 | 1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5922 | 1959 .loc 1 1402 5 discriminator 2 view .LVU603 |
||
5923 | 1960 0050 0431 adds r1, r1, #4 |
||
5924 | 1961 0052 606B ldr r0, [r4, #52] |
||
5925 | 1962 0054 FFF7FEFF bl HAL_DMA_Start_IT |
||
5926 | 1963 .LVL144: |
||
5927 | 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5928 | 1964 .loc 1 1405 5 is_stmt 1 discriminator 2 view .LVU604 |
||
5929 | 1965 .LBB2: |
||
5930 | 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5931 | 1966 .loc 1 1405 5 discriminator 2 view .LVU605 |
||
5932 | 1967 0058 0195 str r5, [sp, #4] |
||
5933 | 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5934 | 1968 .loc 1 1405 5 discriminator 2 view .LVU606 |
||
5935 | 1969 005a 2368 ldr r3, [r4] |
||
5936 | 1970 005c 1A68 ldr r2, [r3] |
||
5937 | 1971 005e 0192 str r2, [sp, #4] |
||
5938 | 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5939 | 1972 .loc 1 1405 5 discriminator 2 view .LVU607 |
||
5940 | 1973 0060 5A68 ldr r2, [r3, #4] |
||
5941 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 100 |
||
5942 | |||
5943 | |||
5944 | 1974 0062 0192 str r2, [sp, #4] |
||
5945 | 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5946 | 1975 .loc 1 1405 5 discriminator 2 view .LVU608 |
||
5947 | 1976 0064 019A ldr r2, [sp, #4] |
||
5948 | 1977 .LBE2: |
||
5949 | 1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5950 | 1978 .loc 1 1408 5 discriminator 2 view .LVU609 |
||
5951 | 1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5952 | 1979 .loc 1 1408 5 discriminator 2 view .LVU610 |
||
5953 | 1980 0066 84F83850 strb r5, [r4, #56] |
||
5954 | 1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5955 | 1981 .loc 1 1411 5 discriminator 2 view .LVU611 |
||
5956 | 1982 006a DA68 ldr r2, [r3, #12] |
||
5957 | 1983 006c 42F48072 orr r2, r2, #256 |
||
5958 | 1984 0070 DA60 str r2, [r3, #12] |
||
5959 | 1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5960 | 1985 .loc 1 1414 5 discriminator 2 view .LVU612 |
||
5961 | 1986 0072 2268 ldr r2, [r4] |
||
5962 | 1987 0074 5369 ldr r3, [r2, #20] |
||
5963 | 1988 0076 43F00103 orr r3, r3, #1 |
||
5964 | 1989 007a 5361 str r3, [r2, #20] |
||
5965 | 1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5966 | 1990 .loc 1 1418 5 discriminator 2 view .LVU613 |
||
5967 | 1991 007c 2268 ldr r2, [r4] |
||
5968 | 1992 007e 5369 ldr r3, [r2, #20] |
||
5969 | 1993 0080 43F04003 orr r3, r3, #64 |
||
5970 | 1994 0084 5361 str r3, [r2, #20] |
||
5971 | 1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5972 | 1995 .loc 1 1420 5 discriminator 2 view .LVU614 |
||
5973 | 1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5974 | 1996 .loc 1 1420 12 is_stmt 0 discriminator 2 view .LVU615 |
||
5975 | 1997 0086 2846 mov r0, r5 |
||
5976 | 1998 0088 00E0 b .L128 |
||
5977 | 1999 .LVL145: |
||
5978 | 2000 .L129: |
||
5979 | 1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5980 | 2001 .loc 1 1424 12 view .LVU616 |
||
5981 | 2002 008a 0220 movs r0, #2 |
||
5982 | 2003 .LVL146: |
||
5983 | 2004 .L128: |
||
5984 | 1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
5985 | 2005 .loc 1 1426 1 view .LVU617 |
||
5986 | 2006 008c 03B0 add sp, sp, #12 |
||
5987 | 2007 .LCFI23: |
||
5988 | 2008 .cfi_remember_state |
||
5989 | 2009 .cfi_def_cfa_offset 12 |
||
5990 | 2010 @ sp needed |
||
5991 | 2011 008e 30BD pop {r4, r5, pc} |
||
5992 | 2012 .LVL147: |
||
5993 | 2013 .L130: |
||
5994 | 2014 .LCFI24: |
||
5995 | 2015 .cfi_restore_state |
||
5996 | 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
5997 | 2016 .loc 1 1376 14 view .LVU618 |
||
5998 | 2017 0090 0120 movs r0, #1 |
||
5999 | 2018 .LVL148: |
||
6000 | 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6001 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 101 |
||
6002 | |||
6003 | |||
6004 | 2019 .loc 1 1376 14 view .LVU619 |
||
6005 | 2020 0092 FBE7 b .L128 |
||
6006 | 2021 .LVL149: |
||
6007 | 2022 .L131: |
||
6008 | 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6009 | 2023 .loc 1 1376 14 view .LVU620 |
||
6010 | 2024 0094 0120 movs r0, #1 |
||
6011 | 2025 .LVL150: |
||
6012 | 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6013 | 2026 .loc 1 1376 14 view .LVU621 |
||
6014 | 2027 0096 F9E7 b .L128 |
||
6015 | 2028 .LVL151: |
||
6016 | 2029 .L132: |
||
6017 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6018 | 2030 .loc 1 1380 5 view .LVU622 |
||
6019 | 2031 0098 0220 movs r0, #2 |
||
6020 | 2032 .LVL152: |
||
6021 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6022 | 2033 .loc 1 1380 5 view .LVU623 |
||
6023 | 2034 009a F7E7 b .L128 |
||
6024 | 2035 .L135: |
||
6025 | 2036 .align 2 |
||
6026 | 2037 .L134: |
||
6027 | 2038 009c 00000000 .word UART_DMAReceiveCplt |
||
6028 | 2039 00a0 00000000 .word UART_DMARxHalfCplt |
||
6029 | 2040 00a4 00000000 .word UART_DMAError |
||
6030 | 2041 .cfi_endproc |
||
6031 | 2042 .LFE77: |
||
6032 | 2044 .section .text.HAL_UART_DMAPause,"ax",%progbits |
||
6033 | 2045 .align 1 |
||
6034 | 2046 .global HAL_UART_DMAPause |
||
6035 | 2047 .syntax unified |
||
6036 | 2048 .thumb |
||
6037 | 2049 .thumb_func |
||
6038 | 2050 .fpu softvfp |
||
6039 | 2052 HAL_UART_DMAPause: |
||
6040 | 2053 .LVL153: |
||
6041 | 2054 .LFB78: |
||
6042 | 1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
6043 | 2055 .loc 1 1435 1 is_stmt 1 view -0 |
||
6044 | 2056 .cfi_startproc |
||
6045 | 2057 @ args = 0, pretend = 0, frame = 0 |
||
6046 | 2058 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6047 | 2059 @ link register save eliminated. |
||
6048 | 1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6049 | 2060 .loc 1 1436 3 view .LVU625 |
||
6050 | 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6051 | 2061 .loc 1 1439 3 view .LVU626 |
||
6052 | 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6053 | 2062 .loc 1 1439 3 view .LVU627 |
||
6054 | 2063 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
6055 | 2064 0004 012B cmp r3, #1 |
||
6056 | 2065 0006 31D0 beq .L140 |
||
6057 | 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6058 | 2066 .loc 1 1439 3 discriminator 2 view .LVU628 |
||
6059 | 2067 0008 0123 movs r3, #1 |
||
6060 | 2068 000a 80F83830 strb r3, [r0, #56] |
||
6061 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 102 |
||
6062 | |||
6063 | |||
6064 | 1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
6065 | 2069 .loc 1 1441 3 discriminator 2 view .LVU629 |
||
6066 | 1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
6067 | 2070 .loc 1 1441 16 is_stmt 0 discriminator 2 view .LVU630 |
||
6068 | 2071 000e 0168 ldr r1, [r0] |
||
6069 | 2072 0010 4A69 ldr r2, [r1, #20] |
||
6070 | 2073 0012 02F08002 and r2, r2, #128 |
||
6071 | 2074 .LVL154: |
||
6072 | 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6073 | 2075 .loc 1 1442 3 is_stmt 1 discriminator 2 view .LVU631 |
||
6074 | 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6075 | 2076 .loc 1 1442 13 is_stmt 0 discriminator 2 view .LVU632 |
||
6076 | 2077 0016 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
6077 | 2078 001a DBB2 uxtb r3, r3 |
||
6078 | 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6079 | 2079 .loc 1 1442 6 discriminator 2 view .LVU633 |
||
6080 | 2080 001c 212B cmp r3, #33 |
||
6081 | 2081 001e 0DD0 beq .L141 |
||
6082 | 2082 .L138: |
||
6083 | 1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
6084 | 2083 .loc 1 1448 3 is_stmt 1 view .LVU634 |
||
6085 | 1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
6086 | 2084 .loc 1 1448 16 is_stmt 0 view .LVU635 |
||
6087 | 2085 0020 0168 ldr r1, [r0] |
||
6088 | 2086 0022 4A69 ldr r2, [r1, #20] |
||
6089 | 2087 .LVL155: |
||
6090 | 1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
6091 | 2088 .loc 1 1448 16 view .LVU636 |
||
6092 | 2089 0024 02F04002 and r2, r2, #64 |
||
6093 | 2090 .LVL156: |
||
6094 | 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6095 | 2091 .loc 1 1449 3 is_stmt 1 view .LVU637 |
||
6096 | 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6097 | 2092 .loc 1 1449 13 is_stmt 0 view .LVU638 |
||
6098 | 2093 0028 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2 |
||
6099 | 2094 002c DBB2 uxtb r3, r3 |
||
6100 | 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6101 | 2095 .loc 1 1449 6 view .LVU639 |
||
6102 | 2096 002e 222B cmp r3, #34 |
||
6103 | 2097 0030 0BD0 beq .L142 |
||
6104 | 2098 .LVL157: |
||
6105 | 2099 .L139: |
||
6106 | 1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6107 | 2100 .loc 1 1460 3 is_stmt 1 view .LVU640 |
||
6108 | 1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6109 | 2101 .loc 1 1460 3 view .LVU641 |
||
6110 | 2102 0032 0023 movs r3, #0 |
||
6111 | 2103 0034 80F83830 strb r3, [r0, #56] |
||
6112 | 1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6113 | 2104 .loc 1 1462 3 view .LVU642 |
||
6114 | 1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6115 | 2105 .loc 1 1462 10 is_stmt 0 view .LVU643 |
||
6116 | 2106 0038 1846 mov r0, r3 |
||
6117 | 2107 .LVL158: |
||
6118 | 1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6119 | 2108 .loc 1 1462 10 view .LVU644 |
||
6120 | 2109 003a 7047 bx lr |
||
6121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 103 |
||
6122 | |||
6123 | |||
6124 | 2110 .LVL159: |
||
6125 | 2111 .L141: |
||
6126 | 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6127 | 2112 .loc 1 1442 49 discriminator 1 view .LVU645 |
||
6128 | 2113 003c 002A cmp r2, #0 |
||
6129 | 2114 003e EFD0 beq .L138 |
||
6130 | 1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6131 | 2115 .loc 1 1445 5 is_stmt 1 view .LVU646 |
||
6132 | 2116 0040 4B69 ldr r3, [r1, #20] |
||
6133 | 2117 0042 23F08003 bic r3, r3, #128 |
||
6134 | 2118 0046 4B61 str r3, [r1, #20] |
||
6135 | 2119 0048 EAE7 b .L138 |
||
6136 | 2120 .L142: |
||
6137 | 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6138 | 2121 .loc 1 1449 50 is_stmt 0 discriminator 1 view .LVU647 |
||
6139 | 2122 004a 002A cmp r2, #0 |
||
6140 | 2123 004c F1D0 beq .L139 |
||
6141 | 1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
6142 | 2124 .loc 1 1452 5 is_stmt 1 view .LVU648 |
||
6143 | 2125 004e CB68 ldr r3, [r1, #12] |
||
6144 | 2126 0050 23F48073 bic r3, r3, #256 |
||
6145 | 2127 0054 CB60 str r3, [r1, #12] |
||
6146 | 1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6147 | 2128 .loc 1 1453 5 view .LVU649 |
||
6148 | 2129 0056 0268 ldr r2, [r0] |
||
6149 | 2130 .LVL160: |
||
6150 | 1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6151 | 2131 .loc 1 1453 5 is_stmt 0 view .LVU650 |
||
6152 | 2132 0058 5369 ldr r3, [r2, #20] |
||
6153 | 2133 005a 23F00103 bic r3, r3, #1 |
||
6154 | 2134 005e 5361 str r3, [r2, #20] |
||
6155 | 1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6156 | 2135 .loc 1 1456 5 is_stmt 1 view .LVU651 |
||
6157 | 2136 0060 0268 ldr r2, [r0] |
||
6158 | 2137 0062 5369 ldr r3, [r2, #20] |
||
6159 | 2138 0064 23F04003 bic r3, r3, #64 |
||
6160 | 2139 0068 5361 str r3, [r2, #20] |
||
6161 | 2140 006a E2E7 b .L139 |
||
6162 | 2141 .LVL161: |
||
6163 | 2142 .L140: |
||
6164 | 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6165 | 2143 .loc 1 1439 3 is_stmt 0 view .LVU652 |
||
6166 | 2144 006c 0220 movs r0, #2 |
||
6167 | 2145 .LVL162: |
||
6168 | 1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6169 | 2146 .loc 1 1463 1 view .LVU653 |
||
6170 | 2147 006e 7047 bx lr |
||
6171 | 2148 .cfi_endproc |
||
6172 | 2149 .LFE78: |
||
6173 | 2151 .section .text.HAL_UART_DMAResume,"ax",%progbits |
||
6174 | 2152 .align 1 |
||
6175 | 2153 .global HAL_UART_DMAResume |
||
6176 | 2154 .syntax unified |
||
6177 | 2155 .thumb |
||
6178 | 2156 .thumb_func |
||
6179 | 2157 .fpu softvfp |
||
6180 | 2159 HAL_UART_DMAResume: |
||
6181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 104 |
||
6182 | |||
6183 | |||
6184 | 2160 .LVL163: |
||
6185 | 2161 .LFB79: |
||
6186 | 1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
6187 | 2162 .loc 1 1472 1 is_stmt 1 view -0 |
||
6188 | 2163 .cfi_startproc |
||
6189 | 2164 @ args = 0, pretend = 0, frame = 8 |
||
6190 | 2165 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6191 | 2166 @ link register save eliminated. |
||
6192 | 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6193 | 2167 .loc 1 1474 3 view .LVU655 |
||
6194 | 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6195 | 2168 .loc 1 1474 3 view .LVU656 |
||
6196 | 2169 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
6197 | 2170 0004 012B cmp r3, #1 |
||
6198 | 2171 0006 34D0 beq .L147 |
||
6199 | 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6200 | 2172 .loc 1 1474 3 discriminator 2 view .LVU657 |
||
6201 | 2173 0008 0123 movs r3, #1 |
||
6202 | 2174 000a 80F83830 strb r3, [r0, #56] |
||
6203 | 1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6204 | 2175 .loc 1 1476 3 discriminator 2 view .LVU658 |
||
6205 | 1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6206 | 2176 .loc 1 1476 12 is_stmt 0 discriminator 2 view .LVU659 |
||
6207 | 2177 000e 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
6208 | 2178 0012 DBB2 uxtb r3, r3 |
||
6209 | 1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6210 | 2179 .loc 1 1476 6 discriminator 2 view .LVU660 |
||
6211 | 2180 0014 212B cmp r3, #33 |
||
6212 | 2181 0016 09D0 beq .L153 |
||
6213 | 2182 .L145: |
||
6214 | 1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6215 | 2183 .loc 1 1482 3 is_stmt 1 view .LVU661 |
||
6216 | 1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6217 | 2184 .loc 1 1482 12 is_stmt 0 view .LVU662 |
||
6218 | 2185 0018 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2 |
||
6219 | 2186 001c DBB2 uxtb r3, r3 |
||
6220 | 1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6221 | 2187 .loc 1 1482 6 view .LVU663 |
||
6222 | 2188 001e 222B cmp r3, #34 |
||
6223 | 2189 0020 0AD0 beq .L154 |
||
6224 | 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6225 | 2190 .loc 1 1496 3 is_stmt 1 view .LVU664 |
||
6226 | 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6227 | 2191 .loc 1 1496 3 view .LVU665 |
||
6228 | 2192 0022 0023 movs r3, #0 |
||
6229 | 2193 0024 80F83830 strb r3, [r0, #56] |
||
6230 | 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6231 | 2194 .loc 1 1498 3 view .LVU666 |
||
6232 | 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6233 | 2195 .loc 1 1498 10 is_stmt 0 view .LVU667 |
||
6234 | 2196 0028 1846 mov r0, r3 |
||
6235 | 2197 .LVL164: |
||
6236 | 1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6237 | 2198 .loc 1 1499 1 view .LVU668 |
||
6238 | 2199 002a 7047 bx lr |
||
6239 | 2200 .LVL165: |
||
6240 | 2201 .L153: |
||
6241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 105 |
||
6242 | |||
6243 | |||
6244 | 1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6245 | 2202 .loc 1 1479 5 is_stmt 1 view .LVU669 |
||
6246 | 2203 002c 0268 ldr r2, [r0] |
||
6247 | 2204 002e 5369 ldr r3, [r2, #20] |
||
6248 | 2205 0030 43F08003 orr r3, r3, #128 |
||
6249 | 2206 0034 5361 str r3, [r2, #20] |
||
6250 | 2207 0036 EFE7 b .L145 |
||
6251 | 2208 .L154: |
||
6252 | 1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */ |
||
6253 | 2209 .loc 1 1472 1 is_stmt 0 view .LVU670 |
||
6254 | 2210 0038 82B0 sub sp, sp, #8 |
||
6255 | 2211 .LCFI25: |
||
6256 | 2212 .cfi_def_cfa_offset 8 |
||
6257 | 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6258 | 2213 .loc 1 1485 5 is_stmt 1 view .LVU671 |
||
6259 | 2214 .LBB3: |
||
6260 | 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6261 | 2215 .loc 1 1485 5 view .LVU672 |
||
6262 | 2216 003a 0023 movs r3, #0 |
||
6263 | 2217 003c 0193 str r3, [sp, #4] |
||
6264 | 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6265 | 2218 .loc 1 1485 5 view .LVU673 |
||
6266 | 2219 003e 0368 ldr r3, [r0] |
||
6267 | 2220 0040 1A68 ldr r2, [r3] |
||
6268 | 2221 0042 0192 str r2, [sp, #4] |
||
6269 | 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6270 | 2222 .loc 1 1485 5 view .LVU674 |
||
6271 | 2223 0044 5A68 ldr r2, [r3, #4] |
||
6272 | 2224 0046 0192 str r2, [sp, #4] |
||
6273 | 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6274 | 2225 .loc 1 1485 5 view .LVU675 |
||
6275 | 2226 0048 019A ldr r2, [sp, #4] |
||
6276 | 2227 .LBE3: |
||
6277 | 1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
6278 | 2228 .loc 1 1488 5 view .LVU676 |
||
6279 | 2229 004a DA68 ldr r2, [r3, #12] |
||
6280 | 2230 004c 42F48072 orr r2, r2, #256 |
||
6281 | 2231 0050 DA60 str r2, [r3, #12] |
||
6282 | 1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6283 | 2232 .loc 1 1489 5 view .LVU677 |
||
6284 | 2233 0052 0268 ldr r2, [r0] |
||
6285 | 2234 0054 5369 ldr r3, [r2, #20] |
||
6286 | 2235 0056 43F00103 orr r3, r3, #1 |
||
6287 | 2236 005a 5361 str r3, [r2, #20] |
||
6288 | 1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6289 | 2237 .loc 1 1492 5 view .LVU678 |
||
6290 | 2238 005c 0268 ldr r2, [r0] |
||
6291 | 2239 005e 5369 ldr r3, [r2, #20] |
||
6292 | 2240 0060 43F04003 orr r3, r3, #64 |
||
6293 | 2241 0064 5361 str r3, [r2, #20] |
||
6294 | 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6295 | 2242 .loc 1 1496 3 view .LVU679 |
||
6296 | 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6297 | 2243 .loc 1 1496 3 view .LVU680 |
||
6298 | 2244 0066 0023 movs r3, #0 |
||
6299 | 2245 0068 80F83830 strb r3, [r0, #56] |
||
6300 | 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 106 |
||
6302 | |||
6303 | |||
6304 | 2246 .loc 1 1498 3 view .LVU681 |
||
6305 | 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6306 | 2247 .loc 1 1498 10 is_stmt 0 view .LVU682 |
||
6307 | 2248 006c 1846 mov r0, r3 |
||
6308 | 2249 .LVL166: |
||
6309 | 1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6310 | 2250 .loc 1 1499 1 view .LVU683 |
||
6311 | 2251 006e 02B0 add sp, sp, #8 |
||
6312 | 2252 .LCFI26: |
||
6313 | 2253 .cfi_def_cfa_offset 0 |
||
6314 | 2254 @ sp needed |
||
6315 | 2255 0070 7047 bx lr |
||
6316 | 2256 .LVL167: |
||
6317 | 2257 .L147: |
||
6318 | 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6319 | 2258 .loc 1 1474 3 view .LVU684 |
||
6320 | 2259 0072 0220 movs r0, #2 |
||
6321 | 2260 .LVL168: |
||
6322 | 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6323 | 2261 .loc 1 1474 3 view .LVU685 |
||
6324 | 2262 0074 7047 bx lr |
||
6325 | 2263 .cfi_endproc |
||
6326 | 2264 .LFE79: |
||
6327 | 2266 .section .text.HAL_UART_DMAStop,"ax",%progbits |
||
6328 | 2267 .align 1 |
||
6329 | 2268 .global HAL_UART_DMAStop |
||
6330 | 2269 .syntax unified |
||
6331 | 2270 .thumb |
||
6332 | 2271 .thumb_func |
||
6333 | 2272 .fpu softvfp |
||
6334 | 2274 HAL_UART_DMAStop: |
||
6335 | 2275 .LVL169: |
||
6336 | 2276 .LFB80: |
||
6337 | 1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
6338 | 2277 .loc 1 1508 1 is_stmt 1 view -0 |
||
6339 | 2278 .cfi_startproc |
||
6340 | 2279 @ args = 0, pretend = 0, frame = 0 |
||
6341 | 2280 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6342 | 1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
6343 | 2281 .loc 1 1508 1 is_stmt 0 view .LVU687 |
||
6344 | 2282 0000 10B5 push {r4, lr} |
||
6345 | 2283 .LCFI27: |
||
6346 | 2284 .cfi_def_cfa_offset 8 |
||
6347 | 2285 .cfi_offset 4, -8 |
||
6348 | 2286 .cfi_offset 14, -4 |
||
6349 | 2287 0002 0446 mov r4, r0 |
||
6350 | 1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* The Lock is not implemented on this API to allow the user application |
||
6351 | 2288 .loc 1 1509 3 is_stmt 1 view .LVU688 |
||
6352 | 2289 .LVL170: |
||
6353 | 1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
6354 | 2290 .loc 1 1517 3 view .LVU689 |
||
6355 | 1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
6356 | 2291 .loc 1 1517 16 is_stmt 0 view .LVU690 |
||
6357 | 2292 0004 0168 ldr r1, [r0] |
||
6358 | 2293 0006 4A69 ldr r2, [r1, #20] |
||
6359 | 2294 .LVL171: |
||
6360 | 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6361 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 107 |
||
6362 | |||
6363 | |||
6364 | 2295 .loc 1 1518 3 is_stmt 1 view .LVU691 |
||
6365 | 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6366 | 2296 .loc 1 1518 13 is_stmt 0 view .LVU692 |
||
6367 | 2297 0008 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
6368 | 2298 000c DBB2 uxtb r3, r3 |
||
6369 | 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6370 | 2299 .loc 1 1518 6 view .LVU693 |
||
6371 | 2300 000e 212B cmp r3, #33 |
||
6372 | 2301 0010 0AD0 beq .L161 |
||
6373 | 2302 .LVL172: |
||
6374 | 2303 .L156: |
||
6375 | 1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
6376 | 2304 .loc 1 1531 3 is_stmt 1 view .LVU694 |
||
6377 | 1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
6378 | 2305 .loc 1 1531 16 is_stmt 0 view .LVU695 |
||
6379 | 2306 0012 2168 ldr r1, [r4] |
||
6380 | 2307 0014 4A69 ldr r2, [r1, #20] |
||
6381 | 2308 0016 02F04002 and r2, r2, #64 |
||
6382 | 2309 .LVL173: |
||
6383 | 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6384 | 2310 .loc 1 1532 3 is_stmt 1 view .LVU696 |
||
6385 | 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6386 | 2311 .loc 1 1532 13 is_stmt 0 view .LVU697 |
||
6387 | 2312 001a 94F83A30 ldrb r3, [r4, #58] @ zero_extendqisi2 |
||
6388 | 2313 001e DBB2 uxtb r3, r3 |
||
6389 | 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6390 | 2314 .loc 1 1532 6 view .LVU698 |
||
6391 | 2315 0020 222B cmp r3, #34 |
||
6392 | 2316 0022 11D0 beq .L162 |
||
6393 | 2317 .LVL174: |
||
6394 | 2318 .L158: |
||
6395 | 1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6396 | 2319 .loc 1 1544 3 is_stmt 1 view .LVU699 |
||
6397 | 1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6398 | 2320 .loc 1 1545 1 is_stmt 0 view .LVU700 |
||
6399 | 2321 0024 0020 movs r0, #0 |
||
6400 | 2322 0026 10BD pop {r4, pc} |
||
6401 | 2323 .LVL175: |
||
6402 | 2324 .L161: |
||
6403 | 1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6404 | 2325 .loc 1 1545 1 view .LVU701 |
||
6405 | 2326 0028 02F08002 and r2, r2, #128 |
||
6406 | 2327 .LVL176: |
||
6407 | 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6408 | 2328 .loc 1 1518 49 discriminator 1 view .LVU702 |
||
6409 | 2329 002c 002A cmp r2, #0 |
||
6410 | 2330 002e F0D0 beq .L156 |
||
6411 | 1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6412 | 2331 .loc 1 1520 5 is_stmt 1 view .LVU703 |
||
6413 | 2332 0030 4B69 ldr r3, [r1, #20] |
||
6414 | 2333 0032 23F08003 bic r3, r3, #128 |
||
6415 | 2334 0036 4B61 str r3, [r1, #20] |
||
6416 | 1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6417 | 2335 .loc 1 1523 5 view .LVU704 |
||
6418 | 1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6419 | 2336 .loc 1 1523 14 is_stmt 0 view .LVU705 |
||
6420 | 2337 0038 006B ldr r0, [r0, #48] |
||
6421 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 108 |
||
6422 | |||
6423 | |||
6424 | 2338 .LVL177: |
||
6425 | 1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6426 | 2339 .loc 1 1523 8 view .LVU706 |
||
6427 | 2340 003a 08B1 cbz r0, .L157 |
||
6428 | 1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6429 | 2341 .loc 1 1525 7 is_stmt 1 view .LVU707 |
||
6430 | 2342 003c FFF7FEFF bl HAL_DMA_Abort |
||
6431 | 2343 .LVL178: |
||
6432 | 2344 .L157: |
||
6433 | 1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6434 | 2345 .loc 1 1527 5 view .LVU708 |
||
6435 | 2346 0040 2046 mov r0, r4 |
||
6436 | 2347 0042 FFF7FEFF bl UART_EndTxTransfer |
||
6437 | 2348 .LVL179: |
||
6438 | 2349 0046 E4E7 b .L156 |
||
6439 | 2350 .LVL180: |
||
6440 | 2351 .L162: |
||
6441 | 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6442 | 2352 .loc 1 1532 50 is_stmt 0 discriminator 1 view .LVU709 |
||
6443 | 2353 0048 002A cmp r2, #0 |
||
6444 | 2354 004a EBD0 beq .L158 |
||
6445 | 1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6446 | 2355 .loc 1 1534 5 is_stmt 1 view .LVU710 |
||
6447 | 2356 004c 4B69 ldr r3, [r1, #20] |
||
6448 | 2357 004e 23F04003 bic r3, r3, #64 |
||
6449 | 2358 0052 4B61 str r3, [r1, #20] |
||
6450 | 1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6451 | 2359 .loc 1 1537 5 view .LVU711 |
||
6452 | 1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6453 | 2360 .loc 1 1537 14 is_stmt 0 view .LVU712 |
||
6454 | 2361 0054 606B ldr r0, [r4, #52] |
||
6455 | 1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6456 | 2362 .loc 1 1537 8 view .LVU713 |
||
6457 | 2363 0056 08B1 cbz r0, .L159 |
||
6458 | 1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6459 | 2364 .loc 1 1539 7 is_stmt 1 view .LVU714 |
||
6460 | 2365 0058 FFF7FEFF bl HAL_DMA_Abort |
||
6461 | 2366 .LVL181: |
||
6462 | 2367 .L159: |
||
6463 | 1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6464 | 2368 .loc 1 1541 5 view .LVU715 |
||
6465 | 2369 005c 2046 mov r0, r4 |
||
6466 | 2370 005e FFF7FEFF bl UART_EndRxTransfer |
||
6467 | 2371 .LVL182: |
||
6468 | 2372 0062 DFE7 b .L158 |
||
6469 | 2373 .cfi_endproc |
||
6470 | 2374 .LFE80: |
||
6471 | 2376 .section .text.HAL_UART_Abort,"ax",%progbits |
||
6472 | 2377 .align 1 |
||
6473 | 2378 .global HAL_UART_Abort |
||
6474 | 2379 .syntax unified |
||
6475 | 2380 .thumb |
||
6476 | 2381 .thumb_func |
||
6477 | 2382 .fpu softvfp |
||
6478 | 2384 HAL_UART_Abort: |
||
6479 | 2385 .LVL183: |
||
6480 | 2386 .LFB81: |
||
6481 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 109 |
||
6482 | |||
6483 | |||
6484 | 1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
6485 | 2387 .loc 1 1560 1 view -0 |
||
6486 | 2388 .cfi_startproc |
||
6487 | 2389 @ args = 0, pretend = 0, frame = 0 |
||
6488 | 2390 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6489 | 1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
6490 | 2391 .loc 1 1560 1 is_stmt 0 view .LVU717 |
||
6491 | 2392 0000 10B5 push {r4, lr} |
||
6492 | 2393 .LCFI28: |
||
6493 | 2394 .cfi_def_cfa_offset 8 |
||
6494 | 2395 .cfi_offset 4, -8 |
||
6495 | 2396 .cfi_offset 14, -4 |
||
6496 | 2397 0002 0446 mov r4, r0 |
||
6497 | 1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
6498 | 2398 .loc 1 1562 3 is_stmt 1 view .LVU718 |
||
6499 | 2399 0004 0268 ldr r2, [r0] |
||
6500 | 2400 0006 D368 ldr r3, [r2, #12] |
||
6501 | 2401 0008 23F4F073 bic r3, r3, #480 |
||
6502 | 2402 000c D360 str r3, [r2, #12] |
||
6503 | 1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6504 | 2403 .loc 1 1563 3 view .LVU719 |
||
6505 | 2404 000e 0268 ldr r2, [r0] |
||
6506 | 2405 0010 5369 ldr r3, [r2, #20] |
||
6507 | 2406 0012 23F00103 bic r3, r3, #1 |
||
6508 | 2407 0016 5361 str r3, [r2, #20] |
||
6509 | 1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6510 | 2408 .loc 1 1566 3 view .LVU720 |
||
6511 | 1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6512 | 2409 .loc 1 1566 7 is_stmt 0 view .LVU721 |
||
6513 | 2410 0018 0368 ldr r3, [r0] |
||
6514 | 2411 001a 5A69 ldr r2, [r3, #20] |
||
6515 | 1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6516 | 2412 .loc 1 1566 6 view .LVU722 |
||
6517 | 2413 001c 12F0800F tst r2, #128 |
||
6518 | 2414 0020 0BD0 beq .L164 |
||
6519 | 1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6520 | 2415 .loc 1 1568 5 is_stmt 1 view .LVU723 |
||
6521 | 2416 0022 5A69 ldr r2, [r3, #20] |
||
6522 | 2417 0024 22F08002 bic r2, r2, #128 |
||
6523 | 2418 0028 5A61 str r2, [r3, #20] |
||
6524 | 1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6525 | 2419 .loc 1 1571 5 view .LVU724 |
||
6526 | 1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6527 | 2420 .loc 1 1571 14 is_stmt 0 view .LVU725 |
||
6528 | 2421 002a 036B ldr r3, [r0, #48] |
||
6529 | 1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6530 | 2422 .loc 1 1571 8 view .LVU726 |
||
6531 | 2423 002c 2BB1 cbz r3, .L164 |
||
6532 | 1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6533 | 2424 .loc 1 1575 7 is_stmt 1 view .LVU727 |
||
6534 | 1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6535 | 2425 .loc 1 1575 40 is_stmt 0 view .LVU728 |
||
6536 | 2426 002e 0022 movs r2, #0 |
||
6537 | 2427 0030 5A63 str r2, [r3, #52] |
||
6538 | 1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6539 | 2428 .loc 1 1577 7 is_stmt 1 view .LVU729 |
||
6540 | 1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6541 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 110 |
||
6542 | |||
6543 | |||
6544 | 2429 .loc 1 1577 11 is_stmt 0 view .LVU730 |
||
6545 | 2430 0032 006B ldr r0, [r0, #48] |
||
6546 | 2431 .LVL184: |
||
6547 | 1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6548 | 2432 .loc 1 1577 11 view .LVU731 |
||
6549 | 2433 0034 FFF7FEFF bl HAL_DMA_Abort |
||
6550 | 2434 .LVL185: |
||
6551 | 1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6552 | 2435 .loc 1 1577 10 view .LVU732 |
||
6553 | 2436 0038 D0B9 cbnz r0, .L168 |
||
6554 | 2437 .L164: |
||
6555 | 1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6556 | 2438 .loc 1 1591 3 is_stmt 1 view .LVU733 |
||
6557 | 1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6558 | 2439 .loc 1 1591 7 is_stmt 0 view .LVU734 |
||
6559 | 2440 003a 2368 ldr r3, [r4] |
||
6560 | 2441 003c 5A69 ldr r2, [r3, #20] |
||
6561 | 1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6562 | 2442 .loc 1 1591 6 view .LVU735 |
||
6563 | 2443 003e 12F0400F tst r2, #64 |
||
6564 | 2444 0042 0BD0 beq .L166 |
||
6565 | 1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6566 | 2445 .loc 1 1593 5 is_stmt 1 view .LVU736 |
||
6567 | 2446 0044 5A69 ldr r2, [r3, #20] |
||
6568 | 2447 0046 22F04002 bic r2, r2, #64 |
||
6569 | 2448 004a 5A61 str r2, [r3, #20] |
||
6570 | 1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6571 | 2449 .loc 1 1596 5 view .LVU737 |
||
6572 | 1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6573 | 2450 .loc 1 1596 14 is_stmt 0 view .LVU738 |
||
6574 | 2451 004c 636B ldr r3, [r4, #52] |
||
6575 | 1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6576 | 2452 .loc 1 1596 8 view .LVU739 |
||
6577 | 2453 004e 2BB1 cbz r3, .L166 |
||
6578 | 1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6579 | 2454 .loc 1 1600 7 is_stmt 1 view .LVU740 |
||
6580 | 1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6581 | 2455 .loc 1 1600 40 is_stmt 0 view .LVU741 |
||
6582 | 2456 0050 0022 movs r2, #0 |
||
6583 | 2457 0052 5A63 str r2, [r3, #52] |
||
6584 | 1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6585 | 2458 .loc 1 1602 7 is_stmt 1 view .LVU742 |
||
6586 | 1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6587 | 2459 .loc 1 1602 11 is_stmt 0 view .LVU743 |
||
6588 | 2460 0054 606B ldr r0, [r4, #52] |
||
6589 | 2461 0056 FFF7FEFF bl HAL_DMA_Abort |
||
6590 | 2462 .LVL186: |
||
6591 | 1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6592 | 2463 .loc 1 1602 10 view .LVU744 |
||
6593 | 2464 005a 90B9 cbnz r0, .L169 |
||
6594 | 2465 .L166: |
||
6595 | 1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
6596 | 2466 .loc 1 1616 3 is_stmt 1 view .LVU745 |
||
6597 | 1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
6598 | 2467 .loc 1 1616 22 is_stmt 0 view .LVU746 |
||
6599 | 2468 005c 0020 movs r0, #0 |
||
6600 | 2469 005e E084 strh r0, [r4, #38] @ movhi |
||
6601 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 111 |
||
6602 | |||
6603 | |||
6604 | 1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6605 | 2470 .loc 1 1617 3 is_stmt 1 view .LVU747 |
||
6606 | 1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6607 | 2471 .loc 1 1617 22 is_stmt 0 view .LVU748 |
||
6608 | 2472 0060 E085 strh r0, [r4, #46] @ movhi |
||
6609 | 1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6610 | 2473 .loc 1 1620 3 is_stmt 1 view .LVU749 |
||
6611 | 1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6612 | 2474 .loc 1 1620 20 is_stmt 0 view .LVU750 |
||
6613 | 2475 0062 E063 str r0, [r4, #60] |
||
6614 | 1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
6615 | 2476 .loc 1 1623 3 is_stmt 1 view .LVU751 |
||
6616 | 1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY; |
||
6617 | 2477 .loc 1 1623 18 is_stmt 0 view .LVU752 |
||
6618 | 2478 0064 2023 movs r3, #32 |
||
6619 | 2479 0066 84F83A30 strb r3, [r4, #58] |
||
6620 | 1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6621 | 2480 .loc 1 1624 3 is_stmt 1 view .LVU753 |
||
6622 | 1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6623 | 2481 .loc 1 1624 17 is_stmt 0 view .LVU754 |
||
6624 | 2482 006a 84F83930 strb r3, [r4, #57] |
||
6625 | 1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6626 | 2483 .loc 1 1626 3 is_stmt 1 view .LVU755 |
||
6627 | 2484 .L165: |
||
6628 | 1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6629 | 2485 .loc 1 1627 1 is_stmt 0 view .LVU756 |
||
6630 | 2486 006e 10BD pop {r4, pc} |
||
6631 | 2487 .LVL187: |
||
6632 | 2488 .L168: |
||
6633 | 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6634 | 2489 .loc 1 1579 9 is_stmt 1 view .LVU757 |
||
6635 | 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6636 | 2490 .loc 1 1579 13 is_stmt 0 view .LVU758 |
||
6637 | 2491 0070 206B ldr r0, [r4, #48] |
||
6638 | 2492 0072 FFF7FEFF bl HAL_DMA_GetError |
||
6639 | 2493 .LVL188: |
||
6640 | 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6641 | 2494 .loc 1 1579 12 view .LVU759 |
||
6642 | 2495 0076 2028 cmp r0, #32 |
||
6643 | 2496 0078 DFD1 bne .L164 |
||
6644 | 1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6645 | 2497 .loc 1 1582 11 is_stmt 1 view .LVU760 |
||
6646 | 1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6647 | 2498 .loc 1 1582 28 is_stmt 0 view .LVU761 |
||
6648 | 2499 007a 1023 movs r3, #16 |
||
6649 | 2500 007c E363 str r3, [r4, #60] |
||
6650 | 1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6651 | 2501 .loc 1 1584 11 is_stmt 1 view .LVU762 |
||
6652 | 1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6653 | 2502 .loc 1 1584 18 is_stmt 0 view .LVU763 |
||
6654 | 2503 007e 0320 movs r0, #3 |
||
6655 | 2504 0080 F5E7 b .L165 |
||
6656 | 2505 .L169: |
||
6657 | 1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6658 | 2506 .loc 1 1604 9 is_stmt 1 view .LVU764 |
||
6659 | 1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6660 | 2507 .loc 1 1604 13 is_stmt 0 view .LVU765 |
||
6661 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 112 |
||
6662 | |||
6663 | |||
6664 | 2508 0082 606B ldr r0, [r4, #52] |
||
6665 | 2509 0084 FFF7FEFF bl HAL_DMA_GetError |
||
6666 | 2510 .LVL189: |
||
6667 | 1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6668 | 2511 .loc 1 1604 12 view .LVU766 |
||
6669 | 2512 0088 2028 cmp r0, #32 |
||
6670 | 2513 008a E7D1 bne .L166 |
||
6671 | 1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6672 | 2514 .loc 1 1607 11 is_stmt 1 view .LVU767 |
||
6673 | 1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6674 | 2515 .loc 1 1607 28 is_stmt 0 view .LVU768 |
||
6675 | 2516 008c 1023 movs r3, #16 |
||
6676 | 2517 008e E363 str r3, [r4, #60] |
||
6677 | 1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6678 | 2518 .loc 1 1609 11 is_stmt 1 view .LVU769 |
||
6679 | 1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6680 | 2519 .loc 1 1609 18 is_stmt 0 view .LVU770 |
||
6681 | 2520 0090 0320 movs r0, #3 |
||
6682 | 2521 0092 ECE7 b .L165 |
||
6683 | 2522 .cfi_endproc |
||
6684 | 2523 .LFE81: |
||
6685 | 2525 .section .text.HAL_UART_AbortTransmit,"ax",%progbits |
||
6686 | 2526 .align 1 |
||
6687 | 2527 .global HAL_UART_AbortTransmit |
||
6688 | 2528 .syntax unified |
||
6689 | 2529 .thumb |
||
6690 | 2530 .thumb_func |
||
6691 | 2531 .fpu softvfp |
||
6692 | 2533 HAL_UART_AbortTransmit: |
||
6693 | 2534 .LVL190: |
||
6694 | 2535 .LFB82: |
||
6695 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */ |
||
6696 | 2536 .loc 1 1642 1 is_stmt 1 view -0 |
||
6697 | 2537 .cfi_startproc |
||
6698 | 2538 @ args = 0, pretend = 0, frame = 0 |
||
6699 | 2539 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6700 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */ |
||
6701 | 2540 .loc 1 1642 1 is_stmt 0 view .LVU772 |
||
6702 | 2541 0000 10B5 push {r4, lr} |
||
6703 | 2542 .LCFI29: |
||
6704 | 2543 .cfi_def_cfa_offset 8 |
||
6705 | 2544 .cfi_offset 4, -8 |
||
6706 | 2545 .cfi_offset 14, -4 |
||
6707 | 2546 0002 0446 mov r4, r0 |
||
6708 | 1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6709 | 2547 .loc 1 1644 3 is_stmt 1 view .LVU773 |
||
6710 | 2548 0004 0268 ldr r2, [r0] |
||
6711 | 2549 0006 D368 ldr r3, [r2, #12] |
||
6712 | 2550 0008 23F0C003 bic r3, r3, #192 |
||
6713 | 2551 000c D360 str r3, [r2, #12] |
||
6714 | 1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6715 | 2552 .loc 1 1647 3 view .LVU774 |
||
6716 | 1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6717 | 2553 .loc 1 1647 7 is_stmt 0 view .LVU775 |
||
6718 | 2554 000e 0368 ldr r3, [r0] |
||
6719 | 2555 0010 5A69 ldr r2, [r3, #20] |
||
6720 | 1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6721 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 113 |
||
6722 | |||
6723 | |||
6724 | 2556 .loc 1 1647 6 view .LVU776 |
||
6725 | 2557 0012 12F0800F tst r2, #128 |
||
6726 | 2558 0016 0BD0 beq .L171 |
||
6727 | 1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6728 | 2559 .loc 1 1649 5 is_stmt 1 view .LVU777 |
||
6729 | 2560 0018 5A69 ldr r2, [r3, #20] |
||
6730 | 2561 001a 22F08002 bic r2, r2, #128 |
||
6731 | 2562 001e 5A61 str r2, [r3, #20] |
||
6732 | 1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6733 | 2563 .loc 1 1652 5 view .LVU778 |
||
6734 | 1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6735 | 2564 .loc 1 1652 14 is_stmt 0 view .LVU779 |
||
6736 | 2565 0020 036B ldr r3, [r0, #48] |
||
6737 | 1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6738 | 2566 .loc 1 1652 8 view .LVU780 |
||
6739 | 2567 0022 2BB1 cbz r3, .L171 |
||
6740 | 1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6741 | 2568 .loc 1 1656 7 is_stmt 1 view .LVU781 |
||
6742 | 1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6743 | 2569 .loc 1 1656 40 is_stmt 0 view .LVU782 |
||
6744 | 2570 0024 0022 movs r2, #0 |
||
6745 | 2571 0026 5A63 str r2, [r3, #52] |
||
6746 | 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6747 | 2572 .loc 1 1658 7 is_stmt 1 view .LVU783 |
||
6748 | 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6749 | 2573 .loc 1 1658 11 is_stmt 0 view .LVU784 |
||
6750 | 2574 0028 006B ldr r0, [r0, #48] |
||
6751 | 2575 .LVL191: |
||
6752 | 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6753 | 2576 .loc 1 1658 11 view .LVU785 |
||
6754 | 2577 002a FFF7FEFF bl HAL_DMA_Abort |
||
6755 | 2578 .LVL192: |
||
6756 | 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6757 | 2579 .loc 1 1658 10 view .LVU786 |
||
6758 | 2580 002e 28B9 cbnz r0, .L174 |
||
6759 | 2581 .L171: |
||
6760 | 1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6761 | 2582 .loc 1 1672 3 is_stmt 1 view .LVU787 |
||
6762 | 1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6763 | 2583 .loc 1 1672 22 is_stmt 0 view .LVU788 |
||
6764 | 2584 0030 0020 movs r0, #0 |
||
6765 | 2585 0032 E084 strh r0, [r4, #38] @ movhi |
||
6766 | 1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6767 | 2586 .loc 1 1675 3 is_stmt 1 view .LVU789 |
||
6768 | 1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6769 | 2587 .loc 1 1675 17 is_stmt 0 view .LVU790 |
||
6770 | 2588 0034 2023 movs r3, #32 |
||
6771 | 2589 0036 84F83930 strb r3, [r4, #57] |
||
6772 | 1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6773 | 2590 .loc 1 1677 3 is_stmt 1 view .LVU791 |
||
6774 | 2591 .L172: |
||
6775 | 1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6776 | 2592 .loc 1 1678 1 is_stmt 0 view .LVU792 |
||
6777 | 2593 003a 10BD pop {r4, pc} |
||
6778 | 2594 .LVL193: |
||
6779 | 2595 .L174: |
||
6780 | 1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6781 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 114 |
||
6782 | |||
6783 | |||
6784 | 2596 .loc 1 1660 9 is_stmt 1 view .LVU793 |
||
6785 | 1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6786 | 2597 .loc 1 1660 13 is_stmt 0 view .LVU794 |
||
6787 | 2598 003c 206B ldr r0, [r4, #48] |
||
6788 | 2599 003e FFF7FEFF bl HAL_DMA_GetError |
||
6789 | 2600 .LVL194: |
||
6790 | 1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6791 | 2601 .loc 1 1660 12 view .LVU795 |
||
6792 | 2602 0042 2028 cmp r0, #32 |
||
6793 | 2603 0044 F4D1 bne .L171 |
||
6794 | 1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6795 | 2604 .loc 1 1663 11 is_stmt 1 view .LVU796 |
||
6796 | 1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6797 | 2605 .loc 1 1663 28 is_stmt 0 view .LVU797 |
||
6798 | 2606 0046 1023 movs r3, #16 |
||
6799 | 2607 0048 E363 str r3, [r4, #60] |
||
6800 | 1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6801 | 2608 .loc 1 1665 11 is_stmt 1 view .LVU798 |
||
6802 | 1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6803 | 2609 .loc 1 1665 18 is_stmt 0 view .LVU799 |
||
6804 | 2610 004a 0320 movs r0, #3 |
||
6805 | 2611 004c F5E7 b .L172 |
||
6806 | 2612 .cfi_endproc |
||
6807 | 2613 .LFE82: |
||
6808 | 2615 .section .text.HAL_UART_AbortReceive,"ax",%progbits |
||
6809 | 2616 .align 1 |
||
6810 | 2617 .global HAL_UART_AbortReceive |
||
6811 | 2618 .syntax unified |
||
6812 | 2619 .thumb |
||
6813 | 2620 .thumb_func |
||
6814 | 2621 .fpu softvfp |
||
6815 | 2623 HAL_UART_AbortReceive: |
||
6816 | 2624 .LVL195: |
||
6817 | 2625 .LFB83: |
||
6818 | 1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
6819 | 2626 .loc 1 1693 1 is_stmt 1 view -0 |
||
6820 | 2627 .cfi_startproc |
||
6821 | 2628 @ args = 0, pretend = 0, frame = 0 |
||
6822 | 2629 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6823 | 1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
6824 | 2630 .loc 1 1693 1 is_stmt 0 view .LVU801 |
||
6825 | 2631 0000 10B5 push {r4, lr} |
||
6826 | 2632 .LCFI30: |
||
6827 | 2633 .cfi_def_cfa_offset 8 |
||
6828 | 2634 .cfi_offset 4, -8 |
||
6829 | 2635 .cfi_offset 14, -4 |
||
6830 | 2636 0002 0446 mov r4, r0 |
||
6831 | 1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
6832 | 2637 .loc 1 1695 3 is_stmt 1 view .LVU802 |
||
6833 | 2638 0004 0268 ldr r2, [r0] |
||
6834 | 2639 0006 D368 ldr r3, [r2, #12] |
||
6835 | 2640 0008 23F49073 bic r3, r3, #288 |
||
6836 | 2641 000c D360 str r3, [r2, #12] |
||
6837 | 1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6838 | 2642 .loc 1 1696 3 view .LVU803 |
||
6839 | 2643 000e 0268 ldr r2, [r0] |
||
6840 | 2644 0010 5369 ldr r3, [r2, #20] |
||
6841 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 115 |
||
6842 | |||
6843 | |||
6844 | 2645 0012 23F00103 bic r3, r3, #1 |
||
6845 | 2646 0016 5361 str r3, [r2, #20] |
||
6846 | 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6847 | 2647 .loc 1 1699 3 view .LVU804 |
||
6848 | 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6849 | 2648 .loc 1 1699 7 is_stmt 0 view .LVU805 |
||
6850 | 2649 0018 0368 ldr r3, [r0] |
||
6851 | 2650 001a 5A69 ldr r2, [r3, #20] |
||
6852 | 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6853 | 2651 .loc 1 1699 6 view .LVU806 |
||
6854 | 2652 001c 12F0400F tst r2, #64 |
||
6855 | 2653 0020 0BD0 beq .L176 |
||
6856 | 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6857 | 2654 .loc 1 1701 5 is_stmt 1 view .LVU807 |
||
6858 | 2655 0022 5A69 ldr r2, [r3, #20] |
||
6859 | 2656 0024 22F04002 bic r2, r2, #64 |
||
6860 | 2657 0028 5A61 str r2, [r3, #20] |
||
6861 | 1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6862 | 2658 .loc 1 1704 5 view .LVU808 |
||
6863 | 1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6864 | 2659 .loc 1 1704 14 is_stmt 0 view .LVU809 |
||
6865 | 2660 002a 436B ldr r3, [r0, #52] |
||
6866 | 1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6867 | 2661 .loc 1 1704 8 view .LVU810 |
||
6868 | 2662 002c 2BB1 cbz r3, .L176 |
||
6869 | 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6870 | 2663 .loc 1 1708 7 is_stmt 1 view .LVU811 |
||
6871 | 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6872 | 2664 .loc 1 1708 40 is_stmt 0 view .LVU812 |
||
6873 | 2665 002e 0022 movs r2, #0 |
||
6874 | 2666 0030 5A63 str r2, [r3, #52] |
||
6875 | 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6876 | 2667 .loc 1 1710 7 is_stmt 1 view .LVU813 |
||
6877 | 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6878 | 2668 .loc 1 1710 11 is_stmt 0 view .LVU814 |
||
6879 | 2669 0032 406B ldr r0, [r0, #52] |
||
6880 | 2670 .LVL196: |
||
6881 | 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6882 | 2671 .loc 1 1710 11 view .LVU815 |
||
6883 | 2672 0034 FFF7FEFF bl HAL_DMA_Abort |
||
6884 | 2673 .LVL197: |
||
6885 | 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6886 | 2674 .loc 1 1710 10 view .LVU816 |
||
6887 | 2675 0038 28B9 cbnz r0, .L179 |
||
6888 | 2676 .L176: |
||
6889 | 1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6890 | 2677 .loc 1 1724 3 is_stmt 1 view .LVU817 |
||
6891 | 1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6892 | 2678 .loc 1 1724 22 is_stmt 0 view .LVU818 |
||
6893 | 2679 003a 0020 movs r0, #0 |
||
6894 | 2680 003c E085 strh r0, [r4, #46] @ movhi |
||
6895 | 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6896 | 2681 .loc 1 1727 3 is_stmt 1 view .LVU819 |
||
6897 | 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6898 | 2682 .loc 1 1727 18 is_stmt 0 view .LVU820 |
||
6899 | 2683 003e 2023 movs r3, #32 |
||
6900 | 2684 0040 84F83A30 strb r3, [r4, #58] |
||
6901 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 116 |
||
6902 | |||
6903 | |||
6904 | 1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6905 | 2685 .loc 1 1729 3 is_stmt 1 view .LVU821 |
||
6906 | 2686 .L177: |
||
6907 | 1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6908 | 2687 .loc 1 1730 1 is_stmt 0 view .LVU822 |
||
6909 | 2688 0044 10BD pop {r4, pc} |
||
6910 | 2689 .LVL198: |
||
6911 | 2690 .L179: |
||
6912 | 1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6913 | 2691 .loc 1 1712 9 is_stmt 1 view .LVU823 |
||
6914 | 1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6915 | 2692 .loc 1 1712 13 is_stmt 0 view .LVU824 |
||
6916 | 2693 0046 606B ldr r0, [r4, #52] |
||
6917 | 2694 0048 FFF7FEFF bl HAL_DMA_GetError |
||
6918 | 2695 .LVL199: |
||
6919 | 1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6920 | 2696 .loc 1 1712 12 view .LVU825 |
||
6921 | 2697 004c 2028 cmp r0, #32 |
||
6922 | 2698 004e F4D1 bne .L176 |
||
6923 | 1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6924 | 2699 .loc 1 1715 11 is_stmt 1 view .LVU826 |
||
6925 | 1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6926 | 2700 .loc 1 1715 28 is_stmt 0 view .LVU827 |
||
6927 | 2701 0050 1023 movs r3, #16 |
||
6928 | 2702 0052 E363 str r3, [r4, #60] |
||
6929 | 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6930 | 2703 .loc 1 1717 11 is_stmt 1 view .LVU828 |
||
6931 | 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
6932 | 2704 .loc 1 1717 18 is_stmt 0 view .LVU829 |
||
6933 | 2705 0054 0320 movs r0, #3 |
||
6934 | 2706 0056 F5E7 b .L177 |
||
6935 | 2707 .cfi_endproc |
||
6936 | 2708 .LFE83: |
||
6937 | 2710 .section .text.HAL_UART_TxCpltCallback,"ax",%progbits |
||
6938 | 2711 .align 1 |
||
6939 | 2712 .weak HAL_UART_TxCpltCallback |
||
6940 | 2713 .syntax unified |
||
6941 | 2714 .thumb |
||
6942 | 2715 .thumb_func |
||
6943 | 2716 .fpu softvfp |
||
6944 | 2718 HAL_UART_TxCpltCallback: |
||
6945 | 2719 .LVL200: |
||
6946 | 2720 .LFB88: |
||
6947 | 2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
6948 | 2721 .loc 1 2168 1 is_stmt 1 view -0 |
||
6949 | 2722 .cfi_startproc |
||
6950 | 2723 @ args = 0, pretend = 0, frame = 0 |
||
6951 | 2724 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6952 | 2725 @ link register save eliminated. |
||
6953 | 2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
6954 | 2726 .loc 1 2170 3 view .LVU831 |
||
6955 | 2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
6956 | 2727 .loc 1 2174 1 is_stmt 0 view .LVU832 |
||
6957 | 2728 0000 7047 bx lr |
||
6958 | 2729 .cfi_endproc |
||
6959 | 2730 .LFE88: |
||
6960 | 2732 .section .text.UART_DMATransmitCplt,"ax",%progbits |
||
6961 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 117 |
||
6962 | |||
6963 | |||
6964 | 2733 .align 1 |
||
6965 | 2734 .syntax unified |
||
6966 | 2735 .thumb |
||
6967 | 2736 .thumb_func |
||
6968 | 2737 .fpu softvfp |
||
6969 | 2739 UART_DMATransmitCplt: |
||
6970 | 2740 .LVL201: |
||
6971 | 2741 .LFB103: |
||
6972 | 2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
6973 | 2742 .loc 1 2543 1 is_stmt 1 view -0 |
||
6974 | 2743 .cfi_startproc |
||
6975 | 2744 @ args = 0, pretend = 0, frame = 0 |
||
6976 | 2745 @ frame_needed = 0, uses_anonymous_args = 0 |
||
6977 | 2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
6978 | 2746 .loc 1 2543 1 is_stmt 0 view .LVU834 |
||
6979 | 2747 0000 08B5 push {r3, lr} |
||
6980 | 2748 .LCFI31: |
||
6981 | 2749 .cfi_def_cfa_offset 8 |
||
6982 | 2750 .cfi_offset 3, -8 |
||
6983 | 2751 .cfi_offset 14, -4 |
||
6984 | 2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/ |
||
6985 | 2752 .loc 1 2544 3 is_stmt 1 view .LVU835 |
||
6986 | 2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/ |
||
6987 | 2753 .loc 1 2544 23 is_stmt 0 view .LVU836 |
||
6988 | 2754 0002 436A ldr r3, [r0, #36] |
||
6989 | 2755 .LVL202: |
||
6990 | 2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6991 | 2756 .loc 1 2546 3 is_stmt 1 view .LVU837 |
||
6992 | 2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6993 | 2757 .loc 1 2546 12 is_stmt 0 view .LVU838 |
||
6994 | 2758 0004 0268 ldr r2, [r0] |
||
6995 | 2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6996 | 2759 .loc 1 2546 22 view .LVU839 |
||
6997 | 2760 0006 1268 ldr r2, [r2] |
||
6998 | 2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
6999 | 2761 .loc 1 2546 6 view .LVU840 |
||
7000 | 2762 0008 12F0200F tst r2, #32 |
||
7001 | 2763 000c 0CD1 bne .L182 |
||
7002 | 2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7003 | 2764 .loc 1 2548 5 is_stmt 1 view .LVU841 |
||
7004 | 2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7005 | 2765 .loc 1 2548 24 is_stmt 0 view .LVU842 |
||
7006 | 2766 000e 0022 movs r2, #0 |
||
7007 | 2767 0010 DA84 strh r2, [r3, #38] @ movhi |
||
7008 | 2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7009 | 2768 .loc 1 2552 5 is_stmt 1 view .LVU843 |
||
7010 | 2769 0012 1968 ldr r1, [r3] |
||
7011 | 2770 0014 4A69 ldr r2, [r1, #20] |
||
7012 | 2771 0016 22F08002 bic r2, r2, #128 |
||
7013 | 2772 001a 4A61 str r2, [r1, #20] |
||
7014 | 2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7015 | 2773 .loc 1 2555 5 view .LVU844 |
||
7016 | 2774 001c 1A68 ldr r2, [r3] |
||
7017 | 2775 001e D368 ldr r3, [r2, #12] |
||
7018 | 2776 .LVL203: |
||
7019 | 2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7020 | 2777 .loc 1 2555 5 is_stmt 0 view .LVU845 |
||
7021 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 118 |
||
7022 | |||
7023 | |||
7024 | 2778 0020 43F04003 orr r3, r3, #64 |
||
7025 | 2779 0024 D360 str r3, [r2, #12] |
||
7026 | 2780 .LVL204: |
||
7027 | 2781 .L181: |
||
7028 | 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7029 | 2782 .loc 1 2569 1 view .LVU846 |
||
7030 | 2783 0026 08BD pop {r3, pc} |
||
7031 | 2784 .LVL205: |
||
7032 | 2785 .L182: |
||
7033 | 2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7034 | 2786 .loc 1 2566 5 is_stmt 1 view .LVU847 |
||
7035 | 2787 0028 1846 mov r0, r3 |
||
7036 | 2788 .LVL206: |
||
7037 | 2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7038 | 2789 .loc 1 2566 5 is_stmt 0 view .LVU848 |
||
7039 | 2790 002a FFF7FEFF bl HAL_UART_TxCpltCallback |
||
7040 | 2791 .LVL207: |
||
7041 | 2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7042 | 2792 .loc 1 2569 1 view .LVU849 |
||
7043 | 2793 002e FAE7 b .L181 |
||
7044 | 2794 .cfi_endproc |
||
7045 | 2795 .LFE103: |
||
7046 | 2797 .section .text.UART_EndTransmit_IT,"ax",%progbits |
||
7047 | 2798 .align 1 |
||
7048 | 2799 .syntax unified |
||
7049 | 2800 .thumb |
||
7050 | 2801 .thumb_func |
||
7051 | 2802 .fpu softvfp |
||
7052 | 2804 UART_EndTransmit_IT: |
||
7053 | 2805 .LVL208: |
||
7054 | 2806 .LFB117: |
||
7055 | 2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Transmit Complete Interrupt */ |
||
7056 | 2807 .loc 1 2968 1 is_stmt 1 view -0 |
||
7057 | 2808 .cfi_startproc |
||
7058 | 2809 @ args = 0, pretend = 0, frame = 0 |
||
7059 | 2810 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7060 | 2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Transmit Complete Interrupt */ |
||
7061 | 2811 .loc 1 2968 1 is_stmt 0 view .LVU851 |
||
7062 | 2812 0000 08B5 push {r3, lr} |
||
7063 | 2813 .LCFI32: |
||
7064 | 2814 .cfi_def_cfa_offset 8 |
||
7065 | 2815 .cfi_offset 3, -8 |
||
7066 | 2816 .cfi_offset 14, -4 |
||
7067 | 2970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7068 | 2817 .loc 1 2970 3 is_stmt 1 view .LVU852 |
||
7069 | 2818 0002 0168 ldr r1, [r0] |
||
7070 | 2819 0004 CB68 ldr r3, [r1, #12] |
||
7071 | 2820 0006 23F04003 bic r3, r3, #64 |
||
7072 | 2821 000a CB60 str r3, [r1, #12] |
||
7073 | 2973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7074 | 2822 .loc 1 2973 3 view .LVU853 |
||
7075 | 2973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7076 | 2823 .loc 1 2973 17 is_stmt 0 view .LVU854 |
||
7077 | 2824 000c 2023 movs r3, #32 |
||
7078 | 2825 000e 80F83930 strb r3, [r0, #57] |
||
7079 | 2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7080 | 2826 .loc 1 2980 3 is_stmt 1 view .LVU855 |
||
7081 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 119 |
||
7082 | |||
7083 | |||
7084 | 2827 0012 FFF7FEFF bl HAL_UART_TxCpltCallback |
||
7085 | 2828 .LVL209: |
||
7086 | 2983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7087 | 2829 .loc 1 2983 3 view .LVU856 |
||
7088 | 2984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7089 | 2830 .loc 1 2984 1 is_stmt 0 view .LVU857 |
||
7090 | 2831 0016 0020 movs r0, #0 |
||
7091 | 2832 0018 08BD pop {r3, pc} |
||
7092 | 2833 .cfi_endproc |
||
7093 | 2834 .LFE117: |
||
7094 | 2836 .section .text.HAL_UART_TxHalfCpltCallback,"ax",%progbits |
||
7095 | 2837 .align 1 |
||
7096 | 2838 .weak HAL_UART_TxHalfCpltCallback |
||
7097 | 2839 .syntax unified |
||
7098 | 2840 .thumb |
||
7099 | 2841 .thumb_func |
||
7100 | 2842 .fpu softvfp |
||
7101 | 2844 HAL_UART_TxHalfCpltCallback: |
||
7102 | 2845 .LVL210: |
||
7103 | 2846 .LFB89: |
||
7104 | 2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
7105 | 2847 .loc 1 2183 1 is_stmt 1 view -0 |
||
7106 | 2848 .cfi_startproc |
||
7107 | 2849 @ args = 0, pretend = 0, frame = 0 |
||
7108 | 2850 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7109 | 2851 @ link register save eliminated. |
||
7110 | 2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
7111 | 2852 .loc 1 2185 3 view .LVU859 |
||
7112 | 2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7113 | 2853 .loc 1 2189 1 is_stmt 0 view .LVU860 |
||
7114 | 2854 0000 7047 bx lr |
||
7115 | 2855 .cfi_endproc |
||
7116 | 2856 .LFE89: |
||
7117 | 2858 .section .text.UART_DMATxHalfCplt,"ax",%progbits |
||
7118 | 2859 .align 1 |
||
7119 | 2860 .syntax unified |
||
7120 | 2861 .thumb |
||
7121 | 2862 .thumb_func |
||
7122 | 2863 .fpu softvfp |
||
7123 | 2865 UART_DMATxHalfCplt: |
||
7124 | 2866 .LVL211: |
||
7125 | 2867 .LFB104: |
||
7126 | 2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
7127 | 2868 .loc 1 2578 1 is_stmt 1 view -0 |
||
7128 | 2869 .cfi_startproc |
||
7129 | 2870 @ args = 0, pretend = 0, frame = 0 |
||
7130 | 2871 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7131 | 2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
7132 | 2872 .loc 1 2578 1 is_stmt 0 view .LVU862 |
||
7133 | 2873 0000 08B5 push {r3, lr} |
||
7134 | 2874 .LCFI33: |
||
7135 | 2875 .cfi_def_cfa_offset 8 |
||
7136 | 2876 .cfi_offset 3, -8 |
||
7137 | 2877 .cfi_offset 14, -4 |
||
7138 | 2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7139 | 2878 .loc 1 2579 3 is_stmt 1 view .LVU863 |
||
7140 | 2879 .LVL212: |
||
7141 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 120 |
||
7142 | |||
7143 | |||
7144 | 2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7145 | 2880 .loc 1 2586 3 view .LVU864 |
||
7146 | 2881 0002 406A ldr r0, [r0, #36] |
||
7147 | 2882 .LVL213: |
||
7148 | 2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7149 | 2883 .loc 1 2586 3 is_stmt 0 view .LVU865 |
||
7150 | 2884 0004 FFF7FEFF bl HAL_UART_TxHalfCpltCallback |
||
7151 | 2885 .LVL214: |
||
7152 | 2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7153 | 2886 .loc 1 2588 1 view .LVU866 |
||
7154 | 2887 0008 08BD pop {r3, pc} |
||
7155 | 2888 .cfi_endproc |
||
7156 | 2889 .LFE104: |
||
7157 | 2891 .section .text.HAL_UART_RxCpltCallback,"ax",%progbits |
||
7158 | 2892 .align 1 |
||
7159 | 2893 .weak HAL_UART_RxCpltCallback |
||
7160 | 2894 .syntax unified |
||
7161 | 2895 .thumb |
||
7162 | 2896 .thumb_func |
||
7163 | 2897 .fpu softvfp |
||
7164 | 2899 HAL_UART_RxCpltCallback: |
||
7165 | 2900 .LVL215: |
||
7166 | 2901 .LFB90: |
||
7167 | 2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
7168 | 2902 .loc 1 2198 1 is_stmt 1 view -0 |
||
7169 | 2903 .cfi_startproc |
||
7170 | 2904 @ args = 0, pretend = 0, frame = 0 |
||
7171 | 2905 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7172 | 2906 @ link register save eliminated. |
||
7173 | 2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
7174 | 2907 .loc 1 2200 3 view .LVU868 |
||
7175 | 2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7176 | 2908 .loc 1 2204 1 is_stmt 0 view .LVU869 |
||
7177 | 2909 0000 7047 bx lr |
||
7178 | 2910 .cfi_endproc |
||
7179 | 2911 .LFE90: |
||
7180 | 2913 .section .text.UART_DMAReceiveCplt,"ax",%progbits |
||
7181 | 2914 .align 1 |
||
7182 | 2915 .syntax unified |
||
7183 | 2916 .thumb |
||
7184 | 2917 .thumb_func |
||
7185 | 2918 .fpu softvfp |
||
7186 | 2920 UART_DMAReceiveCplt: |
||
7187 | 2921 .LVL216: |
||
7188 | 2922 .LFB105: |
||
7189 | 2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
7190 | 2923 .loc 1 2597 1 is_stmt 1 view -0 |
||
7191 | 2924 .cfi_startproc |
||
7192 | 2925 @ args = 0, pretend = 0, frame = 0 |
||
7193 | 2926 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7194 | 2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
7195 | 2927 .loc 1 2597 1 is_stmt 0 view .LVU871 |
||
7196 | 2928 0000 08B5 push {r3, lr} |
||
7197 | 2929 .LCFI34: |
||
7198 | 2930 .cfi_def_cfa_offset 8 |
||
7199 | 2931 .cfi_offset 3, -8 |
||
7200 | 2932 .cfi_offset 14, -4 |
||
7201 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 121 |
||
7202 | |||
7203 | |||
7204 | 2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/ |
||
7205 | 2933 .loc 1 2598 3 is_stmt 1 view .LVU872 |
||
7206 | 2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/ |
||
7207 | 2934 .loc 1 2598 23 is_stmt 0 view .LVU873 |
||
7208 | 2935 0002 436A ldr r3, [r0, #36] |
||
7209 | 2936 .LVL217: |
||
7210 | 2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7211 | 2937 .loc 1 2600 3 is_stmt 1 view .LVU874 |
||
7212 | 2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7213 | 2938 .loc 1 2600 12 is_stmt 0 view .LVU875 |
||
7214 | 2939 0004 0268 ldr r2, [r0] |
||
7215 | 2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7216 | 2940 .loc 1 2600 22 view .LVU876 |
||
7217 | 2941 0006 1268 ldr r2, [r2] |
||
7218 | 2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7219 | 2942 .loc 1 2600 6 view .LVU877 |
||
7220 | 2943 0008 12F0200F tst r2, #32 |
||
7221 | 2944 000c 13D1 bne .L192 |
||
7222 | 2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7223 | 2945 .loc 1 2602 5 is_stmt 1 view .LVU878 |
||
7224 | 2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7225 | 2946 .loc 1 2602 24 is_stmt 0 view .LVU879 |
||
7226 | 2947 000e 0022 movs r2, #0 |
||
7227 | 2948 0010 DA85 strh r2, [r3, #46] @ movhi |
||
7228 | 2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
7229 | 2949 .loc 1 2605 5 is_stmt 1 view .LVU880 |
||
7230 | 2950 0012 1968 ldr r1, [r3] |
||
7231 | 2951 0014 CA68 ldr r2, [r1, #12] |
||
7232 | 2952 0016 22F48072 bic r2, r2, #256 |
||
7233 | 2953 001a CA60 str r2, [r1, #12] |
||
7234 | 2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7235 | 2954 .loc 1 2606 5 view .LVU881 |
||
7236 | 2955 001c 1968 ldr r1, [r3] |
||
7237 | 2956 001e 4A69 ldr r2, [r1, #20] |
||
7238 | 2957 0020 22F00102 bic r2, r2, #1 |
||
7239 | 2958 0024 4A61 str r2, [r1, #20] |
||
7240 | 2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7241 | 2959 .loc 1 2610 5 view .LVU882 |
||
7242 | 2960 0026 1968 ldr r1, [r3] |
||
7243 | 2961 0028 4A69 ldr r2, [r1, #20] |
||
7244 | 2962 002a 22F04002 bic r2, r2, #64 |
||
7245 | 2963 002e 4A61 str r2, [r1, #20] |
||
7246 | 2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7247 | 2964 .loc 1 2613 5 view .LVU883 |
||
7248 | 2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7249 | 2965 .loc 1 2613 20 is_stmt 0 view .LVU884 |
||
7250 | 2966 0030 2022 movs r2, #32 |
||
7251 | 2967 0032 83F83A20 strb r2, [r3, #58] |
||
7252 | 2968 .L192: |
||
7253 | 2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7254 | 2969 .loc 1 2620 3 is_stmt 1 view .LVU885 |
||
7255 | 2970 0036 1846 mov r0, r3 |
||
7256 | 2971 .LVL218: |
||
7257 | 2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7258 | 2972 .loc 1 2620 3 is_stmt 0 view .LVU886 |
||
7259 | 2973 0038 FFF7FEFF bl HAL_UART_RxCpltCallback |
||
7260 | 2974 .LVL219: |
||
7261 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 122 |
||
7262 | |||
7263 | |||
7264 | 2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7265 | 2975 .loc 1 2622 1 view .LVU887 |
||
7266 | 2976 003c 08BD pop {r3, pc} |
||
7267 | 2977 .cfi_endproc |
||
7268 | 2978 .LFE105: |
||
7269 | 2980 .section .text.UART_Receive_IT,"ax",%progbits |
||
7270 | 2981 .align 1 |
||
7271 | 2982 .syntax unified |
||
7272 | 2983 .thumb |
||
7273 | 2984 .thumb_func |
||
7274 | 2985 .fpu softvfp |
||
7275 | 2987 UART_Receive_IT: |
||
7276 | 2988 .LVL220: |
||
7277 | 2989 .LFB118: |
||
7278 | 2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
7279 | 2990 .loc 1 2993 1 is_stmt 1 view -0 |
||
7280 | 2991 .cfi_startproc |
||
7281 | 2992 @ args = 0, pretend = 0, frame = 0 |
||
7282 | 2993 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7283 | 2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp; |
||
7284 | 2994 .loc 1 2993 1 is_stmt 0 view .LVU889 |
||
7285 | 2995 0000 08B5 push {r3, lr} |
||
7286 | 2996 .LCFI35: |
||
7287 | 2997 .cfi_def_cfa_offset 8 |
||
7288 | 2998 .cfi_offset 3, -8 |
||
7289 | 2999 .cfi_offset 14, -4 |
||
7290 | 2994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7291 | 3000 .loc 1 2994 3 is_stmt 1 view .LVU890 |
||
7292 | 2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7293 | 3001 .loc 1 2997 3 view .LVU891 |
||
7294 | 2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7295 | 3002 .loc 1 2997 12 is_stmt 0 view .LVU892 |
||
7296 | 3003 0002 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2 |
||
7297 | 3004 0006 DBB2 uxtb r3, r3 |
||
7298 | 2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7299 | 3005 .loc 1 2997 6 view .LVU893 |
||
7300 | 3006 0008 222B cmp r3, #34 |
||
7301 | 3007 000a 45D1 bne .L200 |
||
7302 | 2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7303 | 3008 .loc 1 2999 5 is_stmt 1 view .LVU894 |
||
7304 | 2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7305 | 3009 .loc 1 2999 20 is_stmt 0 view .LVU895 |
||
7306 | 3010 000c 8368 ldr r3, [r0, #8] |
||
7307 | 2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7308 | 3011 .loc 1 2999 8 view .LVU896 |
||
7309 | 3012 000e B3F5805F cmp r3, #4096 |
||
7310 | 3013 0012 0ED0 beq .L203 |
||
7311 | 3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7312 | 3014 .loc 1 3015 7 is_stmt 1 view .LVU897 |
||
7313 | 3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7314 | 3015 .loc 1 3015 22 is_stmt 0 view .LVU898 |
||
7315 | 3016 0014 0369 ldr r3, [r0, #16] |
||
7316 | 3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7317 | 3017 .loc 1 3015 10 view .LVU899 |
||
7318 | 3018 0016 03BB cbnz r3, .L199 |
||
7319 | 3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7320 | 3019 .loc 1 3017 9 is_stmt 1 view .LVU900 |
||
7321 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 123 |
||
7322 | |||
7323 | |||
7324 | 3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7325 | 3020 .loc 1 3017 47 is_stmt 0 view .LVU901 |
||
7326 | 3021 0018 0368 ldr r3, [r0] |
||
7327 | 3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7328 | 3022 .loc 1 3017 57 view .LVU902 |
||
7329 | 3023 001a 5A68 ldr r2, [r3, #4] |
||
7330 | 3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7331 | 3024 .loc 1 3017 15 view .LVU903 |
||
7332 | 3025 001c 836A ldr r3, [r0, #40] |
||
7333 | 3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7334 | 3026 .loc 1 3017 27 view .LVU904 |
||
7335 | 3027 001e 591C adds r1, r3, #1 |
||
7336 | 3028 0020 8162 str r1, [r0, #40] |
||
7337 | 3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7338 | 3029 .loc 1 3017 30 view .LVU905 |
||
7339 | 3030 0022 1A70 strb r2, [r3] |
||
7340 | 3031 .L198: |
||
7341 | 3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7342 | 3032 .loc 1 3025 5 is_stmt 1 view .LVU906 |
||
7343 | 3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7344 | 3033 .loc 1 3025 16 is_stmt 0 view .LVU907 |
||
7345 | 3034 0024 C38D ldrh r3, [r0, #46] |
||
7346 | 3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7347 | 3035 .loc 1 3025 9 view .LVU908 |
||
7348 | 3036 0026 013B subs r3, r3, #1 |
||
7349 | 3037 0028 9BB2 uxth r3, r3 |
||
7350 | 3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7351 | 3038 .loc 1 3025 8 view .LVU909 |
||
7352 | 3039 002a C385 strh r3, [r0, #46] @ movhi |
||
7353 | 3040 002c F3B1 cbz r3, .L204 |
||
7354 | 3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7355 | 3041 .loc 1 3049 12 view .LVU910 |
||
7356 | 3042 002e 0020 movs r0, #0 |
||
7357 | 3043 .LVL221: |
||
7358 | 3044 .L195: |
||
7359 | 3055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7360 | 3045 .loc 1 3055 1 view .LVU911 |
||
7361 | 3046 0030 08BD pop {r3, pc} |
||
7362 | 3047 .LVL222: |
||
7363 | 3048 .L203: |
||
7364 | 3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
7365 | 3049 .loc 1 3001 7 is_stmt 1 view .LVU912 |
||
7366 | 3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.Parity == UART_PARITY_NONE) |
||
7367 | 3050 .loc 1 3001 11 is_stmt 0 view .LVU913 |
||
7368 | 3051 0032 826A ldr r2, [r0, #40] |
||
7369 | 3052 .LVL223: |
||
7370 | 3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7371 | 3053 .loc 1 3002 7 is_stmt 1 view .LVU914 |
||
7372 | 3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7373 | 3054 .loc 1 3002 22 is_stmt 0 view .LVU915 |
||
7374 | 3055 0034 0369 ldr r3, [r0, #16] |
||
7375 | 3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7376 | 3056 .loc 1 3002 10 view .LVU916 |
||
7377 | 3057 0036 43B9 cbnz r3, .L197 |
||
7378 | 3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U; |
||
7379 | 3058 .loc 1 3004 9 is_stmt 1 view .LVU917 |
||
7380 | 3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U; |
||
7381 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 124 |
||
7382 | |||
7383 | |||
7384 | 3059 .loc 1 3004 32 is_stmt 0 view .LVU918 |
||
7385 | 3060 0038 0368 ldr r3, [r0] |
||
7386 | 3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U; |
||
7387 | 3061 .loc 1 3004 42 view .LVU919 |
||
7388 | 3062 003a 5B68 ldr r3, [r3, #4] |
||
7389 | 3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U; |
||
7390 | 3063 .loc 1 3004 16 view .LVU920 |
||
7391 | 3064 003c C3F30803 ubfx r3, r3, #0, #9 |
||
7392 | 3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U; |
||
7393 | 3065 .loc 1 3004 14 view .LVU921 |
||
7394 | 3066 0040 1380 strh r3, [r2] @ movhi |
||
7395 | 3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7396 | 3067 .loc 1 3005 9 is_stmt 1 view .LVU922 |
||
7397 | 3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7398 | 3068 .loc 1 3005 27 is_stmt 0 view .LVU923 |
||
7399 | 3069 0042 836A ldr r3, [r0, #40] |
||
7400 | 3070 0044 0233 adds r3, r3, #2 |
||
7401 | 3071 0046 8362 str r3, [r0, #40] |
||
7402 | 3072 0048 ECE7 b .L198 |
||
7403 | 3073 .L197: |
||
7404 | 3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 1U; |
||
7405 | 3074 .loc 1 3009 9 is_stmt 1 view .LVU924 |
||
7406 | 3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 1U; |
||
7407 | 3075 .loc 1 3009 32 is_stmt 0 view .LVU925 |
||
7408 | 3076 004a 0368 ldr r3, [r0] |
||
7409 | 3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 1U; |
||
7410 | 3077 .loc 1 3009 42 view .LVU926 |
||
7411 | 3078 004c 5B68 ldr r3, [r3, #4] |
||
7412 | 3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 1U; |
||
7413 | 3079 .loc 1 3009 16 view .LVU927 |
||
7414 | 3080 004e DBB2 uxtb r3, r3 |
||
7415 | 3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 1U; |
||
7416 | 3081 .loc 1 3009 14 view .LVU928 |
||
7417 | 3082 0050 1380 strh r3, [r2] @ movhi |
||
7418 | 3010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7419 | 3083 .loc 1 3010 9 is_stmt 1 view .LVU929 |
||
7420 | 3010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7421 | 3084 .loc 1 3010 27 is_stmt 0 view .LVU930 |
||
7422 | 3085 0052 836A ldr r3, [r0, #40] |
||
7423 | 3086 0054 0133 adds r3, r3, #1 |
||
7424 | 3087 0056 8362 str r3, [r0, #40] |
||
7425 | 3088 0058 E4E7 b .L198 |
||
7426 | 3089 .LVL224: |
||
7427 | 3090 .L199: |
||
7428 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7429 | 3091 .loc 1 3021 9 is_stmt 1 view .LVU931 |
||
7430 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7431 | 3092 .loc 1 3021 47 is_stmt 0 view .LVU932 |
||
7432 | 3093 005a 0368 ldr r3, [r0] |
||
7433 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7434 | 3094 .loc 1 3021 57 view .LVU933 |
||
7435 | 3095 005c 5B68 ldr r3, [r3, #4] |
||
7436 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7437 | 3096 .loc 1 3021 15 view .LVU934 |
||
7438 | 3097 005e 826A ldr r2, [r0, #40] |
||
7439 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7440 | 3098 .loc 1 3021 27 view .LVU935 |
||
7441 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 125 |
||
7442 | |||
7443 | |||
7444 | 3099 0060 511C adds r1, r2, #1 |
||
7445 | 3100 0062 8162 str r1, [r0, #40] |
||
7446 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7447 | 3101 .loc 1 3021 32 view .LVU936 |
||
7448 | 3102 0064 03F07F03 and r3, r3, #127 |
||
7449 | 3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7450 | 3103 .loc 1 3021 30 view .LVU937 |
||
7451 | 3104 0068 1370 strb r3, [r2] |
||
7452 | 3105 006a DBE7 b .L198 |
||
7453 | 3106 .L204: |
||
7454 | 3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7455 | 3107 .loc 1 3028 7 is_stmt 1 view .LVU938 |
||
7456 | 3108 006c 0268 ldr r2, [r0] |
||
7457 | 3109 006e D368 ldr r3, [r2, #12] |
||
7458 | 3110 0070 23F02003 bic r3, r3, #32 |
||
7459 | 3111 0074 D360 str r3, [r2, #12] |
||
7460 | 3031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7461 | 3112 .loc 1 3031 7 view .LVU939 |
||
7462 | 3113 0076 0268 ldr r2, [r0] |
||
7463 | 3114 0078 D368 ldr r3, [r2, #12] |
||
7464 | 3115 007a 23F48073 bic r3, r3, #256 |
||
7465 | 3116 007e D360 str r3, [r2, #12] |
||
7466 | 3034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7467 | 3117 .loc 1 3034 7 view .LVU940 |
||
7468 | 3118 0080 0268 ldr r2, [r0] |
||
7469 | 3119 0082 5369 ldr r3, [r2, #20] |
||
7470 | 3120 0084 23F00103 bic r3, r3, #1 |
||
7471 | 3121 0088 5361 str r3, [r2, #20] |
||
7472 | 3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7473 | 3122 .loc 1 3037 7 view .LVU941 |
||
7474 | 3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7475 | 3123 .loc 1 3037 22 is_stmt 0 view .LVU942 |
||
7476 | 3124 008a 2023 movs r3, #32 |
||
7477 | 3125 008c 80F83A30 strb r3, [r0, #58] |
||
7478 | 3044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7479 | 3126 .loc 1 3044 7 is_stmt 1 view .LVU943 |
||
7480 | 3127 0090 FFF7FEFF bl HAL_UART_RxCpltCallback |
||
7481 | 3128 .LVL225: |
||
7482 | 3047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7483 | 3129 .loc 1 3047 7 view .LVU944 |
||
7484 | 3047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7485 | 3130 .loc 1 3047 14 is_stmt 0 view .LVU945 |
||
7486 | 3131 0094 0020 movs r0, #0 |
||
7487 | 3132 0096 CBE7 b .L195 |
||
7488 | 3133 .LVL226: |
||
7489 | 3134 .L200: |
||
7490 | 3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7491 | 3135 .loc 1 3053 12 view .LVU946 |
||
7492 | 3136 0098 0220 movs r0, #2 |
||
7493 | 3137 .LVL227: |
||
7494 | 3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7495 | 3138 .loc 1 3053 12 view .LVU947 |
||
7496 | 3139 009a C9E7 b .L195 |
||
7497 | 3140 .cfi_endproc |
||
7498 | 3141 .LFE118: |
||
7499 | 3143 .section .text.HAL_UART_RxHalfCpltCallback,"ax",%progbits |
||
7500 | 3144 .align 1 |
||
7501 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 126 |
||
7502 | |||
7503 | |||
7504 | 3145 .weak HAL_UART_RxHalfCpltCallback |
||
7505 | 3146 .syntax unified |
||
7506 | 3147 .thumb |
||
7507 | 3148 .thumb_func |
||
7508 | 3149 .fpu softvfp |
||
7509 | 3151 HAL_UART_RxHalfCpltCallback: |
||
7510 | 3152 .LVL228: |
||
7511 | 3153 .LFB91: |
||
7512 | 2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
7513 | 3154 .loc 1 2213 1 is_stmt 1 view -0 |
||
7514 | 3155 .cfi_startproc |
||
7515 | 3156 @ args = 0, pretend = 0, frame = 0 |
||
7516 | 3157 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7517 | 3158 @ link register save eliminated. |
||
7518 | 2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
7519 | 3159 .loc 1 2215 3 view .LVU949 |
||
7520 | 2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7521 | 3160 .loc 1 2219 1 is_stmt 0 view .LVU950 |
||
7522 | 3161 0000 7047 bx lr |
||
7523 | 3162 .cfi_endproc |
||
7524 | 3163 .LFE91: |
||
7525 | 3165 .section .text.UART_DMARxHalfCplt,"ax",%progbits |
||
7526 | 3166 .align 1 |
||
7527 | 3167 .syntax unified |
||
7528 | 3168 .thumb |
||
7529 | 3169 .thumb_func |
||
7530 | 3170 .fpu softvfp |
||
7531 | 3172 UART_DMARxHalfCplt: |
||
7532 | 3173 .LVL229: |
||
7533 | 3174 .LFB106: |
||
7534 | 2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
7535 | 3175 .loc 1 2631 1 is_stmt 1 view -0 |
||
7536 | 3176 .cfi_startproc |
||
7537 | 3177 @ args = 0, pretend = 0, frame = 0 |
||
7538 | 3178 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7539 | 2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
7540 | 3179 .loc 1 2631 1 is_stmt 0 view .LVU952 |
||
7541 | 3180 0000 08B5 push {r3, lr} |
||
7542 | 3181 .LCFI36: |
||
7543 | 3182 .cfi_def_cfa_offset 8 |
||
7544 | 3183 .cfi_offset 3, -8 |
||
7545 | 3184 .cfi_offset 14, -4 |
||
7546 | 2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7547 | 3185 .loc 1 2632 3 is_stmt 1 view .LVU953 |
||
7548 | 3186 .LVL230: |
||
7549 | 2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7550 | 3187 .loc 1 2639 3 view .LVU954 |
||
7551 | 3188 0002 406A ldr r0, [r0, #36] |
||
7552 | 3189 .LVL231: |
||
7553 | 2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7554 | 3190 .loc 1 2639 3 is_stmt 0 view .LVU955 |
||
7555 | 3191 0004 FFF7FEFF bl HAL_UART_RxHalfCpltCallback |
||
7556 | 3192 .LVL232: |
||
7557 | 2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7558 | 3193 .loc 1 2641 1 view .LVU956 |
||
7559 | 3194 0008 08BD pop {r3, pc} |
||
7560 | 3195 .cfi_endproc |
||
7561 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 127 |
||
7562 | |||
7563 | |||
7564 | 3196 .LFE106: |
||
7565 | 3198 .section .text.HAL_UART_ErrorCallback,"ax",%progbits |
||
7566 | 3199 .align 1 |
||
7567 | 3200 .weak HAL_UART_ErrorCallback |
||
7568 | 3201 .syntax unified |
||
7569 | 3202 .thumb |
||
7570 | 3203 .thumb_func |
||
7571 | 3204 .fpu softvfp |
||
7572 | 3206 HAL_UART_ErrorCallback: |
||
7573 | 3207 .LVL233: |
||
7574 | 3208 .LFB92: |
||
7575 | 2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
7576 | 3209 .loc 1 2228 1 is_stmt 1 view -0 |
||
7577 | 3210 .cfi_startproc |
||
7578 | 3211 @ args = 0, pretend = 0, frame = 0 |
||
7579 | 3212 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7580 | 3213 @ link register save eliminated. |
||
7581 | 2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed, |
||
7582 | 3214 .loc 1 2230 3 view .LVU958 |
||
7583 | 2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7584 | 3215 .loc 1 2234 1 is_stmt 0 view .LVU959 |
||
7585 | 3216 0000 7047 bx lr |
||
7586 | 3217 .cfi_endproc |
||
7587 | 3218 .LFE92: |
||
7588 | 3220 .section .text.UART_DMAError,"ax",%progbits |
||
7589 | 3221 .align 1 |
||
7590 | 3222 .syntax unified |
||
7591 | 3223 .thumb |
||
7592 | 3224 .thumb_func |
||
7593 | 3225 .fpu softvfp |
||
7594 | 3227 UART_DMAError: |
||
7595 | 3228 .LVL234: |
||
7596 | 3229 .LFB107: |
||
7597 | 2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
7598 | 3230 .loc 1 2650 1 is_stmt 1 view -0 |
||
7599 | 3231 .cfi_startproc |
||
7600 | 3232 @ args = 0, pretend = 0, frame = 0 |
||
7601 | 3233 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7602 | 2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
7603 | 3234 .loc 1 2650 1 is_stmt 0 view .LVU961 |
||
7604 | 3235 0000 10B5 push {r4, lr} |
||
7605 | 3236 .LCFI37: |
||
7606 | 3237 .cfi_def_cfa_offset 8 |
||
7607 | 3238 .cfi_offset 4, -8 |
||
7608 | 3239 .cfi_offset 14, -4 |
||
7609 | 2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
7610 | 3240 .loc 1 2651 3 is_stmt 1 view .LVU962 |
||
7611 | 3241 .LVL235: |
||
7612 | 2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7613 | 3242 .loc 1 2652 3 view .LVU963 |
||
7614 | 2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7615 | 3243 .loc 1 2652 23 is_stmt 0 view .LVU964 |
||
7616 | 3244 0002 446A ldr r4, [r0, #36] |
||
7617 | 3245 .LVL236: |
||
7618 | 2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
7619 | 3246 .loc 1 2655 3 is_stmt 1 view .LVU965 |
||
7620 | 2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) |
||
7621 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 128 |
||
7622 | |||
7623 | |||
7624 | 3247 .loc 1 2655 16 is_stmt 0 view .LVU966 |
||
7625 | 3248 0004 2368 ldr r3, [r4] |
||
7626 | 3249 0006 5A69 ldr r2, [r3, #20] |
||
7627 | 3250 .LVL237: |
||
7628 | 2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7629 | 3251 .loc 1 2656 3 is_stmt 1 view .LVU967 |
||
7630 | 2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7631 | 3252 .loc 1 2656 13 is_stmt 0 view .LVU968 |
||
7632 | 3253 0008 94F83930 ldrb r3, [r4, #57] @ zero_extendqisi2 |
||
7633 | 3254 000c DBB2 uxtb r3, r3 |
||
7634 | 2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7635 | 3255 .loc 1 2656 6 view .LVU969 |
||
7636 | 3256 000e 212B cmp r3, #33 |
||
7637 | 3257 0010 10D0 beq .L213 |
||
7638 | 3258 .LVL238: |
||
7639 | 3259 .L210: |
||
7640 | 2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
7641 | 3260 .loc 1 2663 3 is_stmt 1 view .LVU970 |
||
7642 | 2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) |
||
7643 | 3261 .loc 1 2663 16 is_stmt 0 view .LVU971 |
||
7644 | 3262 0012 2368 ldr r3, [r4] |
||
7645 | 3263 0014 5A69 ldr r2, [r3, #20] |
||
7646 | 3264 0016 02F04002 and r2, r2, #64 |
||
7647 | 3265 .LVL239: |
||
7648 | 2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7649 | 3266 .loc 1 2664 3 is_stmt 1 view .LVU972 |
||
7650 | 2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7651 | 3267 .loc 1 2664 13 is_stmt 0 view .LVU973 |
||
7652 | 3268 001a 94F83A30 ldrb r3, [r4, #58] @ zero_extendqisi2 |
||
7653 | 3269 001e DBB2 uxtb r3, r3 |
||
7654 | 2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7655 | 3270 .loc 1 2664 6 view .LVU974 |
||
7656 | 3271 0020 222B cmp r3, #34 |
||
7657 | 3272 0022 11D0 beq .L214 |
||
7658 | 3273 .LVL240: |
||
7659 | 3274 .L211: |
||
7660 | 2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
7661 | 3275 .loc 1 2670 3 is_stmt 1 view .LVU975 |
||
7662 | 2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) |
||
7663 | 3276 .loc 1 2670 20 is_stmt 0 view .LVU976 |
||
7664 | 3277 0024 E36B ldr r3, [r4, #60] |
||
7665 | 3278 0026 43F01003 orr r3, r3, #16 |
||
7666 | 3279 002a E363 str r3, [r4, #60] |
||
7667 | 2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
7668 | 3280 .loc 1 2676 3 is_stmt 1 view .LVU977 |
||
7669 | 3281 002c 2046 mov r0, r4 |
||
7670 | 3282 002e FFF7FEFF bl HAL_UART_ErrorCallback |
||
7671 | 3283 .LVL241: |
||
7672 | 2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7673 | 3284 .loc 1 2678 1 is_stmt 0 view .LVU978 |
||
7674 | 3285 0032 10BD pop {r4, pc} |
||
7675 | 3286 .LVL242: |
||
7676 | 3287 .L213: |
||
7677 | 2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7678 | 3288 .loc 1 2678 1 view .LVU979 |
||
7679 | 3289 0034 02F08002 and r2, r2, #128 |
||
7680 | 3290 .LVL243: |
||
7681 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 129 |
||
7682 | |||
7683 | |||
7684 | 2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7685 | 3291 .loc 1 2656 49 discriminator 1 view .LVU980 |
||
7686 | 3292 0038 002A cmp r2, #0 |
||
7687 | 3293 003a EAD0 beq .L210 |
||
7688 | 2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTxTransfer(huart); |
||
7689 | 3294 .loc 1 2658 5 is_stmt 1 view .LVU981 |
||
7690 | 2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTxTransfer(huart); |
||
7691 | 3295 .loc 1 2658 24 is_stmt 0 view .LVU982 |
||
7692 | 3296 003c 0023 movs r3, #0 |
||
7693 | 3297 003e E384 strh r3, [r4, #38] @ movhi |
||
7694 | 2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7695 | 3298 .loc 1 2659 5 is_stmt 1 view .LVU983 |
||
7696 | 3299 0040 2046 mov r0, r4 |
||
7697 | 3300 .LVL244: |
||
7698 | 2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7699 | 3301 .loc 1 2659 5 is_stmt 0 view .LVU984 |
||
7700 | 3302 0042 FFF7FEFF bl UART_EndTxTransfer |
||
7701 | 3303 .LVL245: |
||
7702 | 3304 0046 E4E7 b .L210 |
||
7703 | 3305 .LVL246: |
||
7704 | 3306 .L214: |
||
7705 | 2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7706 | 3307 .loc 1 2664 50 discriminator 1 view .LVU985 |
||
7707 | 3308 0048 002A cmp r2, #0 |
||
7708 | 3309 004a EBD0 beq .L211 |
||
7709 | 2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart); |
||
7710 | 3310 .loc 1 2666 5 is_stmt 1 view .LVU986 |
||
7711 | 2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart); |
||
7712 | 3311 .loc 1 2666 24 is_stmt 0 view .LVU987 |
||
7713 | 3312 004c 0023 movs r3, #0 |
||
7714 | 3313 004e E385 strh r3, [r4, #46] @ movhi |
||
7715 | 2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7716 | 3314 .loc 1 2667 5 is_stmt 1 view .LVU988 |
||
7717 | 3315 0050 2046 mov r0, r4 |
||
7718 | 3316 0052 FFF7FEFF bl UART_EndRxTransfer |
||
7719 | 3317 .LVL247: |
||
7720 | 2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7721 | 3318 .loc 1 2667 5 is_stmt 0 view .LVU989 |
||
7722 | 3319 0056 E5E7 b .L211 |
||
7723 | 3320 .cfi_endproc |
||
7724 | 3321 .LFE107: |
||
7725 | 3323 .section .text.HAL_UART_IRQHandler,"ax",%progbits |
||
7726 | 3324 .align 1 |
||
7727 | 3325 .global HAL_UART_IRQHandler |
||
7728 | 3326 .syntax unified |
||
7729 | 3327 .thumb |
||
7730 | 3328 .thumb_func |
||
7731 | 3329 .fpu softvfp |
||
7732 | 3331 HAL_UART_IRQHandler: |
||
7733 | 3332 .LVL248: |
||
7734 | 3333 .LFB87: |
||
7735 | 2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t isrflags = READ_REG(huart->Instance->SR); |
||
7736 | 3334 .loc 1 2022 1 is_stmt 1 view -0 |
||
7737 | 3335 .cfi_startproc |
||
7738 | 3336 @ args = 0, pretend = 0, frame = 0 |
||
7739 | 3337 @ frame_needed = 0, uses_anonymous_args = 0 |
||
7740 | 2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t isrflags = READ_REG(huart->Instance->SR); |
||
7741 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 130 |
||
7742 | |||
7743 | |||
7744 | 3338 .loc 1 2022 1 is_stmt 0 view .LVU991 |
||
7745 | 3339 0000 10B5 push {r4, lr} |
||
7746 | 3340 .LCFI38: |
||
7747 | 3341 .cfi_def_cfa_offset 8 |
||
7748 | 3342 .cfi_offset 4, -8 |
||
7749 | 3343 .cfi_offset 14, -4 |
||
7750 | 3344 0002 0446 mov r4, r0 |
||
7751 | 2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr1its = READ_REG(huart->Instance->CR1); |
||
7752 | 3345 .loc 1 2023 3 is_stmt 1 view .LVU992 |
||
7753 | 2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr1its = READ_REG(huart->Instance->CR1); |
||
7754 | 3346 .loc 1 2023 25 is_stmt 0 view .LVU993 |
||
7755 | 3347 0004 0268 ldr r2, [r0] |
||
7756 | 2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr1its = READ_REG(huart->Instance->CR1); |
||
7757 | 3348 .loc 1 2023 12 view .LVU994 |
||
7758 | 3349 0006 1368 ldr r3, [r2] |
||
7759 | 3350 .LVL249: |
||
7760 | 2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr3its = READ_REG(huart->Instance->CR3); |
||
7761 | 3351 .loc 1 2024 3 is_stmt 1 view .LVU995 |
||
7762 | 2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr3its = READ_REG(huart->Instance->CR3); |
||
7763 | 3352 .loc 1 2024 12 is_stmt 0 view .LVU996 |
||
7764 | 3353 0008 D168 ldr r1, [r2, #12] |
||
7765 | 3354 .LVL250: |
||
7766 | 2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t errorflags = 0x00U; |
||
7767 | 3355 .loc 1 2025 3 is_stmt 1 view .LVU997 |
||
7768 | 2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t errorflags = 0x00U; |
||
7769 | 3356 .loc 1 2025 12 is_stmt 0 view .LVU998 |
||
7770 | 3357 000a 5269 ldr r2, [r2, #20] |
||
7771 | 3358 .LVL251: |
||
7772 | 2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U; |
||
7773 | 3359 .loc 1 2026 3 is_stmt 1 view .LVU999 |
||
7774 | 2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7775 | 3360 .loc 1 2027 3 view .LVU1000 |
||
7776 | 2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (errorflags == RESET) |
||
7777 | 3361 .loc 1 2030 3 view .LVU1001 |
||
7778 | 2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7779 | 3362 .loc 1 2031 3 view .LVU1002 |
||
7780 | 2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7781 | 3363 .loc 1 2031 6 is_stmt 0 view .LVU1003 |
||
7782 | 3364 000c 13F00F00 ands r0, r3, #15 |
||
7783 | 3365 .LVL252: |
||
7784 | 2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7785 | 3366 .loc 1 2031 6 view .LVU1004 |
||
7786 | 3367 0010 05D1 bne .L216 |
||
7787 | 2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7788 | 3368 .loc 1 2034 5 is_stmt 1 view .LVU1005 |
||
7789 | 2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7790 | 3369 .loc 1 2034 8 is_stmt 0 view .LVU1006 |
||
7791 | 3370 0012 13F0200F tst r3, #32 |
||
7792 | 3371 0016 02D0 beq .L216 |
||
7793 | 2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7794 | 3372 .loc 1 2034 47 discriminator 1 view .LVU1007 |
||
7795 | 3373 0018 11F0200F tst r1, #32 |
||
7796 | 3374 001c 13D1 bne .L232 |
||
7797 | 3375 .L216: |
||
7798 | 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7799 | 3376 .loc 1 2042 3 is_stmt 1 view .LVU1008 |
||
7800 | 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7801 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 131 |
||
7802 | |||
7803 | |||
7804 | 3377 .loc 1 2042 6 is_stmt 0 view .LVU1009 |
||
7805 | 3378 001e 28B1 cbz r0, .L218 |
||
7806 | 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7807 | 3379 .loc 1 2042 29 discriminator 1 view .LVU1010 |
||
7808 | 3380 0020 12F00102 ands r2, r2, #1 |
||
7809 | 3381 .LVL253: |
||
7810 | 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7811 | 3382 .loc 1 2042 29 discriminator 1 view .LVU1011 |
||
7812 | 3383 0024 13D1 bne .L219 |
||
7813 | 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7814 | 3384 .loc 1 2042 69 discriminator 2 view .LVU1012 |
||
7815 | 3385 0026 11F4907F tst r1, #288 |
||
7816 | 3386 002a 10D1 bne .L219 |
||
7817 | 3387 .L218: |
||
7818 | 2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7819 | 3388 .loc 1 2147 3 is_stmt 1 view .LVU1013 |
||
7820 | 2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7821 | 3389 .loc 1 2147 6 is_stmt 0 view .LVU1014 |
||
7822 | 3390 002c 13F0800F tst r3, #128 |
||
7823 | 3391 0030 02D0 beq .L230 |
||
7824 | 2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7825 | 3392 .loc 1 2147 44 discriminator 1 view .LVU1015 |
||
7826 | 3393 0032 11F0800F tst r1, #128 |
||
7827 | 3394 0036 69D1 bne .L233 |
||
7828 | 3395 .L230: |
||
7829 | 2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7830 | 3396 .loc 1 2154 3 is_stmt 1 view .LVU1016 |
||
7831 | 2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7832 | 3397 .loc 1 2154 6 is_stmt 0 view .LVU1017 |
||
7833 | 3398 0038 13F0400F tst r3, #64 |
||
7834 | 3399 003c 02D0 beq .L215 |
||
7835 | 2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7836 | 3400 .loc 1 2154 43 discriminator 1 view .LVU1018 |
||
7837 | 3401 003e 11F0400F tst r1, #64 |
||
7838 | 3402 0042 67D1 bne .L234 |
||
7839 | 3403 .LVL254: |
||
7840 | 3404 .L215: |
||
7841 | 2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7842 | 3405 .loc 1 2159 1 view .LVU1019 |
||
7843 | 3406 0044 10BD pop {r4, pc} |
||
7844 | 3407 .LVL255: |
||
7845 | 3408 .L232: |
||
7846 | 2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
7847 | 3409 .loc 1 2036 7 is_stmt 1 view .LVU1020 |
||
7848 | 3410 0046 2046 mov r0, r4 |
||
7849 | 3411 .LVL256: |
||
7850 | 2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
7851 | 3412 .loc 1 2036 7 is_stmt 0 view .LVU1021 |
||
7852 | 3413 0048 FFF7FEFF bl UART_Receive_IT |
||
7853 | 3414 .LVL257: |
||
7854 | 2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7855 | 3415 .loc 1 2037 7 is_stmt 1 view .LVU1022 |
||
7856 | 3416 004c FAE7 b .L215 |
||
7857 | 3417 .LVL258: |
||
7858 | 3418 .L219: |
||
7859 | 2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7860 | 3419 .loc 1 2045 5 view .LVU1023 |
||
7861 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 132 |
||
7862 | |||
7863 | |||
7864 | 2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7865 | 3420 .loc 1 2045 8 is_stmt 0 view .LVU1024 |
||
7866 | 3421 004e 13F0010F tst r3, #1 |
||
7867 | 3422 0052 06D0 beq .L220 |
||
7868 | 2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7869 | 3423 .loc 1 2045 45 discriminator 1 view .LVU1025 |
||
7870 | 3424 0054 11F4807F tst r1, #256 |
||
7871 | 3425 0058 03D0 beq .L220 |
||
7872 | 2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7873 | 3426 .loc 1 2047 7 is_stmt 1 view .LVU1026 |
||
7874 | 2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7875 | 3427 .loc 1 2047 24 is_stmt 0 view .LVU1027 |
||
7876 | 3428 005a E06B ldr r0, [r4, #60] |
||
7877 | 3429 .LVL259: |
||
7878 | 2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7879 | 3430 .loc 1 2047 24 view .LVU1028 |
||
7880 | 3431 005c 40F00100 orr r0, r0, #1 |
||
7881 | 3432 0060 E063 str r0, [r4, #60] |
||
7882 | 3433 .L220: |
||
7883 | 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7884 | 3434 .loc 1 2051 5 is_stmt 1 view .LVU1029 |
||
7885 | 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7886 | 3435 .loc 1 2051 8 is_stmt 0 view .LVU1030 |
||
7887 | 3436 0062 13F0040F tst r3, #4 |
||
7888 | 3437 0066 04D0 beq .L221 |
||
7889 | 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7890 | 3438 .loc 1 2051 45 discriminator 1 view .LVU1031 |
||
7891 | 3439 0068 1AB1 cbz r2, .L221 |
||
7892 | 2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7893 | 3440 .loc 1 2053 7 is_stmt 1 view .LVU1032 |
||
7894 | 2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7895 | 3441 .loc 1 2053 24 is_stmt 0 view .LVU1033 |
||
7896 | 3442 006a E06B ldr r0, [r4, #60] |
||
7897 | 3443 006c 40F00200 orr r0, r0, #2 |
||
7898 | 3444 0070 E063 str r0, [r4, #60] |
||
7899 | 3445 .L221: |
||
7900 | 2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7901 | 3446 .loc 1 2057 5 is_stmt 1 view .LVU1034 |
||
7902 | 2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7903 | 3447 .loc 1 2057 8 is_stmt 0 view .LVU1035 |
||
7904 | 3448 0072 13F0020F tst r3, #2 |
||
7905 | 3449 0076 04D0 beq .L222 |
||
7906 | 2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7907 | 3450 .loc 1 2057 45 discriminator 1 view .LVU1036 |
||
7908 | 3451 0078 1AB1 cbz r2, .L222 |
||
7909 | 2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7910 | 3452 .loc 1 2059 7 is_stmt 1 view .LVU1037 |
||
7911 | 2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7912 | 3453 .loc 1 2059 24 is_stmt 0 view .LVU1038 |
||
7913 | 3454 007a E06B ldr r0, [r4, #60] |
||
7914 | 3455 007c 40F00400 orr r0, r0, #4 |
||
7915 | 3456 0080 E063 str r0, [r4, #60] |
||
7916 | 3457 .L222: |
||
7917 | 2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7918 | 3458 .loc 1 2063 5 is_stmt 1 view .LVU1039 |
||
7919 | 2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7920 | 3459 .loc 1 2063 8 is_stmt 0 view .LVU1040 |
||
7921 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 133 |
||
7922 | |||
7923 | |||
7924 | 3460 0082 13F0080F tst r3, #8 |
||
7925 | 3461 0086 04D0 beq .L223 |
||
7926 | 2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7927 | 3462 .loc 1 2063 46 discriminator 1 view .LVU1041 |
||
7928 | 3463 0088 1AB1 cbz r2, .L223 |
||
7929 | 2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7930 | 3464 .loc 1 2065 7 is_stmt 1 view .LVU1042 |
||
7931 | 2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
7932 | 3465 .loc 1 2065 24 is_stmt 0 view .LVU1043 |
||
7933 | 3466 008a E26B ldr r2, [r4, #60] |
||
7934 | 3467 008c 42F00802 orr r2, r2, #8 |
||
7935 | 3468 0090 E263 str r2, [r4, #60] |
||
7936 | 3469 .L223: |
||
7937 | 2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7938 | 3470 .loc 1 2069 5 is_stmt 1 view .LVU1044 |
||
7939 | 2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7940 | 3471 .loc 1 2069 14 is_stmt 0 view .LVU1045 |
||
7941 | 3472 0092 E26B ldr r2, [r4, #60] |
||
7942 | 2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7943 | 3473 .loc 1 2069 8 view .LVU1046 |
||
7944 | 3474 0094 002A cmp r2, #0 |
||
7945 | 3475 0096 D5D0 beq .L215 |
||
7946 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7947 | 3476 .loc 1 2072 7 is_stmt 1 view .LVU1047 |
||
7948 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7949 | 3477 .loc 1 2072 10 is_stmt 0 view .LVU1048 |
||
7950 | 3478 0098 13F0200F tst r3, #32 |
||
7951 | 3479 009c 02D0 beq .L225 |
||
7952 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7953 | 3480 .loc 1 2072 49 discriminator 1 view .LVU1049 |
||
7954 | 3481 009e 11F0200F tst r1, #32 |
||
7955 | 3482 00a2 21D1 bne .L235 |
||
7956 | 3483 .LVL260: |
||
7957 | 3484 .L225: |
||
7958 | 2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((huart->ErrorCode & HAL_UART_ERROR_ORE) != RESET) || dmarequest) |
||
7959 | 3485 .loc 1 2079 7 is_stmt 1 view .LVU1050 |
||
7960 | 2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((huart->ErrorCode & HAL_UART_ERROR_ORE) != RESET) || dmarequest) |
||
7961 | 3486 .loc 1 2079 20 is_stmt 0 view .LVU1051 |
||
7962 | 3487 00a4 2368 ldr r3, [r4] |
||
7963 | 3488 00a6 5B69 ldr r3, [r3, #20] |
||
7964 | 3489 00a8 03F04003 and r3, r3, #64 |
||
7965 | 3490 .LVL261: |
||
7966 | 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7967 | 3491 .loc 1 2080 7 is_stmt 1 view .LVU1052 |
||
7968 | 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7969 | 3492 .loc 1 2080 18 is_stmt 0 view .LVU1053 |
||
7970 | 3493 00ac E26B ldr r2, [r4, #60] |
||
7971 | 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7972 | 3494 .loc 1 2080 10 view .LVU1054 |
||
7973 | 3495 00ae 12F0080F tst r2, #8 |
||
7974 | 3496 00b2 00D1 bne .L226 |
||
7975 | 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7976 | 3497 .loc 1 2080 62 discriminator 1 view .LVU1055 |
||
7977 | 3498 00b4 23B3 cbz r3, .L227 |
||
7978 | 3499 .L226: |
||
7979 | 2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7980 | 3500 .loc 1 2085 9 is_stmt 1 view .LVU1056 |
||
7981 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 134 |
||
7982 | |||
7983 | |||
7984 | 3501 00b6 2046 mov r0, r4 |
||
7985 | 3502 00b8 FFF7FEFF bl UART_EndRxTransfer |
||
7986 | 3503 .LVL262: |
||
7987 | 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7988 | 3504 .loc 1 2088 9 view .LVU1057 |
||
7989 | 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7990 | 3505 .loc 1 2088 13 is_stmt 0 view .LVU1058 |
||
7991 | 3506 00bc 2368 ldr r3, [r4] |
||
7992 | 3507 00be 5A69 ldr r2, [r3, #20] |
||
7993 | 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
7994 | 3508 .loc 1 2088 12 view .LVU1059 |
||
7995 | 3509 00c0 12F0400F tst r2, #64 |
||
7996 | 3510 00c4 18D0 beq .L228 |
||
7997 | 2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
7998 | 3511 .loc 1 2090 11 is_stmt 1 view .LVU1060 |
||
7999 | 3512 00c6 5A69 ldr r2, [r3, #20] |
||
8000 | 3513 00c8 22F04002 bic r2, r2, #64 |
||
8001 | 3514 00cc 5A61 str r2, [r3, #20] |
||
8002 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8003 | 3515 .loc 1 2093 11 view .LVU1061 |
||
8004 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8005 | 3516 .loc 1 2093 20 is_stmt 0 view .LVU1062 |
||
8006 | 3517 00ce 636B ldr r3, [r4, #52] |
||
8007 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8008 | 3518 .loc 1 2093 14 view .LVU1063 |
||
8009 | 3519 00d0 73B1 cbz r3, .L229 |
||
8010 | 2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK) |
||
8011 | 3520 .loc 1 2097 13 is_stmt 1 view .LVU1064 |
||
8012 | 2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK) |
||
8013 | 3521 .loc 1 2097 46 is_stmt 0 view .LVU1065 |
||
8014 | 3522 00d2 124A ldr r2, .L236 |
||
8015 | 3523 00d4 5A63 str r2, [r3, #52] |
||
8016 | 2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8017 | 3524 .loc 1 2098 13 is_stmt 1 view .LVU1066 |
||
8018 | 2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8019 | 3525 .loc 1 2098 17 is_stmt 0 view .LVU1067 |
||
8020 | 3526 00d6 606B ldr r0, [r4, #52] |
||
8021 | 3527 00d8 FFF7FEFF bl HAL_DMA_Abort_IT |
||
8022 | 3528 .LVL263: |
||
8023 | 2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8024 | 3529 .loc 1 2098 16 view .LVU1068 |
||
8025 | 3530 00dc 0028 cmp r0, #0 |
||
8026 | 3531 00de B1D0 beq .L215 |
||
8027 | 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8028 | 3532 .loc 1 2101 15 is_stmt 1 view .LVU1069 |
||
8029 | 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8030 | 3533 .loc 1 2101 20 is_stmt 0 view .LVU1070 |
||
8031 | 3534 00e0 606B ldr r0, [r4, #52] |
||
8032 | 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8033 | 3535 .loc 1 2101 28 view .LVU1071 |
||
8034 | 3536 00e2 436B ldr r3, [r0, #52] |
||
8035 | 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8036 | 3537 .loc 1 2101 15 view .LVU1072 |
||
8037 | 3538 00e4 9847 blx r3 |
||
8038 | 3539 .LVL264: |
||
8039 | 3540 00e6 ADE7 b .L215 |
||
8040 | 3541 .LVL265: |
||
8041 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 135 |
||
8042 | |||
8043 | |||
8044 | 3542 .L235: |
||
8045 | 2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8046 | 3543 .loc 1 2074 9 is_stmt 1 view .LVU1073 |
||
8047 | 3544 00e8 2046 mov r0, r4 |
||
8048 | 3545 00ea FFF7FEFF bl UART_Receive_IT |
||
8049 | 3546 .LVL266: |
||
8050 | 2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8051 | 3547 .loc 1 2074 9 is_stmt 0 view .LVU1074 |
||
8052 | 3548 00ee D9E7 b .L225 |
||
8053 | 3549 .LVL267: |
||
8054 | 3550 .L229: |
||
8055 | 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8056 | 3551 .loc 1 2112 13 is_stmt 1 view .LVU1075 |
||
8057 | 3552 00f0 2046 mov r0, r4 |
||
8058 | 3553 00f2 FFF7FEFF bl HAL_UART_ErrorCallback |
||
8059 | 3554 .LVL268: |
||
8060 | 3555 00f6 A5E7 b .L215 |
||
8061 | 3556 .L228: |
||
8062 | 2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8063 | 3557 .loc 1 2124 11 view .LVU1076 |
||
8064 | 3558 00f8 2046 mov r0, r4 |
||
8065 | 3559 00fa FFF7FEFF bl HAL_UART_ErrorCallback |
||
8066 | 3560 .LVL269: |
||
8067 | 3561 00fe A1E7 b .L215 |
||
8068 | 3562 .LVL270: |
||
8069 | 3563 .L227: |
||
8070 | 2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8071 | 3564 .loc 1 2137 9 view .LVU1077 |
||
8072 | 3565 0100 2046 mov r0, r4 |
||
8073 | 3566 0102 FFF7FEFF bl HAL_UART_ErrorCallback |
||
8074 | 3567 .LVL271: |
||
8075 | 2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8076 | 3568 .loc 1 2140 9 view .LVU1078 |
||
8077 | 2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8078 | 3569 .loc 1 2140 26 is_stmt 0 view .LVU1079 |
||
8079 | 3570 0106 0023 movs r3, #0 |
||
8080 | 3571 0108 E363 str r3, [r4, #60] |
||
8081 | 2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } /* End if some error occurs */ |
||
8082 | 3572 .loc 1 2143 5 is_stmt 1 view .LVU1080 |
||
8083 | 3573 010a 9BE7 b .L215 |
||
8084 | 3574 .LVL272: |
||
8085 | 3575 .L233: |
||
8086 | 2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
8087 | 3576 .loc 1 2149 5 view .LVU1081 |
||
8088 | 3577 010c 2046 mov r0, r4 |
||
8089 | 3578 .LVL273: |
||
8090 | 2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
8091 | 3579 .loc 1 2149 5 is_stmt 0 view .LVU1082 |
||
8092 | 3580 010e FFF7FEFF bl UART_Transmit_IT |
||
8093 | 3581 .LVL274: |
||
8094 | 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8095 | 3582 .loc 1 2150 5 is_stmt 1 view .LVU1083 |
||
8096 | 3583 0112 97E7 b .L215 |
||
8097 | 3584 .LVL275: |
||
8098 | 3585 .L234: |
||
8099 | 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
8100 | 3586 .loc 1 2156 5 view .LVU1084 |
||
8101 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 136 |
||
8102 | |||
8103 | |||
8104 | 3587 0114 2046 mov r0, r4 |
||
8105 | 3588 .LVL276: |
||
8106 | 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return; |
||
8107 | 3589 .loc 1 2156 5 is_stmt 0 view .LVU1085 |
||
8108 | 3590 0116 FFF7FEFF bl UART_EndTransmit_IT |
||
8109 | 3591 .LVL277: |
||
8110 | 2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8111 | 3592 .loc 1 2157 5 is_stmt 1 view .LVU1086 |
||
8112 | 3593 011a 93E7 b .L215 |
||
8113 | 3594 .L237: |
||
8114 | 3595 .align 2 |
||
8115 | 3596 .L236: |
||
8116 | 3597 011c 00000000 .word UART_DMAAbortOnError |
||
8117 | 3598 .cfi_endproc |
||
8118 | 3599 .LFE87: |
||
8119 | 3601 .section .text.UART_DMAAbortOnError,"ax",%progbits |
||
8120 | 3602 .align 1 |
||
8121 | 3603 .syntax unified |
||
8122 | 3604 .thumb |
||
8123 | 3605 .thumb_func |
||
8124 | 3606 .fpu softvfp |
||
8125 | 3608 UART_DMAAbortOnError: |
||
8126 | 3609 .LVL278: |
||
8127 | 3610 .LFB111: |
||
8128 | 2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8129 | 3611 .loc 1 2754 1 view -0 |
||
8130 | 3612 .cfi_startproc |
||
8131 | 3613 @ args = 0, pretend = 0, frame = 0 |
||
8132 | 3614 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8133 | 2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8134 | 3615 .loc 1 2754 1 is_stmt 0 view .LVU1088 |
||
8135 | 3616 0000 08B5 push {r3, lr} |
||
8136 | 3617 .LCFI39: |
||
8137 | 3618 .cfi_def_cfa_offset 8 |
||
8138 | 3619 .cfi_offset 3, -8 |
||
8139 | 3620 .cfi_offset 14, -4 |
||
8140 | 2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8141 | 3621 .loc 1 2755 3 is_stmt 1 view .LVU1089 |
||
8142 | 2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8143 | 3622 .loc 1 2755 23 is_stmt 0 view .LVU1090 |
||
8144 | 3623 0002 406A ldr r0, [r0, #36] |
||
8145 | 3624 .LVL279: |
||
8146 | 2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
8147 | 3625 .loc 1 2756 3 is_stmt 1 view .LVU1091 |
||
8148 | 2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U; |
||
8149 | 3626 .loc 1 2756 22 is_stmt 0 view .LVU1092 |
||
8150 | 3627 0004 0023 movs r3, #0 |
||
8151 | 3628 0006 C385 strh r3, [r0, #46] @ movhi |
||
8152 | 2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8153 | 3629 .loc 1 2757 3 is_stmt 1 view .LVU1093 |
||
8154 | 2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8155 | 3630 .loc 1 2757 22 is_stmt 0 view .LVU1094 |
||
8156 | 3631 0008 C384 strh r3, [r0, #38] @ movhi |
||
8157 | 2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8158 | 3632 .loc 1 2764 3 is_stmt 1 view .LVU1095 |
||
8159 | 3633 000a FFF7FEFF bl HAL_UART_ErrorCallback |
||
8160 | 3634 .LVL280: |
||
8161 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 137 |
||
8162 | |||
8163 | |||
8164 | 2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8165 | 3635 .loc 1 2766 1 is_stmt 0 view .LVU1096 |
||
8166 | 3636 000e 08BD pop {r3, pc} |
||
8167 | 3637 .cfi_endproc |
||
8168 | 3638 .LFE111: |
||
8169 | 3640 .section .text.HAL_UART_AbortCpltCallback,"ax",%progbits |
||
8170 | 3641 .align 1 |
||
8171 | 3642 .weak HAL_UART_AbortCpltCallback |
||
8172 | 3643 .syntax unified |
||
8173 | 3644 .thumb |
||
8174 | 3645 .thumb_func |
||
8175 | 3646 .fpu softvfp |
||
8176 | 3648 HAL_UART_AbortCpltCallback: |
||
8177 | 3649 .LVL281: |
||
8178 | 3650 .LFB93: |
||
8179 | 2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
8180 | 3651 .loc 1 2242 1 is_stmt 1 view -0 |
||
8181 | 3652 .cfi_startproc |
||
8182 | 3653 @ args = 0, pretend = 0, frame = 0 |
||
8183 | 3654 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8184 | 3655 @ link register save eliminated. |
||
8185 | 2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8186 | 3656 .loc 1 2244 3 view .LVU1098 |
||
8187 | 2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8188 | 3657 .loc 1 2249 1 is_stmt 0 view .LVU1099 |
||
8189 | 3658 0000 7047 bx lr |
||
8190 | 3659 .cfi_endproc |
||
8191 | 3660 .LFE93: |
||
8192 | 3662 .section .text.HAL_UART_Abort_IT,"ax",%progbits |
||
8193 | 3663 .align 1 |
||
8194 | 3664 .global HAL_UART_Abort_IT |
||
8195 | 3665 .syntax unified |
||
8196 | 3666 .thumb |
||
8197 | 3667 .thumb_func |
||
8198 | 3668 .fpu softvfp |
||
8199 | 3670 HAL_UART_Abort_IT: |
||
8200 | 3671 .LVL282: |
||
8201 | 3672 .LFB84: |
||
8202 | 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t AbortCplt = 0x01U; |
||
8203 | 3673 .loc 1 1747 1 is_stmt 1 view -0 |
||
8204 | 3674 .cfi_startproc |
||
8205 | 3675 @ args = 0, pretend = 0, frame = 0 |
||
8206 | 3676 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8207 | 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t AbortCplt = 0x01U; |
||
8208 | 3677 .loc 1 1747 1 is_stmt 0 view .LVU1101 |
||
8209 | 3678 0000 10B5 push {r4, lr} |
||
8210 | 3679 .LCFI40: |
||
8211 | 3680 .cfi_def_cfa_offset 8 |
||
8212 | 3681 .cfi_offset 4, -8 |
||
8213 | 3682 .cfi_offset 14, -4 |
||
8214 | 3683 0002 0446 mov r4, r0 |
||
8215 | 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8216 | 3684 .loc 1 1748 3 is_stmt 1 view .LVU1102 |
||
8217 | 3685 .LVL283: |
||
8218 | 1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
8219 | 3686 .loc 1 1751 3 view .LVU1103 |
||
8220 | 3687 0004 0268 ldr r2, [r0] |
||
8221 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 138 |
||
8222 | |||
8223 | |||
8224 | 3688 0006 D368 ldr r3, [r2, #12] |
||
8225 | 3689 0008 23F4F073 bic r3, r3, #480 |
||
8226 | 3690 000c D360 str r3, [r2, #12] |
||
8227 | 1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8228 | 3691 .loc 1 1752 3 view .LVU1104 |
||
8229 | 3692 000e 0268 ldr r2, [r0] |
||
8230 | 3693 0010 5369 ldr r3, [r2, #20] |
||
8231 | 3694 0012 23F00103 bic r3, r3, #1 |
||
8232 | 3695 0016 5361 str r3, [r2, #20] |
||
8233 | 1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8234 | 3696 .loc 1 1757 3 view .LVU1105 |
||
8235 | 1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8236 | 3697 .loc 1 1757 12 is_stmt 0 view .LVU1106 |
||
8237 | 3698 0018 036B ldr r3, [r0, #48] |
||
8238 | 1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8239 | 3699 .loc 1 1757 6 view .LVU1107 |
||
8240 | 3700 001a 33B1 cbz r3, .L242 |
||
8241 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8242 | 3701 .loc 1 1761 5 is_stmt 1 view .LVU1108 |
||
8243 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8244 | 3702 .loc 1 1761 9 is_stmt 0 view .LVU1109 |
||
8245 | 3703 001c 0268 ldr r2, [r0] |
||
8246 | 3704 001e 5269 ldr r2, [r2, #20] |
||
8247 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8248 | 3705 .loc 1 1761 8 view .LVU1110 |
||
8249 | 3706 0020 12F0800F tst r2, #128 |
||
8250 | 3707 0024 1DD0 beq .L243 |
||
8251 | 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8252 | 3708 .loc 1 1763 7 is_stmt 1 view .LVU1111 |
||
8253 | 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8254 | 3709 .loc 1 1763 40 is_stmt 0 view .LVU1112 |
||
8255 | 3710 0026 254A ldr r2, .L254 |
||
8256 | 3711 0028 5A63 str r2, [r3, #52] |
||
8257 | 3712 .L242: |
||
8258 | 1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8259 | 3713 .loc 1 1771 3 is_stmt 1 view .LVU1113 |
||
8260 | 1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8261 | 3714 .loc 1 1771 12 is_stmt 0 view .LVU1114 |
||
8262 | 3715 002a 636B ldr r3, [r4, #52] |
||
8263 | 1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8264 | 3716 .loc 1 1771 6 view .LVU1115 |
||
8265 | 3717 002c 33B1 cbz r3, .L244 |
||
8266 | 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8267 | 3718 .loc 1 1775 5 is_stmt 1 view .LVU1116 |
||
8268 | 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8269 | 3719 .loc 1 1775 9 is_stmt 0 view .LVU1117 |
||
8270 | 3720 002e 2268 ldr r2, [r4] |
||
8271 | 3721 0030 5269 ldr r2, [r2, #20] |
||
8272 | 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8273 | 3722 .loc 1 1775 8 view .LVU1118 |
||
8274 | 3723 0032 12F0400F tst r2, #64 |
||
8275 | 3724 0036 17D0 beq .L245 |
||
8276 | 1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8277 | 3725 .loc 1 1777 7 is_stmt 1 view .LVU1119 |
||
8278 | 1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8279 | 3726 .loc 1 1777 40 is_stmt 0 view .LVU1120 |
||
8280 | 3727 0038 214A ldr r2, .L254+4 |
||
8281 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 139 |
||
8282 | |||
8283 | |||
8284 | 3728 003a 5A63 str r2, [r3, #52] |
||
8285 | 3729 .L244: |
||
8286 | 1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8287 | 3730 .loc 1 1786 3 is_stmt 1 view .LVU1121 |
||
8288 | 1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8289 | 3731 .loc 1 1786 7 is_stmt 0 view .LVU1122 |
||
8290 | 3732 003c 2368 ldr r3, [r4] |
||
8291 | 3733 003e 5A69 ldr r2, [r3, #20] |
||
8292 | 1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8293 | 3734 .loc 1 1786 6 view .LVU1123 |
||
8294 | 3735 0040 12F0800F tst r2, #128 |
||
8295 | 3736 0044 13D0 beq .L250 |
||
8296 | 1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8297 | 3737 .loc 1 1789 5 is_stmt 1 view .LVU1124 |
||
8298 | 3738 0046 5A69 ldr r2, [r3, #20] |
||
8299 | 3739 0048 22F08002 bic r2, r2, #128 |
||
8300 | 3740 004c 5A61 str r2, [r3, #20] |
||
8301 | 1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8302 | 3741 .loc 1 1792 5 view .LVU1125 |
||
8303 | 1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8304 | 3742 .loc 1 1792 14 is_stmt 0 view .LVU1126 |
||
8305 | 3743 004e 206B ldr r0, [r4, #48] |
||
8306 | 3744 .LVL284: |
||
8307 | 1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8308 | 3745 .loc 1 1792 8 view .LVU1127 |
||
8309 | 3746 0050 60B3 cbz r0, .L251 |
||
8310 | 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8311 | 3747 .loc 1 1798 7 is_stmt 1 view .LVU1128 |
||
8312 | 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8313 | 3748 .loc 1 1798 11 is_stmt 0 view .LVU1129 |
||
8314 | 3749 0052 FFF7FEFF bl HAL_DMA_Abort_IT |
||
8315 | 3750 .LVL285: |
||
8316 | 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8317 | 3751 .loc 1 1798 10 view .LVU1130 |
||
8318 | 3752 0056 58B3 cbz r0, .L252 |
||
8319 | 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8320 | 3753 .loc 1 1800 9 is_stmt 1 view .LVU1131 |
||
8321 | 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8322 | 3754 .loc 1 1800 14 is_stmt 0 view .LVU1132 |
||
8323 | 3755 0058 236B ldr r3, [r4, #48] |
||
8324 | 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8325 | 3756 .loc 1 1800 42 view .LVU1133 |
||
8326 | 3757 005a 0022 movs r2, #0 |
||
8327 | 3758 005c 5A63 str r2, [r3, #52] |
||
8328 | 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8329 | 3759 .loc 1 1748 12 view .LVU1134 |
||
8330 | 3760 005e 0121 movs r1, #1 |
||
8331 | 3761 0060 06E0 b .L246 |
||
8332 | 3762 .LVL286: |
||
8333 | 3763 .L243: |
||
8334 | 1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8335 | 3764 .loc 1 1767 7 is_stmt 1 view .LVU1135 |
||
8336 | 1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8337 | 3765 .loc 1 1767 40 is_stmt 0 view .LVU1136 |
||
8338 | 3766 0062 0022 movs r2, #0 |
||
8339 | 3767 0064 5A63 str r2, [r3, #52] |
||
8340 | 3768 0066 E0E7 b .L242 |
||
8341 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 140 |
||
8342 | |||
8343 | |||
8344 | 3769 .L245: |
||
8345 | 1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8346 | 3770 .loc 1 1781 7 is_stmt 1 view .LVU1137 |
||
8347 | 1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8348 | 3771 .loc 1 1781 40 is_stmt 0 view .LVU1138 |
||
8349 | 3772 0068 0022 movs r2, #0 |
||
8350 | 3773 006a 5A63 str r2, [r3, #52] |
||
8351 | 3774 006c E6E7 b .L244 |
||
8352 | 3775 .L250: |
||
8353 | 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8354 | 3776 .loc 1 1748 12 view .LVU1139 |
||
8355 | 3777 006e 0121 movs r1, #1 |
||
8356 | 3778 .LVL287: |
||
8357 | 3779 .L246: |
||
8358 | 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8359 | 3780 .loc 1 1810 3 is_stmt 1 view .LVU1140 |
||
8360 | 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8361 | 3781 .loc 1 1810 7 is_stmt 0 view .LVU1141 |
||
8362 | 3782 0070 2368 ldr r3, [r4] |
||
8363 | 3783 0072 5A69 ldr r2, [r3, #20] |
||
8364 | 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8365 | 3784 .loc 1 1810 6 view .LVU1142 |
||
8366 | 3785 0074 12F0400F tst r2, #64 |
||
8367 | 3786 0078 1CD0 beq .L247 |
||
8368 | 1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8369 | 3787 .loc 1 1812 5 is_stmt 1 view .LVU1143 |
||
8370 | 3788 007a 5A69 ldr r2, [r3, #20] |
||
8371 | 3789 007c 22F04002 bic r2, r2, #64 |
||
8372 | 3790 0080 5A61 str r2, [r3, #20] |
||
8373 | 1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8374 | 3791 .loc 1 1815 5 view .LVU1144 |
||
8375 | 1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8376 | 3792 .loc 1 1815 14 is_stmt 0 view .LVU1145 |
||
8377 | 3793 0082 606B ldr r0, [r4, #52] |
||
8378 | 1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8379 | 3794 .loc 1 1815 8 view .LVU1146 |
||
8380 | 3795 0084 B0B1 cbz r0, .L247 |
||
8381 | 1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8382 | 3796 .loc 1 1821 7 is_stmt 1 view .LVU1147 |
||
8383 | 1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8384 | 3797 .loc 1 1821 11 is_stmt 0 view .LVU1148 |
||
8385 | 3798 0086 FFF7FEFF bl HAL_DMA_Abort_IT |
||
8386 | 3799 .LVL288: |
||
8387 | 1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8388 | 3800 .loc 1 1821 10 view .LVU1149 |
||
8389 | 3801 008a A8B1 cbz r0, .L248 |
||
8390 | 1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x01U; |
||
8391 | 3802 .loc 1 1823 9 is_stmt 1 view .LVU1150 |
||
8392 | 1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x01U; |
||
8393 | 3803 .loc 1 1823 14 is_stmt 0 view .LVU1151 |
||
8394 | 3804 008c 636B ldr r3, [r4, #52] |
||
8395 | 1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x01U; |
||
8396 | 3805 .loc 1 1823 42 view .LVU1152 |
||
8397 | 3806 008e 0022 movs r2, #0 |
||
8398 | 3807 0090 5A63 str r2, [r3, #52] |
||
8399 | 1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8400 | 3808 .loc 1 1824 9 is_stmt 1 view .LVU1153 |
||
8401 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 141 |
||
8402 | |||
8403 | |||
8404 | 3809 .LVL289: |
||
8405 | 1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8406 | 3810 .loc 1 1834 3 view .LVU1154 |
||
8407 | 3811 .L249: |
||
8408 | 1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8409 | 3812 .loc 1 1837 5 view .LVU1155 |
||
8410 | 1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8411 | 3813 .loc 1 1837 24 is_stmt 0 view .LVU1156 |
||
8412 | 3814 0092 0023 movs r3, #0 |
||
8413 | 3815 0094 E384 strh r3, [r4, #38] @ movhi |
||
8414 | 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8415 | 3816 .loc 1 1838 5 is_stmt 1 view .LVU1157 |
||
8416 | 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8417 | 3817 .loc 1 1838 24 is_stmt 0 view .LVU1158 |
||
8418 | 3818 0096 E385 strh r3, [r4, #46] @ movhi |
||
8419 | 1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8420 | 3819 .loc 1 1841 5 is_stmt 1 view .LVU1159 |
||
8421 | 1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8422 | 3820 .loc 1 1841 22 is_stmt 0 view .LVU1160 |
||
8423 | 3821 0098 E363 str r3, [r4, #60] |
||
8424 | 1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
8425 | 3822 .loc 1 1844 5 is_stmt 1 view .LVU1161 |
||
8426 | 1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
8427 | 3823 .loc 1 1844 20 is_stmt 0 view .LVU1162 |
||
8428 | 3824 009a 2023 movs r3, #32 |
||
8429 | 3825 009c 84F83930 strb r3, [r4, #57] |
||
8430 | 1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8431 | 3826 .loc 1 1845 5 is_stmt 1 view .LVU1163 |
||
8432 | 1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8433 | 3827 .loc 1 1845 20 is_stmt 0 view .LVU1164 |
||
8434 | 3828 00a0 84F83A30 strb r3, [r4, #58] |
||
8435 | 1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8436 | 3829 .loc 1 1853 5 is_stmt 1 view .LVU1165 |
||
8437 | 3830 00a4 2046 mov r0, r4 |
||
8438 | 3831 00a6 FFF7FEFF bl HAL_UART_AbortCpltCallback |
||
8439 | 3832 .LVL290: |
||
8440 | 3833 00aa 05E0 b .L248 |
||
8441 | 3834 .LVL291: |
||
8442 | 3835 .L251: |
||
8443 | 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8444 | 3836 .loc 1 1748 12 is_stmt 0 view .LVU1166 |
||
8445 | 3837 00ac 0121 movs r1, #1 |
||
8446 | 3838 00ae DFE7 b .L246 |
||
8447 | 3839 .L252: |
||
8448 | 1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8449 | 3840 .loc 1 1804 19 view .LVU1167 |
||
8450 | 3841 00b0 0021 movs r1, #0 |
||
8451 | 3842 00b2 DDE7 b .L246 |
||
8452 | 3843 .LVL292: |
||
8453 | 3844 .L247: |
||
8454 | 1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8455 | 3845 .loc 1 1834 3 is_stmt 1 view .LVU1168 |
||
8456 | 1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8457 | 3846 .loc 1 1834 6 is_stmt 0 view .LVU1169 |
||
8458 | 3847 00b4 0029 cmp r1, #0 |
||
8459 | 3848 00b6 ECD1 bne .L249 |
||
8460 | 3849 .LVL293: |
||
8461 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 142 |
||
8462 | |||
8463 | |||
8464 | 3850 .L248: |
||
8465 | 1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8466 | 3851 .loc 1 1857 3 is_stmt 1 view .LVU1170 |
||
8467 | 1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8468 | 3852 .loc 1 1858 1 is_stmt 0 view .LVU1171 |
||
8469 | 3853 00b8 0020 movs r0, #0 |
||
8470 | 3854 00ba 10BD pop {r4, pc} |
||
8471 | 3855 .LVL294: |
||
8472 | 3856 .L255: |
||
8473 | 1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8474 | 3857 .loc 1 1858 1 view .LVU1172 |
||
8475 | 3858 .align 2 |
||
8476 | 3859 .L254: |
||
8477 | 3860 00bc 00000000 .word UART_DMATxAbortCallback |
||
8478 | 3861 00c0 00000000 .word UART_DMARxAbortCallback |
||
8479 | 3862 .cfi_endproc |
||
8480 | 3863 .LFE84: |
||
8481 | 3865 .section .text.UART_DMARxAbortCallback,"ax",%progbits |
||
8482 | 3866 .align 1 |
||
8483 | 3867 .syntax unified |
||
8484 | 3868 .thumb |
||
8485 | 3869 .thumb_func |
||
8486 | 3870 .fpu softvfp |
||
8487 | 3872 UART_DMARxAbortCallback: |
||
8488 | 3873 .LVL295: |
||
8489 | 3874 .LFB113: |
||
8490 | 2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8491 | 3875 .loc 1 2823 1 is_stmt 1 view -0 |
||
8492 | 3876 .cfi_startproc |
||
8493 | 3877 @ args = 0, pretend = 0, frame = 0 |
||
8494 | 3878 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8495 | 2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8496 | 3879 .loc 1 2823 1 is_stmt 0 view .LVU1174 |
||
8497 | 3880 0000 08B5 push {r3, lr} |
||
8498 | 3881 .LCFI41: |
||
8499 | 3882 .cfi_def_cfa_offset 8 |
||
8500 | 3883 .cfi_offset 3, -8 |
||
8501 | 3884 .cfi_offset 14, -4 |
||
8502 | 2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8503 | 3885 .loc 1 2824 3 is_stmt 1 view .LVU1175 |
||
8504 | 2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8505 | 3886 .loc 1 2824 23 is_stmt 0 view .LVU1176 |
||
8506 | 3887 0002 406A ldr r0, [r0, #36] |
||
8507 | 3888 .LVL296: |
||
8508 | 2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8509 | 3889 .loc 1 2826 3 is_stmt 1 view .LVU1177 |
||
8510 | 2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8511 | 3890 .loc 1 2826 8 is_stmt 0 view .LVU1178 |
||
8512 | 3891 0004 436B ldr r3, [r0, #52] |
||
8513 | 2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8514 | 3892 .loc 1 2826 36 view .LVU1179 |
||
8515 | 3893 0006 0022 movs r2, #0 |
||
8516 | 3894 0008 5A63 str r2, [r3, #52] |
||
8517 | 2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8518 | 3895 .loc 1 2829 3 is_stmt 1 view .LVU1180 |
||
8519 | 2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8520 | 3896 .loc 1 2829 12 is_stmt 0 view .LVU1181 |
||
8521 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 143 |
||
8522 | |||
8523 | |||
8524 | 3897 000a 036B ldr r3, [r0, #48] |
||
8525 | 2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8526 | 3898 .loc 1 2829 6 view .LVU1182 |
||
8527 | 3899 000c 0BB1 cbz r3, .L257 |
||
8528 | 2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8529 | 3900 .loc 1 2831 5 is_stmt 1 view .LVU1183 |
||
8530 | 2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8531 | 3901 .loc 1 2831 22 is_stmt 0 view .LVU1184 |
||
8532 | 3902 000e 5B6B ldr r3, [r3, #52] |
||
8533 | 2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8534 | 3903 .loc 1 2831 8 view .LVU1185 |
||
8535 | 3904 0010 53B9 cbnz r3, .L256 |
||
8536 | 3905 .L257: |
||
8537 | 2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8538 | 3906 .loc 1 2838 3 is_stmt 1 view .LVU1186 |
||
8539 | 2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8540 | 3907 .loc 1 2838 22 is_stmt 0 view .LVU1187 |
||
8541 | 3908 0012 0023 movs r3, #0 |
||
8542 | 3909 0014 C384 strh r3, [r0, #38] @ movhi |
||
8543 | 2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8544 | 3910 .loc 1 2839 3 is_stmt 1 view .LVU1188 |
||
8545 | 2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8546 | 3911 .loc 1 2839 22 is_stmt 0 view .LVU1189 |
||
8547 | 3912 0016 C385 strh r3, [r0, #46] @ movhi |
||
8548 | 2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8549 | 3913 .loc 1 2842 3 is_stmt 1 view .LVU1190 |
||
8550 | 2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8551 | 3914 .loc 1 2842 20 is_stmt 0 view .LVU1191 |
||
8552 | 3915 0018 C363 str r3, [r0, #60] |
||
8553 | 2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
8554 | 3916 .loc 1 2845 3 is_stmt 1 view .LVU1192 |
||
8555 | 2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
8556 | 3917 .loc 1 2845 18 is_stmt 0 view .LVU1193 |
||
8557 | 3918 001a 2023 movs r3, #32 |
||
8558 | 3919 001c 80F83930 strb r3, [r0, #57] |
||
8559 | 2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8560 | 3920 .loc 1 2846 3 is_stmt 1 view .LVU1194 |
||
8561 | 2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8562 | 3921 .loc 1 2846 18 is_stmt 0 view .LVU1195 |
||
8563 | 3922 0020 80F83A30 strb r3, [r0, #58] |
||
8564 | 2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8565 | 3923 .loc 1 2854 3 is_stmt 1 view .LVU1196 |
||
8566 | 3924 0024 FFF7FEFF bl HAL_UART_AbortCpltCallback |
||
8567 | 3925 .LVL297: |
||
8568 | 3926 .L256: |
||
8569 | 2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8570 | 3927 .loc 1 2856 1 is_stmt 0 view .LVU1197 |
||
8571 | 3928 0028 08BD pop {r3, pc} |
||
8572 | 3929 .cfi_endproc |
||
8573 | 3930 .LFE113: |
||
8574 | 3932 .section .text.UART_DMATxAbortCallback,"ax",%progbits |
||
8575 | 3933 .align 1 |
||
8576 | 3934 .syntax unified |
||
8577 | 3935 .thumb |
||
8578 | 3936 .thumb_func |
||
8579 | 3937 .fpu softvfp |
||
8580 | 3939 UART_DMATxAbortCallback: |
||
8581 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 144 |
||
8582 | |||
8583 | |||
8584 | 3940 .LVL298: |
||
8585 | 3941 .LFB112: |
||
8586 | 2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8587 | 3942 .loc 1 2778 1 is_stmt 1 view -0 |
||
8588 | 3943 .cfi_startproc |
||
8589 | 3944 @ args = 0, pretend = 0, frame = 0 |
||
8590 | 3945 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8591 | 2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8592 | 3946 .loc 1 2778 1 is_stmt 0 view .LVU1199 |
||
8593 | 3947 0000 08B5 push {r3, lr} |
||
8594 | 3948 .LCFI42: |
||
8595 | 3949 .cfi_def_cfa_offset 8 |
||
8596 | 3950 .cfi_offset 3, -8 |
||
8597 | 3951 .cfi_offset 14, -4 |
||
8598 | 2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8599 | 3952 .loc 1 2779 3 is_stmt 1 view .LVU1200 |
||
8600 | 2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8601 | 3953 .loc 1 2779 23 is_stmt 0 view .LVU1201 |
||
8602 | 3954 0002 406A ldr r0, [r0, #36] |
||
8603 | 3955 .LVL299: |
||
8604 | 2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8605 | 3956 .loc 1 2781 3 is_stmt 1 view .LVU1202 |
||
8606 | 2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8607 | 3957 .loc 1 2781 8 is_stmt 0 view .LVU1203 |
||
8608 | 3958 0004 036B ldr r3, [r0, #48] |
||
8609 | 2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8610 | 3959 .loc 1 2781 36 view .LVU1204 |
||
8611 | 3960 0006 0022 movs r2, #0 |
||
8612 | 3961 0008 5A63 str r2, [r3, #52] |
||
8613 | 2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8614 | 3962 .loc 1 2784 3 is_stmt 1 view .LVU1205 |
||
8615 | 2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8616 | 3963 .loc 1 2784 12 is_stmt 0 view .LVU1206 |
||
8617 | 3964 000a 436B ldr r3, [r0, #52] |
||
8618 | 2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8619 | 3965 .loc 1 2784 6 view .LVU1207 |
||
8620 | 3966 000c 0BB1 cbz r3, .L261 |
||
8621 | 2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8622 | 3967 .loc 1 2786 5 is_stmt 1 view .LVU1208 |
||
8623 | 2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8624 | 3968 .loc 1 2786 22 is_stmt 0 view .LVU1209 |
||
8625 | 3969 000e 5B6B ldr r3, [r3, #52] |
||
8626 | 2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8627 | 3970 .loc 1 2786 8 view .LVU1210 |
||
8628 | 3971 0010 53B9 cbnz r3, .L260 |
||
8629 | 3972 .L261: |
||
8630 | 2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8631 | 3973 .loc 1 2793 3 is_stmt 1 view .LVU1211 |
||
8632 | 2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U; |
||
8633 | 3974 .loc 1 2793 22 is_stmt 0 view .LVU1212 |
||
8634 | 3975 0012 0023 movs r3, #0 |
||
8635 | 3976 0014 C384 strh r3, [r0, #38] @ movhi |
||
8636 | 2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8637 | 3977 .loc 1 2794 3 is_stmt 1 view .LVU1213 |
||
8638 | 2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8639 | 3978 .loc 1 2794 22 is_stmt 0 view .LVU1214 |
||
8640 | 3979 0016 C385 strh r3, [r0, #46] @ movhi |
||
8641 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 145 |
||
8642 | |||
8643 | |||
8644 | 2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8645 | 3980 .loc 1 2797 3 is_stmt 1 view .LVU1215 |
||
8646 | 2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8647 | 3981 .loc 1 2797 20 is_stmt 0 view .LVU1216 |
||
8648 | 3982 0018 C363 str r3, [r0, #60] |
||
8649 | 2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
8650 | 3983 .loc 1 2800 3 is_stmt 1 view .LVU1217 |
||
8651 | 2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY; |
||
8652 | 3984 .loc 1 2800 18 is_stmt 0 view .LVU1218 |
||
8653 | 3985 001a 2023 movs r3, #32 |
||
8654 | 3986 001c 80F83930 strb r3, [r0, #57] |
||
8655 | 2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8656 | 3987 .loc 1 2801 3 is_stmt 1 view .LVU1219 |
||
8657 | 2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8658 | 3988 .loc 1 2801 18 is_stmt 0 view .LVU1220 |
||
8659 | 3989 0020 80F83A30 strb r3, [r0, #58] |
||
8660 | 2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8661 | 3990 .loc 1 2809 3 is_stmt 1 view .LVU1221 |
||
8662 | 3991 0024 FFF7FEFF bl HAL_UART_AbortCpltCallback |
||
8663 | 3992 .LVL300: |
||
8664 | 3993 .L260: |
||
8665 | 2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8666 | 3994 .loc 1 2811 1 is_stmt 0 view .LVU1222 |
||
8667 | 3995 0028 08BD pop {r3, pc} |
||
8668 | 3996 .cfi_endproc |
||
8669 | 3997 .LFE112: |
||
8670 | 3999 .section .text.HAL_UART_AbortTransmitCpltCallback,"ax",%progbits |
||
8671 | 4000 .align 1 |
||
8672 | 4001 .weak HAL_UART_AbortTransmitCpltCallback |
||
8673 | 4002 .syntax unified |
||
8674 | 4003 .thumb |
||
8675 | 4004 .thumb_func |
||
8676 | 4005 .fpu softvfp |
||
8677 | 4007 HAL_UART_AbortTransmitCpltCallback: |
||
8678 | 4008 .LVL301: |
||
8679 | 4009 .LFB94: |
||
8680 | 2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
8681 | 4010 .loc 1 2257 1 is_stmt 1 view -0 |
||
8682 | 4011 .cfi_startproc |
||
8683 | 4012 @ args = 0, pretend = 0, frame = 0 |
||
8684 | 4013 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8685 | 4014 @ link register save eliminated. |
||
8686 | 2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8687 | 4015 .loc 1 2259 3 view .LVU1224 |
||
8688 | 2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8689 | 4016 .loc 1 2264 1 is_stmt 0 view .LVU1225 |
||
8690 | 4017 0000 7047 bx lr |
||
8691 | 4018 .cfi_endproc |
||
8692 | 4019 .LFE94: |
||
8693 | 4021 .section .text.HAL_UART_AbortTransmit_IT,"ax",%progbits |
||
8694 | 4022 .align 1 |
||
8695 | 4023 .global HAL_UART_AbortTransmit_IT |
||
8696 | 4024 .syntax unified |
||
8697 | 4025 .thumb |
||
8698 | 4026 .thumb_func |
||
8699 | 4027 .fpu softvfp |
||
8700 | 4029 HAL_UART_AbortTransmit_IT: |
||
8701 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 146 |
||
8702 | |||
8703 | |||
8704 | 4030 .LVL302: |
||
8705 | 4031 .LFB85: |
||
8706 | 1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */ |
||
8707 | 4032 .loc 1 1875 1 is_stmt 1 view -0 |
||
8708 | 4033 .cfi_startproc |
||
8709 | 4034 @ args = 0, pretend = 0, frame = 0 |
||
8710 | 4035 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8711 | 1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */ |
||
8712 | 4036 .loc 1 1875 1 is_stmt 0 view .LVU1227 |
||
8713 | 4037 0000 10B5 push {r4, lr} |
||
8714 | 4038 .LCFI43: |
||
8715 | 4039 .cfi_def_cfa_offset 8 |
||
8716 | 4040 .cfi_offset 4, -8 |
||
8717 | 4041 .cfi_offset 14, -4 |
||
8718 | 4042 0002 0446 mov r4, r0 |
||
8719 | 1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8720 | 4043 .loc 1 1877 3 is_stmt 1 view .LVU1228 |
||
8721 | 4044 0004 0268 ldr r2, [r0] |
||
8722 | 4045 0006 D368 ldr r3, [r2, #12] |
||
8723 | 4046 0008 23F0C003 bic r3, r3, #192 |
||
8724 | 4047 000c D360 str r3, [r2, #12] |
||
8725 | 1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8726 | 4048 .loc 1 1880 3 view .LVU1229 |
||
8727 | 1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8728 | 4049 .loc 1 1880 7 is_stmt 0 view .LVU1230 |
||
8729 | 4050 000e 0368 ldr r3, [r0] |
||
8730 | 4051 0010 5A69 ldr r2, [r3, #20] |
||
8731 | 1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8732 | 4052 .loc 1 1880 6 view .LVU1231 |
||
8733 | 4053 0012 12F0800F tst r2, #128 |
||
8734 | 4054 0016 17D0 beq .L266 |
||
8735 | 1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8736 | 4055 .loc 1 1882 5 is_stmt 1 view .LVU1232 |
||
8737 | 4056 0018 5A69 ldr r2, [r3, #20] |
||
8738 | 4057 001a 22F08002 bic r2, r2, #128 |
||
8739 | 4058 001e 5A61 str r2, [r3, #20] |
||
8740 | 1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8741 | 4059 .loc 1 1885 5 view .LVU1233 |
||
8742 | 1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8743 | 4060 .loc 1 1885 14 is_stmt 0 view .LVU1234 |
||
8744 | 4061 0020 036B ldr r3, [r0, #48] |
||
8745 | 1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8746 | 4062 .loc 1 1885 8 view .LVU1235 |
||
8747 | 4063 0022 4BB1 cbz r3, .L267 |
||
8748 | 1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8749 | 4064 .loc 1 1889 7 is_stmt 1 view .LVU1236 |
||
8750 | 1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8751 | 4065 .loc 1 1889 40 is_stmt 0 view .LVU1237 |
||
8752 | 4066 0024 0D4A ldr r2, .L270 |
||
8753 | 4067 0026 5A63 str r2, [r3, #52] |
||
8754 | 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8755 | 4068 .loc 1 1892 7 is_stmt 1 view .LVU1238 |
||
8756 | 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8757 | 4069 .loc 1 1892 11 is_stmt 0 view .LVU1239 |
||
8758 | 4070 0028 006B ldr r0, [r0, #48] |
||
8759 | 4071 .LVL303: |
||
8760 | 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8761 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 147 |
||
8762 | |||
8763 | |||
8764 | 4072 .loc 1 1892 11 view .LVU1240 |
||
8765 | 4073 002a FFF7FEFF bl HAL_DMA_Abort_IT |
||
8766 | 4074 .LVL304: |
||
8767 | 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8768 | 4075 .loc 1 1892 10 view .LVU1241 |
||
8769 | 4076 002e 90B1 cbz r0, .L268 |
||
8770 | 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8771 | 4077 .loc 1 1895 9 is_stmt 1 view .LVU1242 |
||
8772 | 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8773 | 4078 .loc 1 1895 14 is_stmt 0 view .LVU1243 |
||
8774 | 4079 0030 206B ldr r0, [r4, #48] |
||
8775 | 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8776 | 4080 .loc 1 1895 22 view .LVU1244 |
||
8777 | 4081 0032 436B ldr r3, [r0, #52] |
||
8778 | 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8779 | 4082 .loc 1 1895 9 view .LVU1245 |
||
8780 | 4083 0034 9847 blx r3 |
||
8781 | 4084 .LVL305: |
||
8782 | 4085 0036 0EE0 b .L268 |
||
8783 | 4086 .LVL306: |
||
8784 | 4087 .L267: |
||
8785 | 1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8786 | 4088 .loc 1 1901 7 is_stmt 1 view .LVU1246 |
||
8787 | 1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8788 | 4089 .loc 1 1901 26 is_stmt 0 view .LVU1247 |
||
8789 | 4090 0038 0023 movs r3, #0 |
||
8790 | 4091 003a C384 strh r3, [r0, #38] @ movhi |
||
8791 | 1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8792 | 4092 .loc 1 1904 7 is_stmt 1 view .LVU1248 |
||
8793 | 1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8794 | 4093 .loc 1 1904 21 is_stmt 0 view .LVU1249 |
||
8795 | 4094 003c 2023 movs r3, #32 |
||
8796 | 4095 003e 80F83930 strb r3, [r0, #57] |
||
8797 | 1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8798 | 4096 .loc 1 1912 7 is_stmt 1 view .LVU1250 |
||
8799 | 4097 0042 FFF7FEFF bl HAL_UART_AbortTransmitCpltCallback |
||
8800 | 4098 .LVL307: |
||
8801 | 1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8802 | 4099 .loc 1 1912 7 is_stmt 0 view .LVU1251 |
||
8803 | 4100 0046 06E0 b .L268 |
||
8804 | 4101 .LVL308: |
||
8805 | 4102 .L266: |
||
8806 | 1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8807 | 4103 .loc 1 1919 5 is_stmt 1 view .LVU1252 |
||
8808 | 1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8809 | 4104 .loc 1 1919 24 is_stmt 0 view .LVU1253 |
||
8810 | 4105 0048 0023 movs r3, #0 |
||
8811 | 4106 004a C384 strh r3, [r0, #38] @ movhi |
||
8812 | 1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8813 | 4107 .loc 1 1922 5 is_stmt 1 view .LVU1254 |
||
8814 | 1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8815 | 4108 .loc 1 1922 19 is_stmt 0 view .LVU1255 |
||
8816 | 4109 004c 2023 movs r3, #32 |
||
8817 | 4110 004e 80F83930 strb r3, [r0, #57] |
||
8818 | 1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8819 | 4111 .loc 1 1930 5 is_stmt 1 view .LVU1256 |
||
8820 | 4112 0052 FFF7FEFF bl HAL_UART_AbortTransmitCpltCallback |
||
8821 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 148 |
||
8822 | |||
8823 | |||
8824 | 4113 .LVL309: |
||
8825 | 4114 .L268: |
||
8826 | 1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8827 | 4115 .loc 1 1934 3 view .LVU1257 |
||
8828 | 1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8829 | 4116 .loc 1 1935 1 is_stmt 0 view .LVU1258 |
||
8830 | 4117 0056 0020 movs r0, #0 |
||
8831 | 4118 0058 10BD pop {r4, pc} |
||
8832 | 4119 .LVL310: |
||
8833 | 4120 .L271: |
||
8834 | 1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8835 | 4121 .loc 1 1935 1 view .LVU1259 |
||
8836 | 4122 005a 00BF .align 2 |
||
8837 | 4123 .L270: |
||
8838 | 4124 005c 00000000 .word UART_DMATxOnlyAbortCallback |
||
8839 | 4125 .cfi_endproc |
||
8840 | 4126 .LFE85: |
||
8841 | 4128 .section .text.UART_DMATxOnlyAbortCallback,"ax",%progbits |
||
8842 | 4129 .align 1 |
||
8843 | 4130 .syntax unified |
||
8844 | 4131 .thumb |
||
8845 | 4132 .thumb_func |
||
8846 | 4133 .fpu softvfp |
||
8847 | 4135 UART_DMATxOnlyAbortCallback: |
||
8848 | 4136 .LVL311: |
||
8849 | 4137 .LFB114: |
||
8850 | 2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8851 | 4138 .loc 1 2868 1 is_stmt 1 view -0 |
||
8852 | 4139 .cfi_startproc |
||
8853 | 4140 @ args = 0, pretend = 0, frame = 0 |
||
8854 | 4141 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8855 | 2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
8856 | 4142 .loc 1 2868 1 is_stmt 0 view .LVU1261 |
||
8857 | 4143 0000 08B5 push {r3, lr} |
||
8858 | 4144 .LCFI44: |
||
8859 | 4145 .cfi_def_cfa_offset 8 |
||
8860 | 4146 .cfi_offset 3, -8 |
||
8861 | 4147 .cfi_offset 14, -4 |
||
8862 | 2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8863 | 4148 .loc 1 2869 3 is_stmt 1 view .LVU1262 |
||
8864 | 2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8865 | 4149 .loc 1 2869 23 is_stmt 0 view .LVU1263 |
||
8866 | 4150 0002 406A ldr r0, [r0, #36] |
||
8867 | 4151 .LVL312: |
||
8868 | 2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8869 | 4152 .loc 1 2871 3 is_stmt 1 view .LVU1264 |
||
8870 | 2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8871 | 4153 .loc 1 2871 22 is_stmt 0 view .LVU1265 |
||
8872 | 4154 0004 0023 movs r3, #0 |
||
8873 | 4155 0006 C384 strh r3, [r0, #38] @ movhi |
||
8874 | 2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8875 | 4156 .loc 1 2874 3 is_stmt 1 view .LVU1266 |
||
8876 | 2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8877 | 4157 .loc 1 2874 17 is_stmt 0 view .LVU1267 |
||
8878 | 4158 0008 2023 movs r3, #32 |
||
8879 | 4159 000a 80F83930 strb r3, [r0, #57] |
||
8880 | 2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
8881 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 149 |
||
8882 | |||
8883 | |||
8884 | 4160 .loc 1 2882 3 is_stmt 1 view .LVU1268 |
||
8885 | 4161 000e FFF7FEFF bl HAL_UART_AbortTransmitCpltCallback |
||
8886 | 4162 .LVL313: |
||
8887 | 2884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8888 | 4163 .loc 1 2884 1 is_stmt 0 view .LVU1269 |
||
8889 | 4164 0012 08BD pop {r3, pc} |
||
8890 | 4165 .cfi_endproc |
||
8891 | 4166 .LFE114: |
||
8892 | 4168 .section .text.HAL_UART_AbortReceiveCpltCallback,"ax",%progbits |
||
8893 | 4169 .align 1 |
||
8894 | 4170 .weak HAL_UART_AbortReceiveCpltCallback |
||
8895 | 4171 .syntax unified |
||
8896 | 4172 .thumb |
||
8897 | 4173 .thumb_func |
||
8898 | 4174 .fpu softvfp |
||
8899 | 4176 HAL_UART_AbortReceiveCpltCallback: |
||
8900 | 4177 .LVL314: |
||
8901 | 4178 .LFB95: |
||
8902 | 2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */ |
||
8903 | 4179 .loc 1 2272 1 is_stmt 1 view -0 |
||
8904 | 4180 .cfi_startproc |
||
8905 | 4181 @ args = 0, pretend = 0, frame = 0 |
||
8906 | 4182 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8907 | 4183 @ link register save eliminated. |
||
8908 | 2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8909 | 4184 .loc 1 2274 3 view .LVU1271 |
||
8910 | 2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8911 | 4185 .loc 1 2279 1 is_stmt 0 view .LVU1272 |
||
8912 | 4186 0000 7047 bx lr |
||
8913 | 4187 .cfi_endproc |
||
8914 | 4188 .LFE95: |
||
8915 | 4190 .section .text.HAL_UART_AbortReceive_IT,"ax",%progbits |
||
8916 | 4191 .align 1 |
||
8917 | 4192 .global HAL_UART_AbortReceive_IT |
||
8918 | 4193 .syntax unified |
||
8919 | 4194 .thumb |
||
8920 | 4195 .thumb_func |
||
8921 | 4196 .fpu softvfp |
||
8922 | 4198 HAL_UART_AbortReceive_IT: |
||
8923 | 4199 .LVL315: |
||
8924 | 4200 .LFB86: |
||
8925 | 1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
8926 | 4201 .loc 1 1952 1 is_stmt 1 view -0 |
||
8927 | 4202 .cfi_startproc |
||
8928 | 4203 @ args = 0, pretend = 0, frame = 0 |
||
8929 | 4204 @ frame_needed = 0, uses_anonymous_args = 0 |
||
8930 | 1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ |
||
8931 | 4205 .loc 1 1952 1 is_stmt 0 view .LVU1274 |
||
8932 | 4206 0000 10B5 push {r4, lr} |
||
8933 | 4207 .LCFI45: |
||
8934 | 4208 .cfi_def_cfa_offset 8 |
||
8935 | 4209 .cfi_offset 4, -8 |
||
8936 | 4210 .cfi_offset 14, -4 |
||
8937 | 4211 0002 0446 mov r4, r0 |
||
8938 | 1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); |
||
8939 | 4212 .loc 1 1954 3 is_stmt 1 view .LVU1275 |
||
8940 | 4213 0004 0268 ldr r2, [r0] |
||
8941 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 150 |
||
8942 | |||
8943 | |||
8944 | 4214 0006 D368 ldr r3, [r2, #12] |
||
8945 | 4215 0008 23F49073 bic r3, r3, #288 |
||
8946 | 4216 000c D360 str r3, [r2, #12] |
||
8947 | 1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8948 | 4217 .loc 1 1955 3 view .LVU1276 |
||
8949 | 4218 000e 0268 ldr r2, [r0] |
||
8950 | 4219 0010 5369 ldr r3, [r2, #20] |
||
8951 | 4220 0012 23F00103 bic r3, r3, #1 |
||
8952 | 4221 0016 5361 str r3, [r2, #20] |
||
8953 | 1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8954 | 4222 .loc 1 1958 3 view .LVU1277 |
||
8955 | 1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8956 | 4223 .loc 1 1958 7 is_stmt 0 view .LVU1278 |
||
8957 | 4224 0018 0368 ldr r3, [r0] |
||
8958 | 4225 001a 5A69 ldr r2, [r3, #20] |
||
8959 | 1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8960 | 4226 .loc 1 1958 6 view .LVU1279 |
||
8961 | 4227 001c 12F0400F tst r2, #64 |
||
8962 | 4228 0020 17D0 beq .L276 |
||
8963 | 1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8964 | 4229 .loc 1 1960 5 is_stmt 1 view .LVU1280 |
||
8965 | 4230 0022 5A69 ldr r2, [r3, #20] |
||
8966 | 4231 0024 22F04002 bic r2, r2, #64 |
||
8967 | 4232 0028 5A61 str r2, [r3, #20] |
||
8968 | 1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8969 | 4233 .loc 1 1963 5 view .LVU1281 |
||
8970 | 1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8971 | 4234 .loc 1 1963 14 is_stmt 0 view .LVU1282 |
||
8972 | 4235 002a 436B ldr r3, [r0, #52] |
||
8973 | 1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8974 | 4236 .loc 1 1963 8 view .LVU1283 |
||
8975 | 4237 002c 4BB1 cbz r3, .L277 |
||
8976 | 1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8977 | 4238 .loc 1 1967 7 is_stmt 1 view .LVU1284 |
||
8978 | 1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
8979 | 4239 .loc 1 1967 40 is_stmt 0 view .LVU1285 |
||
8980 | 4240 002e 0D4A ldr r2, .L280 |
||
8981 | 4241 0030 5A63 str r2, [r3, #52] |
||
8982 | 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8983 | 4242 .loc 1 1970 7 is_stmt 1 view .LVU1286 |
||
8984 | 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8985 | 4243 .loc 1 1970 11 is_stmt 0 view .LVU1287 |
||
8986 | 4244 0032 406B ldr r0, [r0, #52] |
||
8987 | 4245 .LVL316: |
||
8988 | 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8989 | 4246 .loc 1 1970 11 view .LVU1288 |
||
8990 | 4247 0034 FFF7FEFF bl HAL_DMA_Abort_IT |
||
8991 | 4248 .LVL317: |
||
8992 | 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** { |
||
8993 | 4249 .loc 1 1970 10 view .LVU1289 |
||
8994 | 4250 0038 90B1 cbz r0, .L278 |
||
8995 | 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8996 | 4251 .loc 1 1973 9 is_stmt 1 view .LVU1290 |
||
8997 | 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
8998 | 4252 .loc 1 1973 14 is_stmt 0 view .LVU1291 |
||
8999 | 4253 003a 606B ldr r0, [r4, #52] |
||
9000 | 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9001 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 151 |
||
9002 | |||
9003 | |||
9004 | 4254 .loc 1 1973 22 view .LVU1292 |
||
9005 | 4255 003c 436B ldr r3, [r0, #52] |
||
9006 | 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9007 | 4256 .loc 1 1973 9 view .LVU1293 |
||
9008 | 4257 003e 9847 blx r3 |
||
9009 | 4258 .LVL318: |
||
9010 | 4259 0040 0EE0 b .L278 |
||
9011 | 4260 .LVL319: |
||
9012 | 4261 .L277: |
||
9013 | 1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9014 | 4262 .loc 1 1979 7 is_stmt 1 view .LVU1294 |
||
9015 | 1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9016 | 4263 .loc 1 1979 26 is_stmt 0 view .LVU1295 |
||
9017 | 4264 0042 0023 movs r3, #0 |
||
9018 | 4265 0044 C385 strh r3, [r0, #46] @ movhi |
||
9019 | 1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9020 | 4266 .loc 1 1982 7 is_stmt 1 view .LVU1296 |
||
9021 | 1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9022 | 4267 .loc 1 1982 22 is_stmt 0 view .LVU1297 |
||
9023 | 4268 0046 2023 movs r3, #32 |
||
9024 | 4269 0048 80F83A30 strb r3, [r0, #58] |
||
9025 | 1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
9026 | 4270 .loc 1 1990 7 is_stmt 1 view .LVU1298 |
||
9027 | 4271 004c FFF7FEFF bl HAL_UART_AbortReceiveCpltCallback |
||
9028 | 4272 .LVL320: |
||
9029 | 1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
9030 | 4273 .loc 1 1990 7 is_stmt 0 view .LVU1299 |
||
9031 | 4274 0050 06E0 b .L278 |
||
9032 | 4275 .LVL321: |
||
9033 | 4276 .L276: |
||
9034 | 1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9035 | 4277 .loc 1 1997 5 is_stmt 1 view .LVU1300 |
||
9036 | 1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9037 | 4278 .loc 1 1997 24 is_stmt 0 view .LVU1301 |
||
9038 | 4279 0052 0023 movs r3, #0 |
||
9039 | 4280 0054 C385 strh r3, [r0, #46] @ movhi |
||
9040 | 2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9041 | 4281 .loc 1 2000 5 is_stmt 1 view .LVU1302 |
||
9042 | 2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9043 | 4282 .loc 1 2000 20 is_stmt 0 view .LVU1303 |
||
9044 | 4283 0056 2023 movs r3, #32 |
||
9045 | 4284 0058 80F83A30 strb r3, [r0, #58] |
||
9046 | 2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
9047 | 4285 .loc 1 2008 5 is_stmt 1 view .LVU1304 |
||
9048 | 4286 005c FFF7FEFF bl HAL_UART_AbortReceiveCpltCallback |
||
9049 | 4287 .LVL322: |
||
9050 | 4288 .L278: |
||
9051 | 2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9052 | 4289 .loc 1 2012 3 view .LVU1305 |
||
9053 | 2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9054 | 4290 .loc 1 2013 1 is_stmt 0 view .LVU1306 |
||
9055 | 4291 0060 0020 movs r0, #0 |
||
9056 | 4292 0062 10BD pop {r4, pc} |
||
9057 | 4293 .LVL323: |
||
9058 | 4294 .L281: |
||
9059 | 2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9060 | 4295 .loc 1 2013 1 view .LVU1307 |
||
9061 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 152 |
||
9062 | |||
9063 | |||
9064 | 4296 .align 2 |
||
9065 | 4297 .L280: |
||
9066 | 4298 0064 00000000 .word UART_DMARxOnlyAbortCallback |
||
9067 | 4299 .cfi_endproc |
||
9068 | 4300 .LFE86: |
||
9069 | 4302 .section .text.UART_DMARxOnlyAbortCallback,"ax",%progbits |
||
9070 | 4303 .align 1 |
||
9071 | 4304 .syntax unified |
||
9072 | 4305 .thumb |
||
9073 | 4306 .thumb_func |
||
9074 | 4307 .fpu softvfp |
||
9075 | 4309 UART_DMARxOnlyAbortCallback: |
||
9076 | 4310 .LVL324: |
||
9077 | 4311 .LFB115: |
||
9078 | 2896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
9079 | 4312 .loc 1 2896 1 is_stmt 1 view -0 |
||
9080 | 4313 .cfi_startproc |
||
9081 | 4314 @ args = 0, pretend = 0, frame = 0 |
||
9082 | 4315 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9083 | 2896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; |
||
9084 | 4316 .loc 1 2896 1 is_stmt 0 view .LVU1309 |
||
9085 | 4317 0000 08B5 push {r3, lr} |
||
9086 | 4318 .LCFI46: |
||
9087 | 4319 .cfi_def_cfa_offset 8 |
||
9088 | 4320 .cfi_offset 3, -8 |
||
9089 | 4321 .cfi_offset 14, -4 |
||
9090 | 2897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9091 | 4322 .loc 1 2897 3 is_stmt 1 view .LVU1310 |
||
9092 | 2897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9093 | 4323 .loc 1 2897 23 is_stmt 0 view .LVU1311 |
||
9094 | 4324 0002 406A ldr r0, [r0, #36] |
||
9095 | 4325 .LVL325: |
||
9096 | 2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9097 | 4326 .loc 1 2899 3 is_stmt 1 view .LVU1312 |
||
9098 | 2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9099 | 4327 .loc 1 2899 22 is_stmt 0 view .LVU1313 |
||
9100 | 4328 0004 0023 movs r3, #0 |
||
9101 | 4329 0006 C385 strh r3, [r0, #46] @ movhi |
||
9102 | 2902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9103 | 4330 .loc 1 2902 3 is_stmt 1 view .LVU1314 |
||
9104 | 2902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9105 | 4331 .loc 1 2902 18 is_stmt 0 view .LVU1315 |
||
9106 | 4332 0008 2023 movs r3, #32 |
||
9107 | 4333 000a 80F83A30 strb r3, [r0, #58] |
||
9108 | 2910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ |
||
9109 | 4334 .loc 1 2910 3 is_stmt 1 view .LVU1316 |
||
9110 | 4335 000e FFF7FEFF bl HAL_UART_AbortReceiveCpltCallback |
||
9111 | 4336 .LVL326: |
||
9112 | 2912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9113 | 4337 .loc 1 2912 1 is_stmt 0 view .LVU1317 |
||
9114 | 4338 0012 08BD pop {r3, pc} |
||
9115 | 4339 .cfi_endproc |
||
9116 | 4340 .LFE115: |
||
9117 | 4342 .section .text.HAL_LIN_SendBreak,"ax",%progbits |
||
9118 | 4343 .align 1 |
||
9119 | 4344 .global HAL_LIN_SendBreak |
||
9120 | 4345 .syntax unified |
||
9121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 153 |
||
9122 | |||
9123 | |||
9124 | 4346 .thumb |
||
9125 | 4347 .thumb_func |
||
9126 | 4348 .fpu softvfp |
||
9127 | 4350 HAL_LIN_SendBreak: |
||
9128 | 4351 .LVL327: |
||
9129 | 4352 .LFB96: |
||
9130 | 2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
9131 | 4353 .loc 1 2311 1 is_stmt 1 view -0 |
||
9132 | 4354 .cfi_startproc |
||
9133 | 4355 @ args = 0, pretend = 0, frame = 0 |
||
9134 | 4356 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9135 | 4357 @ link register save eliminated. |
||
9136 | 2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9137 | 4358 .loc 1 2313 3 view .LVU1319 |
||
9138 | 2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9139 | 4359 .loc 1 2316 3 view .LVU1320 |
||
9140 | 2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9141 | 4360 .loc 1 2316 3 view .LVU1321 |
||
9142 | 4361 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
9143 | 4362 0004 012B cmp r3, #1 |
||
9144 | 4363 0006 12D0 beq .L286 |
||
9145 | 2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9146 | 4364 .loc 1 2316 3 discriminator 2 view .LVU1322 |
||
9147 | 4365 0008 0123 movs r3, #1 |
||
9148 | 4366 000a 80F83830 strb r3, [r0, #56] |
||
9149 | 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9150 | 4367 .loc 1 2318 3 discriminator 2 view .LVU1323 |
||
9151 | 2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9152 | 4368 .loc 1 2318 17 is_stmt 0 discriminator 2 view .LVU1324 |
||
9153 | 4369 000e 2423 movs r3, #36 |
||
9154 | 4370 0010 80F83930 strb r3, [r0, #57] |
||
9155 | 2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9156 | 4371 .loc 1 2321 3 is_stmt 1 discriminator 2 view .LVU1325 |
||
9157 | 4372 0014 0268 ldr r2, [r0] |
||
9158 | 4373 0016 D368 ldr r3, [r2, #12] |
||
9159 | 4374 0018 43F00103 orr r3, r3, #1 |
||
9160 | 4375 001c D360 str r3, [r2, #12] |
||
9161 | 2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9162 | 4376 .loc 1 2323 3 discriminator 2 view .LVU1326 |
||
9163 | 2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9164 | 4377 .loc 1 2323 17 is_stmt 0 discriminator 2 view .LVU1327 |
||
9165 | 4378 001e 2023 movs r3, #32 |
||
9166 | 4379 0020 80F83930 strb r3, [r0, #57] |
||
9167 | 2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9168 | 4380 .loc 1 2326 3 is_stmt 1 discriminator 2 view .LVU1328 |
||
9169 | 2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9170 | 4381 .loc 1 2326 3 discriminator 2 view .LVU1329 |
||
9171 | 4382 0024 0023 movs r3, #0 |
||
9172 | 4383 0026 80F83830 strb r3, [r0, #56] |
||
9173 | 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9174 | 4384 .loc 1 2328 3 discriminator 2 view .LVU1330 |
||
9175 | 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9176 | 4385 .loc 1 2328 10 is_stmt 0 discriminator 2 view .LVU1331 |
||
9177 | 4386 002a 1846 mov r0, r3 |
||
9178 | 4387 .LVL328: |
||
9179 | 2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9180 | 4388 .loc 1 2328 10 discriminator 2 view .LVU1332 |
||
9181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 154 |
||
9182 | |||
9183 | |||
9184 | 4389 002c 7047 bx lr |
||
9185 | 4390 .LVL329: |
||
9186 | 4391 .L286: |
||
9187 | 2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9188 | 4392 .loc 1 2316 3 view .LVU1333 |
||
9189 | 4393 002e 0220 movs r0, #2 |
||
9190 | 4394 .LVL330: |
||
9191 | 2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9192 | 4395 .loc 1 2329 1 view .LVU1334 |
||
9193 | 4396 0030 7047 bx lr |
||
9194 | 4397 .cfi_endproc |
||
9195 | 4398 .LFE96: |
||
9196 | 4400 .section .text.HAL_MultiProcessor_EnterMuteMode,"ax",%progbits |
||
9197 | 4401 .align 1 |
||
9198 | 4402 .global HAL_MultiProcessor_EnterMuteMode |
||
9199 | 4403 .syntax unified |
||
9200 | 4404 .thumb |
||
9201 | 4405 .thumb_func |
||
9202 | 4406 .fpu softvfp |
||
9203 | 4408 HAL_MultiProcessor_EnterMuteMode: |
||
9204 | 4409 .LVL331: |
||
9205 | 4410 .LFB97: |
||
9206 | 2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
9207 | 4411 .loc 1 2338 1 is_stmt 1 view -0 |
||
9208 | 4412 .cfi_startproc |
||
9209 | 4413 @ args = 0, pretend = 0, frame = 0 |
||
9210 | 4414 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9211 | 4415 @ link register save eliminated. |
||
9212 | 2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9213 | 4416 .loc 1 2340 3 view .LVU1336 |
||
9214 | 2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9215 | 4417 .loc 1 2343 3 view .LVU1337 |
||
9216 | 2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9217 | 4418 .loc 1 2343 3 view .LVU1338 |
||
9218 | 4419 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
9219 | 4420 0004 012B cmp r3, #1 |
||
9220 | 4421 0006 12D0 beq .L289 |
||
9221 | 2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9222 | 4422 .loc 1 2343 3 discriminator 2 view .LVU1339 |
||
9223 | 4423 0008 0123 movs r3, #1 |
||
9224 | 4424 000a 80F83830 strb r3, [r0, #56] |
||
9225 | 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9226 | 4425 .loc 1 2345 3 discriminator 2 view .LVU1340 |
||
9227 | 2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9228 | 4426 .loc 1 2345 17 is_stmt 0 discriminator 2 view .LVU1341 |
||
9229 | 4427 000e 2423 movs r3, #36 |
||
9230 | 4428 0010 80F83930 strb r3, [r0, #57] |
||
9231 | 2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9232 | 4429 .loc 1 2348 3 is_stmt 1 discriminator 2 view .LVU1342 |
||
9233 | 4430 0014 0268 ldr r2, [r0] |
||
9234 | 4431 0016 D368 ldr r3, [r2, #12] |
||
9235 | 4432 0018 43F00203 orr r3, r3, #2 |
||
9236 | 4433 001c D360 str r3, [r2, #12] |
||
9237 | 2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9238 | 4434 .loc 1 2350 3 discriminator 2 view .LVU1343 |
||
9239 | 2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9240 | 4435 .loc 1 2350 17 is_stmt 0 discriminator 2 view .LVU1344 |
||
9241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 155 |
||
9242 | |||
9243 | |||
9244 | 4436 001e 2023 movs r3, #32 |
||
9245 | 4437 0020 80F83930 strb r3, [r0, #57] |
||
9246 | 2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9247 | 4438 .loc 1 2353 3 is_stmt 1 discriminator 2 view .LVU1345 |
||
9248 | 2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9249 | 4439 .loc 1 2353 3 discriminator 2 view .LVU1346 |
||
9250 | 4440 0024 0023 movs r3, #0 |
||
9251 | 4441 0026 80F83830 strb r3, [r0, #56] |
||
9252 | 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9253 | 4442 .loc 1 2355 3 discriminator 2 view .LVU1347 |
||
9254 | 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9255 | 4443 .loc 1 2355 10 is_stmt 0 discriminator 2 view .LVU1348 |
||
9256 | 4444 002a 1846 mov r0, r3 |
||
9257 | 4445 .LVL332: |
||
9258 | 2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9259 | 4446 .loc 1 2355 10 discriminator 2 view .LVU1349 |
||
9260 | 4447 002c 7047 bx lr |
||
9261 | 4448 .LVL333: |
||
9262 | 4449 .L289: |
||
9263 | 2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9264 | 4450 .loc 1 2343 3 view .LVU1350 |
||
9265 | 4451 002e 0220 movs r0, #2 |
||
9266 | 4452 .LVL334: |
||
9267 | 2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9268 | 4453 .loc 1 2356 1 view .LVU1351 |
||
9269 | 4454 0030 7047 bx lr |
||
9270 | 4455 .cfi_endproc |
||
9271 | 4456 .LFE97: |
||
9272 | 4458 .section .text.HAL_MultiProcessor_ExitMuteMode,"ax",%progbits |
||
9273 | 4459 .align 1 |
||
9274 | 4460 .global HAL_MultiProcessor_ExitMuteMode |
||
9275 | 4461 .syntax unified |
||
9276 | 4462 .thumb |
||
9277 | 4463 .thumb_func |
||
9278 | 4464 .fpu softvfp |
||
9279 | 4466 HAL_MultiProcessor_ExitMuteMode: |
||
9280 | 4467 .LVL335: |
||
9281 | 4468 .LFB98: |
||
9282 | 2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */ |
||
9283 | 4469 .loc 1 2365 1 is_stmt 1 view -0 |
||
9284 | 4470 .cfi_startproc |
||
9285 | 4471 @ args = 0, pretend = 0, frame = 0 |
||
9286 | 4472 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9287 | 4473 @ link register save eliminated. |
||
9288 | 2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9289 | 4474 .loc 1 2367 3 view .LVU1353 |
||
9290 | 2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9291 | 4475 .loc 1 2370 3 view .LVU1354 |
||
9292 | 2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9293 | 4476 .loc 1 2370 3 view .LVU1355 |
||
9294 | 4477 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
9295 | 4478 0004 012B cmp r3, #1 |
||
9296 | 4479 0006 12D0 beq .L292 |
||
9297 | 2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9298 | 4480 .loc 1 2370 3 discriminator 2 view .LVU1356 |
||
9299 | 4481 0008 0123 movs r3, #1 |
||
9300 | 4482 000a 80F83830 strb r3, [r0, #56] |
||
9301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 156 |
||
9302 | |||
9303 | |||
9304 | 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9305 | 4483 .loc 1 2372 3 discriminator 2 view .LVU1357 |
||
9306 | 2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9307 | 4484 .loc 1 2372 17 is_stmt 0 discriminator 2 view .LVU1358 |
||
9308 | 4485 000e 2423 movs r3, #36 |
||
9309 | 4486 0010 80F83930 strb r3, [r0, #57] |
||
9310 | 2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9311 | 4487 .loc 1 2375 3 is_stmt 1 discriminator 2 view .LVU1359 |
||
9312 | 4488 0014 0268 ldr r2, [r0] |
||
9313 | 4489 0016 D368 ldr r3, [r2, #12] |
||
9314 | 4490 0018 23F00203 bic r3, r3, #2 |
||
9315 | 4491 001c D360 str r3, [r2, #12] |
||
9316 | 2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9317 | 4492 .loc 1 2377 3 discriminator 2 view .LVU1360 |
||
9318 | 2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9319 | 4493 .loc 1 2377 17 is_stmt 0 discriminator 2 view .LVU1361 |
||
9320 | 4494 001e 2023 movs r3, #32 |
||
9321 | 4495 0020 80F83930 strb r3, [r0, #57] |
||
9322 | 2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9323 | 4496 .loc 1 2380 3 is_stmt 1 discriminator 2 view .LVU1362 |
||
9324 | 2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9325 | 4497 .loc 1 2380 3 discriminator 2 view .LVU1363 |
||
9326 | 4498 0024 0023 movs r3, #0 |
||
9327 | 4499 0026 80F83830 strb r3, [r0, #56] |
||
9328 | 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9329 | 4500 .loc 1 2382 3 discriminator 2 view .LVU1364 |
||
9330 | 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9331 | 4501 .loc 1 2382 10 is_stmt 0 discriminator 2 view .LVU1365 |
||
9332 | 4502 002a 1846 mov r0, r3 |
||
9333 | 4503 .LVL336: |
||
9334 | 2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9335 | 4504 .loc 1 2382 10 discriminator 2 view .LVU1366 |
||
9336 | 4505 002c 7047 bx lr |
||
9337 | 4506 .LVL337: |
||
9338 | 4507 .L292: |
||
9339 | 2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9340 | 4508 .loc 1 2370 3 view .LVU1367 |
||
9341 | 4509 002e 0220 movs r0, #2 |
||
9342 | 4510 .LVL338: |
||
9343 | 2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9344 | 4511 .loc 1 2383 1 view .LVU1368 |
||
9345 | 4512 0030 7047 bx lr |
||
9346 | 4513 .cfi_endproc |
||
9347 | 4514 .LFE98: |
||
9348 | 4516 .section .text.HAL_HalfDuplex_EnableTransmitter,"ax",%progbits |
||
9349 | 4517 .align 1 |
||
9350 | 4518 .global HAL_HalfDuplex_EnableTransmitter |
||
9351 | 4519 .syntax unified |
||
9352 | 4520 .thumb |
||
9353 | 4521 .thumb_func |
||
9354 | 4522 .fpu softvfp |
||
9355 | 4524 HAL_HalfDuplex_EnableTransmitter: |
||
9356 | 4525 .LVL339: |
||
9357 | 4526 .LFB99: |
||
9358 | 2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U; |
||
9359 | 4527 .loc 1 2392 1 is_stmt 1 view -0 |
||
9360 | 4528 .cfi_startproc |
||
9361 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 157 |
||
9362 | |||
9363 | |||
9364 | 4529 @ args = 0, pretend = 0, frame = 0 |
||
9365 | 4530 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9366 | 4531 @ link register save eliminated. |
||
9367 | 2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9368 | 4532 .loc 1 2393 3 view .LVU1370 |
||
9369 | 2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9370 | 4533 .loc 1 2396 3 view .LVU1371 |
||
9371 | 2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9372 | 4534 .loc 1 2396 3 view .LVU1372 |
||
9373 | 4535 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
9374 | 4536 0004 012B cmp r3, #1 |
||
9375 | 4537 0006 14D0 beq .L295 |
||
9376 | 2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9377 | 4538 .loc 1 2396 3 discriminator 2 view .LVU1373 |
||
9378 | 4539 0008 0123 movs r3, #1 |
||
9379 | 4540 000a 80F83830 strb r3, [r0, #56] |
||
9380 | 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9381 | 4541 .loc 1 2398 3 discriminator 2 view .LVU1374 |
||
9382 | 2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9383 | 4542 .loc 1 2398 17 is_stmt 0 discriminator 2 view .LVU1375 |
||
9384 | 4543 000e 2423 movs r3, #36 |
||
9385 | 4544 0010 80F83930 strb r3, [r0, #57] |
||
9386 | 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9387 | 4545 .loc 1 2401 3 is_stmt 1 discriminator 2 view .LVU1376 |
||
9388 | 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9389 | 4546 .loc 1 2401 17 is_stmt 0 discriminator 2 view .LVU1377 |
||
9390 | 4547 0014 0268 ldr r2, [r0] |
||
9391 | 2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9392 | 4548 .loc 1 2401 10 discriminator 2 view .LVU1378 |
||
9393 | 4549 0016 D368 ldr r3, [r2, #12] |
||
9394 | 4550 .LVL340: |
||
9395 | 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9396 | 4551 .loc 1 2404 3 is_stmt 1 discriminator 2 view .LVU1379 |
||
9397 | 2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9398 | 4552 .loc 1 2404 10 is_stmt 0 discriminator 2 view .LVU1380 |
||
9399 | 4553 0018 23F00C03 bic r3, r3, #12 |
||
9400 | 4554 .LVL341: |
||
9401 | 2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9402 | 4555 .loc 1 2407 3 is_stmt 1 discriminator 2 view .LVU1381 |
||
9403 | 2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9404 | 4556 .loc 1 2407 10 is_stmt 0 discriminator 2 view .LVU1382 |
||
9405 | 4557 001c 43F00803 orr r3, r3, #8 |
||
9406 | 4558 .LVL342: |
||
9407 | 2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9408 | 4559 .loc 1 2410 3 is_stmt 1 discriminator 2 view .LVU1383 |
||
9409 | 4560 0020 D360 str r3, [r2, #12] |
||
9410 | 2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9411 | 4561 .loc 1 2412 3 discriminator 2 view .LVU1384 |
||
9412 | 2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9413 | 4562 .loc 1 2412 17 is_stmt 0 discriminator 2 view .LVU1385 |
||
9414 | 4563 0022 2023 movs r3, #32 |
||
9415 | 4564 .LVL343: |
||
9416 | 2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9417 | 4565 .loc 1 2412 17 discriminator 2 view .LVU1386 |
||
9418 | 4566 0024 80F83930 strb r3, [r0, #57] |
||
9419 | 4567 .LVL344: |
||
9420 | 2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9421 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 158 |
||
9422 | |||
9423 | |||
9424 | 4568 .loc 1 2415 3 is_stmt 1 discriminator 2 view .LVU1387 |
||
9425 | 2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9426 | 4569 .loc 1 2415 3 discriminator 2 view .LVU1388 |
||
9427 | 4570 0028 0023 movs r3, #0 |
||
9428 | 4571 002a 80F83830 strb r3, [r0, #56] |
||
9429 | 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9430 | 4572 .loc 1 2417 3 discriminator 2 view .LVU1389 |
||
9431 | 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9432 | 4573 .loc 1 2417 10 is_stmt 0 discriminator 2 view .LVU1390 |
||
9433 | 4574 002e 1846 mov r0, r3 |
||
9434 | 4575 .LVL345: |
||
9435 | 2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9436 | 4576 .loc 1 2417 10 discriminator 2 view .LVU1391 |
||
9437 | 4577 0030 7047 bx lr |
||
9438 | 4578 .LVL346: |
||
9439 | 4579 .L295: |
||
9440 | 2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9441 | 4580 .loc 1 2396 3 view .LVU1392 |
||
9442 | 4581 0032 0220 movs r0, #2 |
||
9443 | 4582 .LVL347: |
||
9444 | 2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9445 | 4583 .loc 1 2418 1 view .LVU1393 |
||
9446 | 4584 0034 7047 bx lr |
||
9447 | 4585 .cfi_endproc |
||
9448 | 4586 .LFE99: |
||
9449 | 4588 .section .text.HAL_HalfDuplex_EnableReceiver,"ax",%progbits |
||
9450 | 4589 .align 1 |
||
9451 | 4590 .global HAL_HalfDuplex_EnableReceiver |
||
9452 | 4591 .syntax unified |
||
9453 | 4592 .thumb |
||
9454 | 4593 .thumb_func |
||
9455 | 4594 .fpu softvfp |
||
9456 | 4596 HAL_HalfDuplex_EnableReceiver: |
||
9457 | 4597 .LVL348: |
||
9458 | 4598 .LFB100: |
||
9459 | 2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U; |
||
9460 | 4599 .loc 1 2427 1 is_stmt 1 view -0 |
||
9461 | 4600 .cfi_startproc |
||
9462 | 4601 @ args = 0, pretend = 0, frame = 0 |
||
9463 | 4602 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9464 | 4603 @ link register save eliminated. |
||
9465 | 2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9466 | 4604 .loc 1 2428 3 view .LVU1395 |
||
9467 | 2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9468 | 4605 .loc 1 2431 3 view .LVU1396 |
||
9469 | 2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9470 | 4606 .loc 1 2431 3 view .LVU1397 |
||
9471 | 4607 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2 |
||
9472 | 4608 0004 012B cmp r3, #1 |
||
9473 | 4609 0006 14D0 beq .L298 |
||
9474 | 2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9475 | 4610 .loc 1 2431 3 discriminator 2 view .LVU1398 |
||
9476 | 4611 0008 0123 movs r3, #1 |
||
9477 | 4612 000a 80F83830 strb r3, [r0, #56] |
||
9478 | 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9479 | 4613 .loc 1 2433 3 discriminator 2 view .LVU1399 |
||
9480 | 2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9481 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 159 |
||
9482 | |||
9483 | |||
9484 | 4614 .loc 1 2433 17 is_stmt 0 discriminator 2 view .LVU1400 |
||
9485 | 4615 000e 2423 movs r3, #36 |
||
9486 | 4616 0010 80F83930 strb r3, [r0, #57] |
||
9487 | 2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9488 | 4617 .loc 1 2436 3 is_stmt 1 discriminator 2 view .LVU1401 |
||
9489 | 2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9490 | 4618 .loc 1 2436 17 is_stmt 0 discriminator 2 view .LVU1402 |
||
9491 | 4619 0014 0268 ldr r2, [r0] |
||
9492 | 2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9493 | 4620 .loc 1 2436 10 discriminator 2 view .LVU1403 |
||
9494 | 4621 0016 D368 ldr r3, [r2, #12] |
||
9495 | 4622 .LVL349: |
||
9496 | 2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9497 | 4623 .loc 1 2439 3 is_stmt 1 discriminator 2 view .LVU1404 |
||
9498 | 2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9499 | 4624 .loc 1 2439 10 is_stmt 0 discriminator 2 view .LVU1405 |
||
9500 | 4625 0018 23F00C03 bic r3, r3, #12 |
||
9501 | 4626 .LVL350: |
||
9502 | 2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9503 | 4627 .loc 1 2442 3 is_stmt 1 discriminator 2 view .LVU1406 |
||
9504 | 2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9505 | 4628 .loc 1 2442 10 is_stmt 0 discriminator 2 view .LVU1407 |
||
9506 | 4629 001c 43F00403 orr r3, r3, #4 |
||
9507 | 4630 .LVL351: |
||
9508 | 2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9509 | 4631 .loc 1 2445 3 is_stmt 1 discriminator 2 view .LVU1408 |
||
9510 | 4632 0020 D360 str r3, [r2, #12] |
||
9511 | 2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9512 | 4633 .loc 1 2447 3 discriminator 2 view .LVU1409 |
||
9513 | 2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9514 | 4634 .loc 1 2447 17 is_stmt 0 discriminator 2 view .LVU1410 |
||
9515 | 4635 0022 2023 movs r3, #32 |
||
9516 | 4636 .LVL352: |
||
9517 | 2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9518 | 4637 .loc 1 2447 17 discriminator 2 view .LVU1411 |
||
9519 | 4638 0024 80F83930 strb r3, [r0, #57] |
||
9520 | 4639 .LVL353: |
||
9521 | 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9522 | 4640 .loc 1 2450 3 is_stmt 1 discriminator 2 view .LVU1412 |
||
9523 | 2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9524 | 4641 .loc 1 2450 3 discriminator 2 view .LVU1413 |
||
9525 | 4642 0028 0023 movs r3, #0 |
||
9526 | 4643 002a 80F83830 strb r3, [r0, #56] |
||
9527 | 2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9528 | 4644 .loc 1 2452 3 discriminator 2 view .LVU1414 |
||
9529 | 2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9530 | 4645 .loc 1 2452 10 is_stmt 0 discriminator 2 view .LVU1415 |
||
9531 | 4646 002e 1846 mov r0, r3 |
||
9532 | 4647 .LVL354: |
||
9533 | 2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9534 | 4648 .loc 1 2452 10 discriminator 2 view .LVU1416 |
||
9535 | 4649 0030 7047 bx lr |
||
9536 | 4650 .LVL355: |
||
9537 | 4651 .L298: |
||
9538 | 2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9539 | 4652 .loc 1 2431 3 view .LVU1417 |
||
9540 | 4653 0032 0220 movs r0, #2 |
||
9541 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 160 |
||
9542 | |||
9543 | |||
9544 | 4654 .LVL356: |
||
9545 | 2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9546 | 4655 .loc 1 2453 1 view .LVU1418 |
||
9547 | 4656 0034 7047 bx lr |
||
9548 | 4657 .cfi_endproc |
||
9549 | 4658 .LFE100: |
||
9550 | 4660 .section .text.HAL_UART_GetState,"ax",%progbits |
||
9551 | 4661 .align 1 |
||
9552 | 4662 .global HAL_UART_GetState |
||
9553 | 4663 .syntax unified |
||
9554 | 4664 .thumb |
||
9555 | 4665 .thumb_func |
||
9556 | 4666 .fpu softvfp |
||
9557 | 4668 HAL_UART_GetState: |
||
9558 | 4669 .LVL357: |
||
9559 | 4670 .LFB101: |
||
9560 | 2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t temp1 = 0x00U, temp2 = 0x00U; |
||
9561 | 4671 .loc 1 2484 1 is_stmt 1 view -0 |
||
9562 | 4672 .cfi_startproc |
||
9563 | 4673 @ args = 0, pretend = 0, frame = 0 |
||
9564 | 4674 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9565 | 4675 @ link register save eliminated. |
||
9566 | 2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp1 = huart->gState; |
||
9567 | 4676 .loc 1 2485 3 view .LVU1420 |
||
9568 | 2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp2 = huart->RxState; |
||
9569 | 4677 .loc 1 2486 3 view .LVU1421 |
||
9570 | 2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp2 = huart->RxState; |
||
9571 | 4678 .loc 1 2486 16 is_stmt 0 view .LVU1422 |
||
9572 | 4679 0000 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2 |
||
9573 | 4680 .LVL358: |
||
9574 | 2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9575 | 4681 .loc 1 2487 3 is_stmt 1 view .LVU1423 |
||
9576 | 2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9577 | 4682 .loc 1 2487 16 is_stmt 0 view .LVU1424 |
||
9578 | 4683 0004 90F83A00 ldrb r0, [r0, #58] @ zero_extendqisi2 |
||
9579 | 4684 .LVL359: |
||
9580 | 2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9581 | 4685 .loc 1 2489 3 is_stmt 1 view .LVU1425 |
||
9582 | 2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9583 | 4686 .loc 1 2490 1 is_stmt 0 view .LVU1426 |
||
9584 | 4687 0008 1843 orrs r0, r0, r3 |
||
9585 | 4688 .LVL360: |
||
9586 | 2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9587 | 4689 .loc 1 2490 1 view .LVU1427 |
||
9588 | 4690 000a 7047 bx lr |
||
9589 | 4691 .cfi_endproc |
||
9590 | 4692 .LFE101: |
||
9591 | 4694 .section .text.HAL_UART_GetError,"ax",%progbits |
||
9592 | 4695 .align 1 |
||
9593 | 4696 .global HAL_UART_GetError |
||
9594 | 4697 .syntax unified |
||
9595 | 4698 .thumb |
||
9596 | 4699 .thumb_func |
||
9597 | 4700 .fpu softvfp |
||
9598 | 4702 HAL_UART_GetError: |
||
9599 | 4703 .LVL361: |
||
9600 | 4704 .LFB102: |
||
9601 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 161 |
||
9602 | |||
9603 | |||
9604 | 2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return huart->ErrorCode; |
||
9605 | 4705 .loc 1 2499 1 is_stmt 1 view -0 |
||
9606 | 4706 .cfi_startproc |
||
9607 | 4707 @ args = 0, pretend = 0, frame = 0 |
||
9608 | 4708 @ frame_needed = 0, uses_anonymous_args = 0 |
||
9609 | 4709 @ link register save eliminated. |
||
9610 | 2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9611 | 4710 .loc 1 2500 3 view .LVU1429 |
||
9612 | 2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } |
||
9613 | 4711 .loc 1 2500 15 is_stmt 0 view .LVU1430 |
||
9614 | 4712 0000 C06B ldr r0, [r0, #60] |
||
9615 | 4713 .LVL362: |
||
9616 | 2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |
||
9617 | 4714 .loc 1 2501 1 view .LVU1431 |
||
9618 | 4715 0002 7047 bx lr |
||
9619 | 4716 .cfi_endproc |
||
9620 | 4717 .LFE102: |
||
9621 | 4719 .text |
||
9622 | 4720 .Letext0: |
||
9623 | 4721 .file 2 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
9624 | 4722 .file 3 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
9625 | 4723 .file 4 "Drivers/CMSIS/Include/core_cm3.h" |
||
9626 | 4724 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h" |
||
9627 | 4725 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" |
||
9628 | 4726 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h" |
||
9629 | 4727 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h" |
||
9630 | 4728 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h" |
||
9631 | 4729 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h" |
||
9632 | 4730 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h" |
||
9633 | 4731 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h" |
||
9634 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 162 |
||
9635 | |||
9636 | |||
9637 | DEFINED SYMBOLS |
||
9638 | *ABS*:0000000000000000 stm32f1xx_hal_uart.c |
||
9639 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:16 .text.UART_EndTxTransfer:0000000000000000 $t |
||
9640 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:23 .text.UART_EndTxTransfer:0000000000000000 UART_EndTxTransfer |
||
9641 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:47 .text.UART_EndRxTransfer:0000000000000000 $t |
||
9642 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:53 .text.UART_EndRxTransfer:0000000000000000 UART_EndRxTransfer |
||
9643 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:81 .text.UART_Transmit_IT:0000000000000000 $t |
||
9644 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:87 .text.UART_Transmit_IT:0000000000000000 UART_Transmit_IT |
||
9645 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:194 .text.UART_SetConfig:0000000000000000 $t |
||
9646 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:200 .text.UART_SetConfig:0000000000000000 UART_SetConfig |
||
9647 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:335 .text.UART_SetConfig:00000000000000c4 $d |
||
9648 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:341 .text.UART_WaitOnFlagUntilTimeout:0000000000000000 $t |
||
9649 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:347 .text.UART_WaitOnFlagUntilTimeout:0000000000000000 UART_WaitOnFlagUntilTimeout |
||
9650 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:435 .text.HAL_UART_MspInit:0000000000000000 $t |
||
9651 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:442 .text.HAL_UART_MspInit:0000000000000000 HAL_UART_MspInit |
||
9652 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:457 .text.HAL_UART_Init:0000000000000000 $t |
||
9653 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:464 .text.HAL_UART_Init:0000000000000000 HAL_UART_Init |
||
9654 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:558 .text.HAL_HalfDuplex_Init:0000000000000000 $t |
||
9655 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:565 .text.HAL_HalfDuplex_Init:0000000000000000 HAL_HalfDuplex_Init |
||
9656 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:664 .text.HAL_LIN_Init:0000000000000000 $t |
||
9657 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:671 .text.HAL_LIN_Init:0000000000000000 HAL_LIN_Init |
||
9658 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:789 .text.HAL_MultiProcessor_Init:0000000000000000 $t |
||
9659 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:796 .text.HAL_MultiProcessor_Init:0000000000000000 HAL_MultiProcessor_Init |
||
9660 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:919 .text.HAL_UART_MspDeInit:0000000000000000 $t |
||
9661 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:926 .text.HAL_UART_MspDeInit:0000000000000000 HAL_UART_MspDeInit |
||
9662 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:941 .text.HAL_UART_DeInit:0000000000000000 $t |
||
9663 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:948 .text.HAL_UART_DeInit:0000000000000000 HAL_UART_DeInit |
||
9664 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1009 .text.HAL_UART_Transmit:0000000000000000 $t |
||
9665 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1016 .text.HAL_UART_Transmit:0000000000000000 HAL_UART_Transmit |
||
9666 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1242 .text.HAL_UART_Receive:0000000000000000 $t |
||
9667 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1249 .text.HAL_UART_Receive:0000000000000000 HAL_UART_Receive |
||
9668 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1493 .text.HAL_UART_Transmit_IT:0000000000000000 $t |
||
9669 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1500 .text.HAL_UART_Transmit_IT:0000000000000000 HAL_UART_Transmit_IT |
||
9670 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1594 .text.HAL_UART_Receive_IT:0000000000000000 $t |
||
9671 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1601 .text.HAL_UART_Receive_IT:0000000000000000 HAL_UART_Receive_IT |
||
9672 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1705 .text.HAL_UART_Transmit_DMA:0000000000000000 $t |
||
9673 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1712 .text.HAL_UART_Transmit_DMA:0000000000000000 HAL_UART_Transmit_DMA |
||
9674 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1854 .text.HAL_UART_Transmit_DMA:0000000000000080 $d |
||
9675 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2739 .text.UART_DMATransmitCplt:0000000000000000 UART_DMATransmitCplt |
||
9676 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2865 .text.UART_DMATxHalfCplt:0000000000000000 UART_DMATxHalfCplt |
||
9677 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3227 .text.UART_DMAError:0000000000000000 UART_DMAError |
||
9678 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1861 .text.HAL_UART_Receive_DMA:0000000000000000 $t |
||
9679 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:1868 .text.HAL_UART_Receive_DMA:0000000000000000 HAL_UART_Receive_DMA |
||
9680 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2038 .text.HAL_UART_Receive_DMA:000000000000009c $d |
||
9681 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2920 .text.UART_DMAReceiveCplt:0000000000000000 UART_DMAReceiveCplt |
||
9682 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3172 .text.UART_DMARxHalfCplt:0000000000000000 UART_DMARxHalfCplt |
||
9683 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2045 .text.HAL_UART_DMAPause:0000000000000000 $t |
||
9684 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2052 .text.HAL_UART_DMAPause:0000000000000000 HAL_UART_DMAPause |
||
9685 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2152 .text.HAL_UART_DMAResume:0000000000000000 $t |
||
9686 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2159 .text.HAL_UART_DMAResume:0000000000000000 HAL_UART_DMAResume |
||
9687 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2267 .text.HAL_UART_DMAStop:0000000000000000 $t |
||
9688 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2274 .text.HAL_UART_DMAStop:0000000000000000 HAL_UART_DMAStop |
||
9689 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2377 .text.HAL_UART_Abort:0000000000000000 $t |
||
9690 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2384 .text.HAL_UART_Abort:0000000000000000 HAL_UART_Abort |
||
9691 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2526 .text.HAL_UART_AbortTransmit:0000000000000000 $t |
||
9692 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2533 .text.HAL_UART_AbortTransmit:0000000000000000 HAL_UART_AbortTransmit |
||
9693 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2616 .text.HAL_UART_AbortReceive:0000000000000000 $t |
||
9694 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 163 |
||
9695 | |||
9696 | |||
9697 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2623 .text.HAL_UART_AbortReceive:0000000000000000 HAL_UART_AbortReceive |
||
9698 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2711 .text.HAL_UART_TxCpltCallback:0000000000000000 $t |
||
9699 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2718 .text.HAL_UART_TxCpltCallback:0000000000000000 HAL_UART_TxCpltCallback |
||
9700 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2733 .text.UART_DMATransmitCplt:0000000000000000 $t |
||
9701 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2798 .text.UART_EndTransmit_IT:0000000000000000 $t |
||
9702 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2804 .text.UART_EndTransmit_IT:0000000000000000 UART_EndTransmit_IT |
||
9703 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2837 .text.HAL_UART_TxHalfCpltCallback:0000000000000000 $t |
||
9704 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2844 .text.HAL_UART_TxHalfCpltCallback:0000000000000000 HAL_UART_TxHalfCpltCallback |
||
9705 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2859 .text.UART_DMATxHalfCplt:0000000000000000 $t |
||
9706 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2892 .text.HAL_UART_RxCpltCallback:0000000000000000 $t |
||
9707 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2899 .text.HAL_UART_RxCpltCallback:0000000000000000 HAL_UART_RxCpltCallback |
||
9708 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2914 .text.UART_DMAReceiveCplt:0000000000000000 $t |
||
9709 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2981 .text.UART_Receive_IT:0000000000000000 $t |
||
9710 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:2987 .text.UART_Receive_IT:0000000000000000 UART_Receive_IT |
||
9711 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3144 .text.HAL_UART_RxHalfCpltCallback:0000000000000000 $t |
||
9712 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3151 .text.HAL_UART_RxHalfCpltCallback:0000000000000000 HAL_UART_RxHalfCpltCallback |
||
9713 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3166 .text.UART_DMARxHalfCplt:0000000000000000 $t |
||
9714 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3199 .text.HAL_UART_ErrorCallback:0000000000000000 $t |
||
9715 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3206 .text.HAL_UART_ErrorCallback:0000000000000000 HAL_UART_ErrorCallback |
||
9716 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3221 .text.UART_DMAError:0000000000000000 $t |
||
9717 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3324 .text.HAL_UART_IRQHandler:0000000000000000 $t |
||
9718 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3331 .text.HAL_UART_IRQHandler:0000000000000000 HAL_UART_IRQHandler |
||
9719 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3597 .text.HAL_UART_IRQHandler:000000000000011c $d |
||
9720 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3608 .text.UART_DMAAbortOnError:0000000000000000 UART_DMAAbortOnError |
||
9721 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3602 .text.UART_DMAAbortOnError:0000000000000000 $t |
||
9722 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3641 .text.HAL_UART_AbortCpltCallback:0000000000000000 $t |
||
9723 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3648 .text.HAL_UART_AbortCpltCallback:0000000000000000 HAL_UART_AbortCpltCallback |
||
9724 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3663 .text.HAL_UART_Abort_IT:0000000000000000 $t |
||
9725 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3670 .text.HAL_UART_Abort_IT:0000000000000000 HAL_UART_Abort_IT |
||
9726 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3860 .text.HAL_UART_Abort_IT:00000000000000bc $d |
||
9727 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3939 .text.UART_DMATxAbortCallback:0000000000000000 UART_DMATxAbortCallback |
||
9728 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3872 .text.UART_DMARxAbortCallback:0000000000000000 UART_DMARxAbortCallback |
||
9729 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3866 .text.UART_DMARxAbortCallback:0000000000000000 $t |
||
9730 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:3933 .text.UART_DMATxAbortCallback:0000000000000000 $t |
||
9731 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4000 .text.HAL_UART_AbortTransmitCpltCallback:0000000000000000 $t |
||
9732 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4007 .text.HAL_UART_AbortTransmitCpltCallback:0000000000000000 HAL_UART_AbortTransmitCpltCallback |
||
9733 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4022 .text.HAL_UART_AbortTransmit_IT:0000000000000000 $t |
||
9734 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4029 .text.HAL_UART_AbortTransmit_IT:0000000000000000 HAL_UART_AbortTransmit_IT |
||
9735 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4124 .text.HAL_UART_AbortTransmit_IT:000000000000005c $d |
||
9736 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4135 .text.UART_DMATxOnlyAbortCallback:0000000000000000 UART_DMATxOnlyAbortCallback |
||
9737 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4129 .text.UART_DMATxOnlyAbortCallback:0000000000000000 $t |
||
9738 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4169 .text.HAL_UART_AbortReceiveCpltCallback:0000000000000000 $t |
||
9739 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4176 .text.HAL_UART_AbortReceiveCpltCallback:0000000000000000 HAL_UART_AbortReceiveCpltCallback |
||
9740 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4191 .text.HAL_UART_AbortReceive_IT:0000000000000000 $t |
||
9741 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4198 .text.HAL_UART_AbortReceive_IT:0000000000000000 HAL_UART_AbortReceive_IT |
||
9742 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4298 .text.HAL_UART_AbortReceive_IT:0000000000000064 $d |
||
9743 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4309 .text.UART_DMARxOnlyAbortCallback:0000000000000000 UART_DMARxOnlyAbortCallback |
||
9744 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4303 .text.UART_DMARxOnlyAbortCallback:0000000000000000 $t |
||
9745 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4343 .text.HAL_LIN_SendBreak:0000000000000000 $t |
||
9746 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4350 .text.HAL_LIN_SendBreak:0000000000000000 HAL_LIN_SendBreak |
||
9747 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4401 .text.HAL_MultiProcessor_EnterMuteMode:0000000000000000 $t |
||
9748 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4408 .text.HAL_MultiProcessor_EnterMuteMode:0000000000000000 HAL_MultiProcessor_EnterMuteMode |
||
9749 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4459 .text.HAL_MultiProcessor_ExitMuteMode:0000000000000000 $t |
||
9750 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4466 .text.HAL_MultiProcessor_ExitMuteMode:0000000000000000 HAL_MultiProcessor_ExitMuteMode |
||
9751 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4517 .text.HAL_HalfDuplex_EnableTransmitter:0000000000000000 $t |
||
9752 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4524 .text.HAL_HalfDuplex_EnableTransmitter:0000000000000000 HAL_HalfDuplex_EnableTransmitter |
||
9753 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4589 .text.HAL_HalfDuplex_EnableReceiver:0000000000000000 $t |
||
9754 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s page 164 |
||
9755 | |||
9756 | |||
9757 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4596 .text.HAL_HalfDuplex_EnableReceiver:0000000000000000 HAL_HalfDuplex_EnableReceiver |
||
9758 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4661 .text.HAL_UART_GetState:0000000000000000 $t |
||
9759 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4668 .text.HAL_UART_GetState:0000000000000000 HAL_UART_GetState |
||
9760 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4695 .text.HAL_UART_GetError:0000000000000000 $t |
||
9761 | C:\Users\mike\AppData\Local\Temp\ccYxPJGh.s:4702 .text.HAL_UART_GetError:0000000000000000 HAL_UART_GetError |
||
9762 | |||
9763 | UNDEFINED SYMBOLS |
||
9764 | HAL_RCC_GetPCLK1Freq |
||
9765 | HAL_RCC_GetPCLK2Freq |
||
9766 | HAL_GetTick |
||
9767 | HAL_DMA_Start_IT |
||
9768 | HAL_DMA_Abort |
||
9769 | HAL_DMA_GetError |
||
9770 | HAL_DMA_Abort_IT |