Rev 18 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 1
1 .cpu cortex-m3
2 .eabi_attribute 20, 1
3 .eabi_attribute 21, 1
4 .eabi_attribute 23, 3
5 .eabi_attribute 24, 1
6 .eabi_attribute 25, 1
7 .eabi_attribute 26, 1
8 .eabi_attribute 30, 1
9 .eabi_attribute 34, 1
10 .eabi_attribute 18, 4
11 .file "usbd_ctlreq.c"
12 .text
13 .Ltext0:
14 .cfi_sections .debug_frame
15 .section .text.USBD_GetLen,"ax",%progbits
16 .align 1
17 .arch armv7-m
18 .syntax unified
19 .thumb
20 .thumb_func
21 .fpu softvfp
23 USBD_GetLen:
24 .LVL0:
25 .LFB81:
26 .file 1 "Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c"
1:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
2:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ******************************************************************************
3:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @file usbd_req.c
4:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @author MCD Application Team
5:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief This file provides the standard USB requests following chapter 9.
6:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ******************************************************************************
7:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @attention
8:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *
9:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * <h2><center>© Copyright (c) 2015 STMicroelectronics.
10:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * All rights reserved.</center></h2>
11:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *
12:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * This software component is licensed by ST under Ultimate Liberty license
13:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * SLA0044, the "License"; You may not use this file except in compliance with
14:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * the License. You may obtain a copy of the License at:
15:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * www.st.com/SLA0044
16:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *
17:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ******************************************************************************
18:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
19:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
20:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* Includes ------------------------------------------------------------------*/
21:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #include "usbd_ctlreq.h"
22:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #include "usbd_ioreq.h"
23:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
24:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
25:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @addtogroup STM32_USBD_STATE_DEVICE_LIBRARY
26:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
27:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
28:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
29:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
30:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ
31:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USB standard requests module
32:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 2
33:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
34:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
35:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_TypesDefinitions
36:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
37:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
38:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
39:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
40:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
41:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
42:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
43:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
44:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Defines
45:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
46:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
47:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
48:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
49:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
50:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
51:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
52:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
53:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Macros
54:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
55:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
56:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
57:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
58:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
59:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
60:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
61:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
62:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Variables
63:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
64:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
65:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
66:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
67:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
68:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
69:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
70:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
71:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_FunctionPrototypes
72:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
73:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
74:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetDescriptor(USBD_HandleTypeDef *pdev,
75:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
76:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
77:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetAddress(USBD_HandleTypeDef *pdev,
78:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
79:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
80:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetConfig(USBD_HandleTypeDef *pdev,
81:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
82:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
83:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetConfig(USBD_HandleTypeDef *pdev,
84:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
85:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
86:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetStatus(USBD_HandleTypeDef *pdev,
87:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
88:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
89:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetFeature(USBD_HandleTypeDef *pdev,
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 3
90:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
91:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
92:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_ClrFeature(USBD_HandleTypeDef *pdev,
93:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req);
94:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
95:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t USBD_GetLen(uint8_t *buf);
96:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
97:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
98:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @}
99:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
100:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
101:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
102:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /** @defgroup USBD_REQ_Private_Functions
103:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @{
104:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
105:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
106:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
107:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
108:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_StdDevReq
109:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle standard usb device requests
110:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
111:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
112:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
113:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
114:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef USBD_StdDevReq(USBD_HandleTypeDef *pdev,
115:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
117:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
118:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bmRequest & USB_REQ_TYPE_MASK)
120:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
121:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_CLASS:
122:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_VENDOR:
123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->pClass->Setup(pdev, req);
124:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
125:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
126:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_STANDARD:
127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bRequest)
128:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
129:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_DESCRIPTOR:
130:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_GetDescriptor(pdev, req);
131:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
132:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
133:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_ADDRESS:
134:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetAddress(pdev, req);
135:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
136:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
137:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_CONFIGURATION:
138:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetConfig(pdev, req);
139:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
140:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
141:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_CONFIGURATION:
142:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_GetConfig(pdev, req);
143:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
144:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
145:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_STATUS:
146:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_GetStatus(pdev, req);
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 4
147:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
148:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
149:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_FEATURE:
150:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetFeature(pdev, req);
151:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
152:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
153:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_CLEAR_FEATURE:
154:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrFeature(pdev, req);
155:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
156:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
157:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
158:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
159:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
160:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
161:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
162:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
163:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
164:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
165:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
166:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
167:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
168:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return ret;
169:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
170:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
171:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
172:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_StdItfReq
173:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle standard usb interface requests
174:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
175:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
176:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
177:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
178:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef USBD_StdItfReq(USBD_HandleTypeDef *pdev,
179:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
181:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
182:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bmRequest & USB_REQ_TYPE_MASK)
184:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
185:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_CLASS:
186:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_VENDOR:
187:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_STANDARD:
188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
189:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
190:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
191:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
192:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
193:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (LOBYTE(req->wIndex) <= USBD_MAX_NUM_INTERFACES)
195:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ret = (USBD_StatusTypeDef)pdev->pClass->Setup(pdev, req);
197:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((req->wLength == 0U) && (ret == USBD_OK))
199:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
201:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
202:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
203:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 5
204:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
206:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
207:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
208:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
209:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
211:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
212:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
213:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
214:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
215:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
216:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
217:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
218:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
219:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
220:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return USBD_OK;
221:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
222:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
223:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
224:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_StdEPReq
225:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle standard usb endpoint requests
226:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
227:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
228:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
229:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
230:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef USBD_StdEPReq(USBD_HandleTypeDef *pdev,
231:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
233:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_EndpointTypeDef *pep;
234:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t ep_addr;
235:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ep_addr = LOBYTE(req->wIndex);
237:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bmRequest & USB_REQ_TYPE_MASK)
239:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
240:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_CLASS:
241:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_VENDOR:
242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->pClass->Setup(pdev, req);
243:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
244:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
245:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_TYPE_STANDARD:
246:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* Check if it is a class request */
247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((req->bmRequest & 0x60U) == 0x20U)
248:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ret = (USBD_StatusTypeDef)pdev->pClass->Setup(pdev, req);
250:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return ret;
252:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
253:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->bRequest)
255:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
256:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_SET_FEATURE:
257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
258:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
259:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) && (ep_addr != 0x80U))
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 6
261:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, ep_addr);
263:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
264:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
265:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
266:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
268:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
269:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
270:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
271:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_EP_HALT)
273:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) &&
275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
276:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, ep_addr);
278:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
279:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
280:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
281:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
283:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
284:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
285:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
286:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
287:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
288:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
289:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
290:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_CLEAR_FEATURE:
291:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
293:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
294:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) && (ep_addr != 0x80U))
296:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, ep_addr);
298:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
299:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
300:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
301:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
303:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
304:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
305:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
306:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_EP_HALT)
308:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr & 0x7FU) != 0x00U)
310:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_ClearStallEP(pdev, ep_addr);
312:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
314:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
315:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
316:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
317:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 7
318:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
319:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
320:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
321:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
322:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
323:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_REQ_GET_STATUS:
324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
325:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
326:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr != 0x00U) && (ep_addr != 0x80U))
328:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
329:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
331:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \
333:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
334:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0000U;
336:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
337:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pep->status, 2U);
338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
339:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
340:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr & 0x80U) == 0x80U)
342:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->ep_in[ep_addr & 0xFU].is_used == 0U)
344:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
345:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
347:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
348:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
349:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
350:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->ep_out[ep_addr & 0xFU].is_used == 0U)
352:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
353:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
355:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
356:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
357:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \
359:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
360:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((ep_addr == 0x00U) || (ep_addr == 0x80U))
362:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0000U;
364:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else if (USBD_LL_IsStallEP(pdev, ep_addr))
366:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0001U;
368:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
369:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
370:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pep->status = 0x0000U;
372:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
373:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pep->status, 2U);
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 8
375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
376:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
377:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
378:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
380:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
381:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
382:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
383:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
386:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
387:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
388:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
389:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
390:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
392:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
393:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return ret;
395:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
396:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
397:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
398:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
399:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetDescriptor
400:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Get Descriptor requests
401:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
402:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
403:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
404:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
405:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetDescriptor(USBD_HandleTypeDef *pdev,
406:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint16_t len = 0U;
409:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t *pbuf = NULL;
410:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t err = 0U;
411:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (req->wValue >> 8)
413:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
414:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #if (USBD_LPM_ENABLED == 1U)
415:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_BOS:
416:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetBOSDescriptor != NULL)
417:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
418:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetBOSDescriptor(pdev->dev_speed, &len);
419:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
420:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
421:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
422:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
423:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
424:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
425:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
426:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
427:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_DEVICE:
428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetDeviceDescriptor(pdev->dev_speed, &len);
429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
430:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
431:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_CONFIGURATION:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 9
432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
433:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetHSConfigDescriptor(&len);
435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
436:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
437:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
438:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetFSConfigDescriptor(&len);
440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
441:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
442:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
443:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
444:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_STRING:
445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch ((uint8_t)(req->wValue))
446:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
447:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_LANGID_STR:
448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetLangIDStrDescriptor != NULL)
449:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetLangIDStrDescriptor(pdev->dev_speed, &len);
451:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
452:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
453:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
454:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
455:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
456:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
457:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
458:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
459:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_MFC_STR:
460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetManufacturerStrDescriptor != NULL)
461:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetManufacturerStrDescriptor(pdev->dev_speed, &len);
463:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
464:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
465:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
466:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
467:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
468:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
469:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
470:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
471:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_PRODUCT_STR:
472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetProductStrDescriptor != NULL)
473:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetProductStrDescriptor(pdev->dev_speed, &len);
475:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
476:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
477:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
478:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
479:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
480:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
481:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
482:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
483:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_SERIAL_STR:
484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetSerialStrDescriptor != NULL)
485:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetSerialStrDescriptor(pdev->dev_speed, &len);
487:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
488:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 10
489:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
490:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
491:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
492:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
493:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
494:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
495:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_CONFIG_STR:
496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetConfigurationStrDescriptor != NULL)
497:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetConfigurationStrDescriptor(pdev->dev_speed, &len);
499:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
500:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
501:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
502:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
503:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
504:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
505:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
506:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
507:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_IDX_INTERFACE_STR:
508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pDesc->GetInterfaceStrDescriptor != NULL)
509:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pDesc->GetInterfaceStrDescriptor(pdev->dev_speed, &len);
511:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
512:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
513:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
514:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
515:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
516:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
517:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
518:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
519:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
520:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #if (USBD_SUPPORT_USER_STRING_DESC == 1U)
521:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->pClass->GetUsrStrDescriptor != NULL)
522:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
523:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetUsrStrDescriptor(pdev, (req->wValue), &len);
524:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
525:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
526:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
527:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
528:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
529:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
530:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
531:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
532:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
533:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
534:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
535:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
536:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
537:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
538:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_DEVICE_QUALIFIER:
539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
540:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetDeviceQualifierDescriptor(&len);
542:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
543:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
544:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
545:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 11
546:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
547:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
548:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
549:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
550:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION:
551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_speed == USBD_SPEED_HIGH)
552:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf = pdev->pClass->GetOtherSpeedConfigDescriptor(&len);
554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
555:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
556:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
557:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
558:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
559:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
560:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
561:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
562:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
563:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
564:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
565:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
566:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
567:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
568:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (err != 0U)
570:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
571:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
572:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
573:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
574:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((len != 0U) && (req->wLength != 0U))
576:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** len = MIN(len, req->wLength);
578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
579:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
580:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength == 0U)
582:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendStatus(pdev);
584:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
585:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
586:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
587:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
588:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
589:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_SetAddress
590:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Set device address
591:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
592:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
593:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
594:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
595:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetAddress(USBD_HandleTypeDef *pdev,
596:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
597:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
598:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t dev_addr;
599:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if ((req->wIndex == 0U) && (req->wLength == 0U) && (req->wValue < 128U))
601:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
602:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** dev_addr = (uint8_t)(req->wValue) & 0x7FU;
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 12
603:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_state == USBD_STATE_CONFIGURED)
605:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
606:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
607:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
608:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
609:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
610:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_address = dev_addr;
611:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_SetUSBAddress(pdev, dev_addr);
612:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
613:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
614:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (dev_addr != 0U)
615:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
616:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_ADDRESSED;
617:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
618:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
619:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
620:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_DEFAULT;
621:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
622:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
623:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
624:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
625:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
626:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
627:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
628:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
629:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
630:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
631:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_SetConfig
632:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Set device configuration request
633:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
634:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
635:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
636:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
637:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetConfig(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
638:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
639:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t cfgidx;
640:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** cfgidx = (uint8_t)(req->wValue);
642:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
643:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (cfgidx > USBD_MAX_NUM_CONFIGURATION)
644:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
645:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
646:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
647:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
648:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
650:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
651:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
652:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (cfgidx)
653:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
654:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
655:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_CONFIGURED;
656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
657:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
658:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
659:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 13
660:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
661:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
662:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
663:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
664:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
665:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
666:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
667:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
668:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
669:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
670:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (cfgidx == 0U)
671:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
672:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_ADDRESSED;
673:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
674:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
675:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
676:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else if (cfgidx != pdev->dev_config)
678:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
679:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* Clear old configuration */
680:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, (uint8_t)pdev->dev_config);
681:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
682:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /* set new configuration */
683:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
685:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
686:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
687:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
688:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
689:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
690:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
691:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
692:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
693:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
694:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
695:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
696:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
697:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
698:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
699:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
700:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
701:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
702:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
703:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
704:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
705:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
706:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetConfig
707:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Get device configuration request
708:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
709:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
710:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
711:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
712:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetConfig(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
713:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 1U)
715:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
716:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 14
717:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
718:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** else
719:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
721:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
722:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
723:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_default_config = 0U;
725:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
726:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
727:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
728:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
729:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_config, 1U);
730:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
731:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
732:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
733:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
734:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
735:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
736:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
737:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
738:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
739:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
740:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetStatus
741:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Get Status request
742:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
743:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
744:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
745:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
746:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_GetStatus(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req)
747:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
749:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
750:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
751:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
752:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 0x2U)
754:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
755:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
756:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
757:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
758:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
759:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #if (USBD_SELF_POWERED == 1U)
760:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config_status = USB_CONFIG_SELF_POWERED;
761:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
762:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config_status = 0U;
763:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
764:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (pdev->dev_remote_wakeup)
766:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
767:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config_status |= USB_CONFIG_REMOTE_WAKEUP;
768:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
769:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
770:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_config_status, 2U);
771:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
772:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
773:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 15
774:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
775:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
776:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
777:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
778:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
779:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
780:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
781:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_SetFeature
782:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle Set device feature request
783:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
784:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
785:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
786:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
787:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_SetFeature(USBD_HandleTypeDef *pdev,
788:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
789:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
791:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
792:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_remote_wakeup = 1U;
793:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
794:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
795:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
796:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
797:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
798:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
799:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_ClrFeature
800:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle clear device feature request
801:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
802:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
803:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval status
804:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
805:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static void USBD_ClrFeature(USBD_HandleTypeDef *pdev,
806:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
807:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
809:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
810:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_DEFAULT:
811:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_ADDRESSED:
812:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** case USBD_STATE_CONFIGURED:
813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
814:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
815:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_remote_wakeup = 0U;
816:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
817:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
818:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
819:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
820:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** default:
821:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlError(pdev, req);
822:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
823:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
824:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
825:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
826:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
827:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_ParseSetupRequest
828:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Copy buffer into setup structure
829:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
830:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 16
831:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval None
832:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
833:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
834:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata)
835:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bmRequest = *(uint8_t *)(pdata);
837:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wValue = SWAPBYTE(pdata + 2U);
839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
841:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
842:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
843:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
844:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
845:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_CtlError
846:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Handle USB low level Error
847:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param pdev: device instance
848:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param req: usb request
849:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval None
850:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
851:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
852:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** void USBD_CtlError(USBD_HandleTypeDef *pdev,
853:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_SetupReqTypedef *req)
854:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
855:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
856:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0U);
857:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
858:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
859:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
860:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
861:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetString
862:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * Convert Ascii string into unicode one
863:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param desc : descriptor buffer
864:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param unicode : Formatted string buffer (unicode)
865:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param len : descriptor length
866:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval None
867:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
868:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len)
869:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
870:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t idx = 0U;
871:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
872:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (desc != NULL)
873:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** *len = (uint16_t)USBD_GetLen(desc) * 2U + 2U;
875:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = USB_DESC_TYPE_STRING;
877:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** while (*desc != '\0')
879:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *desc++;
881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
882:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
883:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
884:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
885:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
886:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** /**
887:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @brief USBD_GetLen
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 17
888:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * return the string length
889:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @param buf : pointer to the ascii string buffer
890:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** * @retval string length
891:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** */
892:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t USBD_GetLen(uint8_t *buf)
893:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
27 .loc 1 893 1 view -0
28 .cfi_startproc
29 @ args = 0, pretend = 0, frame = 0
30 @ frame_needed = 0, uses_anonymous_args = 0
31 @ link register save eliminated.
894:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t len = 0U;
32 .loc 1 894 3 view .LVU1
895:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
896:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** while (*buf != '\0')
33 .loc 1 896 3 view .LVU2
894:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t len = 0U;
34 .loc 1 894 12 is_stmt 0 view .LVU3
35 0000 0023 movs r3, #0
36 .LVL1:
37 .L2:
38 .loc 1 896 10 view .LVU4
39 0002 0278 ldrb r2, [r0] @ zero_extendqisi2
40 .loc 1 896 9 view .LVU5
41 0004 1AB1 cbz r2, .L4
897:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
898:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** len++;
42 .loc 1 898 5 is_stmt 1 view .LVU6
43 .loc 1 898 8 is_stmt 0 view .LVU7
44 0006 0133 adds r3, r3, #1
45 .LVL2:
46 .loc 1 898 8 view .LVU8
47 0008 DBB2 uxtb r3, r3
48 .LVL3:
899:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** buf++;
49 .loc 1 899 5 is_stmt 1 view .LVU9
50 .loc 1 899 8 is_stmt 0 view .LVU10
51 000a 0130 adds r0, r0, #1
52 .LVL4:
53 .loc 1 899 8 view .LVU11
54 000c F9E7 b .L2
55 .L4:
900:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
901:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
902:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return len;
56 .loc 1 902 3 is_stmt 1 view .LVU12
903:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
57 .loc 1 903 1 is_stmt 0 view .LVU13
58 000e 1846 mov r0, r3
59 .LVL5:
60 .loc 1 903 1 view .LVU14
61 0010 7047 bx lr
62 .cfi_endproc
63 .LFE81:
65 .section .text.USBD_SetFeature,"ax",%progbits
66 .align 1
67 .syntax unified
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 18
68 .thumb
69 .thumb_func
70 .fpu softvfp
72 USBD_SetFeature:
73 .LVL6:
74 .LFB76:
789:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
75 .loc 1 789 1 is_stmt 1 view -0
76 .cfi_startproc
77 @ args = 0, pretend = 0, frame = 0
78 @ frame_needed = 0, uses_anonymous_args = 0
789:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wValue == USB_FEATURE_REMOTE_WAKEUP)
79 .loc 1 789 1 is_stmt 0 view .LVU16
80 0000 08B5 push {r3, lr}
81 .LCFI0:
82 .cfi_def_cfa_offset 8
83 .cfi_offset 3, -8
84 .cfi_offset 14, -4
790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
85 .loc 1 790 3 is_stmt 1 view .LVU17
790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
86 .loc 1 790 10 is_stmt 0 view .LVU18
87 0002 4B88 ldrh r3, [r1, #2]
790:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
88 .loc 1 790 6 view .LVU19
89 0004 012B cmp r3, #1
90 0006 00D0 beq .L8
91 .LVL7:
92 .L5:
795:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
93 .loc 1 795 1 view .LVU20
94 0008 08BD pop {r3, pc}
95 .LVL8:
96 .L8:
792:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
97 .loc 1 792 5 is_stmt 1 view .LVU21
792:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
98 .loc 1 792 29 is_stmt 0 view .LVU22
99 000a C0F8A432 str r3, [r0, #676]
793:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
100 .loc 1 793 5 is_stmt 1 view .LVU23
101 000e FFF7FEFF bl USBD_CtlSendStatus
102 .LVL9:
795:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
103 .loc 1 795 1 is_stmt 0 view .LVU24
104 0012 F9E7 b .L5
105 .cfi_endproc
106 .LFE76:
108 .section .text.USBD_ParseSetupRequest,"ax",%progbits
109 .align 1
110 .global USBD_ParseSetupRequest
111 .syntax unified
112 .thumb
113 .thumb_func
114 .fpu softvfp
116 USBD_ParseSetupRequest:
117 .LVL10:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 19
118 .LFB78:
835:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bmRequest = *(uint8_t *)(pdata);
119 .loc 1 835 1 is_stmt 1 view -0
120 .cfi_startproc
121 @ args = 0, pretend = 0, frame = 0
122 @ frame_needed = 0, uses_anonymous_args = 0
123 @ link register save eliminated.
836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
124 .loc 1 836 3 view .LVU26
836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
125 .loc 1 836 20 is_stmt 0 view .LVU27
126 0000 0B78 ldrb r3, [r1] @ zero_extendqisi2
836:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->bRequest = *(uint8_t *)(pdata + 1U);
127 .loc 1 836 18 view .LVU28
128 0002 0370 strb r3, [r0]
837:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wValue = SWAPBYTE(pdata + 2U);
129 .loc 1 837 3 is_stmt 1 view .LVU29
837:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wValue = SWAPBYTE(pdata + 2U);
130 .loc 1 837 17 is_stmt 0 view .LVU30
131 0004 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
132 0006 4370 strb r3, [r0, #1]
838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
133 .loc 1 838 3 is_stmt 1 view .LVU31
838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
134 .loc 1 838 17 is_stmt 0 view .LVU32
135 0008 8B78 ldrb r3, [r1, #2] @ zero_extendqisi2
136 000a CA78 ldrb r2, [r1, #3] @ zero_extendqisi2
137 000c 03EB0223 add r3, r3, r2, lsl #8
838:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wIndex = SWAPBYTE(pdata + 4U);
138 .loc 1 838 15 view .LVU33
139 0010 4380 strh r3, [r0, #2] @ movhi
839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
140 .loc 1 839 3 is_stmt 1 view .LVU34
839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
141 .loc 1 839 17 is_stmt 0 view .LVU35
142 0012 0B79 ldrb r3, [r1, #4] @ zero_extendqisi2
143 0014 4A79 ldrb r2, [r1, #5] @ zero_extendqisi2
144 0016 03EB0223 add r3, r3, r2, lsl #8
839:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** req->wLength = SWAPBYTE(pdata + 6U);
145 .loc 1 839 15 view .LVU36
146 001a 8380 strh r3, [r0, #4] @ movhi
840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
147 .loc 1 840 3 is_stmt 1 view .LVU37
840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
148 .loc 1 840 18 is_stmt 0 view .LVU38
149 001c 8B79 ldrb r3, [r1, #6] @ zero_extendqisi2
150 001e CA79 ldrb r2, [r1, #7] @ zero_extendqisi2
151 0020 03EB0223 add r3, r3, r2, lsl #8
840:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
152 .loc 1 840 16 view .LVU39
153 0024 C380 strh r3, [r0, #6] @ movhi
842:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
154 .loc 1 842 1 view .LVU40
155 0026 7047 bx lr
156 .cfi_endproc
157 .LFE78:
159 .section .text.USBD_CtlError,"ax",%progbits
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 20
160 .align 1
161 .global USBD_CtlError
162 .syntax unified
163 .thumb
164 .thumb_func
165 .fpu softvfp
167 USBD_CtlError:
168 .LVL11:
169 .LFB79:
854:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
170 .loc 1 854 1 is_stmt 1 view -0
171 .cfi_startproc
172 @ args = 0, pretend = 0, frame = 0
173 @ frame_needed = 0, uses_anonymous_args = 0
854:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
174 .loc 1 854 1 is_stmt 0 view .LVU42
175 0000 10B5 push {r4, lr}
176 .LCFI1:
177 .cfi_def_cfa_offset 8
178 .cfi_offset 4, -8
179 .cfi_offset 14, -4
180 0002 0446 mov r4, r0
855:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0U);
181 .loc 1 855 3 is_stmt 1 view .LVU43
182 0004 8021 movs r1, #128
183 .LVL12:
855:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0U);
184 .loc 1 855 3 is_stmt 0 view .LVU44
185 0006 FFF7FEFF bl USBD_LL_StallEP
186 .LVL13:
856:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
187 .loc 1 856 3 is_stmt 1 view .LVU45
188 000a 0021 movs r1, #0
189 000c 2046 mov r0, r4
190 000e FFF7FEFF bl USBD_LL_StallEP
191 .LVL14:
857:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
192 .loc 1 857 1 is_stmt 0 view .LVU46
193 0012 10BD pop {r4, pc}
857:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
194 .loc 1 857 1 view .LVU47
195 .cfi_endproc
196 .LFE79:
198 .section .text.USBD_GetDescriptor,"ax",%progbits
199 .align 1
200 .syntax unified
201 .thumb
202 .thumb_func
203 .fpu softvfp
205 USBD_GetDescriptor:
206 .LVL15:
207 .LFB71:
407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint16_t len = 0U;
208 .loc 1 407 1 is_stmt 1 view -0
209 .cfi_startproc
210 @ args = 0, pretend = 0, frame = 8
211 @ frame_needed = 0, uses_anonymous_args = 0
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 21
407:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint16_t len = 0U;
212 .loc 1 407 1 is_stmt 0 view .LVU49
213 0000 30B5 push {r4, r5, lr}
214 .LCFI2:
215 .cfi_def_cfa_offset 12
216 .cfi_offset 4, -12
217 .cfi_offset 5, -8
218 .cfi_offset 14, -4
219 0002 83B0 sub sp, sp, #12
220 .LCFI3:
221 .cfi_def_cfa_offset 24
222 0004 0546 mov r5, r0
223 0006 0C46 mov r4, r1
408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t *pbuf = NULL;
224 .loc 1 408 3 is_stmt 1 view .LVU50
408:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t *pbuf = NULL;
225 .loc 1 408 12 is_stmt 0 view .LVU51
226 0008 0023 movs r3, #0
227 000a ADF80630 strh r3, [sp, #6] @ movhi
409:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t err = 0U;
228 .loc 1 409 3 is_stmt 1 view .LVU52
229 .LVL16:
410:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
230 .loc 1 410 3 view .LVU53
412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
231 .loc 1 412 3 view .LVU54
412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
232 .loc 1 412 14 is_stmt 0 view .LVU55
233 000e 4A88 ldrh r2, [r1, #2]
412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
234 .loc 1 412 23 view .LVU56
235 0010 130A lsrs r3, r2, #8
412:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
236 .loc 1 412 3 view .LVU57
237 0012 013B subs r3, r3, #1
238 0014 062B cmp r3, #6
239 0016 00F2A480 bhi .L13
240 001a DFE803F0 tbb [pc, r3]
241 .LVL17:
242 .L15:
243 001e 04 .byte (.L19-.L15)/2
244 001f 18 .byte (.L18-.L15)/2
245 0020 2C .byte (.L17-.L15)/2
246 0021 A2 .byte (.L13-.L15)/2
247 0022 A2 .byte (.L13-.L15)/2
248 0023 86 .byte (.L16-.L15)/2
249 0024 93 .byte (.L14-.L15)/2
250 0025 00 .p2align 1
251 .L19:
428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
252 .loc 1 428 7 is_stmt 1 view .LVU58
428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
253 .loc 1 428 18 is_stmt 0 view .LVU59
254 0026 D0F8B032 ldr r3, [r0, #688]
428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
255 .loc 1 428 25 view .LVU60
256 002a 1B68 ldr r3, [r3]
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 22
428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
257 .loc 1 428 14 view .LVU61
258 002c 0DF10601 add r1, sp, #6
259 0030 007C ldrb r0, [r0, #16] @ zero_extendqisi2
260 .LVL18:
428:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
261 .loc 1 428 14 view .LVU62
262 0032 9847 blx r3
263 .LVL19:
429:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
264 .loc 1 429 7 is_stmt 1 view .LVU63
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
265 .loc 1 569 3 view .LVU64
266 .L20:
575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
267 .loc 1 575 5 view .LVU65
575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
268 .loc 1 575 14 is_stmt 0 view .LVU66
269 0034 BDF80620 ldrh r2, [sp, #6]
575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
270 .loc 1 575 8 view .LVU67
271 0038 1AB1 cbz r2, .L40
575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
272 .loc 1 575 28 discriminator 1 view .LVU68
273 003a E388 ldrh r3, [r4, #6]
575:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
274 .loc 1 575 21 discriminator 1 view .LVU69
275 003c 002B cmp r3, #0
276 003e 40F09480 bne .L43
277 .LVL20:
278 .L40:
581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
279 .loc 1 581 5 is_stmt 1 view .LVU70
581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
280 .loc 1 581 12 is_stmt 0 view .LVU71
281 0042 E388 ldrh r3, [r4, #6]
581:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
282 .loc 1 581 8 view .LVU72
283 0044 002B cmp r3, #0
284 0046 00F09A80 beq .L44
285 .LVL21:
286 .L12:
586:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
287 .loc 1 586 1 view .LVU73
288 004a 03B0 add sp, sp, #12
289 .LCFI4:
290 .cfi_remember_state
291 .cfi_def_cfa_offset 12
292 @ sp needed
293 004c 30BD pop {r4, r5, pc}
294 .LVL22:
295 .L18:
296 .LCFI5:
297 .cfi_restore_state
432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
298 .loc 1 432 7 is_stmt 1 view .LVU74
432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 23
299 .loc 1 432 15 is_stmt 0 view .LVU75
300 004e 037C ldrb r3, [r0, #16] @ zero_extendqisi2
432:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
301 .loc 1 432 10 view .LVU76
302 0050 43B9 cbnz r3, .L21
434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
303 .loc 1 434 9 is_stmt 1 view .LVU77
434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
304 .loc 1 434 20 is_stmt 0 view .LVU78
305 0052 D0F8B432 ldr r3, [r0, #692]
434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
306 .loc 1 434 28 view .LVU79
307 0056 9B6A ldr r3, [r3, #40]
434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
308 .loc 1 434 16 view .LVU80
309 0058 0DF10600 add r0, sp, #6
310 .LVL23:
434:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
311 .loc 1 434 16 view .LVU81
312 005c 9847 blx r3
313 .LVL24:
435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
314 .loc 1 435 9 is_stmt 1 view .LVU82
435:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
315 .loc 1 435 17 is_stmt 0 view .LVU83
316 005e 0223 movs r3, #2
317 0060 4370 strb r3, [r0, #1]
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
318 .loc 1 569 3 is_stmt 1 view .LVU84
319 0062 E7E7 b .L20
320 .LVL25:
321 .L21:
439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
322 .loc 1 439 9 view .LVU85
439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
323 .loc 1 439 20 is_stmt 0 view .LVU86
324 0064 D0F8B432 ldr r3, [r0, #692]
439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
325 .loc 1 439 28 view .LVU87
326 0068 DB6A ldr r3, [r3, #44]
439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
327 .loc 1 439 16 view .LVU88
328 006a 0DF10600 add r0, sp, #6
329 .LVL26:
439:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_CONFIGURATION;
330 .loc 1 439 16 view .LVU89
331 006e 9847 blx r3
332 .LVL27:
440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
333 .loc 1 440 9 is_stmt 1 view .LVU90
440:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
334 .loc 1 440 17 is_stmt 0 view .LVU91
335 0070 0223 movs r3, #2
336 0072 4370 strb r3, [r0, #1]
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
337 .loc 1 569 3 is_stmt 1 view .LVU92
338 0074 DEE7 b .L20
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 24
339 .LVL28:
340 .L17:
445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
341 .loc 1 445 7 view .LVU93
445:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
342 .loc 1 445 15 is_stmt 0 view .LVU94
343 0076 D2B2 uxtb r2, r2
344 0078 052A cmp r2, #5
345 007a 52D8 bhi .L22
346 007c DFE802F0 tbb [pc, r2]
347 .L24:
348 0080 03 .byte (.L29-.L24)/2
349 0081 10 .byte (.L28-.L24)/2
350 0082 1D .byte (.L27-.L24)/2
351 0083 2A .byte (.L26-.L24)/2
352 0084 37 .byte (.L25-.L24)/2
353 0085 44 .byte (.L23-.L24)/2
354 .p2align 1
355 .L29:
448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
356 .loc 1 448 11 is_stmt 1 view .LVU95
448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
357 .loc 1 448 19 is_stmt 0 view .LVU96
358 0086 D0F8B032 ldr r3, [r0, #688]
448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
359 .loc 1 448 26 view .LVU97
360 008a 5B68 ldr r3, [r3, #4]
448:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
361 .loc 1 448 14 view .LVU98
362 008c 23B1 cbz r3, .L30
450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
363 .loc 1 450 13 is_stmt 1 view .LVU99
450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
364 .loc 1 450 20 is_stmt 0 view .LVU100
365 008e 0DF10601 add r1, sp, #6
366 0092 007C ldrb r0, [r0, #16] @ zero_extendqisi2
367 .LVL29:
450:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
368 .loc 1 450 20 view .LVU101
369 0094 9847 blx r3
370 .LVL30:
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
371 .loc 1 569 3 is_stmt 1 view .LVU102
372 0096 CDE7 b .L20
373 .LVL31:
374 .L30:
454:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
375 .loc 1 454 13 view .LVU103
376 0098 2146 mov r1, r4
377 009a FFF7FEFF bl USBD_CtlError
378 .LVL32:
455:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
379 .loc 1 455 13 view .LVU104
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
380 .loc 1 569 3 view .LVU105
381 009e D4E7 b .L12
382 .LVL33:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 25
383 .L28:
460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
384 .loc 1 460 11 view .LVU106
460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
385 .loc 1 460 19 is_stmt 0 view .LVU107
386 00a0 D0F8B032 ldr r3, [r0, #688]
460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
387 .loc 1 460 26 view .LVU108
388 00a4 9B68 ldr r3, [r3, #8]
460:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
389 .loc 1 460 14 view .LVU109
390 00a6 23B1 cbz r3, .L32
462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
391 .loc 1 462 13 is_stmt 1 view .LVU110
462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
392 .loc 1 462 20 is_stmt 0 view .LVU111
393 00a8 0DF10601 add r1, sp, #6
394 00ac 007C ldrb r0, [r0, #16] @ zero_extendqisi2
395 .LVL34:
462:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
396 .loc 1 462 20 view .LVU112
397 00ae 9847 blx r3
398 .LVL35:
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
399 .loc 1 569 3 is_stmt 1 view .LVU113
400 00b0 C0E7 b .L20
401 .LVL36:
402 .L32:
466:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
403 .loc 1 466 13 view .LVU114
404 00b2 2146 mov r1, r4
405 00b4 FFF7FEFF bl USBD_CtlError
406 .LVL37:
467:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
407 .loc 1 467 13 view .LVU115
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
408 .loc 1 569 3 view .LVU116
409 00b8 C7E7 b .L12
410 .LVL38:
411 .L27:
472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
412 .loc 1 472 11 view .LVU117
472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
413 .loc 1 472 19 is_stmt 0 view .LVU118
414 00ba D0F8B032 ldr r3, [r0, #688]
472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
415 .loc 1 472 26 view .LVU119
416 00be DB68 ldr r3, [r3, #12]
472:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
417 .loc 1 472 14 view .LVU120
418 00c0 23B1 cbz r3, .L33
474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
419 .loc 1 474 13 is_stmt 1 view .LVU121
474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
420 .loc 1 474 20 is_stmt 0 view .LVU122
421 00c2 0DF10601 add r1, sp, #6
422 00c6 007C ldrb r0, [r0, #16] @ zero_extendqisi2
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 26
423 .LVL39:
474:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
424 .loc 1 474 20 view .LVU123
425 00c8 9847 blx r3
426 .LVL40:
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
427 .loc 1 569 3 is_stmt 1 view .LVU124
428 00ca B3E7 b .L20
429 .LVL41:
430 .L33:
478:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
431 .loc 1 478 13 view .LVU125
432 00cc 2146 mov r1, r4
433 00ce FFF7FEFF bl USBD_CtlError
434 .LVL42:
479:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
435 .loc 1 479 13 view .LVU126
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
436 .loc 1 569 3 view .LVU127
437 00d2 BAE7 b .L12
438 .LVL43:
439 .L26:
484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
440 .loc 1 484 11 view .LVU128
484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
441 .loc 1 484 19 is_stmt 0 view .LVU129
442 00d4 D0F8B032 ldr r3, [r0, #688]
484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
443 .loc 1 484 26 view .LVU130
444 00d8 1B69 ldr r3, [r3, #16]
484:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
445 .loc 1 484 14 view .LVU131
446 00da 23B1 cbz r3, .L34
486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
447 .loc 1 486 13 is_stmt 1 view .LVU132
486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
448 .loc 1 486 20 is_stmt 0 view .LVU133
449 00dc 0DF10601 add r1, sp, #6
450 00e0 007C ldrb r0, [r0, #16] @ zero_extendqisi2
451 .LVL44:
486:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
452 .loc 1 486 20 view .LVU134
453 00e2 9847 blx r3
454 .LVL45:
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
455 .loc 1 569 3 is_stmt 1 view .LVU135
456 00e4 A6E7 b .L20
457 .LVL46:
458 .L34:
490:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
459 .loc 1 490 13 view .LVU136
460 00e6 2146 mov r1, r4
461 00e8 FFF7FEFF bl USBD_CtlError
462 .LVL47:
491:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
463 .loc 1 491 13 view .LVU137
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 27
464 .loc 1 569 3 view .LVU138
465 00ec ADE7 b .L12
466 .LVL48:
467 .L25:
496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
468 .loc 1 496 11 view .LVU139
496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
469 .loc 1 496 19 is_stmt 0 view .LVU140
470 00ee D0F8B032 ldr r3, [r0, #688]
496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
471 .loc 1 496 26 view .LVU141
472 00f2 5B69 ldr r3, [r3, #20]
496:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
473 .loc 1 496 14 view .LVU142
474 00f4 23B1 cbz r3, .L35
498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
475 .loc 1 498 13 is_stmt 1 view .LVU143
498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
476 .loc 1 498 20 is_stmt 0 view .LVU144
477 00f6 0DF10601 add r1, sp, #6
478 00fa 007C ldrb r0, [r0, #16] @ zero_extendqisi2
479 .LVL49:
498:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
480 .loc 1 498 20 view .LVU145
481 00fc 9847 blx r3
482 .LVL50:
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
483 .loc 1 569 3 is_stmt 1 view .LVU146
484 00fe 99E7 b .L20
485 .LVL51:
486 .L35:
502:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
487 .loc 1 502 13 view .LVU147
488 0100 2146 mov r1, r4
489 0102 FFF7FEFF bl USBD_CtlError
490 .LVL52:
503:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
491 .loc 1 503 13 view .LVU148
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
492 .loc 1 569 3 view .LVU149
493 0106 A0E7 b .L12
494 .LVL53:
495 .L23:
508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
496 .loc 1 508 11 view .LVU150
508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
497 .loc 1 508 19 is_stmt 0 view .LVU151
498 0108 D0F8B032 ldr r3, [r0, #688]
508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
499 .loc 1 508 26 view .LVU152
500 010c 9B69 ldr r3, [r3, #24]
508:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
501 .loc 1 508 14 view .LVU153
502 010e 23B1 cbz r3, .L36
510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
503 .loc 1 510 13 is_stmt 1 view .LVU154
510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 28
504 .loc 1 510 20 is_stmt 0 view .LVU155
505 0110 0DF10601 add r1, sp, #6
506 0114 007C ldrb r0, [r0, #16] @ zero_extendqisi2
507 .LVL54:
510:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
508 .loc 1 510 20 view .LVU156
509 0116 9847 blx r3
510 .LVL55:
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
511 .loc 1 569 3 is_stmt 1 view .LVU157
512 0118 8CE7 b .L20
513 .LVL56:
514 .L36:
514:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
515 .loc 1 514 13 view .LVU158
516 011a 2146 mov r1, r4
517 011c FFF7FEFF bl USBD_CtlError
518 .LVL57:
515:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
519 .loc 1 515 13 view .LVU159
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
520 .loc 1 569 3 view .LVU160
521 0120 93E7 b .L12
522 .LVL58:
523 .L22:
532:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
524 .loc 1 532 11 view .LVU161
525 0122 2146 mov r1, r4
526 0124 FFF7FEFF bl USBD_CtlError
527 .LVL59:
533:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #endif
528 .loc 1 533 11 view .LVU162
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
529 .loc 1 569 3 view .LVU163
530 0128 8FE7 b .L12
531 .LVL60:
532 .L16:
539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
533 .loc 1 539 7 view .LVU164
539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
534 .loc 1 539 15 is_stmt 0 view .LVU165
535 012a 037C ldrb r3, [r0, #16] @ zero_extendqisi2
539:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
536 .loc 1 539 10 view .LVU166
537 012c 33B9 cbnz r3, .L37
541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
538 .loc 1 541 9 is_stmt 1 view .LVU167
541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
539 .loc 1 541 20 is_stmt 0 view .LVU168
540 012e D0F8B432 ldr r3, [r0, #692]
541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
541 .loc 1 541 28 view .LVU169
542 0132 5B6B ldr r3, [r3, #52]
541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
543 .loc 1 541 16 view .LVU170
544 0134 0DF10600 add r0, sp, #6
545 .LVL61:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 29
541:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
546 .loc 1 541 16 view .LVU171
547 0138 9847 blx r3
548 .LVL62:
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
549 .loc 1 569 3 is_stmt 1 view .LVU172
550 013a 7BE7 b .L20
551 .LVL63:
552 .L37:
545:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
553 .loc 1 545 9 view .LVU173
554 013c 2146 mov r1, r4
555 013e FFF7FEFF bl USBD_CtlError
556 .LVL64:
546:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
557 .loc 1 546 9 view .LVU174
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
558 .loc 1 569 3 view .LVU175
559 0142 82E7 b .L12
560 .LVL65:
561 .L14:
551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
562 .loc 1 551 7 view .LVU176
551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
563 .loc 1 551 15 is_stmt 0 view .LVU177
564 0144 037C ldrb r3, [r0, #16] @ zero_extendqisi2
551:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
565 .loc 1 551 10 view .LVU178
566 0146 43B9 cbnz r3, .L38
553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
567 .loc 1 553 9 is_stmt 1 view .LVU179
553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
568 .loc 1 553 20 is_stmt 0 view .LVU180
569 0148 D0F8B432 ldr r3, [r0, #692]
553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
570 .loc 1 553 28 view .LVU181
571 014c 1B6B ldr r3, [r3, #48]
553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
572 .loc 1 553 16 view .LVU182
573 014e 0DF10600 add r0, sp, #6
574 .LVL66:
553:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION;
575 .loc 1 553 16 view .LVU183
576 0152 9847 blx r3
577 .LVL67:
554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
578 .loc 1 554 9 is_stmt 1 view .LVU184
554:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
579 .loc 1 554 17 is_stmt 0 view .LVU185
580 0154 0723 movs r3, #7
581 0156 4370 strb r3, [r0, #1]
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
582 .loc 1 569 3 is_stmt 1 view .LVU186
583 0158 6CE7 b .L20
584 .LVL68:
585 .L38:
558:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 30
586 .loc 1 558 9 view .LVU187
587 015a 2146 mov r1, r4
588 015c FFF7FEFF bl USBD_CtlError
589 .LVL69:
559:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
590 .loc 1 559 9 view .LVU188
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
591 .loc 1 569 3 view .LVU189
592 0160 73E7 b .L12
593 .LVL70:
594 .L13:
564:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** err++;
595 .loc 1 564 7 view .LVU190
596 0162 2146 mov r1, r4
597 0164 FFF7FEFF bl USBD_CtlError
598 .LVL71:
565:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
599 .loc 1 565 7 view .LVU191
566:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
600 .loc 1 566 7 view .LVU192
569:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
601 .loc 1 569 3 view .LVU193
571:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
602 .loc 1 571 5 view .LVU194
603 0168 6FE7 b .L12
604 .LVL72:
605 .L43:
577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
606 .loc 1 577 7 view .LVU195
577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
607 .loc 1 577 13 is_stmt 0 view .LVU196
608 016a 9A42 cmp r2, r3
609 016c 28BF it cs
610 016e 1A46 movcs r2, r3
577:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (void)USBD_CtlSendData(pdev, pbuf, len);
611 .loc 1 577 11 view .LVU197
612 0170 ADF80620 strh r2, [sp, #6] @ movhi
578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
613 .loc 1 578 7 is_stmt 1 view .LVU198
578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
614 .loc 1 578 13 is_stmt 0 view .LVU199
615 0174 0146 mov r1, r0
616 0176 2846 mov r0, r5
617 .LVL73:
578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
618 .loc 1 578 13 view .LVU200
619 0178 FFF7FEFF bl USBD_CtlSendData
620 .LVL74:
578:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
621 .loc 1 578 13 view .LVU201
622 017c 61E7 b .L40
623 .L44:
583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
624 .loc 1 583 7 is_stmt 1 view .LVU202
583:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
625 .loc 1 583 13 is_stmt 0 view .LVU203
626 017e 2846 mov r0, r5
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 31
627 0180 FFF7FEFF bl USBD_CtlSendStatus
628 .LVL75:
629 0184 61E7 b .L12
630 .cfi_endproc
631 .LFE71:
633 .section .text.USBD_SetAddress,"ax",%progbits
634 .align 1
635 .syntax unified
636 .thumb
637 .thumb_func
638 .fpu softvfp
640 USBD_SetAddress:
641 .LVL76:
642 .LFB72:
597:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t dev_addr;
643 .loc 1 597 1 is_stmt 1 view -0
644 .cfi_startproc
645 @ args = 0, pretend = 0, frame = 0
646 @ frame_needed = 0, uses_anonymous_args = 0
597:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t dev_addr;
647 .loc 1 597 1 is_stmt 0 view .LVU205
648 0000 38B5 push {r3, r4, r5, lr}
649 .LCFI6:
650 .cfi_def_cfa_offset 16
651 .cfi_offset 3, -16
652 .cfi_offset 4, -12
653 .cfi_offset 5, -8
654 .cfi_offset 14, -4
655 0002 0446 mov r4, r0
598:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
656 .loc 1 598 3 is_stmt 1 view .LVU206
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
657 .loc 1 600 3 view .LVU207
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
658 .loc 1 600 11 is_stmt 0 view .LVU208
659 0004 8B88 ldrh r3, [r1, #4]
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
660 .loc 1 600 6 view .LVU209
661 0006 F3B9 cbnz r3, .L46
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
662 .loc 1 600 34 discriminator 1 view .LVU210
663 0008 CB88 ldrh r3, [r1, #6]
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
664 .loc 1 600 27 discriminator 1 view .LVU211
665 000a E3B9 cbnz r3, .L46
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
666 .loc 1 600 58 discriminator 2 view .LVU212
667 000c 4B88 ldrh r3, [r1, #2]
600:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
668 .loc 1 600 51 discriminator 2 view .LVU213
669 000e 7F2B cmp r3, #127
670 0010 19D8 bhi .L46
602:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
671 .loc 1 602 5 is_stmt 1 view .LVU214
602:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
672 .loc 1 602 14 is_stmt 0 view .LVU215
673 0012 03F07F05 and r5, r3, #127
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 32
674 .LVL77:
604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
675 .loc 1 604 5 is_stmt 1 view .LVU216
604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
676 .loc 1 604 13 is_stmt 0 view .LVU217
677 0016 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
604:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
678 .loc 1 604 8 view .LVU218
679 001a 032B cmp r3, #3
680 001c 0CD0 beq .L51
610:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_SetUSBAddress(pdev, dev_addr);
681 .loc 1 610 7 is_stmt 1 view .LVU219
610:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_SetUSBAddress(pdev, dev_addr);
682 .loc 1 610 25 is_stmt 0 view .LVU220
683 001e 80F89E52 strb r5, [r0, #670]
611:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
684 .loc 1 611 7 is_stmt 1 view .LVU221
685 0022 2946 mov r1, r5
686 .LVL78:
611:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
687 .loc 1 611 7 is_stmt 0 view .LVU222
688 0024 FFF7FEFF bl USBD_LL_SetUSBAddress
689 .LVL79:
612:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
690 .loc 1 612 7 is_stmt 1 view .LVU223
691 0028 2046 mov r0, r4
692 002a FFF7FEFF bl USBD_CtlSendStatus
693 .LVL80:
614:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
694 .loc 1 614 7 view .LVU224
614:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
695 .loc 1 614 10 is_stmt 0 view .LVU225
696 002e 35B1 cbz r5, .L49
616:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
697 .loc 1 616 9 is_stmt 1 view .LVU226
616:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
698 .loc 1 616 25 is_stmt 0 view .LVU227
699 0030 0223 movs r3, #2
700 0032 84F89C32 strb r3, [r4, #668]
701 0036 09E0 b .L45
702 .LVL81:
703 .L51:
606:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
704 .loc 1 606 7 is_stmt 1 view .LVU228
705 0038 FFF7FEFF bl USBD_CtlError
706 .LVL82:
606:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
707 .loc 1 606 7 is_stmt 0 view .LVU229
708 003c 06E0 b .L45
709 .L49:
620:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
710 .loc 1 620 9 is_stmt 1 view .LVU230
620:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
711 .loc 1 620 25 is_stmt 0 view .LVU231
712 003e 0123 movs r3, #1
713 0040 84F89C32 strb r3, [r4, #668]
714 0044 02E0 b .L45
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 33
715 .LVL83:
716 .L46:
626:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
717 .loc 1 626 5 is_stmt 1 view .LVU232
718 0046 2046 mov r0, r4
719 .LVL84:
626:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
720 .loc 1 626 5 is_stmt 0 view .LVU233
721 0048 FFF7FEFF bl USBD_CtlError
722 .LVL85:
723 .L45:
628:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
724 .loc 1 628 1 view .LVU234
725 004c 38BD pop {r3, r4, r5, pc}
628:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
726 .loc 1 628 1 view .LVU235
727 .cfi_endproc
728 .LFE72:
730 .section .text.USBD_SetConfig,"ax",%progbits
731 .align 1
732 .syntax unified
733 .thumb
734 .thumb_func
735 .fpu softvfp
737 USBD_SetConfig:
738 .LVL86:
739 .LFB73:
638:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t cfgidx;
740 .loc 1 638 1 is_stmt 1 view -0
741 .cfi_startproc
742 @ args = 0, pretend = 0, frame = 0
743 @ frame_needed = 0, uses_anonymous_args = 0
638:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** static uint8_t cfgidx;
744 .loc 1 638 1 is_stmt 0 view .LVU237
745 0000 38B5 push {r3, r4, r5, lr}
746 .LCFI7:
747 .cfi_def_cfa_offset 16
748 .cfi_offset 3, -16
749 .cfi_offset 4, -12
750 .cfi_offset 5, -8
751 .cfi_offset 14, -4
752 0002 0446 mov r4, r0
753 0004 0D46 mov r5, r1
639:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
754 .loc 1 639 3 is_stmt 1 view .LVU238
641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
755 .loc 1 641 3 view .LVU239
641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
756 .loc 1 641 12 is_stmt 0 view .LVU240
757 0006 8978 ldrb r1, [r1, #2] @ zero_extendqisi2
758 .LVL87:
641:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
759 .loc 1 641 10 view .LVU241
760 0008 284B ldr r3, .L69
761 000a 1970 strb r1, [r3]
643:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
762 .loc 1 643 3 is_stmt 1 view .LVU242
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 34
643:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
763 .loc 1 643 6 is_stmt 0 view .LVU243
764 000c 0129 cmp r1, #1
765 000e 0ED8 bhi .L65
649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
766 .loc 1 649 5 is_stmt 1 view .LVU244
649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
767 .loc 1 649 17 is_stmt 0 view .LVU245
768 0010 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
649:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
769 .loc 1 649 5 view .LVU246
770 0014 022B cmp r3, #2
771 0016 0ED0 beq .L55
772 0018 032B cmp r3, #3
773 001a 21D0 beq .L56
698:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
774 .loc 1 698 9 is_stmt 1 view .LVU247
775 001c 2946 mov r1, r5
776 001e FFF7FEFF bl USBD_CtlError
777 .LVL88:
699:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
778 .loc 1 699 9 view .LVU248
779 0022 224B ldr r3, .L69
780 0024 1978 ldrb r1, [r3] @ zero_extendqisi2
781 0026 2046 mov r0, r4
782 0028 FFF7FEFF bl USBD_ClrClassConfig
783 .LVL89:
700:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
784 .loc 1 700 9 view .LVU249
785 002c 02E0 b .L52
786 .LVL90:
787 .L65:
645:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
788 .loc 1 645 5 view .LVU250
789 002e 2946 mov r1, r5
790 0030 FFF7FEFF bl USBD_CtlError
791 .LVL91:
792 .L52:
703:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
793 .loc 1 703 1 is_stmt 0 view .LVU251
794 0034 38BD pop {r3, r4, r5, pc}
795 .LVL92:
796 .L55:
652:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
797 .loc 1 652 9 is_stmt 1 view .LVU252
652:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
798 .loc 1 652 12 is_stmt 0 view .LVU253
799 0036 81B1 cbz r1, .L58
654:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_CONFIGURED;
800 .loc 1 654 11 is_stmt 1 view .LVU254
654:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_state = USBD_STATE_CONFIGURED;
801 .loc 1 654 28 is_stmt 0 view .LVU255
802 0038 4160 str r1, [r0, #4]
655:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
803 .loc 1 655 11 is_stmt 1 view .LVU256
655:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
804 .loc 1 655 27 is_stmt 0 view .LVU257
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 35
805 003a 0323 movs r3, #3
806 003c 80F89C32 strb r3, [r0, #668]
656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
807 .loc 1 656 11 is_stmt 1 view .LVU258
656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
808 .loc 1 656 15 is_stmt 0 view .LVU259
809 0040 FFF7FEFF bl USBD_SetClassConfig
810 .LVL93:
656:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
811 .loc 1 656 14 view .LVU260
812 0044 0228 cmp r0, #2
813 0046 03D0 beq .L66
661:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
814 .loc 1 661 11 is_stmt 1 view .LVU261
815 0048 2046 mov r0, r4
816 004a FFF7FEFF bl USBD_CtlSendStatus
817 .LVL94:
818 004e F1E7 b .L52
819 .L66:
658:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
820 .loc 1 658 13 view .LVU262
821 0050 2946 mov r1, r5
822 0052 2046 mov r0, r4
823 0054 FFF7FEFF bl USBD_CtlError
824 .LVL95:
659:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
825 .loc 1 659 13 view .LVU263
826 0058 ECE7 b .L52
827 .LVL96:
828 .L58:
665:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
829 .loc 1 665 11 view .LVU264
830 005a FFF7FEFF bl USBD_CtlSendStatus
831 .LVL97:
665:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
832 .loc 1 665 11 is_stmt 0 view .LVU265
833 005e E9E7 b .L52
834 .LVL98:
835 .L56:
670:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
836 .loc 1 670 9 is_stmt 1 view .LVU266
670:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
837 .loc 1 670 12 is_stmt 0 view .LVU267
838 0060 89B1 cbz r1, .L67
677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
839 .loc 1 677 14 is_stmt 1 view .LVU268
677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
840 .loc 1 677 32 is_stmt 0 view .LVU269
841 0062 4368 ldr r3, [r0, #4]
677:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
842 .loc 1 677 17 view .LVU270
843 0064 9942 cmp r1, r3
844 0066 1DD0 beq .L61
680:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
845 .loc 1 680 11 is_stmt 1 view .LVU271
846 0068 D9B2 uxtb r1, r3
847 006a FFF7FEFF bl USBD_ClrClassConfig
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 36
848 .LVL99:
683:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
849 .loc 1 683 11 view .LVU272
683:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (USBD_SetClassConfig(pdev, cfgidx) == USBD_FAIL)
850 .loc 1 683 28 is_stmt 0 view .LVU273
851 006e 0F4B ldr r3, .L69
852 0070 1978 ldrb r1, [r3] @ zero_extendqisi2
853 0072 6160 str r1, [r4, #4]
684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
854 .loc 1 684 11 is_stmt 1 view .LVU274
684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
855 .loc 1 684 15 is_stmt 0 view .LVU275
856 0074 2046 mov r0, r4
857 0076 FFF7FEFF bl USBD_SetClassConfig
858 .LVL100:
684:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
859 .loc 1 684 14 view .LVU276
860 007a 0228 cmp r0, #2
861 007c 0DD0 beq .L68
689:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
862 .loc 1 689 11 is_stmt 1 view .LVU277
863 007e 2046 mov r0, r4
864 0080 FFF7FEFF bl USBD_CtlSendStatus
865 .LVL101:
866 0084 D6E7 b .L52
867 .LVL102:
868 .L67:
672:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
869 .loc 1 672 11 view .LVU278
672:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** pdev->dev_config = cfgidx;
870 .loc 1 672 27 is_stmt 0 view .LVU279
871 0086 0223 movs r3, #2
872 0088 80F89C32 strb r3, [r0, #668]
673:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
873 .loc 1 673 11 is_stmt 1 view .LVU280
673:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_ClrClassConfig(pdev, cfgidx);
874 .loc 1 673 28 is_stmt 0 view .LVU281
875 008c 4160 str r1, [r0, #4]
674:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
876 .loc 1 674 11 is_stmt 1 view .LVU282
877 008e FFF7FEFF bl USBD_ClrClassConfig
878 .LVL103:
675:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
879 .loc 1 675 11 view .LVU283
880 0092 2046 mov r0, r4
881 0094 FFF7FEFF bl USBD_CtlSendStatus
882 .LVL104:
883 0098 CCE7 b .L52
884 .L68:
686:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** return;
885 .loc 1 686 13 view .LVU284
886 009a 2946 mov r1, r5
887 009c 2046 mov r0, r4
888 009e FFF7FEFF bl USBD_CtlError
889 .LVL105:
687:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
890 .loc 1 687 13 view .LVU285
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 37
891 00a2 C7E7 b .L52
892 .LVL106:
893 .L61:
693:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
894 .loc 1 693 11 view .LVU286
895 00a4 FFF7FEFF bl USBD_CtlSendStatus
896 .LVL107:
693:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
897 .loc 1 693 11 is_stmt 0 view .LVU287
898 00a8 C4E7 b .L52
899 .L70:
900 00aa 00BF .align 2
901 .L69:
902 00ac 00000000 .word .LANCHOR0
903 .cfi_endproc
904 .LFE73:
906 .section .text.USBD_GetConfig,"ax",%progbits
907 .align 1
908 .syntax unified
909 .thumb
910 .thumb_func
911 .fpu softvfp
913 USBD_GetConfig:
914 .LVL108:
915 .LFB74:
713:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 1U)
916 .loc 1 713 1 is_stmt 1 view -0
917 .cfi_startproc
918 @ args = 0, pretend = 0, frame = 0
919 @ frame_needed = 0, uses_anonymous_args = 0
713:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** if (req->wLength != 1U)
920 .loc 1 713 1 is_stmt 0 view .LVU289
921 0000 08B5 push {r3, lr}
922 .LCFI8:
923 .cfi_def_cfa_offset 8
924 .cfi_offset 3, -8
925 .cfi_offset 14, -4
714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
926 .loc 1 714 3 is_stmt 1 view .LVU290
714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
927 .loc 1 714 10 is_stmt 0 view .LVU291
928 0002 CB88 ldrh r3, [r1, #6]
714:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
929 .loc 1 714 6 view .LVU292
930 0004 012B cmp r3, #1
931 0006 0CD1 bne .L78
720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
932 .loc 1 720 5 is_stmt 1 view .LVU293
720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
933 .loc 1 720 17 is_stmt 0 view .LVU294
934 0008 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
720:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
935 .loc 1 720 5 view .LVU295
936 000c 5AB2 sxtb r2, r3
937 000e 9AB1 cbz r2, .L74
938 0010 022B cmp r3, #2
939 0012 09D9 bls .L75
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 38
940 0014 032B cmp r3, #3
941 0016 0FD1 bne .L74
729:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
942 .loc 1 729 9 is_stmt 1 view .LVU296
943 0018 0122 movs r2, #1
944 001a 011D adds r1, r0, #4
945 .LVL109:
729:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
946 .loc 1 729 9 is_stmt 0 view .LVU297
947 001c FFF7FEFF bl USBD_CtlSendData
948 .LVL110:
730:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
949 .loc 1 730 9 is_stmt 1 view .LVU298
950 0020 01E0 b .L71
951 .LVL111:
952 .L78:
716:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
953 .loc 1 716 5 view .LVU299
954 0022 FFF7FEFF bl USBD_CtlError
955 .LVL112:
956 .L71:
737:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
957 .loc 1 737 1 is_stmt 0 view .LVU300
958 0026 08BD pop {r3, pc}
959 .LVL113:
960 .L75:
724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
961 .loc 1 724 9 is_stmt 1 view .LVU301
724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
962 .loc 1 724 34 is_stmt 0 view .LVU302
963 0028 0146 mov r1, r0
964 .LVL114:
724:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendData(pdev, (uint8_t *)(void *)&pdev->dev_default_config, 1U);
965 .loc 1 724 34 view .LVU303
966 002a 0023 movs r3, #0
967 002c 41F8083F str r3, [r1, #8]!
725:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
968 .loc 1 725 9 is_stmt 1 view .LVU304
969 0030 0122 movs r2, #1
970 0032 FFF7FEFF bl USBD_CtlSendData
971 .LVL115:
726:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
972 .loc 1 726 9 view .LVU305
973 0036 F6E7 b .L71
974 .LVL116:
975 .L74:
733:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
976 .loc 1 733 9 view .LVU306
977 0038 FFF7FEFF bl USBD_CtlError
978 .LVL117:
734:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
979 .loc 1 734 9 view .LVU307
737:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
980 .loc 1 737 1 is_stmt 0 view .LVU308
981 003c F3E7 b .L71
982 .cfi_endproc
983 .LFE74:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 39
985 .section .text.USBD_GetStatus,"ax",%progbits
986 .align 1
987 .syntax unified
988 .thumb
989 .thumb_func
990 .fpu softvfp
992 USBD_GetStatus:
993 .LVL118:
994 .LFB75:
747:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
995 .loc 1 747 1 is_stmt 1 view -0
996 .cfi_startproc
997 @ args = 0, pretend = 0, frame = 0
998 @ frame_needed = 0, uses_anonymous_args = 0
747:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
999 .loc 1 747 1 is_stmt 0 view .LVU310
1000 0000 08B5 push {r3, lr}
1001 .LCFI9:
1002 .cfi_def_cfa_offset 8
1003 .cfi_offset 3, -8
1004 .cfi_offset 14, -4
748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1005 .loc 1 748 3 is_stmt 1 view .LVU311
748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1006 .loc 1 748 15 is_stmt 0 view .LVU312
1007 0002 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
748:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1008 .loc 1 748 3 view .LVU313
1009 0006 013B subs r3, r3, #1
1010 0008 022B cmp r3, #2
1011 000a 12D8 bhi .L80
753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1012 .loc 1 753 7 is_stmt 1 view .LVU314
753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1013 .loc 1 753 14 is_stmt 0 view .LVU315
1014 000c CB88 ldrh r3, [r1, #6]
753:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1015 .loc 1 753 10 view .LVU316
1016 000e 022B cmp r3, #2
1017 0010 0CD1 bne .L85
760:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
1018 .loc 1 760 7 is_stmt 1 view .LVU317
760:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** #else
1019 .loc 1 760 31 is_stmt 0 view .LVU318
1020 0012 0123 movs r3, #1
1021 0014 C360 str r3, [r0, #12]
765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1022 .loc 1 765 7 is_stmt 1 view .LVU319
765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1023 .loc 1 765 15 is_stmt 0 view .LVU320
1024 0016 D0F8A432 ldr r3, [r0, #676]
765:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1025 .loc 1 765 10 view .LVU321
1026 001a 0BB1 cbz r3, .L83
767:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1027 .loc 1 767 9 is_stmt 1 view .LVU322
767:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 40
1028 .loc 1 767 33 is_stmt 0 view .LVU323
1029 001c 0323 movs r3, #3
1030 001e C360 str r3, [r0, #12]
1031 .L83:
770:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1032 .loc 1 770 7 is_stmt 1 view .LVU324
1033 0020 0222 movs r2, #2
1034 0022 00F10C01 add r1, r0, #12
1035 .LVL119:
770:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1036 .loc 1 770 7 is_stmt 0 view .LVU325
1037 0026 FFF7FEFF bl USBD_CtlSendData
1038 .LVL120:
771:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1039 .loc 1 771 7 is_stmt 1 view .LVU326
1040 .L79:
777:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1041 .loc 1 777 1 is_stmt 0 view .LVU327
1042 002a 08BD pop {r3, pc}
1043 .LVL121:
1044 .L85:
755:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1045 .loc 1 755 9 is_stmt 1 view .LVU328
1046 002c FFF7FEFF bl USBD_CtlError
1047 .LVL122:
756:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1048 .loc 1 756 9 view .LVU329
1049 0030 FBE7 b .L79
1050 .LVL123:
1051 .L80:
774:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1052 .loc 1 774 7 view .LVU330
1053 0032 FFF7FEFF bl USBD_CtlError
1054 .LVL124:
775:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1055 .loc 1 775 7 view .LVU331
777:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1056 .loc 1 777 1 is_stmt 0 view .LVU332
1057 0036 F8E7 b .L79
1058 .cfi_endproc
1059 .LFE75:
1061 .section .text.USBD_ClrFeature,"ax",%progbits
1062 .align 1
1063 .syntax unified
1064 .thumb
1065 .thumb_func
1066 .fpu softvfp
1068 USBD_ClrFeature:
1069 .LVL125:
1070 .LFB77:
807:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
1071 .loc 1 807 1 is_stmt 1 view -0
1072 .cfi_startproc
1073 @ args = 0, pretend = 0, frame = 0
1074 @ frame_needed = 0, uses_anonymous_args = 0
807:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** switch (pdev->dev_state)
1075 .loc 1 807 1 is_stmt 0 view .LVU334
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 41
1076 0000 08B5 push {r3, lr}
1077 .LCFI10:
1078 .cfi_def_cfa_offset 8
1079 .cfi_offset 3, -8
1080 .cfi_offset 14, -4
808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1081 .loc 1 808 3 is_stmt 1 view .LVU335
808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1082 .loc 1 808 15 is_stmt 0 view .LVU336
1083 0002 90F89C32 ldrb r3, [r0, #668] @ zero_extendqisi2
808:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1084 .loc 1 808 3 view .LVU337
1085 0006 013B subs r3, r3, #1
1086 0008 022B cmp r3, #2
1087 000a 09D8 bhi .L87
813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1088 .loc 1 813 7 is_stmt 1 view .LVU338
813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1089 .loc 1 813 14 is_stmt 0 view .LVU339
1090 000c 4B88 ldrh r3, [r1, #2]
813:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1091 .loc 1 813 10 view .LVU340
1092 000e 012B cmp r3, #1
1093 0010 00D0 beq .L90
1094 .LVL126:
1095 .L86:
824:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1096 .loc 1 824 1 view .LVU341
1097 0012 08BD pop {r3, pc}
1098 .LVL127:
1099 .L90:
815:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
1100 .loc 1 815 9 is_stmt 1 view .LVU342
815:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_CtlSendStatus(pdev);
1101 .loc 1 815 33 is_stmt 0 view .LVU343
1102 0014 0023 movs r3, #0
1103 0016 C0F8A432 str r3, [r0, #676]
816:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1104 .loc 1 816 9 is_stmt 1 view .LVU344
1105 001a FFF7FEFF bl USBD_CtlSendStatus
1106 .LVL128:
816:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1107 .loc 1 816 9 is_stmt 0 view .LVU345
1108 001e F8E7 b .L86
1109 .LVL129:
1110 .L87:
821:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1111 .loc 1 821 7 is_stmt 1 view .LVU346
1112 0020 FFF7FEFF bl USBD_CtlError
1113 .LVL130:
822:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1114 .loc 1 822 7 view .LVU347
824:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1115 .loc 1 824 1 is_stmt 0 view .LVU348
1116 0024 F5E7 b .L86
1117 .cfi_endproc
1118 .LFE77:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 42
1120 .section .text.USBD_StdDevReq,"ax",%progbits
1121 .align 1
1122 .global USBD_StdDevReq
1123 .syntax unified
1124 .thumb
1125 .thumb_func
1126 .fpu softvfp
1128 USBD_StdDevReq:
1129 .LVL131:
1130 .LFB68:
116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
1131 .loc 1 116 1 is_stmt 1 view -0
1132 .cfi_startproc
1133 @ args = 0, pretend = 0, frame = 0
1134 @ frame_needed = 0, uses_anonymous_args = 0
116:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
1135 .loc 1 116 1 is_stmt 0 view .LVU350
1136 0000 08B5 push {r3, lr}
1137 .LCFI11:
1138 .cfi_def_cfa_offset 8
1139 .cfi_offset 3, -8
1140 .cfi_offset 14, -4
117:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1141 .loc 1 117 3 is_stmt 1 view .LVU351
1142 .LVL132:
119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1143 .loc 1 119 3 view .LVU352
119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1144 .loc 1 119 14 is_stmt 0 view .LVU353
1145 0002 0B78 ldrb r3, [r1] @ zero_extendqisi2
1146 0004 03F06003 and r3, r3, #96
119:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1147 .loc 1 119 3 view .LVU354
1148 0008 202B cmp r3, #32
1149 000a 05D0 beq .L92
1150 000c 402B cmp r3, #64
1151 000e 03D0 beq .L92
1152 0010 43B1 cbz r3, .L107
164:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1153 .loc 1 164 7 is_stmt 1 view .LVU355
1154 0012 FFF7FEFF bl USBD_CtlError
1155 .LVL133:
165:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1156 .loc 1 165 7 view .LVU356
1157 0016 03E0 b .L95
1158 .LVL134:
1159 .L92:
123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1160 .loc 1 123 7 view .LVU357
123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1161 .loc 1 123 11 is_stmt 0 view .LVU358
1162 0018 D0F8B432 ldr r3, [r0, #692]
123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1163 .loc 1 123 19 view .LVU359
1164 001c 9B68 ldr r3, [r3, #8]
123:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1165 .loc 1 123 7 view .LVU360
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 43
1166 001e 9847 blx r3
1167 .LVL135:
124:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1168 .loc 1 124 7 is_stmt 1 view .LVU361
1169 .L95:
168:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1170 .loc 1 168 3 view .LVU362
169:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1171 .loc 1 169 1 is_stmt 0 view .LVU363
1172 0020 0020 movs r0, #0
1173 0022 08BD pop {r3, pc}
1174 .LVL136:
1175 .L107:
127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1176 .loc 1 127 7 is_stmt 1 view .LVU364
127:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1177 .loc 1 127 18 is_stmt 0 view .LVU365
1178 0024 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
1179 0026 092B cmp r3, #9
1180 0028 1BD8 bhi .L96
1181 002a DFE803F0 tbb [pc, r3]
1182 .L98:
1183 002e 11 .byte (.L104-.L98)/2
1184 002f 17 .byte (.L103-.L98)/2
1185 0030 1A .byte (.L96-.L98)/2
1186 0031 14 .byte (.L102-.L98)/2
1187 0032 1A .byte (.L96-.L98)/2
1188 0033 08 .byte (.L101-.L98)/2
1189 0034 05 .byte (.L100-.L98)/2
1190 0035 1A .byte (.L96-.L98)/2
1191 0036 0E .byte (.L99-.L98)/2
1192 0037 0B .byte (.L97-.L98)/2
1193 .p2align 1
1194 .L100:
130:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1195 .loc 1 130 11 is_stmt 1 view .LVU366
1196 0038 FFF7FEFF bl USBD_GetDescriptor
1197 .LVL137:
131:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1198 .loc 1 131 11 view .LVU367
1199 003c F0E7 b .L95
1200 .LVL138:
1201 .L101:
134:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1202 .loc 1 134 11 view .LVU368
1203 003e FFF7FEFF bl USBD_SetAddress
1204 .LVL139:
135:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1205 .loc 1 135 11 view .LVU369
1206 0042 EDE7 b .L95
1207 .LVL140:
1208 .L97:
138:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1209 .loc 1 138 11 view .LVU370
1210 0044 FFF7FEFF bl USBD_SetConfig
1211 .LVL141:
139:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 44
1212 .loc 1 139 11 view .LVU371
1213 0048 EAE7 b .L95
1214 .LVL142:
1215 .L99:
142:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1216 .loc 1 142 11 view .LVU372
1217 004a FFF7FEFF bl USBD_GetConfig
1218 .LVL143:
143:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1219 .loc 1 143 11 view .LVU373
1220 004e E7E7 b .L95
1221 .LVL144:
1222 .L104:
146:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1223 .loc 1 146 11 view .LVU374
1224 0050 FFF7FEFF bl USBD_GetStatus
1225 .LVL145:
147:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1226 .loc 1 147 11 view .LVU375
1227 0054 E4E7 b .L95
1228 .LVL146:
1229 .L102:
150:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1230 .loc 1 150 11 view .LVU376
1231 0056 FFF7FEFF bl USBD_SetFeature
1232 .LVL147:
151:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1233 .loc 1 151 11 view .LVU377
1234 005a E1E7 b .L95
1235 .LVL148:
1236 .L103:
154:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1237 .loc 1 154 11 view .LVU378
1238 005c FFF7FEFF bl USBD_ClrFeature
1239 .LVL149:
155:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1240 .loc 1 155 11 view .LVU379
1241 0060 DEE7 b .L95
1242 .LVL150:
1243 .L96:
158:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1244 .loc 1 158 11 view .LVU380
1245 0062 FFF7FEFF bl USBD_CtlError
1246 .LVL151:
159:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1247 .loc 1 159 11 view .LVU381
1248 0066 DBE7 b .L95
1249 .cfi_endproc
1250 .LFE68:
1252 .section .text.USBD_StdItfReq,"ax",%progbits
1253 .align 1
1254 .global USBD_StdItfReq
1255 .syntax unified
1256 .thumb
1257 .thumb_func
1258 .fpu softvfp
1260 USBD_StdItfReq:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 45
1261 .LVL152:
1262 .LFB69:
180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
1263 .loc 1 180 1 view -0
1264 .cfi_startproc
1265 @ args = 0, pretend = 0, frame = 0
1266 @ frame_needed = 0, uses_anonymous_args = 0
180:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
1267 .loc 1 180 1 is_stmt 0 view .LVU383
1268 0000 38B5 push {r3, r4, r5, lr}
1269 .LCFI12:
1270 .cfi_def_cfa_offset 16
1271 .cfi_offset 3, -16
1272 .cfi_offset 4, -12
1273 .cfi_offset 5, -8
1274 .cfi_offset 14, -4
1275 0002 0546 mov r5, r0
1276 0004 0C46 mov r4, r1
181:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1277 .loc 1 181 3 is_stmt 1 view .LVU384
1278 .LVL153:
183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1279 .loc 1 183 3 view .LVU385
183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1280 .loc 1 183 14 is_stmt 0 view .LVU386
1281 0006 0B78 ldrb r3, [r1] @ zero_extendqisi2
1282 0008 03F06003 and r3, r3, #96
183:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1283 .loc 1 183 3 view .LVU387
1284 000c 202B cmp r3, #32
1285 000e 06D0 beq .L109
1286 0010 402B cmp r3, #64
1287 0012 04D0 beq .L109
1288 0014 1BB1 cbz r3, .L109
216:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1289 .loc 1 216 7 is_stmt 1 view .LVU388
1290 0016 FFF7FEFF bl USBD_CtlError
1291 .LVL154:
217:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1292 .loc 1 217 7 view .LVU389
1293 .L113:
220:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1294 .loc 1 220 3 view .LVU390
221:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1295 .loc 1 221 1 is_stmt 0 view .LVU391
1296 001a 0020 movs r0, #0
1297 001c 38BD pop {r3, r4, r5, pc}
1298 .LVL155:
1299 .L109:
188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1300 .loc 1 188 7 is_stmt 1 view .LVU392
188:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1301 .loc 1 188 19 is_stmt 0 view .LVU393
1302 001e 95F89C32 ldrb r3, [r5, #668] @ zero_extendqisi2
1303 0022 013B subs r3, r3, #1
1304 0024 022B cmp r3, #2
1305 0026 16D8 bhi .L111
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 46
194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1306 .loc 1 194 11 is_stmt 1 view .LVU394
194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1307 .loc 1 194 15 is_stmt 0 view .LVU395
1308 0028 2379 ldrb r3, [r4, #4] @ zero_extendqisi2
194:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1309 .loc 1 194 14 view .LVU396
1310 002a 012B cmp r3, #1
1311 002c 0ED8 bhi .L112
196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1312 .loc 1 196 13 is_stmt 1 view .LVU397
196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1313 .loc 1 196 43 is_stmt 0 view .LVU398
1314 002e D5F8B432 ldr r3, [r5, #692]
196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1315 .loc 1 196 51 view .LVU399
1316 0032 9B68 ldr r3, [r3, #8]
196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1317 .loc 1 196 39 view .LVU400
1318 0034 2146 mov r1, r4
1319 .LVL156:
196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1320 .loc 1 196 39 view .LVU401
1321 0036 2846 mov r0, r5
1322 .LVL157:
196:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1323 .loc 1 196 39 view .LVU402
1324 0038 9847 blx r3
1325 .LVL158:
198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1326 .loc 1 198 13 is_stmt 1 view .LVU403
198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1327 .loc 1 198 21 is_stmt 0 view .LVU404
1328 003a E388 ldrh r3, [r4, #6]
198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1329 .loc 1 198 16 view .LVU405
1330 003c 002B cmp r3, #0
1331 003e ECD1 bne .L113
198:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1332 .loc 1 198 38 discriminator 1 view .LVU406
1333 0040 0028 cmp r0, #0
1334 0042 EAD1 bne .L113
200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1335 .loc 1 200 15 is_stmt 1 view .LVU407
1336 0044 2846 mov r0, r5
1337 .LVL159:
200:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1338 .loc 1 200 15 is_stmt 0 view .LVU408
1339 0046 FFF7FEFF bl USBD_CtlSendStatus
1340 .LVL160:
1341 004a E6E7 b .L113
1342 .LVL161:
1343 .L112:
205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1344 .loc 1 205 13 is_stmt 1 view .LVU409
1345 004c 2146 mov r1, r4
1346 .LVL162:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 47
205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1347 .loc 1 205 13 is_stmt 0 view .LVU410
1348 004e 2846 mov r0, r5
1349 .LVL163:
205:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1350 .loc 1 205 13 view .LVU411
1351 0050 FFF7FEFF bl USBD_CtlError
1352 .LVL164:
1353 0054 E1E7 b .L113
1354 .LVL165:
1355 .L111:
210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1356 .loc 1 210 11 is_stmt 1 view .LVU412
1357 0056 2146 mov r1, r4
1358 .LVL166:
210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1359 .loc 1 210 11 is_stmt 0 view .LVU413
1360 0058 2846 mov r0, r5
1361 .LVL167:
210:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1362 .loc 1 210 11 view .LVU414
1363 005a FFF7FEFF bl USBD_CtlError
1364 .LVL168:
211:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1365 .loc 1 211 11 is_stmt 1 view .LVU415
1366 005e DCE7 b .L113
1367 .cfi_endproc
1368 .LFE69:
1370 .section .text.USBD_StdEPReq,"ax",%progbits
1371 .align 1
1372 .global USBD_StdEPReq
1373 .syntax unified
1374 .thumb
1375 .thumb_func
1376 .fpu softvfp
1378 USBD_StdEPReq:
1379 .LVL169:
1380 .LFB70:
232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_EndpointTypeDef *pep;
1381 .loc 1 232 1 view -0
1382 .cfi_startproc
1383 @ args = 0, pretend = 0, frame = 0
1384 @ frame_needed = 0, uses_anonymous_args = 0
232:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_EndpointTypeDef *pep;
1385 .loc 1 232 1 is_stmt 0 view .LVU417
1386 0000 38B5 push {r3, r4, r5, lr}
1387 .LCFI13:
1388 .cfi_def_cfa_offset 16
1389 .cfi_offset 3, -16
1390 .cfi_offset 4, -12
1391 .cfi_offset 5, -8
1392 .cfi_offset 14, -4
1393 0002 0446 mov r4, r0
233:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t ep_addr;
1394 .loc 1 233 3 is_stmt 1 view .LVU418
234:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_StatusTypeDef ret = USBD_OK;
1395 .loc 1 234 3 view .LVU419
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 48
235:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** ep_addr = LOBYTE(req->wIndex);
1396 .loc 1 235 3 view .LVU420
1397 .LVL170:
236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1398 .loc 1 236 3 view .LVU421
236:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1399 .loc 1 236 14 is_stmt 0 view .LVU422
1400 0004 8A88 ldrh r2, [r1, #4]
1401 .LVL171:
238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1402 .loc 1 238 3 is_stmt 1 view .LVU423
238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1403 .loc 1 238 14 is_stmt 0 view .LVU424
1404 0006 0B78 ldrb r3, [r1] @ zero_extendqisi2
1405 0008 03F06003 and r3, r3, #96
238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1406 .loc 1 238 3 view .LVU425
1407 000c 202B cmp r3, #32
1408 000e 08D0 beq .L116
1409 0010 D0B2 uxtb r0, r2
1410 .LVL172:
238:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1411 .loc 1 238 3 view .LVU426
1412 0012 402B cmp r3, #64
1413 0014 05D0 beq .L116
1414 0016 5BB1 cbz r3, .L154
390:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1415 .loc 1 390 7 is_stmt 1 view .LVU427
1416 0018 2046 mov r0, r4
1417 001a FFF7FEFF bl USBD_CtlError
1418 .LVL173:
391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1419 .loc 1 391 7 view .LVU428
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1420 .loc 1 394 10 is_stmt 0 view .LVU429
1421 001e 0020 movs r0, #0
391:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1422 .loc 1 391 7 view .LVU430
1423 0020 05E0 b .L119
1424 .LVL174:
1425 .L116:
242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1426 .loc 1 242 7 is_stmt 1 view .LVU431
242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1427 .loc 1 242 11 is_stmt 0 view .LVU432
1428 0022 D4F8B432 ldr r3, [r4, #692]
242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1429 .loc 1 242 19 view .LVU433
1430 0026 9B68 ldr r3, [r3, #8]
242:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1431 .loc 1 242 7 view .LVU434
1432 0028 2046 mov r0, r4
1433 002a 9847 blx r3
1434 .LVL175:
243:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1435 .loc 1 243 7 is_stmt 1 view .LVU435
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 49
1436 .loc 1 394 10 is_stmt 0 view .LVU436
1437 002c 0020 movs r0, #0
1438 .LVL176:
1439 .L119:
395:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1440 .loc 1 395 1 view .LVU437
1441 002e 38BD pop {r3, r4, r5, pc}
1442 .LVL177:
1443 .L154:
247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1444 .loc 1 247 7 is_stmt 1 view .LVU438
247:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1445 .loc 1 247 10 is_stmt 0 view .LVU439
1446 0030 202B cmp r3, #32
1447 0032 13D0 beq .L155
254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1448 .loc 1 254 7 is_stmt 1 view .LVU440
254:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1449 .loc 1 254 18 is_stmt 0 view .LVU441
1450 0034 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
1451 0036 012B cmp r3, #1
1452 0038 39D0 beq .L121
1453 003a 5DB2 sxtb r5, r3
1454 003c 002D cmp r5, #0
1455 003e 64D0 beq .L122
1456 0040 032B cmp r3, #3
1457 0042 40F0DE80 bne .L123
257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1458 .loc 1 257 11 is_stmt 1 discriminator 3 view .LVU442
257:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1459 .loc 1 257 23 is_stmt 0 discriminator 3 view .LVU443
1460 0046 94F89C32 ldrb r3, [r4, #668] @ zero_extendqisi2
1461 004a 022B cmp r3, #2
1462 004c 0CD0 beq .L124
1463 004e 032B cmp r3, #3
1464 0050 1CD0 beq .L125
285:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1465 .loc 1 285 15 is_stmt 1 view .LVU444
1466 0052 2046 mov r0, r4
1467 0054 FFF7FEFF bl USBD_CtlError
1468 .LVL178:
286:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1469 .loc 1 286 15 view .LVU445
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1470 .loc 1 394 10 is_stmt 0 view .LVU446
1471 0058 0020 movs r0, #0
286:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1472 .loc 1 286 15 view .LVU447
1473 005a E8E7 b .L119
1474 .LVL179:
1475 .L155:
249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1476 .loc 1 249 9 is_stmt 1 view .LVU448
249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1477 .loc 1 249 39 is_stmt 0 view .LVU449
1478 005c D4F8B432 ldr r3, [r4, #692]
249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 50
1479 .loc 1 249 47 view .LVU450
1480 0060 9B68 ldr r3, [r3, #8]
249:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1481 .loc 1 249 35 view .LVU451
1482 0062 2046 mov r0, r4
1483 0064 9847 blx r3
1484 .LVL180:
251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1485 .loc 1 251 9 is_stmt 1 view .LVU452
251:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1486 .loc 1 251 16 is_stmt 0 view .LVU453
1487 0066 E2E7 b .L119
1488 .LVL181:
1489 .L124:
260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1490 .loc 1 260 15 is_stmt 1 view .LVU454
260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1491 .loc 1 260 18 is_stmt 0 view .LVU455
1492 0068 08B1 cbz r0, .L127
260:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1493 .loc 1 260 38 discriminator 1 view .LVU456
1494 006a 8028 cmp r0, #128
1495 006c 04D1 bne .L156
1496 .L127:
267:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1497 .loc 1 267 17 is_stmt 1 view .LVU457
1498 006e 2046 mov r0, r4
1499 0070 FFF7FEFF bl USBD_CtlError
1500 .LVL182:
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1501 .loc 1 394 10 is_stmt 0 view .LVU458
1502 0074 0020 movs r0, #0
1503 0076 DAE7 b .L119
1504 .LVL183:
1505 .L156:
262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
1506 .loc 1 262 17 is_stmt 1 view .LVU459
1507 0078 0146 mov r1, r0
1508 .LVL184:
262:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
1509 .loc 1 262 17 is_stmt 0 view .LVU460
1510 007a 2046 mov r0, r4
1511 007c FFF7FEFF bl USBD_LL_StallEP
1512 .LVL185:
263:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1513 .loc 1 263 17 is_stmt 1 view .LVU461
1514 0080 8021 movs r1, #128
1515 0082 2046 mov r0, r4
1516 0084 FFF7FEFF bl USBD_LL_StallEP
1517 .LVL186:
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1518 .loc 1 394 10 is_stmt 0 view .LVU462
1519 0088 0020 movs r0, #0
263:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1520 .loc 1 263 17 view .LVU463
1521 008a D0E7 b .L119
1522 .LVL187:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 51
1523 .L125:
272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1524 .loc 1 272 15 is_stmt 1 view .LVU464
272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1525 .loc 1 272 22 is_stmt 0 view .LVU465
1526 008c 4B88 ldrh r3, [r1, #2]
272:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1527 .loc 1 272 18 view .LVU466
1528 008e 23B9 cbnz r3, .L128
274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
1529 .loc 1 274 17 is_stmt 1 view .LVU467
274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
1530 .loc 1 274 20 is_stmt 0 view .LVU468
1531 0090 18B1 cbz r0, .L128
274:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** (ep_addr != 0x80U) && (req->wLength == 0x00U))
1532 .loc 1 274 40 discriminator 1 view .LVU469
1533 0092 8028 cmp r0, #128
1534 0094 01D0 beq .L128
275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1535 .loc 1 275 47 view .LVU470
1536 0096 CB88 ldrh r3, [r1, #6]
275:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1537 .loc 1 275 40 view .LVU471
1538 0098 23B1 cbz r3, .L157
1539 .LVL188:
1540 .L128:
280:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1541 .loc 1 280 15 is_stmt 1 view .LVU472
1542 009a 2046 mov r0, r4
1543 009c FFF7FEFF bl USBD_CtlSendStatus
1544 .LVL189:
282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1545 .loc 1 282 15 view .LVU473
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1546 .loc 1 394 10 is_stmt 0 view .LVU474
1547 00a0 0020 movs r0, #0
282:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1548 .loc 1 282 15 view .LVU475
1549 00a2 C4E7 b .L119
1550 .LVL190:
1551 .L157:
277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1552 .loc 1 277 19 is_stmt 1 view .LVU476
1553 00a4 0146 mov r1, r0
1554 .LVL191:
277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1555 .loc 1 277 19 is_stmt 0 view .LVU477
1556 00a6 2046 mov r0, r4
1557 00a8 FFF7FEFF bl USBD_LL_StallEP
1558 .LVL192:
277:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1559 .loc 1 277 19 view .LVU478
1560 00ac F5E7 b .L128
1561 .LVL193:
1562 .L121:
292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1563 .loc 1 292 11 is_stmt 1 discriminator 2 view .LVU479
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 52
292:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1564 .loc 1 292 23 is_stmt 0 discriminator 2 view .LVU480
1565 00ae 94F89C32 ldrb r3, [r4, #668] @ zero_extendqisi2
1566 00b2 022B cmp r3, #2
1567 00b4 06D0 beq .L129
1568 00b6 032B cmp r3, #3
1569 00b8 16D0 beq .L130
318:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1570 .loc 1 318 15 is_stmt 1 view .LVU481
1571 00ba 2046 mov r0, r4
1572 00bc FFF7FEFF bl USBD_CtlError
1573 .LVL194:
319:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1574 .loc 1 319 15 view .LVU482
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1575 .loc 1 394 10 is_stmt 0 view .LVU483
1576 00c0 0020 movs r0, #0
319:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1577 .loc 1 319 15 view .LVU484
1578 00c2 B4E7 b .L119
1579 .LVL195:
1580 .L129:
295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1581 .loc 1 295 15 is_stmt 1 view .LVU485
295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1582 .loc 1 295 18 is_stmt 0 view .LVU486
1583 00c4 08B1 cbz r0, .L132
295:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1584 .loc 1 295 38 discriminator 1 view .LVU487
1585 00c6 8028 cmp r0, #128
1586 00c8 04D1 bne .L158
1587 .L132:
302:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1588 .loc 1 302 17 is_stmt 1 view .LVU488
1589 00ca 2046 mov r0, r4
1590 00cc FFF7FEFF bl USBD_CtlError
1591 .LVL196:
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1592 .loc 1 394 10 is_stmt 0 view .LVU489
1593 00d0 0020 movs r0, #0
1594 00d2 ACE7 b .L119
1595 .LVL197:
1596 .L158:
297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
1597 .loc 1 297 17 is_stmt 1 view .LVU490
1598 00d4 0146 mov r1, r0
1599 .LVL198:
297:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** USBD_LL_StallEP(pdev, 0x80U);
1600 .loc 1 297 17 is_stmt 0 view .LVU491
1601 00d6 2046 mov r0, r4
1602 00d8 FFF7FEFF bl USBD_LL_StallEP
1603 .LVL199:
298:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1604 .loc 1 298 17 is_stmt 1 view .LVU492
1605 00dc 8021 movs r1, #128
1606 00de 2046 mov r0, r4
1607 00e0 FFF7FEFF bl USBD_LL_StallEP
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 53
1608 .LVL200:
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1609 .loc 1 394 10 is_stmt 0 view .LVU493
1610 00e4 0020 movs r0, #0
298:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1611 .loc 1 298 17 view .LVU494
1612 00e6 A2E7 b .L119
1613 .LVL201:
1614 .L130:
307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1615 .loc 1 307 15 is_stmt 1 view .LVU495
307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1616 .loc 1 307 22 is_stmt 0 view .LVU496
1617 00e8 4B88 ldrh r3, [r1, #2]
307:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1618 .loc 1 307 18 view .LVU497
1619 00ea 002B cmp r3, #0
1620 00ec 40F08E80 bne .L148
309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1621 .loc 1 309 17 is_stmt 1 view .LVU498
309:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1622 .loc 1 309 20 is_stmt 0 view .LVU499
1623 00f0 10F07F0F tst r0, #127
1624 00f4 04D1 bne .L159
1625 .LVL202:
1626 .L133:
313:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1627 .loc 1 313 17 is_stmt 1 view .LVU500
1628 00f6 2046 mov r0, r4
1629 00f8 FFF7FEFF bl USBD_CtlSendStatus
1630 .LVL203:
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1631 .loc 1 394 10 is_stmt 0 view .LVU501
1632 00fc 0020 movs r0, #0
1633 00fe 96E7 b .L119
1634 .LVL204:
1635 .L159:
311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1636 .loc 1 311 19 is_stmt 1 view .LVU502
1637 0100 0146 mov r1, r0
1638 .LVL205:
311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1639 .loc 1 311 19 is_stmt 0 view .LVU503
1640 0102 2046 mov r0, r4
1641 0104 FFF7FEFF bl USBD_LL_ClearStallEP
1642 .LVL206:
311:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1643 .loc 1 311 19 view .LVU504
1644 0108 F5E7 b .L133
1645 .LVL207:
1646 .L122:
324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1647 .loc 1 324 11 is_stmt 1 discriminator 1 view .LVU505
324:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1648 .loc 1 324 23 is_stmt 0 discriminator 1 view .LVU506
1649 010a 94F89C32 ldrb r3, [r4, #668] @ zero_extendqisi2
1650 010e 022B cmp r3, #2
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 54
1651 0110 06D0 beq .L134
1652 0112 032B cmp r3, #3
1653 0114 2AD0 beq .L135
378:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1654 .loc 1 378 15 is_stmt 1 view .LVU507
1655 0116 2046 mov r0, r4
1656 0118 FFF7FEFF bl USBD_CtlError
1657 .LVL208:
379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1658 .loc 1 379 15 view .LVU508
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1659 .loc 1 394 10 is_stmt 0 view .LVU509
1660 011c 0020 movs r0, #0
379:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1661 .loc 1 379 15 view .LVU510
1662 011e 86E7 b .L119
1663 .LVL209:
1664 .L134:
327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1665 .loc 1 327 15 is_stmt 1 view .LVU511
327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1666 .loc 1 327 18 is_stmt 0 view .LVU512
1667 0120 08B1 cbz r0, .L137
327:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1668 .loc 1 327 38 discriminator 1 view .LVU513
1669 0122 8028 cmp r0, #128
1670 0124 13D1 bne .L160
1671 .L137:
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1672 .loc 1 332 15 is_stmt 1 view .LVU514
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1673 .loc 1 332 82 is_stmt 0 view .LVU515
1674 0126 12F0800F tst r2, #128
1675 012a 15D1 bne .L161
333:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1676 .loc 1 333 43 discriminator 2 view .LVU516
1677 012c 00F07F00 and r0, r0, #127
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1678 .loc 1 332 82 discriminator 2 view .LVU517
1679 0130 00EB8000 add r0, r0, r0, lsl #2
1680 0134 8300 lsls r3, r0, #2
1681 0136 03F5A871 add r1, r3, #336
1682 .LVL210:
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1683 .loc 1 332 82 discriminator 2 view .LVU518
1684 013a 2144 add r1, r1, r4
1685 013c 0431 adds r1, r1, #4
1686 .L139:
1687 .LVL211:
335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1688 .loc 1 335 15 is_stmt 1 discriminator 4 view .LVU519
335:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1689 .loc 1 335 27 is_stmt 0 discriminator 4 view .LVU520
1690 013e 0025 movs r5, #0
1691 0140 0D60 str r5, [r1]
337:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1692 .loc 1 337 15 is_stmt 1 discriminator 4 view .LVU521
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 55
1693 0142 0222 movs r2, #2
1694 .LVL212:
337:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1695 .loc 1 337 15 is_stmt 0 discriminator 4 view .LVU522
1696 0144 2046 mov r0, r4
1697 0146 FFF7FEFF bl USBD_CtlSendData
1698 .LVL213:
338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1699 .loc 1 338 15 is_stmt 1 discriminator 4 view .LVU523
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1700 .loc 1 394 10 is_stmt 0 discriminator 4 view .LVU524
1701 014a 2846 mov r0, r5
338:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1702 .loc 1 338 15 discriminator 4 view .LVU525
1703 014c 6FE7 b .L119
1704 .LVL214:
1705 .L160:
329:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1706 .loc 1 329 17 is_stmt 1 view .LVU526
1707 014e 2046 mov r0, r4
1708 0150 FFF7FEFF bl USBD_CtlError
1709 .LVL215:
330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1710 .loc 1 330 17 view .LVU527
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1711 .loc 1 394 10 is_stmt 0 view .LVU528
1712 0154 0020 movs r0, #0
330:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1713 .loc 1 330 17 view .LVU529
1714 0156 6AE7 b .L119
1715 .LVL216:
1716 .L161:
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1717 .loc 1 332 73 discriminator 1 view .LVU530
1718 0158 00F07F00 and r0, r0, #127
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1719 .loc 1 332 82 discriminator 1 view .LVU531
1720 015c 00EB8000 add r0, r0, r0, lsl #2
1721 0160 8300 lsls r3, r0, #2
1722 0162 03F11001 add r1, r3, #16
1723 .LVL217:
332:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1724 .loc 1 332 82 discriminator 1 view .LVU532
1725 0166 2144 add r1, r1, r4
1726 0168 0431 adds r1, r1, #4
1727 016a E8E7 b .L139
1728 .LVL218:
1729 .L135:
341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1730 .loc 1 341 15 is_stmt 1 view .LVU533
341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1731 .loc 1 341 37 is_stmt 0 view .LVU534
1732 016c 52B2 sxtb r2, r2
341:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1733 .loc 1 341 18 view .LVU535
1734 016e 002A cmp r2, #0
1735 0170 1FDB blt .L162
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 56
351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1736 .loc 1 351 17 is_stmt 1 view .LVU536
351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1737 .loc 1 351 42 is_stmt 0 view .LVU537
1738 0172 00F00F03 and r3, r0, #15
351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1739 .loc 1 351 49 view .LVU538
1740 0176 03EB8303 add r3, r3, r3, lsl #2
1741 017a 9D00 lsls r5, r3, #2
1742 017c 2544 add r5, r5, r4
1743 017e D5F85831 ldr r3, [r5, #344]
351:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1744 .loc 1 351 20 view .LVU539
1745 0182 23B3 cbz r3, .L163
1746 .L141:
358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1747 .loc 1 358 15 is_stmt 1 view .LVU540
358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1748 .loc 1 358 82 is_stmt 0 view .LVU541
1749 0184 002A cmp r2, #0
1750 0186 27DB blt .L164
359:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1751 .loc 1 359 43 discriminator 2 view .LVU542
1752 0188 00F07F02 and r2, r0, #127
1753 .LVL219:
358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1754 .loc 1 358 82 discriminator 2 view .LVU543
1755 018c 02EB8202 add r2, r2, r2, lsl #2
1756 0190 9300 lsls r3, r2, #2
1757 0192 03F5A875 add r5, r3, #336
1758 0196 2544 add r5, r5, r4
1759 0198 0435 adds r5, r5, #4
1760 .L143:
1761 .LVL220:
361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1762 .loc 1 361 15 is_stmt 1 discriminator 4 view .LVU544
361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1763 .loc 1 361 18 is_stmt 0 discriminator 4 view .LVU545
1764 019a 08B1 cbz r0, .L144
361:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1765 .loc 1 361 38 discriminator 1 view .LVU546
1766 019c 8028 cmp r0, #128
1767 019e 25D1 bne .L145
1768 .L144:
363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1769 .loc 1 363 17 is_stmt 1 view .LVU547
363:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1770 .loc 1 363 29 is_stmt 0 view .LVU548
1771 01a0 0023 movs r3, #0
1772 01a2 2B60 str r3, [r5]
1773 .LVL221:
1774 .L146:
374:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1775 .loc 1 374 15 is_stmt 1 view .LVU549
1776 01a4 0222 movs r2, #2
1777 01a6 2946 mov r1, r5
1778 01a8 2046 mov r0, r4
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 57
1779 01aa FFF7FEFF bl USBD_CtlSendData
1780 .LVL222:
375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1781 .loc 1 375 15 view .LVU550
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1782 .loc 1 394 10 is_stmt 0 view .LVU551
1783 01ae 0020 movs r0, #0
375:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1784 .loc 1 375 15 view .LVU552
1785 01b0 3DE7 b .L119
1786 .LVL223:
1787 .L162:
343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1788 .loc 1 343 17 is_stmt 1 view .LVU553
343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1789 .loc 1 343 41 is_stmt 0 view .LVU554
1790 01b2 00F00F03 and r3, r0, #15
343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1791 .loc 1 343 48 view .LVU555
1792 01b6 03EB8303 add r3, r3, r3, lsl #2
1793 01ba 9D00 lsls r5, r3, #2
1794 01bc 2544 add r5, r5, r4
1795 01be AB69 ldr r3, [r5, #24]
343:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1796 .loc 1 343 20 view .LVU556
1797 01c0 002B cmp r3, #0
1798 01c2 DFD1 bne .L141
345:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1799 .loc 1 345 19 is_stmt 1 view .LVU557
1800 01c4 2046 mov r0, r4
1801 01c6 FFF7FEFF bl USBD_CtlError
1802 .LVL224:
346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1803 .loc 1 346 19 view .LVU558
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1804 .loc 1 394 10 is_stmt 0 view .LVU559
1805 01ca 0020 movs r0, #0
346:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1806 .loc 1 346 19 view .LVU560
1807 01cc 2FE7 b .L119
1808 .LVL225:
1809 .L163:
353:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1810 .loc 1 353 19 is_stmt 1 view .LVU561
1811 01ce 2046 mov r0, r4
1812 01d0 FFF7FEFF bl USBD_CtlError
1813 .LVL226:
354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1814 .loc 1 354 19 view .LVU562
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1815 .loc 1 394 10 is_stmt 0 view .LVU563
1816 01d4 0020 movs r0, #0
354:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1817 .loc 1 354 19 view .LVU564
1818 01d6 2AE7 b .L119
1819 .LVL227:
1820 .L164:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 58
358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1821 .loc 1 358 73 discriminator 1 view .LVU565
1822 01d8 00F07F02 and r2, r0, #127
1823 .LVL228:
358:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** &pdev->ep_out[ep_addr & 0x7FU];
1824 .loc 1 358 82 discriminator 1 view .LVU566
1825 01dc 02EB8202 add r2, r2, r2, lsl #2
1826 01e0 9300 lsls r3, r2, #2
1827 01e2 03F11005 add r5, r3, #16
1828 01e6 2544 add r5, r5, r4
1829 01e8 0435 adds r5, r5, #4
1830 01ea D6E7 b .L143
1831 .LVL229:
1832 .L145:
365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1833 .loc 1 365 20 is_stmt 1 view .LVU567
365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1834 .loc 1 365 24 is_stmt 0 view .LVU568
1835 01ec 0146 mov r1, r0
1836 .LVL230:
365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1837 .loc 1 365 24 view .LVU569
1838 01ee 2046 mov r0, r4
1839 .LVL231:
365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1840 .loc 1 365 24 view .LVU570
1841 01f0 FFF7FEFF bl USBD_LL_IsStallEP
1842 .LVL232:
365:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1843 .loc 1 365 23 view .LVU571
1844 01f4 10B1 cbz r0, .L147
367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1845 .loc 1 367 17 is_stmt 1 view .LVU572
367:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1846 .loc 1 367 29 is_stmt 0 view .LVU573
1847 01f6 0123 movs r3, #1
1848 01f8 2B60 str r3, [r5]
1849 01fa D3E7 b .L146
1850 .L147:
371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1851 .loc 1 371 17 is_stmt 1 view .LVU574
371:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1852 .loc 1 371 29 is_stmt 0 view .LVU575
1853 01fc 0023 movs r3, #0
1854 01fe 2B60 str r3, [r5]
1855 0200 D0E7 b .L146
1856 .LVL233:
1857 .L123:
384:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** break;
1858 .loc 1 384 11 is_stmt 1 view .LVU576
1859 0202 2046 mov r0, r4
1860 0204 FFF7FEFF bl USBD_CtlError
1861 .LVL234:
385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1862 .loc 1 385 11 view .LVU577
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1863 .loc 1 394 10 is_stmt 0 view .LVU578
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 59
1864 0208 0020 movs r0, #0
385:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1865 .loc 1 385 11 view .LVU579
1866 020a 10E7 b .L119
1867 .LVL235:
1868 .L148:
394:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1869 .loc 1 394 10 view .LVU580
1870 020c 0020 movs r0, #0
1871 020e 0EE7 b .L119
1872 .cfi_endproc
1873 .LFE70:
1875 .section .text.USBD_GetString,"ax",%progbits
1876 .align 1
1877 .global USBD_GetString
1878 .syntax unified
1879 .thumb
1880 .thumb_func
1881 .fpu softvfp
1883 USBD_GetString:
1884 .LVL236:
1885 .LFB80:
869:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t idx = 0U;
1886 .loc 1 869 1 is_stmt 1 view -0
1887 .cfi_startproc
1888 @ args = 0, pretend = 0, frame = 0
1889 @ frame_needed = 0, uses_anonymous_args = 0
870:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1890 .loc 1 870 3 view .LVU582
872:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1891 .loc 1 872 3 view .LVU583
872:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1892 .loc 1 872 6 is_stmt 0 view .LVU584
1893 0000 C0B1 cbz r0, .L170
869:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** uint8_t idx = 0U;
1894 .loc 1 869 1 view .LVU585
1895 0002 70B5 push {r4, r5, r6, lr}
1896 .LCFI14:
1897 .cfi_def_cfa_offset 16
1898 .cfi_offset 4, -16
1899 .cfi_offset 5, -12
1900 .cfi_offset 6, -8
1901 .cfi_offset 14, -4
1902 0004 0D46 mov r5, r1
1903 0006 1646 mov r6, r2
1904 0008 0446 mov r4, r0
874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
1905 .loc 1 874 5 is_stmt 1 view .LVU586
874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
1906 .loc 1 874 22 is_stmt 0 view .LVU587
1907 000a FFF7FEFF bl USBD_GetLen
1908 .LVL237:
874:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = *(uint8_t *)(void *)len;
1909 .loc 1 874 10 view .LVU588
1910 000e 0130 adds r0, r0, #1
1911 0010 4000 lsls r0, r0, #1
1912 0012 3080 strh r0, [r6] @ movhi
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 60
875:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = USB_DESC_TYPE_STRING;
1913 .loc 1 875 5 is_stmt 1 view .LVU589
1914 .LVL238:
875:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = USB_DESC_TYPE_STRING;
1915 .loc 1 875 20 is_stmt 0 view .LVU590
1916 0014 2870 strb r0, [r5]
876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1917 .loc 1 876 5 is_stmt 1 view .LVU591
1918 .LVL239:
876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1919 .loc 1 876 20 is_stmt 0 view .LVU592
1920 0016 0323 movs r3, #3
1921 0018 6B70 strb r3, [r5, #1]
878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1922 .loc 1 878 5 is_stmt 1 view .LVU593
876:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1923 .loc 1 876 16 is_stmt 0 view .LVU594
1924 001a 0223 movs r3, #2
1925 .LVL240:
1926 .L167:
878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1927 .loc 1 878 12 view .LVU595
1928 001c 2178 ldrb r1, [r4] @ zero_extendqisi2
878:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** {
1929 .loc 1 878 11 view .LVU596
1930 001e 41B1 cbz r1, .L173
880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
1931 .loc 1 880 7 is_stmt 1 view .LVU597
880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
1932 .loc 1 880 29 is_stmt 0 view .LVU598
1933 0020 0134 adds r4, r4, #1
1934 .LVL241:
880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
1935 .loc 1 880 18 view .LVU599
1936 0022 5A1C adds r2, r3, #1
1937 0024 D2B2 uxtb r2, r2
1938 .LVL242:
880:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** unicode[idx++] = 0U;
1939 .loc 1 880 22 view .LVU600
1940 0026 E954 strb r1, [r5, r3]
881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1941 .loc 1 881 7 is_stmt 1 view .LVU601
881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1942 .loc 1 881 18 is_stmt 0 view .LVU602
1943 0028 0233 adds r3, r3, #2
1944 002a DBB2 uxtb r3, r3
1945 .LVL243:
881:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c **** }
1946 .loc 1 881 22 view .LVU603
1947 002c 0021 movs r1, #0
1948 002e A954 strb r1, [r5, r2]
1949 0030 F4E7 b .L167
1950 .L173:
884:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1951 .loc 1 884 1 view .LVU604
1952 0032 70BD pop {r4, r5, r6, pc}
1953 .LVL244:
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 61
1954 .L170:
1955 .LCFI15:
1956 .cfi_def_cfa_offset 0
1957 .cfi_restore 4
1958 .cfi_restore 5
1959 .cfi_restore 6
1960 .cfi_restore 14
884:Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c ****
1961 .loc 1 884 1 view .LVU605
1962 0034 7047 bx lr
1963 .cfi_endproc
1964 .LFE80:
1966 .section .bss.cfgidx.8850,"aw",%nobits
1967 .set .LANCHOR0,. + 0
1970 cfgidx.8850:
1971 0000 00 .space 1
1972 .text
1973 .Letext0:
1974 .file 2 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1975 .file 3 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1976 .file 4 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1977 .file 5 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1978 .file 6 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1979 .file 7 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1980 .file 8 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
1981 .file 9 "Drivers/CMSIS/Include/core_cm3.h"
1982 .file 10 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
1983 .file 11 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
1984 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
1985 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
1986 .file 14 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h"
1987 .file 15 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
1988 .file 16 "Core/Inc/main.h"
1989 .file 17 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
1990 .file 18 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h"
1991 .file 19 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_ioreq.h"
ARM GAS C:\Users\mike\AppData\Local\Temp\ccihfcjr.s page 62
DEFINED SYMBOLS
*ABS*:0000000000000000 usbd_ctlreq.c
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:16 .text.USBD_GetLen:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:23 .text.USBD_GetLen:0000000000000000 USBD_GetLen
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:66 .text.USBD_SetFeature:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:72 .text.USBD_SetFeature:0000000000000000 USBD_SetFeature
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:109 .text.USBD_ParseSetupRequest:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:116 .text.USBD_ParseSetupRequest:0000000000000000 USBD_ParseSetupRequest
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:160 .text.USBD_CtlError:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:167 .text.USBD_CtlError:0000000000000000 USBD_CtlError
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:199 .text.USBD_GetDescriptor:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:205 .text.USBD_GetDescriptor:0000000000000000 USBD_GetDescriptor
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:243 .text.USBD_GetDescriptor:000000000000001e $d
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:348 .text.USBD_GetDescriptor:0000000000000080 $d
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:354 .text.USBD_GetDescriptor:0000000000000086 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:634 .text.USBD_SetAddress:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:640 .text.USBD_SetAddress:0000000000000000 USBD_SetAddress
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:731 .text.USBD_SetConfig:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:737 .text.USBD_SetConfig:0000000000000000 USBD_SetConfig
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:902 .text.USBD_SetConfig:00000000000000ac $d
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:907 .text.USBD_GetConfig:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:913 .text.USBD_GetConfig:0000000000000000 USBD_GetConfig
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:986 .text.USBD_GetStatus:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:992 .text.USBD_GetStatus:0000000000000000 USBD_GetStatus
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1062 .text.USBD_ClrFeature:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1068 .text.USBD_ClrFeature:0000000000000000 USBD_ClrFeature
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1121 .text.USBD_StdDevReq:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1128 .text.USBD_StdDevReq:0000000000000000 USBD_StdDevReq
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1183 .text.USBD_StdDevReq:000000000000002e $d
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1193 .text.USBD_StdDevReq:0000000000000038 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1253 .text.USBD_StdItfReq:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1260 .text.USBD_StdItfReq:0000000000000000 USBD_StdItfReq
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1371 .text.USBD_StdEPReq:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1378 .text.USBD_StdEPReq:0000000000000000 USBD_StdEPReq
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1876 .text.USBD_GetString:0000000000000000 $t
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1883 .text.USBD_GetString:0000000000000000 USBD_GetString
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1970 .bss.cfgidx.8850:0000000000000000 cfgidx.8850
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:1971 .bss.cfgidx.8850:0000000000000000 $d
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:250 .text.USBD_GetDescriptor:0000000000000025 $d
C:\Users\mike\AppData\Local\Temp\ccihfcjr.s:250 .text.USBD_GetDescriptor:0000000000000026 $t
UNDEFINED SYMBOLS
USBD_CtlSendStatus
USBD_LL_StallEP
USBD_CtlSendData
USBD_LL_SetUSBAddress
USBD_ClrClassConfig
USBD_SetClassConfig
USBD_LL_ClearStallEP
USBD_LL_IsStallEP