Subversion Repositories dashGPS

Rev

Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
19 mjames 1
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 1
16 mjames 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	"usbd_core.c"
15
  12              		.text
16
  13              	.Ltext0:
17
  14              		.cfi_sections	.debug_frame
18
  15              		.section	.text.USBD_Init,"ax",%progbits
19
  16              		.align	1
20
  17              		.global	USBD_Init
21
  18              		.arch armv7-m
22
  19              		.syntax unified
23
  20              		.thumb
24
  21              		.thumb_func
25
  22              		.fpu softvfp
26
  24              	USBD_Init:
27
  25              	.LVL0:
28
  26              	.LFB68:
29
  27              		.file 1 "Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c"
30
   1:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
31
   2:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   ******************************************************************************
32
   3:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @file    usbd_core.c
33
   4:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @author  MCD Application Team
34
   5:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @brief   This file provides all the USBD core functions.
35
   6:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   ******************************************************************************
36
   7:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @attention
37
   8:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   *
38
   9:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
39
  10:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * All rights reserved.</center></h2>
40
  11:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   *
41
  12:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * This software component is licensed by ST under Ultimate Liberty license
42
  13:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * SLA0044, the "License"; You may not use this file except in compliance with
43
  14:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * the License. You may obtain a copy of the License at:
44
  15:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   *                      www.st.com/SLA0044
45
  16:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   *
46
  17:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   ******************************************************************************
47
  18:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   */
48
  19:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
49
  20:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /* Includes ------------------------------------------------------------------*/
50
  21:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #include "usbd_core.h"
51
  22:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
52
  23:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @addtogroup STM32_USBD_DEVICE_LIBRARY
53
  24:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
54
  25:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
55
  26:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
56
  27:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
57
  28:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE
58
  29:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief usbd core module
59
  30:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
60
  31:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
19 mjames 61
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 2
16 mjames 62
 
63
 
64
  32:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
65
  33:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_TypesDefinitions
66
  34:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
67
  35:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
68
  36:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
69
  37:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
70
  38:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
71
  39:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
72
  40:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
73
  41:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
74
  42:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Defines
75
  43:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
76
  44:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
77
  45:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
78
  46:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
79
  47:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
80
  48:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
81
  49:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
82
  50:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
83
  51:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Macros
84
  52:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
85
  53:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
86
  54:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
87
  55:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
88
  56:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
89
  57:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
90
  58:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
91
  59:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
92
  60:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_FunctionPrototypes
93
  61:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
94
  62:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
95
  63:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
96
  64:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
97
  65:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
98
  66:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
99
  67:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
100
  68:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Variables
101
  69:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
102
  70:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
103
  71:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
104
  72:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
105
  73:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @}
106
  74:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
107
  75:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
108
  76:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
109
  77:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /** @defgroup USBD_CORE_Private_Functions
110
  78:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @{
111
  79:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
112
  80:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
113
  81:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
114
  82:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_Init
115
  83:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Initializes the device stack and load the class driver
116
  84:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
117
  85:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdesc: Descriptor structure address
118
  86:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  id: Low level core index
119
  87:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval None
120
  88:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
19 mjames 121
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 3
16 mjames 122
 
123
 
124
  89:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev,
125
  90:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                              USBD_DescriptorsTypeDef *pdesc, uint8_t id)
126
  91:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
127
  28              		.loc 1 91 1 view -0
128
  29              		.cfi_startproc
129
  30              		@ args = 0, pretend = 0, frame = 0
130
  31              		@ frame_needed = 0, uses_anonymous_args = 0
131
  92:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Check whether the USB Host handle is valid */
132
  93:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pdev == NULL)
133
  32              		.loc 1 93 3 view .LVU1
134
  33              		.loc 1 93 6 is_stmt 0 view .LVU2
135
  34 0000 98B1     		cbz	r0, .L5
136
  91:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Check whether the USB Host handle is valid */
137
  35              		.loc 1 91 1 view .LVU3
138
  36 0002 08B5     		push	{r3, lr}
139
  37              	.LCFI0:
140
  38              		.cfi_def_cfa_offset 8
141
  39              		.cfi_offset 3, -8
142
  40              		.cfi_offset 14, -4
143
  41 0004 0346     		mov	r3, r0
144
  94:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
145
  95:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #if (USBD_DEBUG_LEVEL > 1U)
146
  96:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     USBD_ErrLog("Invalid Device handle");
147
  97:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #endif
148
  98:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     return USBD_FAIL;
149
  99:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
150
 100:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
151
 101:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Unlink previous class*/
152
 102:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pdev->pClass != NULL)
153
  42              		.loc 1 102 3 is_stmt 1 view .LVU4
154
  43              		.loc 1 102 11 is_stmt 0 view .LVU5
