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