155
  44 0006 D0F8B402 		ldr	r0, [r0, #692]
156
  45              	.LVL1:
157
  46              		.loc 1 102 6 view .LVU6
158
  47 000a 10B1     		cbz	r0, .L3
159
 103:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
160
 104:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pdev->pClass = NULL;
161
  48              		.loc 1 104 5 is_stmt 1 view .LVU7
162
  49              		.loc 1 104 18 is_stmt 0 view .LVU8
163
  50 000c 0020     		movs	r0, #0
164
  51 000e C3F8B402 		str	r0, [r3, #692]
165
  52              	.L3:
166
 105:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
167
 106:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
168
 107:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Assign USBD Descriptors */
169
 108:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pdesc != NULL)
170
  53              		.loc 1 108 3 is_stmt 1 view .LVU9
171
  54              		.loc 1 108 6 is_stmt 0 view .LVU10
172
  55 0012 09B1     		cbz	r1, .L4
173
 109:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
174
 110:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pdev->pDesc = pdesc;
175
  56              		.loc 1 110 5 is_stmt 1 view .LVU11
176
  57              		.loc 1 110 17 is_stmt 0 view .LVU12
177
  58 0014 C3F8B012 		str	r1, [r3, #688]
178
  59              	.L4:
179
  60              		.loc 1 110 17 view .LVU13
180
  61 0018 1846     		mov	r0, r3
19 mjames 181
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 4
16 mjames 182
 
183
 
184
 111:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
185
 112:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
186
 113:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Set Device initial State */
187
 114:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_state = USBD_STATE_DEFAULT;
188
  62              		.loc 1 114 3 is_stmt 1 view .LVU14
189
  63              		.loc 1 114 19 is_stmt 0 view .LVU15
190
  64 001a 0123     		movs	r3, #1
191
  65              	.LVL2:
192
  66              		.loc 1 114 19 view .LVU16
193
  67 001c 80F89C32 		strb	r3, [r0, #668]
194
 115:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->id = id;
195
  68              		.loc 1 115 3 is_stmt 1 view .LVU17
196
  69              		.loc 1 115 12 is_stmt 0 view .LVU18
197
  70 0020 0270     		strb	r2, [r0]
198
 116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Initialize low level driver */
199
 117:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_LL_Init(pdev);
200
  71              		.loc 1 117 3 is_stmt 1 view .LVU19
201
  72 0022 FFF7FEFF 		bl	USBD_LL_Init
202
  73              	.LVL3:
203
 118:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
204
 119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
205
  74              		.loc 1 119 3 view .LVU20
206
  75              		.loc 1 119 10 is_stmt 0 view .LVU21
207
  76 0026 0020     		movs	r0, #0
208
 120:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
209
  77              		.loc 1 120 1 view .LVU22
210
  78 0028 08BD     		pop	{r3, pc}
211
  79              	.LVL4:
212
  80              	.L5:
213
  81              	.LCFI1:
214
  82              		.cfi_def_cfa_offset 0
215
  83              		.cfi_restore 3
216
  84              		.cfi_restore 14
217
  98:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
218
  85              		.loc 1 98 12 view .LVU23
219
  86 002a 0220     		movs	r0, #2
220
  87              	.LVL5:
221
  88              		.loc 1 120 1 view .LVU24
222
  89 002c 7047     		bx	lr
223
  90              		.cfi_endproc
224
  91              	.LFE68:
225
  93              		.section	.text.USBD_DeInit,"ax",%progbits
226
  94              		.align	1
227
  95              		.global	USBD_DeInit
228
  96              		.syntax unified
229
  97              		.thumb
230
  98              		.thumb_func
231
  99              		.fpu softvfp
232
 101              	USBD_DeInit:
233
 102              	.LVL6:
234
 103              	.LFB69:
235
 121:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
236
 122:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
237
 123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_DeInit
238
 124:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Re-Initialize th device library
239
 125:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
240
 126:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status: status
19 mjames 241
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 5
16 mjames 242
 
243
 
244
 127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
245
 128:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_DeInit(USBD_HandleTypeDef *pdev)
246
 129:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
247
 104              		.loc 1 129 1 is_stmt 1 view -0
248
 105              		.cfi_startproc
249
 106              		@ args = 0, pretend = 0, frame = 0
250
 107              		@ frame_needed = 0, uses_anonymous_args = 0
251
 108              		.loc 1 129 1 is_stmt 0 view .LVU26
252
 109 0000 10B5     		push	{r4, lr}
253
 110              	.LCFI2:
254
 111              		.cfi_def_cfa_offset 8
255
 112              		.cfi_offset 4, -8
256
 113              		.cfi_offset 14, -4
257
 114 0002 0446     		mov	r4, r0
258
 130:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Set Default State */
259
 131:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_state = USBD_STATE_DEFAULT;
260
 115              		.loc 1 131 3 is_stmt 1 view .LVU27
261
 116              		.loc 1 131 19 is_stmt 0 view .LVU28
262
 117 0004 0123     		movs	r3, #1
263
 118 0006 80F89C32 		strb	r3, [r0, #668]
264
 132:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
265
 133:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Free Class Resources */
266
 134:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
267
 119              		.loc 1 134 3 is_stmt 1 view .LVU29
268
 120              		.loc 1 134 7 is_stmt 0 view .LVU30
269
 121 000a D0F8B432 		ldr	r3, [r0, #692]
270
 122              		.loc 1 134 15 view .LVU31
271
 123 000e 5B68     		ldr	r3, [r3, #4]
272
 124              		.loc 1 134 3 view .LVU32
273
 125 0010 0179     		ldrb	r1, [r0, #4]	@ zero_extendqisi2
274
 126 0012 9847     		blx	r3
275
 127              	.LVL7:
276
 135:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
277
 136:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Stop the low level driver  */
278
 137:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_LL_Stop(pdev);
279
 128              		.loc 1 137 3 is_stmt 1 view .LVU33
280
 129 0014 2046     		mov	r0, r4
281
 130 0016 FFF7FEFF 		bl	USBD_LL_Stop
282
 131              	.LVL8:
283
 138:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
284
 139:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Initialize low level driver */
285
 140:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_LL_DeInit(pdev);
286
 132              		.loc 1 140 3 view .LVU34
287
 133 001a 2046     		mov	r0, r4
288
 134 001c FFF7FEFF 		bl	USBD_LL_DeInit
289
 135              	.LVL9:
290
 141:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
291
 142:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
292
 136              		.loc 1 142 3 view .LVU35
293
 143:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
294
 137              		.loc 1 143 1 is_stmt 0 view .LVU36
295
 138 0020 0020     		movs	r0, #0
296
 139 0022 10BD     		pop	{r4, pc}
297
 140              		.loc 1 143 1 view .LVU37
298
 141              		.cfi_endproc
299
 142              	.LFE69:
300
 144              		.section	.text.USBD_RegisterClass,"ax",%progbits
19 mjames 301
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 6
16 mjames 302
 
303
 
304
 145              		.align	1
305
 146              		.global	USBD_RegisterClass
306
 147              		.syntax unified
307
 148              		.thumb
308
 149              		.thumb_func
309
 150              		.fpu softvfp
310
 152              	USBD_RegisterClass:
311
 153              	.LVL10:
312
 154              	.LFB70:
313
 144:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
314
 145:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
315
 146:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @brief  USBD_RegisterClass
316
 147:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   *         Link class driver to Device Core.
317
 148:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @param  pDevice : Device Handle
318
 149:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @param  pclass: Class handle
319
 150:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @retval USBD Status
320
 151:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   */
321
 152:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef  USBD_RegisterClass(USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass)
322
 153:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
323
 155              		.loc 1 153 1 is_stmt 1 view -0
324
 156              		.cfi_startproc
325
 157              		@ args = 0, pretend = 0, frame = 0
326
 158              		@ frame_needed = 0, uses_anonymous_args = 0
327
 159              		@ link register save eliminated.
328
 154:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_StatusTypeDef status = USBD_OK;
329
 160              		.loc 1 154 3 view .LVU39
330
 155:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pclass != NULL)
331
 161              		.loc 1 155 3 view .LVU40
332
 162              		.loc 1 155 6 is_stmt 0 view .LVU41
333
 163 0000 19B1     		cbz	r1, .L14
334
 156:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
335
 157:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     /* link the class to the USB Device handle */
336
 158:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pdev->pClass = pclass;
337
 164              		.loc 1 158 5 is_stmt 1 view .LVU42
338
 165              		.loc 1 158 18 is_stmt 0 view .LVU43
339
 166 0002 C0F8B412 		str	r1, [r0, #692]
340
 159:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     status = USBD_OK;
341
 167              		.loc 1 159 5 is_stmt 1 view .LVU44
342
 168              		.loc 1 159 12 is_stmt 0 view .LVU45
343
 169 0006 0020     		movs	r0, #0
344
 170              	.LVL11:
345
 171              		.loc 1 159 12 view .LVU46
346
 172 0008 7047     		bx	lr
347
 173              	.LVL12:
348
 174              	.L14:
349
 160:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
350
 161:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   else
351
 162:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
352
 163:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #if (USBD_DEBUG_LEVEL > 1U)
353
 164:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     USBD_ErrLog("Invalid Class handle");
354
 165:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** #endif
355
 166:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     status = USBD_FAIL;
356
 175              		.loc 1 166 12 view .LVU47
357
 176 000a 0220     		movs	r0, #2
358
 177              	.LVL13:
359
 167:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
360
 168:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
19 mjames 361
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 7
16 mjames 362
 
363
 
364
 169:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return status;
365
 178              		.loc 1 169 3 is_stmt 1 view .LVU48
366
 170:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
367
 179              		.loc 1 170 1 is_stmt 0 view .LVU49
368
 180 000c 7047     		bx	lr
369
 181              		.cfi_endproc
370
 182              	.LFE70:
371
 184              		.section	.text.USBD_Start,"ax",%progbits
372
 185              		.align	1
373
 186              		.global	USBD_Start
374
 187              		.syntax unified
375
 188              		.thumb
376
 189              		.thumb_func
377
 190              		.fpu softvfp
378
 192              	USBD_Start:
379
 193              	.LVL14:
380
 194              	.LFB71:
381
 171:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
382
 172:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
383
 173:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @brief  USBD_Start
384
 174:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   *         Start the USB Device Core.
385
 175:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @param  pdev: Device Handle
386
 176:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @retval USBD Status
387
 177:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   */
388
 178:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef  USBD_Start(USBD_HandleTypeDef *pdev)
389
 179:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
390
 195              		.loc 1 179 1 is_stmt 1 view -0
391
 196              		.cfi_startproc
392
 197              		@ args = 0, pretend = 0, frame = 0
393
 198              		@ frame_needed = 0, uses_anonymous_args = 0
394
 199              		.loc 1 179 1 is_stmt 0 view .LVU51
395
 200 0000 08B5     		push	{r3, lr}
396
 201              	.LCFI3:
397
 202              		.cfi_def_cfa_offset 8
398
 203              		.cfi_offset 3, -8
399
 204              		.cfi_offset 14, -4
400
 180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Start the low level driver  */
401
 181:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_LL_Start(pdev);
402
 205              		.loc 1 181 3 is_stmt 1 view .LVU52
403
 206 0002 FFF7FEFF 		bl	USBD_LL_Start
404
 207              	.LVL15:
405
 182:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
406
 183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
407
 208              		.loc 1 183 3 view .LVU53
408
 184:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
409
 209              		.loc 1 184 1 is_stmt 0 view .LVU54
410
 210 0006 0020     		movs	r0, #0
411
 211 0008 08BD     		pop	{r3, pc}
412
 212              		.cfi_endproc
413
 213              	.LFE71:
414
 215              		.section	.text.USBD_Stop,"ax",%progbits
415
 216              		.align	1
416
 217              		.global	USBD_Stop
417
 218              		.syntax unified
418
 219              		.thumb
419
 220              		.thumb_func
420
 221              		.fpu softvfp
19 mjames 421
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 8
16 mjames 422
 
423
 
424
 223              	USBD_Stop:
425
 224              	.LVL16:
426
 225              	.LFB72:
427
 185:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
428
 186:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
429
 187:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @brief  USBD_Stop
430
 188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   *         Stop the USB Device Core.
431
 189:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @param  pdev: Device Handle
432
 190:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   * @retval USBD Status
433
 191:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   */
434
 192:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef  USBD_Stop(USBD_HandleTypeDef *pdev)
435
 193:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
436
 226              		.loc 1 193 1 is_stmt 1 view -0
437
 227              		.cfi_startproc
438
 228              		@ args = 0, pretend = 0, frame = 0
439
 229              		@ frame_needed = 0, uses_anonymous_args = 0
440
 230              		.loc 1 193 1 is_stmt 0 view .LVU56
441
 231 0000 10B5     		push	{r4, lr}
442
 232              	.LCFI4:
443
 233              		.cfi_def_cfa_offset 8
444
 234              		.cfi_offset 4, -8
445
 235              		.cfi_offset 14, -4
446
 236 0002 0446     		mov	r4, r0
447
 194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Free Class Resources */
448
 195:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
449
 237              		.loc 1 195 3 is_stmt 1 view .LVU57
450
 238              		.loc 1 195 7 is_stmt 0 view .LVU58
451
 239 0004 D0F8B432 		ldr	r3, [r0, #692]
452
 240              		.loc 1 195 15 view .LVU59
453
 241 0008 5B68     		ldr	r3, [r3, #4]
454
 242              		.loc 1 195 3 view .LVU60
455
 243 000a 0179     		ldrb	r1, [r0, #4]	@ zero_extendqisi2
456
 244 000c 9847     		blx	r3
457
 245              	.LVL17:
458
 196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
459
 197:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Stop the low level driver */
460
 198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_LL_Stop(pdev);
461
 246              		.loc 1 198 3 is_stmt 1 view .LVU61
462
 247 000e 2046     		mov	r0, r4
463
 248 0010 FFF7FEFF 		bl	USBD_LL_Stop
464
 249              	.LVL18:
465
 199:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
466
 200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
467
 250              		.loc 1 200 3 view .LVU62
468
 201:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
469
 251              		.loc 1 201 1 is_stmt 0 view .LVU63
470
 252 0014 0020     		movs	r0, #0
471
 253 0016 10BD     		pop	{r4, pc}
472
 254              		.loc 1 201 1 view .LVU64
473
 255              		.cfi_endproc
474
 256              	.LFE72:
475
 258              		.section	.text.USBD_RunTestMode,"ax",%progbits
476
 259              		.align	1
477
 260              		.global	USBD_RunTestMode
478
 261              		.syntax unified
479
 262              		.thumb
480
 263              		.thumb_func
19 mjames 481
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 9
16 mjames 482
 
483
 
484
 264              		.fpu softvfp
485
 266              	USBD_RunTestMode:
486
 267              	.LVL19:
487
 268              	.LFB73:
488
 202:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
489
 203:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
490
 204:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_RunTestMode
491
 205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Launch test mode process
492
 206:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
493
 207:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
494
 208:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
495
 209:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef  USBD_RunTestMode(USBD_HandleTypeDef  *pdev)
496
 210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
497
 269              		.loc 1 210 1 is_stmt 1 view -0
498
 270              		.cfi_startproc
499
 271              		@ args = 0, pretend = 0, frame = 0
500
 272              		@ frame_needed = 0, uses_anonymous_args = 0
501
 273              		@ link register save eliminated.
502
 211:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Prevent unused argument compilation warning */
503
 212:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   UNUSED(pdev);
504
 274              		.loc 1 212 3 view .LVU66
505
 213:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
506
 214:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
507
 275              		.loc 1 214 3 view .LVU67
508
 215:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
509
 276              		.loc 1 215 1 is_stmt 0 view .LVU68
510
 277 0000 0020     		movs	r0, #0
511
 278              	.LVL20:
512
 279              		.loc 1 215 1 view .LVU69
513
 280 0002 7047     		bx	lr
514
 281              		.cfi_endproc
515
 282              	.LFE73:
516
 284              		.section	.text.USBD_SetClassConfig,"ax",%progbits
517
 285              		.align	1
518
 286              		.global	USBD_SetClassConfig
519
 287              		.syntax unified
520
 288              		.thumb
521
 289              		.thumb_func
522
 290              		.fpu softvfp
523
 292              	USBD_SetClassConfig:
524
 293              	.LVL21:
525
 294              	.LFB74:
526
 216:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
527
 217:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
528
 218:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_SetClassConfig
529
 219:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *        Configure device and start the interface
530
 220:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
531
 221:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  cfgidx: configuration index
532
 222:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
533
 223:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
534
 224:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
535
 225:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef  *pdev, uint8_t cfgidx)
536
 226:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
537
 295              		.loc 1 226 1 is_stmt 1 view -0
538
 296              		.cfi_startproc
539
 297              		@ args = 0, pretend = 0, frame = 0
540
 298              		@ frame_needed = 0, uses_anonymous_args = 0
19 mjames 541
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 10
16 mjames 542
 
543
 
544
 299              		.loc 1 226 1 is_stmt 0 view .LVU71
545
 300 0000 08B5     		push	{r3, lr}
546
 301              	.LCFI5:
547
 302              		.cfi_def_cfa_offset 8
548
 303              		.cfi_offset 3, -8
549
 304              		.cfi_offset 14, -4
550
 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_StatusTypeDef ret = USBD_FAIL;
551
 305              		.loc 1 227 3 is_stmt 1 view .LVU72
552
 306              	.LVL22:
553
 228:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
554
 229:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pdev->pClass != NULL)
555
 307              		.loc 1 229 3 view .LVU73
556
 308              		.loc 1 229 11 is_stmt 0 view .LVU74
557
 309 0002 D0F8B432 		ldr	r3, [r0, #692]
558
 310              		.loc 1 229 6 view .LVU75
559
 311 0006 33B1     		cbz	r3, .L22
560
 230:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
561
 231:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     /* Set configuration  and Start the Class*/
562
 232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     if (pdev->pClass->Init(pdev, cfgidx) == 0U)
563
 312              		.loc 1 232 5 is_stmt 1 view .LVU76
564
 313              		.loc 1 232 21 is_stmt 0 view .LVU77
565
 314 0008 1B68     		ldr	r3, [r3]
566
 315              		.loc 1 232 9 view .LVU78
567
 316 000a 9847     		blx	r3
568
 317              	.LVL23:
569
 318              		.loc 1 232 8 view .LVU79
570
 319 000c 08B9     		cbnz	r0, .L25
571
 233:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
572
 234:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       ret = USBD_OK;
573
 320              		.loc 1 234 11 view .LVU80
574
 321 000e 0020     		movs	r0, #0
575
 322              	.L21:
576
 323              	.LVL24:
577
 235:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
578
 236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
579
 237:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
580
 238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return ret;
581
 324              		.loc 1 238 3 is_stmt 1 view .LVU81
582
 239:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
583
 325              		.loc 1 239 1 is_stmt 0 view .LVU82
584
 326 0010 08BD     		pop	{r3, pc}
585
 327              	.LVL25:
586
 328              	.L25:
587
 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
588
 329              		.loc 1 227 22 view .LVU83
589
 330 0012 0220     		movs	r0, #2
590
 331 0014 FCE7     		b	.L21
591
 332              	.LVL26:
592
 333              	.L22:
593
 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
594
 334              		.loc 1 227 22 view .LVU84
595
 335 0016 0220     		movs	r0, #2
596
 336              	.LVL27:
597
 227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
598
 337              		.loc 1 227 22 view .LVU85
599
 338 0018 FAE7     		b	.L21
600
 339              		.cfi_endproc
19 mjames 601
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 11
16 mjames 602
 
603
 
604
 340              	.LFE74:
605
 342              		.section	.text.USBD_ClrClassConfig,"ax",%progbits
606
 343              		.align	1
607
 344              		.global	USBD_ClrClassConfig
608
 345              		.syntax unified
609
 346              		.thumb
610
 347              		.thumb_func
611
 348              		.fpu softvfp
612
 350              	USBD_ClrClassConfig:
613
 351              	.LVL28:
614
 352              	.LFB75:
615
 240:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
616
 241:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
617
 242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_ClrClassConfig
618
 243:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Clear current configuration
619
 244:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
620
 245:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  cfgidx: configuration index
621
 246:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status: USBD_StatusTypeDef
622
 247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
623
 248:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef  *pdev, uint8_t cfgidx)
624
 249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
625
 353              		.loc 1 249 1 is_stmt 1 view -0
626
 354              		.cfi_startproc
627
 355              		@ args = 0, pretend = 0, frame = 0
628
 356              		@ frame_needed = 0, uses_anonymous_args = 0
629
 357              		.loc 1 249 1 is_stmt 0 view .LVU87
630
 358 0000 08B5     		push	{r3, lr}
631
 359              	.LCFI6:
632
 360              		.cfi_def_cfa_offset 8
633
 361              		.cfi_offset 3, -8
634
 362              		.cfi_offset 14, -4
635
 250:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Clear configuration  and De-initialize the Class process*/
636
 251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->pClass->DeInit(pdev, cfgidx);
637
 363              		.loc 1 251 3 is_stmt 1 view .LVU88
638
 364              		.loc 1 251 7 is_stmt 0 view .LVU89
639
 365 0002 D0F8B432 		ldr	r3, [r0, #692]
640
 366              		.loc 1 251 15 view .LVU90
641
 367 0006 5B68     		ldr	r3, [r3, #4]
642
 368              		.loc 1 251 3 view .LVU91
643
 369 0008 9847     		blx	r3
644
 370              	.LVL29:
645
 252:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
646
 253:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
647
 371              		.loc 1 253 3 is_stmt 1 view .LVU92
648
 254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
649
 372              		.loc 1 254 1 is_stmt 0 view .LVU93
650
 373 000a 0020     		movs	r0, #0
651
 374 000c 08BD     		pop	{r3, pc}
652
 375              		.cfi_endproc
653
 376              	.LFE75:
654
 378              		.section	.text.USBD_LL_SetupStage,"ax",%progbits
655
 379              		.align	1
656
 380              		.global	USBD_LL_SetupStage
657
 381              		.syntax unified
658
 382              		.thumb
659
 383              		.thumb_func
660
 384              		.fpu softvfp
19 mjames 661
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 12
16 mjames 662
 
663
 
664
 386              	USBD_LL_SetupStage:
665
 387              	.LVL30:
666
 388              	.LFB76:
667
 255:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
668
 256:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
669
 257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
670
 258:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_SetupStage
671
 259:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle the setup stage
672
 260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
673
 261:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
674
 262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
675
 263:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_SetupStage(USBD_HandleTypeDef *pdev, uint8_t *psetup)
676
 264:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
677
 389              		.loc 1 264 1 is_stmt 1 view -0
678
 390              		.cfi_startproc
679
 391              		@ args = 0, pretend = 0, frame = 0
680
 392              		@ frame_needed = 0, uses_anonymous_args = 0
681
 393              		.loc 1 264 1 is_stmt 0 view .LVU95
682
 394 0000 38B5     		push	{r3, r4, r5, lr}
683
 395              	.LCFI7:
684
 396              		.cfi_def_cfa_offset 16
685
 397              		.cfi_offset 3, -16
686
 398              		.cfi_offset 4, -12
687
 399              		.cfi_offset 5, -8
688
 400              		.cfi_offset 14, -4
689
 401 0002 0446     		mov	r4, r0
690
 265:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_ParseSetupRequest(&pdev->request, psetup);
691
 402              		.loc 1 265 3 is_stmt 1 view .LVU96
692
 403 0004 00F52A75 		add	r5, r0, #680
693
 404 0008 2846     		mov	r0, r5
694
 405              	.LVL31:
695
 406              		.loc 1 265 3 is_stmt 0 view .LVU97
696
 407 000a FFF7FEFF 		bl	USBD_ParseSetupRequest
697
 408              	.LVL32:
698
 266:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
699
 267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->ep0_state = USBD_EP0_SETUP;
700
 409              		.loc 1 267 3 is_stmt 1 view .LVU98
701
 410              		.loc 1 267 19 is_stmt 0 view .LVU99
702
 411 000e 0123     		movs	r3, #1
703
 412 0010 C4F89432 		str	r3, [r4, #660]
704
 268:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
705
 269:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->ep0_data_len = pdev->request.wLength;
706
 413              		.loc 1 269 3 is_stmt 1 view .LVU100
707
 414              		.loc 1 269 37 is_stmt 0 view .LVU101
708
 415 0014 B4F8AE32 		ldrh	r3, [r4, #686]
709
 416              		.loc 1 269 22 view .LVU102
710
 417 0018 C4F89832 		str	r3, [r4, #664]
711
 270:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
712
 271:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   switch (pdev->request.bmRequest & 0x1FU)
713
 418              		.loc 1 271 3 is_stmt 1 view .LVU103
714
 419              		.loc 1 271 24 is_stmt 0 view .LVU104
715
 420 001c 94F8A812 		ldrb	r1, [r4, #680]	@ zero_extendqisi2
716
 421 0020 01F01F03 		and	r3, r1, #31
717
 422              		.loc 1 271 3 view .LVU105
718
 423 0024 012B     		cmp	r3, #1
719
 424 0026 0FD0     		beq	.L29
720
 425 0028 5AB2     		sxtb	r2, r3
19 mjames 721
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 13
16 mjames 722
 
723
 
724
 426 002a 3AB1     		cbz	r2, .L30
725
 427 002c 022B     		cmp	r3, #2
726
 428 002e 10D0     		beq	.L31
727
 272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
728
 273:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     case USB_REQ_RECIPIENT_DEVICE:
729
 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       USBD_StdDevReq(pdev, &pdev->request);
730
 275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       break;
731
 276:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
732
 277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     case USB_REQ_RECIPIENT_INTERFACE:
733
 278:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       USBD_StdItfReq(pdev, &pdev->request);
734
 279:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       break;
735
 280:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
736
 281:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     case USB_REQ_RECIPIENT_ENDPOINT:
737
 282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       USBD_StdEPReq(pdev, &pdev->request);
738
 283:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       break;
739
 284:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
740
 285:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     default:
741
 286:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       USBD_LL_StallEP(pdev, (pdev->request.bmRequest & 0x80U));
742
 429              		.loc 1 286 7 is_stmt 1 view .LVU106
743
 430 0030 01F08001 		and	r1, r1, #128
744
 431 0034 2046     		mov	r0, r4
745
 432 0036 FFF7FEFF 		bl	USBD_LL_StallEP
746
 433              	.LVL33:
747
 287:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       break;
748
 434              		.loc 1 287 7 view .LVU107
749
 435 003a 03E0     		b	.L33
750
 436              	.L30:
751
 274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       break;
752
 437              		.loc 1 274 7 view .LVU108
753
 438 003c 2946     		mov	r1, r5
754
 439 003e 2046     		mov	r0, r4
755
 440 0040 FFF7FEFF 		bl	USBD_StdDevReq
756
 441              	.LVL34:
757
 275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
758
 442              		.loc 1 275 7 view .LVU109
759
 443              	.L33:
760
 288:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
761
 289:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
762
 290:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
763
 444              		.loc 1 290 3 view .LVU110
764
 291:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
765
 445              		.loc 1 291 1 is_stmt 0 view .LVU111
766
 446 0044 0020     		movs	r0, #0
767
 447 0046 38BD     		pop	{r3, r4, r5, pc}
768
 448              	.LVL35:
769
 449              	.L29:
770
 278:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       break;
771
 450              		.loc 1 278 7 is_stmt 1 view .LVU112
772
 451 0048 2946     		mov	r1, r5
773
 452 004a 2046     		mov	r0, r4
774
 453 004c FFF7FEFF 		bl	USBD_StdItfReq
775
 454              	.LVL36:
776
 279:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
777
 455              		.loc 1 279 7 view .LVU113
778
 456 0050 F8E7     		b	.L33
779
 457              	.L31:
780
 282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       break;
19 mjames 781
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 14
16 mjames 782
 
783
 
784
 458              		.loc 1 282 7 view .LVU114
785
 459 0052 2946     		mov	r1, r5
786
 460 0054 2046     		mov	r0, r4
787
 461 0056 FFF7FEFF 		bl	USBD_StdEPReq
788
 462              	.LVL37:
789
 283:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
790
 463              		.loc 1 283 7 view .LVU115
791
 464 005a F3E7     		b	.L33
792
 465              		.cfi_endproc
793
 466              	.LFE76:
794
 468              		.section	.text.USBD_LL_DataOutStage,"ax",%progbits
795
 469              		.align	1
796
 470              		.global	USBD_LL_DataOutStage
797
 471              		.syntax unified
798
 472              		.thumb
799
 473              		.thumb_func
800
 474              		.fpu softvfp
801
 476              	USBD_LL_DataOutStage:
802
 477              	.LVL38:
803
 478              	.LFB77:
804
 292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
805
 293:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
806
 294:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_DataOutStage
807
 295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle data OUT stage
808
 296:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
809
 297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  epnum: endpoint index
810
 298:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
811
 299:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
812
 300:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev,
813
 301:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                                         uint8_t epnum, uint8_t *pdata)
814
 302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
815
 479              		.loc 1 302 1 view -0
816
 480              		.cfi_startproc
817
 481              		@ args = 0, pretend = 0, frame = 0
818
 482              		@ frame_needed = 0, uses_anonymous_args = 0
819
 483              		.loc 1 302 1 is_stmt 0 view .LVU117
820
 484 0000 38B5     		push	{r3, r4, r5, lr}
821
 485              	.LCFI8:
822
 486              		.cfi_def_cfa_offset 16
823
 487              		.cfi_offset 3, -16
824
 488              		.cfi_offset 4, -12
825
 489              		.cfi_offset 5, -8
826
 490              		.cfi_offset 14, -4
827
 491 0002 0446     		mov	r4, r0
828
 303:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_EndpointTypeDef *pep;
829
 492              		.loc 1 303 3 is_stmt 1 view .LVU118
830
 304:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
831
 305:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (epnum == 0U)
832
 493              		.loc 1 305 3 view .LVU119
833
 494              		.loc 1 305 6 is_stmt 0 view .LVU120
834
 495 0004 A9BB     		cbnz	r1, .L37
835
 496 0006 1046     		mov	r0, r2
836
 497              	.LVL39:
837
 306:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
838
 307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pep = &pdev->ep_out[0];
839
 498              		.loc 1 307 5 is_stmt 1 view .LVU121
840
 308:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
19 mjames 841
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 15
16 mjames 842
 
843
 
844
 309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     if (pdev->ep0_state == USBD_EP0_DATA_OUT)
845
 499              		.loc 1 309 5 view .LVU122
846
 500              		.loc 1 309 13 is_stmt 0 view .LVU123
847
 501 0008 D4F89432 		ldr	r3, [r4, #660]
848
 502              		.loc 1 309 8 view .LVU124
849
 503 000c 032B     		cmp	r3, #3
850
 504 000e 03D0     		beq	.L48
851
 310:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
852
 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       if (pep->rem_length > pep->maxpacket)
853
 312:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
854
 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         pep->rem_length -= pep->maxpacket;
855
 314:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
856
 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_CtlContinueRx(pdev, pdata,
857
 316:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                            (uint16_t)MIN(pep->rem_length, pep->maxpacket));
858
 317:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
859
 318:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       else
860
 319:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
861
 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         if ((pdev->pClass->EP0_RxReady != NULL) &&
862
 321:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pdev->dev_state == USBD_STATE_CONFIGURED))
863
 322:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         {
864
 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           pdev->pClass->EP0_RxReady(pdev);
865
 324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
866
 325:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_CtlSendStatus(pdev);
867
 326:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
868
 327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
869
 328:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     else
870
 329:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
871
 330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       if (pdev->ep0_state == USBD_EP0_STATUS_OUT)
872
 505              		.loc 1 330 7 is_stmt 1 view .LVU125
873
 506              		.loc 1 330 10 is_stmt 0 view .LVU126
874
 507 0010 052B     		cmp	r3, #5
875
 508 0012 25D0     		beq	.L49
876
 331:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
877
 332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         /*
878
 333:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****          * STATUS PHASE completed, update ep0_state to idle
879
 334:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****          */
880
 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         pdev->ep0_state = USBD_EP0_IDLE;
881
 336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_LL_StallEP(pdev, 0U);
882
 337:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
883
 338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
884
 339:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
885
 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   else if ((pdev->pClass->DataOut != NULL) &&
886
 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
887
 342:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
888
 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pdev->pClass->DataOut(pdev, epnum);
889
 344:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
890
 345:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   else
891
 346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
892
 347:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     /* should never be in this condition */
893
 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     return USBD_FAIL;
894
 349:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
895
 350:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
896
 351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
897
 509              		.loc 1 351 10 view .LVU127
898
 510 0014 0020     		movs	r0, #0
899
 511 0016 38E0     		b	.L42
900
 512              	.LVL40:
19 mjames 901
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 16
16 mjames 902
 
903
 
904
 513              	.L48:
905
 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
906
 514              		.loc 1 311 7 is_stmt 1 view .LVU128
907
 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
908
 515              		.loc 1 311 14 is_stmt 0 view .LVU129
909
 516 0018 D4F86031 		ldr	r3, [r4, #352]
910
 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
911
 517              		.loc 1 311 32 view .LVU130
912
 518 001c D4F86421 		ldr	r2, [r4, #356]
913
 311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
914
 519              		.loc 1 311 10 view .LVU131
915
 520 0020 9342     		cmp	r3, r2
916
 521 0022 0DD9     		bls	.L39
917
 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
918
 522              		.loc 1 313 9 is_stmt 1 view .LVU132
919
 313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
920
 523              		.loc 1 313 25 is_stmt 0 view .LVU133
921
 524 0024 9B1A     		subs	r3, r3, r2
922
 525 0026 C4F86031 		str	r3, [r4, #352]
923
 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                            (uint16_t)MIN(pep->rem_length, pep->maxpacket));
924
 526              		.loc 1 315 9 is_stmt 1 view .LVU134
925
 527 002a 9A42     		cmp	r2, r3
926
 528 002c 06D9     		bls	.L40
927
 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                            (uint16_t)MIN(pep->rem_length, pep->maxpacket));
928
 529              		.loc 1 315 9 is_stmt 0 discriminator 1 view .LVU135
929
 530 002e 9AB2     		uxth	r2, r3
930
 531              	.L41:
931
 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                            (uint16_t)MIN(pep->rem_length, pep->maxpacket));
932
 532              		.loc 1 315 9 discriminator 4 view .LVU136
933
 533 0030 0146     		mov	r1, r0
934
 534              	.LVL41:
935
 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                            (uint16_t)MIN(pep->rem_length, pep->maxpacket));
936
 535              		.loc 1 315 9 discriminator 4 view .LVU137
937
 536 0032 2046     		mov	r0, r4
938
 537              	.LVL42:
939
 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                            (uint16_t)MIN(pep->rem_length, pep->maxpacket));
940
 538              		.loc 1 315 9 discriminator 4 view .LVU138
941
 539 0034 FFF7FEFF 		bl	USBD_CtlContinueRx
942
 540              	.LVL43:
943
 541              		.loc 1 351 10 discriminator 4 view .LVU139
944
 542 0038 0020     		movs	r0, #0
945
 543 003a 26E0     		b	.L42
946
 544              	.LVL44:
947
 545              	.L40:
948
 315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                            (uint16_t)MIN(pep->rem_length, pep->maxpacket));
949
 546              		.loc 1 315 9 discriminator 2 view .LVU140
950
 547 003c 92B2     		uxth	r2, r2
951
 548 003e F7E7     		b	.L41
952
 549              	.L39:
953
 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pdev->dev_state == USBD_STATE_CONFIGURED))
954
 550              		.loc 1 320 9 is_stmt 1 view .LVU141
955
 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pdev->dev_state == USBD_STATE_CONFIGURED))
956
 551              		.loc 1 320 18 is_stmt 0 view .LVU142
957
 552 0040 D4F8B432 		ldr	r3, [r4, #692]
958
 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pdev->dev_state == USBD_STATE_CONFIGURED))
959
 553              		.loc 1 320 26 view .LVU143
960
 554 0044 1B69     		ldr	r3, [r3, #16]
19 mjames 961
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 17
16 mjames 962
 
963
 
964
 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pdev->dev_state == USBD_STATE_CONFIGURED))
965
 555              		.loc 1 320 12 view .LVU144
966
 556 0046 1BB1     		cbz	r3, .L43
967
 321:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         {
968
 557              		.loc 1 321 18 discriminator 1 view .LVU145
969
 558 0048 94F89C22 		ldrb	r2, [r4, #668]	@ zero_extendqisi2
970
 320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pdev->dev_state == USBD_STATE_CONFIGURED))
971
 559              		.loc 1 320 49 discriminator 1 view .LVU146
972
 560 004c 032A     		cmp	r2, #3
973
 561 004e 04D0     		beq	.L50
974
 562              	.LVL45:
975
 563              	.L43:
976
 325:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
977
 564              		.loc 1 325 9 is_stmt 1 view .LVU147
978
 565 0050 2046     		mov	r0, r4
979
 566 0052 FFF7FEFF 		bl	USBD_CtlSendStatus
980
 567              	.LVL46:
981
 568              		.loc 1 351 10 is_stmt 0 view .LVU148
982
 569 0056 0020     		movs	r0, #0
983
 570 0058 17E0     		b	.L42
984
 571              	.LVL47:
985
 572              	.L50:
986
 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
987
 573              		.loc 1 323 11 is_stmt 1 view .LVU149
988
 574 005a 2046     		mov	r0, r4
989
 575              	.LVL48:
990
 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
991
 576              		.loc 1 323 11 is_stmt 0 view .LVU150
992
 577 005c 9847     		blx	r3
993
 578              	.LVL49:
994
 323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
995
 579              		.loc 1 323 11 view .LVU151
996
 580 005e F7E7     		b	.L43
997
 581              	.LVL50:
998
 582              	.L49:
999
 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_LL_StallEP(pdev, 0U);
1000
 583              		.loc 1 335 9 is_stmt 1 view .LVU152
1001
 335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_LL_StallEP(pdev, 0U);
1002
 584              		.loc 1 335 25 is_stmt 0 view .LVU153
1003
 585 0060 0025     		movs	r5, #0
1004
 586 0062 C4F89452 		str	r5, [r4, #660]
1005
 336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
1006
 587              		.loc 1 336 9 is_stmt 1 view .LVU154
1007
 588 0066 2946     		mov	r1, r5
1008
 589              	.LVL51:
1009
 336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
1010
 590              		.loc 1 336 9 is_stmt 0 view .LVU155
1011
 591 0068 2046     		mov	r0, r4
1012
 592              	.LVL52:
1013
 336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
1014
 593              		.loc 1 336 9 view .LVU156
1015
 594 006a FFF7FEFF 		bl	USBD_LL_StallEP
1016
 595              	.LVL53:
1017
 596              		.loc 1 351 10 view .LVU157
1018
 597 006e 2846     		mov	r0, r5
1019
 598 0070 0BE0     		b	.L42
1020
 599              	.LVL54:
19 mjames 1021
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 18
16 mjames 1022
 
1023
 
1024
 600              	.L37:
1025
 601              		.loc 1 351 10 view .LVU158
1026
 602 0072 0A46     		mov	r2, r1
1027
 603              	.LVL55:
1028
 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1029
 604              		.loc 1 340 8 is_stmt 1 view .LVU159
1030
 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1031
 605              		.loc 1 340 17 is_stmt 0 view .LVU160
1032
 606 0074 D0F8B432 		ldr	r3, [r0, #692]
1033
 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1034
 607              		.loc 1 340 25 view .LVU161
1035
 608 0078 9B69     		ldr	r3, [r3, #24]
1036
 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1037
 609              		.loc 1 340 11 view .LVU162
1038
 610 007a 3BB1     		cbz	r3, .L45
1039
 341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1040
 611              		.loc 1 341 17 discriminator 1 view .LVU163
1041
 612 007c 90F89C12 		ldrb	r1, [r0, #668]	@ zero_extendqisi2
1042
 613              	.LVL56:
1043
 340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1044
 614              		.loc 1 340 44 discriminator 1 view .LVU164
1045
 615 0080 0329     		cmp	r1, #3
1046
 616 0082 05D1     		bne	.L46
1047
 343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1048
 617              		.loc 1 343 5 is_stmt 1 view .LVU165
1049
 618 0084 1146     		mov	r1, r2
1050
 619 0086 9847     		blx	r3
1051
 620              	.LVL57:
1052
 621              		.loc 1 351 10 is_stmt 0 view .LVU166
1053
 622 0088 0020     		movs	r0, #0
1054
 623              	.L42:
1055
 352:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1056
 624              		.loc 1 352 1 view .LVU167
1057
 625 008a 38BD     		pop	{r3, r4, r5, pc}
1058
 626              	.LVL58:
1059
 627              	.L45:
1060
 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1061
 628              		.loc 1 348 12 view .LVU168
1062
 629 008c 0220     		movs	r0, #2
1063
 630              	.LVL59:
1064
 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1065
 631              		.loc 1 348 12 view .LVU169
1066
 632 008e FCE7     		b	.L42
1067
 633              	.LVL60:
1068
 634              	.L46:
1069
 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1070
 635              		.loc 1 348 12 view .LVU170
1071
 636 0090 0220     		movs	r0, #2
1072
 637              	.LVL61:
1073
 348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1074
 638              		.loc 1 348 12 view .LVU171
1075
 639 0092 FAE7     		b	.L42
1076
 640              		.cfi_endproc
1077
 641              	.LFE77:
1078
 643              		.section	.text.USBD_LL_DataInStage,"ax",%progbits
1079
 644              		.align	1
1080
 645              		.global	USBD_LL_DataInStage
19 mjames 1081
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 19
16 mjames 1082
 
1083
 
1084
 646              		.syntax unified
1085
 647              		.thumb
1086
 648              		.thumb_func
1087
 649              		.fpu softvfp
1088
 651              	USBD_LL_DataInStage:
1089
 652              	.LVL62:
1090
 653              	.LFB78:
1091
 353:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1092
 354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1093
 355:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_DataInStage
1094
 356:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle data in stage
1095
 357:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1096
 358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  epnum: endpoint index
1097
 359:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1098
 360:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1099
 361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DataInStage(USBD_HandleTypeDef *pdev,
1100
 362:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                                        uint8_t epnum, uint8_t *pdata)
1101
 363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1102
 654              		.loc 1 363 1 is_stmt 1 view -0
1103
 655              		.cfi_startproc
1104
 656              		@ args = 0, pretend = 0, frame = 0
1105
 657              		@ frame_needed = 0, uses_anonymous_args = 0
1106
 658              		.loc 1 363 1 is_stmt 0 view .LVU173
1107
 659 0000 10B5     		push	{r4, lr}
1108
 660              	.LCFI9:
1109
 661              		.cfi_def_cfa_offset 8
1110
 662              		.cfi_offset 4, -8
1111
 663              		.cfi_offset 14, -4
1112
 664 0002 0446     		mov	r4, r0
1113
 364:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_EndpointTypeDef *pep;
1114
 665              		.loc 1 364 3 is_stmt 1 view .LVU174
1115
 365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1116
 366:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (epnum == 0U)
1117
 666              		.loc 1 366 3 view .LVU175
1118
 667              		.loc 1 366 6 is_stmt 0 view .LVU176
1119
 668 0004 0029     		cmp	r1, #0
1120
 669 0006 54D1     		bne	.L52
1121
 670 0008 1046     		mov	r0, r2
1122
 671              	.LVL63:
1123
 367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1124
 368:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pep = &pdev->ep_in[0];
1125
 672              		.loc 1 368 5 is_stmt 1 view .LVU177
1126
 369:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1127
 370:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     if (pdev->ep0_state == USBD_EP0_DATA_IN)
1128
 673              		.loc 1 370 5 view .LVU178
1129
 674              		.loc 1 370 13 is_stmt 0 view .LVU179
1130
 675 000a D4F89432 		ldr	r3, [r4, #660]
1131
 676              		.loc 1 370 8 view .LVU180
1132
 677 000e 022B     		cmp	r3, #2
1133
 678 0010 0CD0     		beq	.L64
1134
 371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1135
 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       if (pep->rem_length > pep->maxpacket)
1136
 373:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
1137
 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         pep->rem_length -= pep->maxpacket;
1138
 375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1139
 376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_CtlContinueSendData(pdev, pdata, (uint16_t)pep->rem_length);
1140
 377:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
19 mjames 1141
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 20
16 mjames 1142
 
1143
 
1144
 378:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         /* Prepare endpoint for premature end of transfer */
1145
 379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U);
1146
 380:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
1147
 381:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       else
1148
 382:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
1149
 383:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         /* last packet is MPS multiple, so send ZLP packet */
1150
 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         if ((pep->total_length % pep->maxpacket == 0U) &&
1151
 385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length >= pep->maxpacket) &&
1152
 386:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length < pdev->ep0_data_len))
1153
 387:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         {
1154
 388:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           USBD_CtlContinueSendData(pdev, NULL, 0U);
1155
 389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           pdev->ep0_data_len = 0U;
1156
 390:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1157
 391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           /* Prepare endpoint for premature end of transfer */
1158
 392:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U);
1159
 393:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
1160
 394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         else
1161
 395:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         {
1162
 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           if ((pdev->pClass->EP0_TxSent != NULL) &&
1163
 397:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****               (pdev->dev_state == USBD_STATE_CONFIGURED))
1164
 398:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           {
1165
 399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             pdev->pClass->EP0_TxSent(pdev);
1166
 400:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           }
1167
 401:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           USBD_LL_StallEP(pdev, 0x80U);
1168
 402:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           USBD_CtlReceiveStatus(pdev);
1169
 403:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
1170
 404:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
1171
 405:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1172
 406:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     else
1173
 407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1174
 408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       if ((pdev->ep0_state == USBD_EP0_STATUS_IN) ||
1175
 679              		.loc 1 408 7 is_stmt 1 view .LVU181
1176
 680              		.loc 1 408 10 is_stmt 0 view .LVU182
1177
 681 0012 042B     		cmp	r3, #4
1178
 682 0014 00D0     		beq	.L58
1179
 683              		.loc 1 408 51 discriminator 1 view .LVU183
1180
 684 0016 1BB9     		cbnz	r3, .L55
1181
 685              	.L58:
1182
 409:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           (pdev->ep0_state == USBD_EP0_IDLE))
1183
 410:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
1184
 411:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         USBD_LL_StallEP(pdev, 0x80U);
1185
 686              		.loc 1 411 9 is_stmt 1 view .LVU184
1186
 687 0018 8021     		movs	r1, #128
1187
 688              	.LVL64:
1188
 689              		.loc 1 411 9 is_stmt 0 view .LVU185
1189
 690 001a 2046     		mov	r0, r4
1190
 691 001c FFF7FEFF 		bl	USBD_LL_StallEP
1191
 692              	.LVL65:
1192
 693              	.L55:
1193
 412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
1194
 413:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1195
 414:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1196
 415:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     if (pdev->dev_test_mode == 1U)
1197
 694              		.loc 1 415 5 is_stmt 1 view .LVU186
1198
 695              		.loc 1 415 13 is_stmt 0 view .LVU187
1199
 696 0020 94F8A032 		ldrb	r3, [r4, #672]	@ zero_extendqisi2
1200
 697              		.loc 1 415 8 view .LVU188
19 mjames 1201
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 21
16 mjames 1202
 
1203
 
1204
 698 0024 012B     		cmp	r3, #1
1205
 699 0026 40D0     		beq	.L65
1206
 416:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1207
 417:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       USBD_RunTestMode(pdev);
1208
 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       pdev->dev_test_mode = 0U;
1209
 419:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1210
 420:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1211
 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   else if ((pdev->pClass->DataIn != NULL) &&
1212
 422:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1213
 423:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1214
 424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pdev->pClass->DataIn(pdev, epnum);
1215
 425:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1216
 426:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   else
1217
 427:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1218
 428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     /* should never be in this condition */
1219
 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     return USBD_FAIL;
1220
 430:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1221
 431:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1222
 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1223
 700              		.loc 1 432 10 view .LVU189
1224
 701 0028 0020     		movs	r0, #0
1225
 702              	.LVL66:
1226
 703              	.L59:
1227
 433:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1228
 704              		.loc 1 433 1 view .LVU190
1229
 705 002a 10BD     		pop	{r4, pc}
1230
 706              	.LVL67:
1231
 707              	.L64:
1232
 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
1233
 708              		.loc 1 372 7 is_stmt 1 view .LVU191
1234
 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
1235
 709              		.loc 1 372 14 is_stmt 0 view .LVU192
1236
 710 002c 236A     		ldr	r3, [r4, #32]
1237
 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
1238
 711              		.loc 1 372 32 view .LVU193
1239
 712 002e 626A     		ldr	r2, [r4, #36]
1240
 372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       {
1241
 713              		.loc 1 372 10 view .LVU194
1242
 714 0030 9342     		cmp	r3, r2
1243
 715 0032 1BD8     		bhi	.L66
1244
 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length >= pep->maxpacket) &&
1245
 716              		.loc 1 384 9 is_stmt 1 view .LVU195
1246
 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length >= pep->maxpacket) &&
1247
 717              		.loc 1 384 17 is_stmt 0 view .LVU196
1248
 718 0034 E169     		ldr	r1, [r4, #28]
1249
 719              	.LVL68:
1250
 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length >= pep->maxpacket) &&
1251
 720              		.loc 1 384 32 view .LVU197
1252
 721 0036 B1FBF2F3 		udiv	r3, r1, r2
1253
 722 003a 02FB1313 		mls	r3, r2, r3, r1
1254
 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length >= pep->maxpacket) &&
1255
 723              		.loc 1 384 12 view .LVU198
1256
 724 003e 2BB9     		cbnz	r3, .L56
1257
 384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length >= pep->maxpacket) &&
1258
 725              		.loc 1 384 56 discriminator 1 view .LVU199
1259
 726 0040 8A42     		cmp	r2, r1
1260
 727 0042 03D8     		bhi	.L56
19 mjames 1261
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 22
16 mjames 1262
 
1263
 
1264
 386:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         {
1265
 728              		.loc 1 386 38 view .LVU200
1266
 729 0044 D4F89832 		ldr	r3, [r4, #664]
1267
 385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****             (pep->total_length < pdev->ep0_data_len))
1268
 730              		.loc 1 385 51 view .LVU201
1269
 731 0048 9942     		cmp	r1, r3
1270
 732 004a 1DD3     		bcc	.L67
1271
 733              	.L56:
1272
 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****               (pdev->dev_state == USBD_STATE_CONFIGURED))
1273
 734              		.loc 1 396 11 is_stmt 1 view .LVU202
1274
 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****               (pdev->dev_state == USBD_STATE_CONFIGURED))
1275
 735              		.loc 1 396 20 is_stmt 0 view .LVU203
1276
 736 004c D4F8B432 		ldr	r3, [r4, #692]
1277
 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****               (pdev->dev_state == USBD_STATE_CONFIGURED))
1278
 737              		.loc 1 396 28 view .LVU204
1279
 738 0050 DB68     		ldr	r3, [r3, #12]
1280
 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****               (pdev->dev_state == USBD_STATE_CONFIGURED))
1281
 739              		.loc 1 396 14 view .LVU205
1282
 740 0052 1BB1     		cbz	r3, .L57
1283
 397:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           {
1284
 741              		.loc 1 397 20 discriminator 1 view .LVU206
1285
 742 0054 94F89C22 		ldrb	r2, [r4, #668]	@ zero_extendqisi2
1286
 396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****               (pdev->dev_state == USBD_STATE_CONFIGURED))
1287
 743              		.loc 1 396 50 discriminator 1 view .LVU207
1288
 744 0058 032A     		cmp	r2, #3
1289
 745 005a 23D0     		beq	.L68
1290
 746              	.LVL69:
1291
 747              	.L57:
1292
 401:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           USBD_CtlReceiveStatus(pdev);
1293
 748              		.loc 1 401 11 is_stmt 1 view .LVU208
1294
 749 005c 8021     		movs	r1, #128
1295
 750 005e 2046     		mov	r0, r4
1296
 751 0060 FFF7FEFF 		bl	USBD_LL_StallEP
1297
 752              	.LVL70:
1298
 402:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
1299
 753              		.loc 1 402 11 view .LVU209
1300
 754 0064 2046     		mov	r0, r4
1301
 755 0066 FFF7FEFF 		bl	USBD_CtlReceiveStatus
1302
 756              	.LVL71:
1303
 757 006a D9E7     		b	.L55
1304
 758              	.LVL72:
1305
 759              	.L66:
1306
 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1307
 760              		.loc 1 374 9 view .LVU210
1308
 374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1309
 761              		.loc 1 374 25 is_stmt 0 view .LVU211
1310
 762 006c 9A1A     		subs	r2, r3, r2
1311
 763 006e 2262     		str	r2, [r4, #32]
1312
 376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1313
 764              		.loc 1 376 9 is_stmt 1 view .LVU212
1314
 765 0070 92B2     		uxth	r2, r2
1315
 766 0072 0146     		mov	r1, r0
1316
 767              	.LVL73:
1317
 376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1318
 768              		.loc 1 376 9 is_stmt 0 view .LVU213
1319
 769 0074 2046     		mov	r0, r4
1320
 770              	.LVL74:
19 mjames 1321
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 23
16 mjames 1322
 
1323
 
1324
 376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1325
 771              		.loc 1 376 9 view .LVU214
1326
 772 0076 FFF7FEFF 		bl	USBD_CtlContinueSendData
1327
 773              	.LVL75:
1328
 379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       }
1329
 774              		.loc 1 379 9 is_stmt 1 view .LVU215
1330
 775 007a 0023     		movs	r3, #0
1331
 776 007c 1A46     		mov	r2, r3
1332
 777 007e 1946     		mov	r1, r3
1333
 778 0080 2046     		mov	r0, r4
1334
 779 0082 FFF7FEFF 		bl	USBD_LL_PrepareReceive
1335
 780              	.LVL76:
1336
 781 0086 CBE7     		b	.L55
1337
 782              	.LVL77:
1338
 783              	.L67:
1339
 388:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           pdev->ep0_data_len = 0U;
1340
 784              		.loc 1 388 11 view .LVU216
1341
 785 0088 0022     		movs	r2, #0
1342
 786 008a 1146     		mov	r1, r2
1343
 787 008c 2046     		mov	r0, r4
1344
 788              	.LVL78:
1345
 388:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           pdev->ep0_data_len = 0U;
1346
 789              		.loc 1 388 11 is_stmt 0 view .LVU217
1347
 790 008e FFF7FEFF 		bl	USBD_CtlContinueSendData
1348
 791              	.LVL79:
1349
 389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1350
 792              		.loc 1 389 11 is_stmt 1 view .LVU218
1351
 389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1352
 793              		.loc 1 389 30 is_stmt 0 view .LVU219
1353
 794 0092 0021     		movs	r1, #0
1354
 795 0094 C4F89812 		str	r1, [r4, #664]
1355
 392:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****         }
1356
 796              		.loc 1 392 11 is_stmt 1 view .LVU220
1357
 797 0098 0B46     		mov	r3, r1
1358
 798 009a 0A46     		mov	r2, r1
1359
 799 009c 2046     		mov	r0, r4
1360
 800 009e FFF7FEFF 		bl	USBD_LL_PrepareReceive
1361
 801              	.LVL80:
1362
 802 00a2 BDE7     		b	.L55
1363
 803              	.LVL81:
1364
 804              	.L68:
1365
 399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           }
1366
 805              		.loc 1 399 13 view .LVU221
1367
 806 00a4 2046     		mov	r0, r4
1368
 807              	.LVL82:
1369
 399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****           }
1370
 808              		.loc 1 399 13 is_stmt 0 view .LVU222
1371
 809 00a6 9847     		blx	r3
1372
 810              	.LVL83:
1373
 811 00a8 D8E7     		b	.L57
1374
 812              	.L65:
1375
 417:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       pdev->dev_test_mode = 0U;
1376
 813              		.loc 1 417 7 is_stmt 1 view .LVU223
1377
 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1378
 814              		.loc 1 418 7 view .LVU224
1379
 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1380
 815              		.loc 1 418 27 is_stmt 0 view .LVU225
19 mjames 1381
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 24
16 mjames 1382
 
1383
 
1384
 816 00aa 0020     		movs	r0, #0
1385
 817 00ac 84F8A002 		strb	r0, [r4, #672]
1386
 818 00b0 BBE7     		b	.L59
1387
 819              	.LVL84:
1388
 820              	.L52:
1389
 418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1390
 821              		.loc 1 418 27 view .LVU226
1391
 822 00b2 0A46     		mov	r2, r1
1392
 823              	.LVL85:
1393
 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1394
 824              		.loc 1 421 8 is_stmt 1 view .LVU227
1395
 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1396
 825              		.loc 1 421 17 is_stmt 0 view .LVU228
1397
 826 00b4 D0F8B432 		ldr	r3, [r0, #692]
1398
 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1399
 827              		.loc 1 421 25 view .LVU229
1400
 828 00b8 5B69     		ldr	r3, [r3, #20]
1401
 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1402
 829              		.loc 1 421 11 view .LVU230
1403
 830 00ba 3BB1     		cbz	r3, .L61
1404
 422:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1405
 831              		.loc 1 422 17 discriminator 1 view .LVU231
1406
 832 00bc 90F89C12 		ldrb	r1, [r0, #668]	@ zero_extendqisi2
1407
 833              	.LVL86:
1408
 421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****            (pdev->dev_state == USBD_STATE_CONFIGURED))
1409
 834              		.loc 1 421 43 discriminator 1 view .LVU232
1410
 835 00c0 0329     		cmp	r1, #3
1411
 836 00c2 05D1     		bne	.L62
1412
 424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1413
 837              		.loc 1 424 5 is_stmt 1 view .LVU233
1414
 838 00c4 1146     		mov	r1, r2
1415
 839 00c6 9847     		blx	r3
1416
 840              	.LVL87:
1417
 432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1418
 841              		.loc 1 432 10 is_stmt 0 view .LVU234
1419
 842 00c8 0020     		movs	r0, #0
1420
 424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1421
 843              		.loc 1 424 5 view .LVU235
1422
 844 00ca AEE7     		b	.L59
1423
 845              	.LVL88:
1424
 846              	.L61:
1425
 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1426
 847              		.loc 1 429 12 view .LVU236
1427
 848 00cc 0220     		movs	r0, #2
1428
 849              	.LVL89:
1429
 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1430
 850              		.loc 1 429 12 view .LVU237
1431
 851 00ce ACE7     		b	.L59
1432
 852              	.LVL90:
1433
 853              	.L62:
1434
 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1435
 854              		.loc 1 429 12 view .LVU238
1436
 855 00d0 0220     		movs	r0, #2
1437
 856              	.LVL91:
1438
 429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1439
 857              		.loc 1 429 12 view .LVU239
1440
 858 00d2 AAE7     		b	.L59
19 mjames 1441
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 25
16 mjames 1442
 
1443
 
1444
 859              		.cfi_endproc
1445
 860              	.LFE78:
1446
 862              		.section	.text.USBD_LL_Reset,"ax",%progbits
1447
 863              		.align	1
1448
 864              		.global	USBD_LL_Reset
1449
 865              		.syntax unified
1450
 866              		.thumb
1451
 867              		.thumb_func
1452
 868              		.fpu softvfp
1453
 870              	USBD_LL_Reset:
1454
 871              	.LVL92:
1455
 872              	.LFB79:
1456
 434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1457
 435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1458
 436:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_LL_Reset
1459
 437:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle Reset event
1460
 438:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1461
 439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1462
 440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1463
 441:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1464
 442:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_Reset(USBD_HandleTypeDef *pdev)
1465
 443:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1466
 873              		.loc 1 443 1 is_stmt 1 view -0
1467
 874              		.cfi_startproc
1468
 875              		@ args = 0, pretend = 0, frame = 0
1469
 876              		@ frame_needed = 0, uses_anonymous_args = 0
1470
 877              		.loc 1 443 1 is_stmt 0 view .LVU241
1471
 878 0000 70B5     		push	{r4, r5, r6, lr}
1472
 879              	.LCFI10:
1473
 880              		.cfi_def_cfa_offset 16
1474
 881              		.cfi_offset 4, -16
1475
 882              		.cfi_offset 5, -12
1476
 883              		.cfi_offset 6, -8
1477
 884              		.cfi_offset 14, -4
1478
 885 0002 0446     		mov	r4, r0
1479
 444:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Open EP0 OUT */
1480
 445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_LL_OpenEP(pdev, 0x00U, USBD_EP_TYPE_CTRL, USB_MAX_EP0_SIZE);
1481
 886              		.loc 1 445 3 is_stmt 1 view .LVU242
1482
 887 0004 4023     		movs	r3, #64
1483
 888 0006 0022     		movs	r2, #0
1484
 889 0008 1146     		mov	r1, r2
1485
 890 000a FFF7FEFF 		bl	USBD_LL_OpenEP
1486
 891              	.LVL93:
1487
 446:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->ep_out[0x00U & 0xFU].is_used = 1U;
1488
 892              		.loc 1 446 3 view .LVU243
1489
 893              		.loc 1 446 38 is_stmt 0 view .LVU244
1490
 894 000e 0125     		movs	r5, #1
1491
 895 0010 C4F85851 		str	r5, [r4, #344]
1492
 447:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1493
 448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->ep_out[0].maxpacket = USB_MAX_EP0_SIZE;
1494
 896              		.loc 1 448 3 is_stmt 1 view .LVU245
1495
 897              		.loc 1 448 29 is_stmt 0 view .LVU246
1496
 898 0014 4026     		movs	r6, #64
1497
 899 0016 C4F86461 		str	r6, [r4, #356]
1498
 449:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1499
 450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Open EP0 IN */
1500
 451:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   USBD_LL_OpenEP(pdev, 0x80U, USBD_EP_TYPE_CTRL, USB_MAX_EP0_SIZE);
19 mjames 1501
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 26
16 mjames 1502
 
1503
 
1504
 900              		.loc 1 451 3 is_stmt 1 view .LVU247
1505
 901 001a 3346     		mov	r3, r6
1506
 902 001c 0022     		movs	r2, #0
1507
 903 001e 8021     		movs	r1, #128
1508
 904 0020 2046     		mov	r0, r4
1509
 905 0022 FFF7FEFF 		bl	USBD_LL_OpenEP
1510
 906              	.LVL94:
1511
 452:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->ep_in[0x80U & 0xFU].is_used = 1U;
1512
 907              		.loc 1 452 3 view .LVU248
1513
 908              		.loc 1 452 37 is_stmt 0 view .LVU249
1514
 909 0026 A561     		str	r5, [r4, #24]
1515
 453:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1516
 454:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->ep_in[0].maxpacket = USB_MAX_EP0_SIZE;
1517
 910              		.loc 1 454 3 is_stmt 1 view .LVU250
1518
 911              		.loc 1 454 28 is_stmt 0 view .LVU251
1519
 912 0028 6662     		str	r6, [r4, #36]
1520
 455:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1521
 456:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Upon Reset call user call back */
1522
 457:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_state = USBD_STATE_DEFAULT;
1523
 913              		.loc 1 457 3 is_stmt 1 view .LVU252
1524
 914              		.loc 1 457 19 is_stmt 0 view .LVU253
1525
 915 002a 84F89C52 		strb	r5, [r4, #668]
1526
 458:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->ep0_state = USBD_EP0_IDLE;
1527
 916              		.loc 1 458 3 is_stmt 1 view .LVU254
1528
 917              		.loc 1 458 19 is_stmt 0 view .LVU255
1529
 918 002e 0023     		movs	r3, #0
1530
 919 0030 C4F89432 		str	r3, [r4, #660]
1531
 459:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_config = 0U;
1532
 920              		.loc 1 459 3 is_stmt 1 view .LVU256
1533
 921              		.loc 1 459 20 is_stmt 0 view .LVU257
1534
 922 0034 6360     		str	r3, [r4, #4]
1535
 460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_remote_wakeup = 0U;
1536
 923              		.loc 1 460 3 is_stmt 1 view .LVU258
1537
 924              		.loc 1 460 27 is_stmt 0 view .LVU259
1538
 925 0036 C4F8A432 		str	r3, [r4, #676]
1539
 461:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1540
 462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pdev->pClassData)
1541
 926              		.loc 1 462 3 is_stmt 1 view .LVU260
1542
 927              		.loc 1 462 11 is_stmt 0 view .LVU261
1543
 928 003a D4F8B832 		ldr	r3, [r4, #696]
1544
 929              		.loc 1 462 6 view .LVU262
1545
 930 003e 2BB1     		cbz	r3, .L70
1546
 463:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1547
 464:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
1548
 931              		.loc 1 464 5 is_stmt 1 view .LVU263
1549
 932              		.loc 1 464 9 is_stmt 0 view .LVU264
1550
 933 0040 D4F8B432 		ldr	r3, [r4, #692]
1551
 934              		.loc 1 464 17 view .LVU265
1552
 935 0044 5B68     		ldr	r3, [r3, #4]
1553
 936              		.loc 1 464 5 view .LVU266
1554
 937 0046 0021     		movs	r1, #0
1555
 938 0048 2046     		mov	r0, r4
1556
 939 004a 9847     		blx	r3
1557
 940              	.LVL95:
1558
 941              	.L70:
1559
 465:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1560
 466:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
19 mjames 1561
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 27
16 mjames 1562
 
1563
 
1564
 467:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1565
 942              		.loc 1 467 3 is_stmt 1 view .LVU267
1566
 468:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1567
 943              		.loc 1 468 1 is_stmt 0 view .LVU268
1568
 944 004c 0020     		movs	r0, #0
1569
 945 004e 70BD     		pop	{r4, r5, r6, pc}
1570
 946              		.loc 1 468 1 view .LVU269
1571
 947              		.cfi_endproc
1572
 948              	.LFE79:
1573
 950              		.section	.text.USBD_LL_SetSpeed,"ax",%progbits
1574
 951              		.align	1
1575
 952              		.global	USBD_LL_SetSpeed
1576
 953              		.syntax unified
1577
 954              		.thumb
1578
 955              		.thumb_func
1579
 956              		.fpu softvfp
1580
 958              	USBD_LL_SetSpeed:
1581
 959              	.LVL96:
1582
 960              	.LFB80:
1583
 469:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1584
 470:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1585
 471:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_LL_Reset
1586
 472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle Reset event
1587
 473:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1588
 474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1589
 475:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1590
 476:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_SetSpeed(USBD_HandleTypeDef *pdev,
1591
 477:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                                     USBD_SpeedTypeDef speed)
1592
 478:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1593
 961              		.loc 1 478 1 is_stmt 1 view -0
1594
 962              		.cfi_startproc
1595
 963              		@ args = 0, pretend = 0, frame = 0
1596
 964              		@ frame_needed = 0, uses_anonymous_args = 0
1597
 965              		@ link register save eliminated.
1598
 479:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_speed = speed;
1599
 966              		.loc 1 479 3 view .LVU271
1600
 967              		.loc 1 479 19 is_stmt 0 view .LVU272
1601
 968 0000 0174     		strb	r1, [r0, #16]
1602
 480:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1603
 481:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1604
 969              		.loc 1 481 3 is_stmt 1 view .LVU273
1605
 482:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1606
 970              		.loc 1 482 1 is_stmt 0 view .LVU274
1607
 971 0002 0020     		movs	r0, #0
1608
 972              	.LVL97:
1609
 973              		.loc 1 482 1 view .LVU275
1610
 974 0004 7047     		bx	lr
1611
 975              		.cfi_endproc
1612
 976              	.LFE80:
1613
 978              		.section	.text.USBD_LL_Suspend,"ax",%progbits
1614
 979              		.align	1
1615
 980              		.global	USBD_LL_Suspend
1616
 981              		.syntax unified
1617
 982              		.thumb
1618
 983              		.thumb_func
1619
 984              		.fpu softvfp
1620
 986              	USBD_LL_Suspend:
19 mjames 1621
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 28
16 mjames 1622
 
1623
 
1624
 987              	.LVL98:
1625
 988              	.LFB81:
1626
 483:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1627
 484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1628
 485:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_Suspend
1629
 486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle Suspend event
1630
 487:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1631
 488:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1632
 489:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1633
 490:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1634
 491:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_Suspend(USBD_HandleTypeDef *pdev)
1635
 492:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1636
 989              		.loc 1 492 1 is_stmt 1 view -0
1637
 990              		.cfi_startproc
1638
 991              		@ args = 0, pretend = 0, frame = 0
1639
 992              		@ frame_needed = 0, uses_anonymous_args = 0
1640
 993              		@ link register save eliminated.
1641
 493:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_old_state =  pdev->dev_state;
1642
 994              		.loc 1 493 3 view .LVU277
1643
 995              		.loc 1 493 30 is_stmt 0 view .LVU278
1644
 996 0000 90F89C32 		ldrb	r3, [r0, #668]	@ zero_extendqisi2
1645
 997              		.loc 1 493 23 view .LVU279
1646
 998 0004 80F89D32 		strb	r3, [r0, #669]
1647
 494:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_state  = USBD_STATE_SUSPENDED;
1648
 999              		.loc 1 494 3 is_stmt 1 view .LVU280
1649
 1000              		.loc 1 494 20 is_stmt 0 view .LVU281
1650
 1001 0008 0423     		movs	r3, #4
1651
 1002 000a 80F89C32 		strb	r3, [r0, #668]
1652
 495:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1653
 496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1654
 1003              		.loc 1 496 3 is_stmt 1 view .LVU282
1655
 497:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1656
 1004              		.loc 1 497 1 is_stmt 0 view .LVU283
1657
 1005 000e 0020     		movs	r0, #0
1658
 1006              	.LVL99:
1659
 1007              		.loc 1 497 1 view .LVU284
1660
 1008 0010 7047     		bx	lr
1661
 1009              		.cfi_endproc
1662
 1010              	.LFE81:
1663
 1012              		.section	.text.USBD_LL_Resume,"ax",%progbits
1664
 1013              		.align	1
1665
 1014              		.global	USBD_LL_Resume
1666
 1015              		.syntax unified
1667
 1016              		.thumb
1668
 1017              		.thumb_func
1669
 1018              		.fpu softvfp
1670
 1020              	USBD_LL_Resume:
1671
 1021              	.LVL100:
1672
 1022              	.LFB82:
1673
 498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1674
 499:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1675
 500:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_Resume
1676
 501:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle Resume event
1677
 502:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1678
 503:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1679
 504:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1680
 505:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
19 mjames 1681
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 29
16 mjames 1682
 
1683
 
1684
 506:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_Resume(USBD_HandleTypeDef *pdev)
1685
 507:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1686
 1023              		.loc 1 507 1 is_stmt 1 view -0
1687
 1024              		.cfi_startproc
1688
 1025              		@ args = 0, pretend = 0, frame = 0
1689
 1026              		@ frame_needed = 0, uses_anonymous_args = 0
1690
 1027              		@ link register save eliminated.
1691
 508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pdev->dev_state == USBD_STATE_SUSPENDED)
1692
 1028              		.loc 1 508 3 view .LVU286
1693
 1029              		.loc 1 508 11 is_stmt 0 view .LVU287
1694
 1030 0000 90F89C32 		ldrb	r3, [r0, #668]	@ zero_extendqisi2
1695
 1031              		.loc 1 508 6 view .LVU288
1696
 1032 0004 042B     		cmp	r3, #4
1697
 1033 0006 01D0     		beq	.L76
1698
 1034              	.L75:
1699
 509:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1700
 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     pdev->dev_state = pdev->dev_old_state;
1701
 511:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1702
 512:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1703
 513:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1704
 1035              		.loc 1 513 3 is_stmt 1 view .LVU289
1705
 514:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1706
 1036              		.loc 1 514 1 is_stmt 0 view .LVU290
1707
 1037 0008 0020     		movs	r0, #0
1708
 1038              	.LVL101:
1709
 1039              		.loc 1 514 1 view .LVU291
1710
 1040 000a 7047     		bx	lr
1711
 1041              	.LVL102:
1712
 1042              	.L76:
1713
 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1714
 1043              		.loc 1 510 5 is_stmt 1 view .LVU292
1715
 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1716
 1044              		.loc 1 510 27 is_stmt 0 view .LVU293
1717
 1045 000c 90F89D32 		ldrb	r3, [r0, #669]	@ zero_extendqisi2
1718
 510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1719
 1046              		.loc 1 510 21 view .LVU294
1720
 1047 0010 80F89C32 		strb	r3, [r0, #668]
1721
 1048 0014 F8E7     		b	.L75
1722
 1049              		.cfi_endproc
1723
 1050              	.LFE82:
1724
 1052              		.section	.text.USBD_LL_SOF,"ax",%progbits
1725
 1053              		.align	1
1726
 1054              		.global	USBD_LL_SOF
1727
 1055              		.syntax unified
1728
 1056              		.thumb
1729
 1057              		.thumb_func
1730
 1058              		.fpu softvfp
1731
 1060              	USBD_LL_SOF:
1732
 1061              	.LVL103:
1733
 1062              	.LFB83:
1734
 515:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1735
 516:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1736
 517:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_SOF
1737
 518:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle SOF event
1738
 519:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1739
 520:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1740
 521:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
19 mjames 1741
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 30
16 mjames 1742
 
1743
 
1744
 522:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1745
 523:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_SOF(USBD_HandleTypeDef *pdev)
1746
 524:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1747
 1063              		.loc 1 524 1 is_stmt 1 view -0
1748
 1064              		.cfi_startproc
1749
 1065              		@ args = 0, pretend = 0, frame = 0
1750
 1066              		@ frame_needed = 0, uses_anonymous_args = 0
1751
 1067              		.loc 1 524 1 is_stmt 0 view .LVU296
1752
 1068 0000 08B5     		push	{r3, lr}
1753
 1069              	.LCFI11:
1754
 1070              		.cfi_def_cfa_offset 8
1755
 1071              		.cfi_offset 3, -8
1756
 1072              		.cfi_offset 14, -4
1757
 525:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   if (pdev->dev_state == USBD_STATE_CONFIGURED)
1758
 1073              		.loc 1 525 3 is_stmt 1 view .LVU297
1759
 1074              		.loc 1 525 11 is_stmt 0 view .LVU298
1760
 1075 0002 90F89C32 		ldrb	r3, [r0, #668]	@ zero_extendqisi2
1761
 1076              		.loc 1 525 6 view .LVU299
1762
 1077 0006 032B     		cmp	r3, #3
1763
 1078 0008 01D0     		beq	.L80
1764
 1079              	.LVL104:
1765
 1080              	.L78:
1766
 526:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   {
1767
 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     if (pdev->pClass->SOF != NULL)
1768
 528:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1769
 529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****       pdev->pClass->SOF(pdev);
1770
 530:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1771
 531:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   }
1772
 532:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1773
 533:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1774
 1081              		.loc 1 533 3 is_stmt 1 view .LVU300
1775
 534:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1776
 1082              		.loc 1 534 1 is_stmt 0 view .LVU301
1777
 1083 000a 0020     		movs	r0, #0
1778
 1084 000c 08BD     		pop	{r3, pc}
1779
 1085              	.LVL105:
1780
 1086              	.L80:
1781
 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1782
 1087              		.loc 1 527 5 is_stmt 1 view .LVU302
1783
 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1784
 1088              		.loc 1 527 13 is_stmt 0 view .LVU303
1785
 1089 000e D0F8B432 		ldr	r3, [r0, #692]
1786
 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1787
 1090              		.loc 1 527 21 view .LVU304
1788
 1091 0012 DB69     		ldr	r3, [r3, #28]
1789
 527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     {
1790
 1092              		.loc 1 527 8 view .LVU305
1791
 1093 0014 002B     		cmp	r3, #0
1792
 1094 0016 F8D0     		beq	.L78
1793
 529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1794
 1095              		.loc 1 529 7 is_stmt 1 view .LVU306
1795
 1096 0018 9847     		blx	r3
1796
 1097              	.LVL106:
1797
 529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****     }
1798
 1098              		.loc 1 529 7 is_stmt 0 view .LVU307
1799
 1099 001a F6E7     		b	.L78
1800
 1100              		.cfi_endproc
19 mjames 1801
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 31
16 mjames 1802
 
1803
 
1804
 1101              	.LFE83:
1805
 1103              		.section	.text.USBD_LL_IsoINIncomplete,"ax",%progbits
1806
 1104              		.align	1
1807
 1105              		.global	USBD_LL_IsoINIncomplete
1808
 1106              		.syntax unified
1809
 1107              		.thumb
1810
 1108              		.thumb_func
1811
 1109              		.fpu softvfp
1812
 1111              	USBD_LL_IsoINIncomplete:
1813
 1112              	.LVL107:
1814
 1113              	.LFB84:
1815
 535:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1816
 536:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1817
 537:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_IsoINIncomplete
1818
 538:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle iso in incomplete event
1819
 539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1820
 540:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1821
 541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1822
 542:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev,
1823
 543:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                                            uint8_t epnum)
1824
 544:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1825
 1114              		.loc 1 544 1 is_stmt 1 view -0
1826
 1115              		.cfi_startproc
1827
 1116              		@ args = 0, pretend = 0, frame = 0
1828
 1117              		@ frame_needed = 0, uses_anonymous_args = 0
1829
 1118              		@ link register save eliminated.
1830
 545:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Prevent unused arguments compilation warning */
1831
 546:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   UNUSED(pdev);
1832
 1119              		.loc 1 546 3 view .LVU309
1833
 547:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   UNUSED(epnum);
1834
 1120              		.loc 1 547 3 view .LVU310
1835
 548:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1836
 549:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1837
 1121              		.loc 1 549 3 view .LVU311
1838
 550:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1839
 1122              		.loc 1 550 1 is_stmt 0 view .LVU312
1840
 1123 0000 0020     		movs	r0, #0
1841
 1124              	.LVL108:
1842
 1125              		.loc 1 550 1 view .LVU313
1843
 1126 0002 7047     		bx	lr
1844
 1127              		.cfi_endproc
1845
 1128              	.LFE84:
1846
 1130              		.section	.text.USBD_LL_IsoOUTIncomplete,"ax",%progbits
1847
 1131              		.align	1
1848
 1132              		.global	USBD_LL_IsoOUTIncomplete
1849
 1133              		.syntax unified
1850
 1134              		.thumb
1851
 1135              		.thumb_func
1852
 1136              		.fpu softvfp
1853
 1138              	USBD_LL_IsoOUTIncomplete:
1854
 1139              	.LVL109:
1855
 1140              	.LFB85:
1856
 551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1857
 552:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1858
 553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_IsoOUTIncomplete
1859
 554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle iso out incomplete event
1860
 555:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
19 mjames 1861
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 32
16 mjames 1862
 
1863
 
1864
 556:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1865
 557:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1866
 558:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev,
1867
 559:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****                                             uint8_t epnum)
1868
 560:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1869
 1141              		.loc 1 560 1 is_stmt 1 view -0
1870
 1142              		.cfi_startproc
1871
 1143              		@ args = 0, pretend = 0, frame = 0
1872
 1144              		@ frame_needed = 0, uses_anonymous_args = 0
1873
 1145              		@ link register save eliminated.
1874
 561:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Prevent unused arguments compilation warning */
1875
 562:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   UNUSED(pdev);
1876
 1146              		.loc 1 562 3 view .LVU315
1877
 563:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   UNUSED(epnum);
1878
 1147              		.loc 1 563 3 view .LVU316
1879
 564:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1880
 565:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1881
 1148              		.loc 1 565 3 view .LVU317
1882
 566:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1883
 1149              		.loc 1 566 1 is_stmt 0 view .LVU318
1884
 1150 0000 0020     		movs	r0, #0
1885
 1151              	.LVL110:
1886
 1152              		.loc 1 566 1 view .LVU319
1887
 1153 0002 7047     		bx	lr
1888
 1154              		.cfi_endproc
1889
 1155              	.LFE85:
1890
 1157              		.section	.text.USBD_LL_DevConnected,"ax",%progbits
1891
 1158              		.align	1
1892
 1159              		.global	USBD_LL_DevConnected
1893
 1160              		.syntax unified
1894
 1161              		.thumb
1895
 1162              		.thumb_func
1896
 1163              		.fpu softvfp
1897
 1165              	USBD_LL_DevConnected:
1898
 1166              	.LVL111:
1899
 1167              	.LFB86:
1900
 567:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1901
 568:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1902
 569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_DevConnected
1903
 570:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle device connection event
1904
 571:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1905
 572:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1906
 573:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1907
 574:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev)
1908
 575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1909
 1168              		.loc 1 575 1 is_stmt 1 view -0
1910
 1169              		.cfi_startproc
1911
 1170              		@ args = 0, pretend = 0, frame = 0
1912
 1171              		@ frame_needed = 0, uses_anonymous_args = 0
1913
 1172              		@ link register save eliminated.
1914
 576:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Prevent unused argument compilation warning */
1915
 577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   UNUSED(pdev);
1916
 1173              		.loc 1 577 3 view .LVU321
1917
 578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1918
 579:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1919
 1174              		.loc 1 579 3 view .LVU322
1920
 580:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
19 mjames 1921
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 33
16 mjames 1922
 
1923
 
1924
 1175              		.loc 1 580 1 is_stmt 0 view .LVU323
1925
 1176 0000 0020     		movs	r0, #0
1926
 1177              	.LVL112:
1927
 1178              		.loc 1 580 1 view .LVU324
1928
 1179 0002 7047     		bx	lr
1929
 1180              		.cfi_endproc
1930
 1181              	.LFE86:
1931
 1183              		.section	.text.USBD_LL_DevDisconnected,"ax",%progbits
1932
 1184              		.align	1
1933
 1185              		.global	USBD_LL_DevDisconnected
1934
 1186              		.syntax unified
1935
 1187              		.thumb
1936
 1188              		.thumb_func
1937
 1189              		.fpu softvfp
1938
 1191              	USBD_LL_DevDisconnected:
1939
 1192              	.LVL113:
1940
 1193              	.LFB87:
1941
 581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1942
 582:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** /**
1943
 583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @brief  USBD_DevDisconnected
1944
 584:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** *         Handle device disconnection event
1945
 585:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @param  pdev: device instance
1946
 586:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** * @retval status
1947
 587:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** */
1948
 588:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** USBD_StatusTypeDef USBD_LL_DevDisconnected(USBD_HandleTypeDef *pdev)
1949
 589:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** {
1950
 1194              		.loc 1 589 1 is_stmt 1 view -0
1951
 1195              		.cfi_startproc
1952
 1196              		@ args = 0, pretend = 0, frame = 0
1953
 1197              		@ frame_needed = 0, uses_anonymous_args = 0
1954
 1198              		.loc 1 589 1 is_stmt 0 view .LVU326
1955
 1199 0000 08B5     		push	{r3, lr}
1956
 1200              	.LCFI12:
1957
 1201              		.cfi_def_cfa_offset 8
1958
 1202              		.cfi_offset 3, -8
1959
 1203              		.cfi_offset 14, -4
1960
 590:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   /* Free Class Resources */
1961
 591:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->dev_state = USBD_STATE_DEFAULT;
1962
 1204              		.loc 1 591 3 is_stmt 1 view .LVU327
1963
 1205              		.loc 1 591 19 is_stmt 0 view .LVU328
1964
 1206 0002 0122     		movs	r2, #1
1965
 1207 0004 80F89C22 		strb	r2, [r0, #668]
1966
 592:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   pdev->pClass->DeInit(pdev, (uint8_t)pdev->dev_config);
1967
 1208              		.loc 1 592 3 is_stmt 1 view .LVU329
1968
 1209              		.loc 1 592 7 is_stmt 0 view .LVU330
1969
 1210 0008 D0F8B422 		ldr	r2, [r0, #692]
1970
 1211              		.loc 1 592 15 view .LVU331
1971
 1212 000c 5268     		ldr	r2, [r2, #4]
1972
 1213              		.loc 1 592 3 view .LVU332
1973
 1214 000e 0179     		ldrb	r1, [r0, #4]	@ zero_extendqisi2
1974
 1215 0010 9047     		blx	r2
1975
 1216              	.LVL114:
1976
 593:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** 
1977
 594:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c ****   return USBD_OK;
1978
 1217              		.loc 1 594 3 is_stmt 1 view .LVU333
1979
 595:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c **** }
1980
 1218              		.loc 1 595 1 is_stmt 0 view .LVU334
19 mjames 1981
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 34
16 mjames 1982
 
1983
 
1984
 1219 0012 0020     		movs	r0, #0
1985
 1220 0014 08BD     		pop	{r3, pc}
1986
 1221              		.cfi_endproc
1987
 1222              	.LFE87:
1988
 1224              		.text
1989
 1225              	.Letext0:
1990
 1226              		.file 2 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1991
 1227              		.file 3 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1992
 1228              		.file 4 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1993
 1229              		.file 5 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1994
 1230              		.file 6 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1995
 1231              		.file 7 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1996
 1232              		.file 8 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1997
 1233              		.file 9 "Drivers/CMSIS/Include/core_cm3.h"
1998
 1234              		.file 10 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
1999
 1235              		.file 11 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
2000
 1236              		.file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
2001
 1237              		.file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
2002
 1238              		.file 14 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h"
2003
 1239              		.file 15 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
2004
 1240              		.file 16 "Core/Inc/main.h"
2005
 1241              		.file 17 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
2006
 1242              		.file 18 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
2007
 1243              		.file 19 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h"
2008
 1244              		.file 20 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ctlreq.h"
19 mjames 2009
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 35
16 mjames 2010
 
2011
 
2012
DEFINED SYMBOLS
2013
                            *ABS*:0000000000000000 usbd_core.c
19 mjames 2014
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:16     .text.USBD_Init:0000000000000000 $t
2015
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:24     .text.USBD_Init:0000000000000000 USBD_Init
2016
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:94     .text.USBD_DeInit:0000000000000000 $t
2017
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:101    .text.USBD_DeInit:0000000000000000 USBD_DeInit
2018
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:145    .text.USBD_RegisterClass:0000000000000000 $t
2019
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:152    .text.USBD_RegisterClass:0000000000000000 USBD_RegisterClass
2020
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:185    .text.USBD_Start:0000000000000000 $t
2021
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:192    .text.USBD_Start:0000000000000000 USBD_Start
2022
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:216    .text.USBD_Stop:0000000000000000 $t
2023
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:223    .text.USBD_Stop:0000000000000000 USBD_Stop
2024
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:259    .text.USBD_RunTestMode:0000000000000000 $t
2025
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:266    .text.USBD_RunTestMode:0000000000000000 USBD_RunTestMode
2026
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:285    .text.USBD_SetClassConfig:0000000000000000 $t
2027
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:292    .text.USBD_SetClassConfig:0000000000000000 USBD_SetClassConfig
2028
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:343    .text.USBD_ClrClassConfig:0000000000000000 $t
2029
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:350    .text.USBD_ClrClassConfig:0000000000000000 USBD_ClrClassConfig
2030
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:379    .text.USBD_LL_SetupStage:0000000000000000 $t
2031
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:386    .text.USBD_LL_SetupStage:0000000000000000 USBD_LL_SetupStage
2032
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:469    .text.USBD_LL_DataOutStage:0000000000000000 $t
2033
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:476    .text.USBD_LL_DataOutStage:0000000000000000 USBD_LL_DataOutStage
2034
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:644    .text.USBD_LL_DataInStage:0000000000000000 $t
2035
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:651    .text.USBD_LL_DataInStage:0000000000000000 USBD_LL_DataInStage
2036
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:863    .text.USBD_LL_Reset:0000000000000000 $t
2037
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:870    .text.USBD_LL_Reset:0000000000000000 USBD_LL_Reset
2038
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:951    .text.USBD_LL_SetSpeed:0000000000000000 $t
2039
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:958    .text.USBD_LL_SetSpeed:0000000000000000 USBD_LL_SetSpeed
2040
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:979    .text.USBD_LL_Suspend:0000000000000000 $t
2041
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:986    .text.USBD_LL_Suspend:0000000000000000 USBD_LL_Suspend
2042
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1013   .text.USBD_LL_Resume:0000000000000000 $t
2043
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1020   .text.USBD_LL_Resume:0000000000000000 USBD_LL_Resume
2044
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1053   .text.USBD_LL_SOF:0000000000000000 $t
2045
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1060   .text.USBD_LL_SOF:0000000000000000 USBD_LL_SOF
2046
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1104   .text.USBD_LL_IsoINIncomplete:0000000000000000 $t
2047
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1111   .text.USBD_LL_IsoINIncomplete:0000000000000000 USBD_LL_IsoINIncomplete
2048
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1131   .text.USBD_LL_IsoOUTIncomplete:0000000000000000 $t
2049
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1138   .text.USBD_LL_IsoOUTIncomplete:0000000000000000 USBD_LL_IsoOUTIncomplete
2050
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1158   .text.USBD_LL_DevConnected:0000000000000000 $t
2051
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1165   .text.USBD_LL_DevConnected:0000000000000000 USBD_LL_DevConnected
2052
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1184   .text.USBD_LL_DevDisconnected:0000000000000000 $t
2053
C:\Users\mike\AppData\Local\Temp\cc6Abypo.s:1191   .text.USBD_LL_DevDisconnected:0000000000000000 USBD_LL_DevDisconnected
16 mjames 2054
 
2055
UNDEFINED SYMBOLS
2056
USBD_LL_Init
2057
USBD_LL_Stop
2058
USBD_LL_DeInit
2059
USBD_LL_Start
2060
USBD_ParseSetupRequest
2061
USBD_LL_StallEP
2062
USBD_StdDevReq
2063
USBD_StdItfReq
2064
USBD_StdEPReq
2065
USBD_CtlContinueRx
2066
USBD_CtlSendStatus
2067
USBD_CtlReceiveStatus
2068
USBD_CtlContinueSendData
19 mjames 2069
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc6Abypo.s 			page 36
16 mjames 2070
 
2071
 
2072
USBD_LL_PrepareReceive
2073
USBD_LL_OpenEP