ARM GAS /tmp/ccWUM42c.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_conf.c" 14 .text 15 .Ltext0: 16 .cfi_sections .debug_frame 17 .section .text.USBD_Get_USB_Status,"ax",%progbits 18 .align 1 19 .syntax unified 20 .thumb 21 .thumb_func 23 USBD_Get_USB_Status: 24 .LVL0: 25 .LFB686: 26 .file 1 "USB_DEVICE/Target/usbd_conf.c" 1:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN Header */ 2:USB_DEVICE/Target/usbd_conf.c **** /** 3:USB_DEVICE/Target/usbd_conf.c **** ****************************************************************************** 4:USB_DEVICE/Target/usbd_conf.c **** * @file : Target/usbd_conf.c 5:USB_DEVICE/Target/usbd_conf.c **** * @version : v2.0_Cube 6:USB_DEVICE/Target/usbd_conf.c **** * @brief : This file implements the board support package for the USB device library 7:USB_DEVICE/Target/usbd_conf.c **** ****************************************************************************** 8:USB_DEVICE/Target/usbd_conf.c **** * @attention 9:USB_DEVICE/Target/usbd_conf.c **** * 10:USB_DEVICE/Target/usbd_conf.c **** * Copyright (c) 2024 STMicroelectronics. 11:USB_DEVICE/Target/usbd_conf.c **** * All rights reserved. 12:USB_DEVICE/Target/usbd_conf.c **** * 13:USB_DEVICE/Target/usbd_conf.c **** * This software is licensed under terms that can be found in the LICENSE file 14:USB_DEVICE/Target/usbd_conf.c **** * in the root directory of this software component. 15:USB_DEVICE/Target/usbd_conf.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 16:USB_DEVICE/Target/usbd_conf.c **** * 17:USB_DEVICE/Target/usbd_conf.c **** ****************************************************************************** 18:USB_DEVICE/Target/usbd_conf.c **** */ 19:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END Header */ 20:USB_DEVICE/Target/usbd_conf.c **** 21:USB_DEVICE/Target/usbd_conf.c **** /* Includes ------------------------------------------------------------------*/ 22:USB_DEVICE/Target/usbd_conf.c **** #include "stm32f1xx.h" 23:USB_DEVICE/Target/usbd_conf.c **** #include "stm32f1xx_hal.h" 24:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_def.h" 25:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_core.h" 26:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_cdc.h" 27:USB_DEVICE/Target/usbd_conf.c **** 28:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN Includes */ 29:USB_DEVICE/Target/usbd_conf.c **** 30:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END Includes */ 31:USB_DEVICE/Target/usbd_conf.c **** 32:USB_DEVICE/Target/usbd_conf.c **** /* Private typedef -----------------------------------------------------------*/ ARM GAS /tmp/ccWUM42c.s page 2 33:USB_DEVICE/Target/usbd_conf.c **** /* Private define ------------------------------------------------------------*/ 34:USB_DEVICE/Target/usbd_conf.c **** /* Private macro -------------------------------------------------------------*/ 35:USB_DEVICE/Target/usbd_conf.c **** 36:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN PV */ 37:USB_DEVICE/Target/usbd_conf.c **** /* Private variables ---------------------------------------------------------*/ 38:USB_DEVICE/Target/usbd_conf.c **** 39:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END PV */ 40:USB_DEVICE/Target/usbd_conf.c **** 41:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef hpcd_USB_FS; 42:USB_DEVICE/Target/usbd_conf.c **** void Error_Handler(void); 43:USB_DEVICE/Target/usbd_conf.c **** 44:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 0 */ 45:USB_DEVICE/Target/usbd_conf.c **** 46:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 0 */ 47:USB_DEVICE/Target/usbd_conf.c **** 48:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN PFP */ 49:USB_DEVICE/Target/usbd_conf.c **** /* Private function prototypes -----------------------------------------------*/ 50:USB_DEVICE/Target/usbd_conf.c **** 51:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END PFP */ 52:USB_DEVICE/Target/usbd_conf.c **** 53:USB_DEVICE/Target/usbd_conf.c **** /* Private functions ---------------------------------------------------------*/ 54:USB_DEVICE/Target/usbd_conf.c **** static USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status); 55:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 1 */ 56:USB_DEVICE/Target/usbd_conf.c **** 57:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 1 */ 58:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 59:USB_DEVICE/Target/usbd_conf.c **** static void PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state); 60:USB_DEVICE/Target/usbd_conf.c **** #else 61:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state); 62:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 63:USB_DEVICE/Target/usbd_conf.c **** 64:USB_DEVICE/Target/usbd_conf.c **** /******************************************************************************* 65:USB_DEVICE/Target/usbd_conf.c **** LL Driver Callbacks (PCD -> USB Device Library) 66:USB_DEVICE/Target/usbd_conf.c **** *******************************************************************************/ 67:USB_DEVICE/Target/usbd_conf.c **** /* MSP Init */ 68:USB_DEVICE/Target/usbd_conf.c **** 69:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) 70:USB_DEVICE/Target/usbd_conf.c **** { 71:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB) 72:USB_DEVICE/Target/usbd_conf.c **** { 73:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 0 */ 74:USB_DEVICE/Target/usbd_conf.c **** 75:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspInit 0 */ 76:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral clock enable */ 77:USB_DEVICE/Target/usbd_conf.c **** __HAL_RCC_USB_CLK_ENABLE(); 78:USB_DEVICE/Target/usbd_conf.c **** 79:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral interrupt init */ 80:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_SetPriority(USB_LP_CAN1_RX0_IRQn, 0, 0); 81:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_CAN1_RX0_IRQn); 82:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 1 */ 83:USB_DEVICE/Target/usbd_conf.c **** 84:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspInit 1 */ 85:USB_DEVICE/Target/usbd_conf.c **** } 86:USB_DEVICE/Target/usbd_conf.c **** } 87:USB_DEVICE/Target/usbd_conf.c **** 88:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_MspDeInit(PCD_HandleTypeDef* pcdHandle) 89:USB_DEVICE/Target/usbd_conf.c **** { ARM GAS /tmp/ccWUM42c.s page 3 90:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB) 91:USB_DEVICE/Target/usbd_conf.c **** { 92:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspDeInit 0 */ 93:USB_DEVICE/Target/usbd_conf.c **** 94:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspDeInit 0 */ 95:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral clock disable */ 96:USB_DEVICE/Target/usbd_conf.c **** __HAL_RCC_USB_CLK_DISABLE(); 97:USB_DEVICE/Target/usbd_conf.c **** 98:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral interrupt Deinit*/ 99:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_DisableIRQ(USB_LP_CAN1_RX0_IRQn); 100:USB_DEVICE/Target/usbd_conf.c **** 101:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspDeInit 1 */ 102:USB_DEVICE/Target/usbd_conf.c **** 103:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_MspDeInit 1 */ 104:USB_DEVICE/Target/usbd_conf.c **** } 105:USB_DEVICE/Target/usbd_conf.c **** } 106:USB_DEVICE/Target/usbd_conf.c **** 107:USB_DEVICE/Target/usbd_conf.c **** /** 108:USB_DEVICE/Target/usbd_conf.c **** * @brief Setup stage callback 109:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 110:USB_DEVICE/Target/usbd_conf.c **** * @retval None 111:USB_DEVICE/Target/usbd_conf.c **** */ 112:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 113:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) 114:USB_DEVICE/Target/usbd_conf.c **** #else 115:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) 116:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 117:USB_DEVICE/Target/usbd_conf.c **** { 118:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup); 119:USB_DEVICE/Target/usbd_conf.c **** } 120:USB_DEVICE/Target/usbd_conf.c **** 121:USB_DEVICE/Target/usbd_conf.c **** /** 122:USB_DEVICE/Target/usbd_conf.c **** * @brief Data Out stage callback. 123:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 124:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 125:USB_DEVICE/Target/usbd_conf.c **** * @retval None 126:USB_DEVICE/Target/usbd_conf.c **** */ 127:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 128:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 129:USB_DEVICE/Target/usbd_conf.c **** #else 130:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 131:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 132:USB_DEVICE/Target/usbd_conf.c **** { 133:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff); 134:USB_DEVICE/Target/usbd_conf.c **** } 135:USB_DEVICE/Target/usbd_conf.c **** 136:USB_DEVICE/Target/usbd_conf.c **** /** 137:USB_DEVICE/Target/usbd_conf.c **** * @brief Data In stage callback. 138:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 139:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 140:USB_DEVICE/Target/usbd_conf.c **** * @retval None 141:USB_DEVICE/Target/usbd_conf.c **** */ 142:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 143:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 144:USB_DEVICE/Target/usbd_conf.c **** #else 145:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 146:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ ARM GAS /tmp/ccWUM42c.s page 4 147:USB_DEVICE/Target/usbd_conf.c **** { 148:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff); 149:USB_DEVICE/Target/usbd_conf.c **** } 150:USB_DEVICE/Target/usbd_conf.c **** 151:USB_DEVICE/Target/usbd_conf.c **** /** 152:USB_DEVICE/Target/usbd_conf.c **** * @brief SOF callback. 153:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 154:USB_DEVICE/Target/usbd_conf.c **** * @retval None 155:USB_DEVICE/Target/usbd_conf.c **** */ 156:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 157:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SOFCallback(PCD_HandleTypeDef *hpcd) 158:USB_DEVICE/Target/usbd_conf.c **** #else 159:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) 160:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 161:USB_DEVICE/Target/usbd_conf.c **** { 162:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData); 163:USB_DEVICE/Target/usbd_conf.c **** } 164:USB_DEVICE/Target/usbd_conf.c **** 165:USB_DEVICE/Target/usbd_conf.c **** /** 166:USB_DEVICE/Target/usbd_conf.c **** * @brief Reset callback. 167:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 168:USB_DEVICE/Target/usbd_conf.c **** * @retval None 169:USB_DEVICE/Target/usbd_conf.c **** */ 170:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 171:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ResetCallback(PCD_HandleTypeDef *hpcd) 172:USB_DEVICE/Target/usbd_conf.c **** #else 173:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd) 174:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 175:USB_DEVICE/Target/usbd_conf.c **** { 176:USB_DEVICE/Target/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL; 177:USB_DEVICE/Target/usbd_conf.c **** 178:USB_DEVICE/Target/usbd_conf.c **** if ( hpcd->Init.speed != PCD_SPEED_FULL) 179:USB_DEVICE/Target/usbd_conf.c **** { 180:USB_DEVICE/Target/usbd_conf.c **** Error_Handler(); 181:USB_DEVICE/Target/usbd_conf.c **** } 182:USB_DEVICE/Target/usbd_conf.c **** /* Set Speed. */ 183:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetSpeed((USBD_HandleTypeDef*)hpcd->pData, speed); 184:USB_DEVICE/Target/usbd_conf.c **** 185:USB_DEVICE/Target/usbd_conf.c **** /* Reset Device. */ 186:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Reset((USBD_HandleTypeDef*)hpcd->pData); 187:USB_DEVICE/Target/usbd_conf.c **** } 188:USB_DEVICE/Target/usbd_conf.c **** 189:USB_DEVICE/Target/usbd_conf.c **** /** 190:USB_DEVICE/Target/usbd_conf.c **** * @brief Suspend callback. 191:USB_DEVICE/Target/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it) 192:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 193:USB_DEVICE/Target/usbd_conf.c **** * @retval None 194:USB_DEVICE/Target/usbd_conf.c **** */ 195:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 196:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) 197:USB_DEVICE/Target/usbd_conf.c **** #else 198:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) 199:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 200:USB_DEVICE/Target/usbd_conf.c **** { 201:USB_DEVICE/Target/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */ 202:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Suspend((USBD_HandleTypeDef*)hpcd->pData); 203:USB_DEVICE/Target/usbd_conf.c **** /* Enter in STOP mode. */ ARM GAS /tmp/ccWUM42c.s page 5 204:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 2 */ 205:USB_DEVICE/Target/usbd_conf.c **** if (hpcd->Init.low_power_enable) 206:USB_DEVICE/Target/usbd_conf.c **** { 207:USB_DEVICE/Target/usbd_conf.c **** /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */ 208:USB_DEVICE/Target/usbd_conf.c **** SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); 209:USB_DEVICE/Target/usbd_conf.c **** } 210:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 2 */ 211:USB_DEVICE/Target/usbd_conf.c **** } 212:USB_DEVICE/Target/usbd_conf.c **** 213:USB_DEVICE/Target/usbd_conf.c **** /** 214:USB_DEVICE/Target/usbd_conf.c **** * @brief Resume callback. 215:USB_DEVICE/Target/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it) 216:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 217:USB_DEVICE/Target/usbd_conf.c **** * @retval None 218:USB_DEVICE/Target/usbd_conf.c **** */ 219:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 220:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) 221:USB_DEVICE/Target/usbd_conf.c **** #else 222:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) 223:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 224:USB_DEVICE/Target/usbd_conf.c **** { 225:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 3 */ 226:USB_DEVICE/Target/usbd_conf.c **** 227:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 3 */ 228:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Resume((USBD_HandleTypeDef*)hpcd->pData); 229:USB_DEVICE/Target/usbd_conf.c **** } 230:USB_DEVICE/Target/usbd_conf.c **** 231:USB_DEVICE/Target/usbd_conf.c **** /** 232:USB_DEVICE/Target/usbd_conf.c **** * @brief ISOOUTIncomplete callback. 233:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 234:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 235:USB_DEVICE/Target/usbd_conf.c **** * @retval None 236:USB_DEVICE/Target/usbd_conf.c **** */ 237:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 238:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 239:USB_DEVICE/Target/usbd_conf.c **** #else 240:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 241:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 242:USB_DEVICE/Target/usbd_conf.c **** { 243:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 244:USB_DEVICE/Target/usbd_conf.c **** } 245:USB_DEVICE/Target/usbd_conf.c **** 246:USB_DEVICE/Target/usbd_conf.c **** /** 247:USB_DEVICE/Target/usbd_conf.c **** * @brief ISOINIncomplete callback. 248:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 249:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 250:USB_DEVICE/Target/usbd_conf.c **** * @retval None 251:USB_DEVICE/Target/usbd_conf.c **** */ 252:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 253:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 254:USB_DEVICE/Target/usbd_conf.c **** #else 255:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 256:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 257:USB_DEVICE/Target/usbd_conf.c **** { 258:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 259:USB_DEVICE/Target/usbd_conf.c **** } 260:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/ccWUM42c.s page 6 261:USB_DEVICE/Target/usbd_conf.c **** /** 262:USB_DEVICE/Target/usbd_conf.c **** * @brief Connect callback. 263:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 264:USB_DEVICE/Target/usbd_conf.c **** * @retval None 265:USB_DEVICE/Target/usbd_conf.c **** */ 266:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 267:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) 268:USB_DEVICE/Target/usbd_conf.c **** #else 269:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) 270:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 271:USB_DEVICE/Target/usbd_conf.c **** { 272:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData); 273:USB_DEVICE/Target/usbd_conf.c **** } 274:USB_DEVICE/Target/usbd_conf.c **** 275:USB_DEVICE/Target/usbd_conf.c **** /** 276:USB_DEVICE/Target/usbd_conf.c **** * @brief Disconnect callback. 277:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 278:USB_DEVICE/Target/usbd_conf.c **** * @retval None 279:USB_DEVICE/Target/usbd_conf.c **** */ 280:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 281:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) 282:USB_DEVICE/Target/usbd_conf.c **** #else 283:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) 284:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 285:USB_DEVICE/Target/usbd_conf.c **** { 286:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData); 287:USB_DEVICE/Target/usbd_conf.c **** } 288:USB_DEVICE/Target/usbd_conf.c **** 289:USB_DEVICE/Target/usbd_conf.c **** /******************************************************************************* 290:USB_DEVICE/Target/usbd_conf.c **** LL Driver Interface (USB Device Library --> PCD) 291:USB_DEVICE/Target/usbd_conf.c **** *******************************************************************************/ 292:USB_DEVICE/Target/usbd_conf.c **** 293:USB_DEVICE/Target/usbd_conf.c **** /** 294:USB_DEVICE/Target/usbd_conf.c **** * @brief Initializes the low level portion of the device driver. 295:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 296:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 297:USB_DEVICE/Target/usbd_conf.c **** */ 298:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev) 299:USB_DEVICE/Target/usbd_conf.c **** { 300:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */ 301:USB_DEVICE/Target/usbd_conf.c **** /* Link the driver to the stack. */ 302:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.pData = pdev; 303:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS; 304:USB_DEVICE/Target/usbd_conf.c **** 305:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Instance = USB; 306:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8; 307:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL; 308:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE; 309:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE; 310:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE; 311:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_FS) != HAL_OK) 312:USB_DEVICE/Target/usbd_conf.c **** { 313:USB_DEVICE/Target/usbd_conf.c **** Error_Handler( ); 314:USB_DEVICE/Target/usbd_conf.c **** } 315:USB_DEVICE/Target/usbd_conf.c **** 316:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 317:USB_DEVICE/Target/usbd_conf.c **** /* Register USB PCD CallBacks */ ARM GAS /tmp/ccWUM42c.s page 7 318:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SOF_CB_ID, PCD_SOFCallback); 319:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SETUPSTAGE_CB_ID, PCD_SetupStageCallback); 320:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_RESET_CB_ID, PCD_ResetCallback); 321:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SUSPEND_CB_ID, PCD_SuspendCallback); 322:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_RESUME_CB_ID, PCD_ResumeCallback); 323:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_CONNECT_CB_ID, PCD_ConnectCallback); 324:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_DISCONNECT_CB_ID, PCD_DisconnectCallback); 325:USB_DEVICE/Target/usbd_conf.c **** 326:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterDataOutStageCallback(&hpcd_USB_FS, PCD_DataOutStageCallback); 327:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterDataInStageCallback(&hpcd_USB_FS, PCD_DataInStageCallback); 328:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterIsoOutIncpltCallback(&hpcd_USB_FS, PCD_ISOOUTIncompleteCallback); 329:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterIsoInIncpltCallback(&hpcd_USB_FS, PCD_ISOINIncompleteCallback); 330:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 331:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN EndPoint_Configuration */ 332:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x00 , PCD_SNG_BUF, 0x18); 333:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x80 , PCD_SNG_BUF, 0x58); 334:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration */ 335:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN EndPoint_Configuration_CDC */ 336:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x81 , PCD_SNG_BUF, 0xC0); 337:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x01 , PCD_SNG_BUF, 0x110); 338:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x82 , PCD_SNG_BUF, 0x100); 339:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration_CDC */ 340:USB_DEVICE/Target/usbd_conf.c **** return USBD_OK; 341:USB_DEVICE/Target/usbd_conf.c **** } 342:USB_DEVICE/Target/usbd_conf.c **** 343:USB_DEVICE/Target/usbd_conf.c **** /** 344:USB_DEVICE/Target/usbd_conf.c **** * @brief De-Initializes the low level portion of the device driver. 345:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 346:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 347:USB_DEVICE/Target/usbd_conf.c **** */ 348:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev) 349:USB_DEVICE/Target/usbd_conf.c **** { 350:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 351:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 352:USB_DEVICE/Target/usbd_conf.c **** 353:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_DeInit(pdev->pData); 354:USB_DEVICE/Target/usbd_conf.c **** 355:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 356:USB_DEVICE/Target/usbd_conf.c **** 357:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 358:USB_DEVICE/Target/usbd_conf.c **** } 359:USB_DEVICE/Target/usbd_conf.c **** 360:USB_DEVICE/Target/usbd_conf.c **** /** 361:USB_DEVICE/Target/usbd_conf.c **** * @brief Starts the low level portion of the device driver. 362:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 363:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 364:USB_DEVICE/Target/usbd_conf.c **** */ 365:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev) 366:USB_DEVICE/Target/usbd_conf.c **** { 367:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 368:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 369:USB_DEVICE/Target/usbd_conf.c **** 370:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_Start(pdev->pData); 371:USB_DEVICE/Target/usbd_conf.c **** 372:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 373:USB_DEVICE/Target/usbd_conf.c **** 374:USB_DEVICE/Target/usbd_conf.c **** return usb_status; ARM GAS /tmp/ccWUM42c.s page 8 375:USB_DEVICE/Target/usbd_conf.c **** } 376:USB_DEVICE/Target/usbd_conf.c **** 377:USB_DEVICE/Target/usbd_conf.c **** /** 378:USB_DEVICE/Target/usbd_conf.c **** * @brief Stops the low level portion of the device driver. 379:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 380:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 381:USB_DEVICE/Target/usbd_conf.c **** */ 382:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev) 383:USB_DEVICE/Target/usbd_conf.c **** { 384:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 385:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 386:USB_DEVICE/Target/usbd_conf.c **** 387:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_Stop(pdev->pData); 388:USB_DEVICE/Target/usbd_conf.c **** 389:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 390:USB_DEVICE/Target/usbd_conf.c **** 391:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 392:USB_DEVICE/Target/usbd_conf.c **** } 393:USB_DEVICE/Target/usbd_conf.c **** 394:USB_DEVICE/Target/usbd_conf.c **** /** 395:USB_DEVICE/Target/usbd_conf.c **** * @brief Opens an endpoint of the low level driver. 396:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 397:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 398:USB_DEVICE/Target/usbd_conf.c **** * @param ep_type: Endpoint type 399:USB_DEVICE/Target/usbd_conf.c **** * @param ep_mps: Endpoint max packet size 400:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 401:USB_DEVICE/Target/usbd_conf.c **** */ 402:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint1 403:USB_DEVICE/Target/usbd_conf.c **** { 404:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 405:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 406:USB_DEVICE/Target/usbd_conf.c **** 407:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type); 408:USB_DEVICE/Target/usbd_conf.c **** 409:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 410:USB_DEVICE/Target/usbd_conf.c **** 411:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 412:USB_DEVICE/Target/usbd_conf.c **** } 413:USB_DEVICE/Target/usbd_conf.c **** 414:USB_DEVICE/Target/usbd_conf.c **** /** 415:USB_DEVICE/Target/usbd_conf.c **** * @brief Closes an endpoint of the low level driver. 416:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 417:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 418:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 419:USB_DEVICE/Target/usbd_conf.c **** */ 420:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 421:USB_DEVICE/Target/usbd_conf.c **** { 422:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 423:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 424:USB_DEVICE/Target/usbd_conf.c **** 425:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr); 426:USB_DEVICE/Target/usbd_conf.c **** 427:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 428:USB_DEVICE/Target/usbd_conf.c **** 429:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 430:USB_DEVICE/Target/usbd_conf.c **** } 431:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/ccWUM42c.s page 9 432:USB_DEVICE/Target/usbd_conf.c **** /** 433:USB_DEVICE/Target/usbd_conf.c **** * @brief Flushes an endpoint of the Low Level Driver. 434:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 435:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 436:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 437:USB_DEVICE/Target/usbd_conf.c **** */ 438:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_FlushEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 439:USB_DEVICE/Target/usbd_conf.c **** { 440:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 441:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 442:USB_DEVICE/Target/usbd_conf.c **** 443:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Flush(pdev->pData, ep_addr); 444:USB_DEVICE/Target/usbd_conf.c **** 445:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 446:USB_DEVICE/Target/usbd_conf.c **** 447:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 448:USB_DEVICE/Target/usbd_conf.c **** } 449:USB_DEVICE/Target/usbd_conf.c **** 450:USB_DEVICE/Target/usbd_conf.c **** /** 451:USB_DEVICE/Target/usbd_conf.c **** * @brief Sets a Stall condition on an endpoint of the Low Level Driver. 452:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 453:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 454:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 455:USB_DEVICE/Target/usbd_conf.c **** */ 456:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 457:USB_DEVICE/Target/usbd_conf.c **** { 458:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 459:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 460:USB_DEVICE/Target/usbd_conf.c **** 461:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr); 462:USB_DEVICE/Target/usbd_conf.c **** 463:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 464:USB_DEVICE/Target/usbd_conf.c **** 465:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 466:USB_DEVICE/Target/usbd_conf.c **** } 467:USB_DEVICE/Target/usbd_conf.c **** 468:USB_DEVICE/Target/usbd_conf.c **** /** 469:USB_DEVICE/Target/usbd_conf.c **** * @brief Clears a Stall condition on an endpoint of the Low Level Driver. 470:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 471:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 472:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 473:USB_DEVICE/Target/usbd_conf.c **** */ 474:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 475:USB_DEVICE/Target/usbd_conf.c **** { 476:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 477:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 478:USB_DEVICE/Target/usbd_conf.c **** 479:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr); 480:USB_DEVICE/Target/usbd_conf.c **** 481:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 482:USB_DEVICE/Target/usbd_conf.c **** 483:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 484:USB_DEVICE/Target/usbd_conf.c **** } 485:USB_DEVICE/Target/usbd_conf.c **** 486:USB_DEVICE/Target/usbd_conf.c **** /** 487:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns Stall condition. 488:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle ARM GAS /tmp/ccWUM42c.s page 10 489:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 490:USB_DEVICE/Target/usbd_conf.c **** * @retval Stall (1: Yes, 0: No) 491:USB_DEVICE/Target/usbd_conf.c **** */ 492:USB_DEVICE/Target/usbd_conf.c **** uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 493:USB_DEVICE/Target/usbd_conf.c **** { 494:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; 495:USB_DEVICE/Target/usbd_conf.c **** 496:USB_DEVICE/Target/usbd_conf.c **** if((ep_addr & 0x80) == 0x80) 497:USB_DEVICE/Target/usbd_conf.c **** { 498:USB_DEVICE/Target/usbd_conf.c **** return hpcd->IN_ep[ep_addr & 0x7F].is_stall; 499:USB_DEVICE/Target/usbd_conf.c **** } 500:USB_DEVICE/Target/usbd_conf.c **** else 501:USB_DEVICE/Target/usbd_conf.c **** { 502:USB_DEVICE/Target/usbd_conf.c **** return hpcd->OUT_ep[ep_addr & 0x7F].is_stall; 503:USB_DEVICE/Target/usbd_conf.c **** } 504:USB_DEVICE/Target/usbd_conf.c **** } 505:USB_DEVICE/Target/usbd_conf.c **** 506:USB_DEVICE/Target/usbd_conf.c **** /** 507:USB_DEVICE/Target/usbd_conf.c **** * @brief Assigns a USB address to the device. 508:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 509:USB_DEVICE/Target/usbd_conf.c **** * @param dev_addr: Device address 510:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 511:USB_DEVICE/Target/usbd_conf.c **** */ 512:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr) 513:USB_DEVICE/Target/usbd_conf.c **** { 514:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 515:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 516:USB_DEVICE/Target/usbd_conf.c **** 517:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr); 518:USB_DEVICE/Target/usbd_conf.c **** 519:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 520:USB_DEVICE/Target/usbd_conf.c **** 521:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 522:USB_DEVICE/Target/usbd_conf.c **** } 523:USB_DEVICE/Target/usbd_conf.c **** 524:USB_DEVICE/Target/usbd_conf.c **** /** 525:USB_DEVICE/Target/usbd_conf.c **** * @brief Transmits data over an endpoint. 526:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 527:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 528:USB_DEVICE/Target/usbd_conf.c **** * @param pbuf: Pointer to data to be sent 529:USB_DEVICE/Target/usbd_conf.c **** * @param size: Data size 530:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 531:USB_DEVICE/Target/usbd_conf.c **** */ 532:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint1 533:USB_DEVICE/Target/usbd_conf.c **** { 534:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 535:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 536:USB_DEVICE/Target/usbd_conf.c **** 537:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size); 538:USB_DEVICE/Target/usbd_conf.c **** 539:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 540:USB_DEVICE/Target/usbd_conf.c **** 541:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 542:USB_DEVICE/Target/usbd_conf.c **** } 543:USB_DEVICE/Target/usbd_conf.c **** 544:USB_DEVICE/Target/usbd_conf.c **** /** 545:USB_DEVICE/Target/usbd_conf.c **** * @brief Prepares an endpoint for reception. ARM GAS /tmp/ccWUM42c.s page 11 546:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 547:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 548:USB_DEVICE/Target/usbd_conf.c **** * @param pbuf: Pointer to data to be received 549:USB_DEVICE/Target/usbd_conf.c **** * @param size: Data size 550:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 551:USB_DEVICE/Target/usbd_conf.c **** */ 552:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, 553:USB_DEVICE/Target/usbd_conf.c **** { 554:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 555:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 556:USB_DEVICE/Target/usbd_conf.c **** 557:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size); 558:USB_DEVICE/Target/usbd_conf.c **** 559:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 560:USB_DEVICE/Target/usbd_conf.c **** 561:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 562:USB_DEVICE/Target/usbd_conf.c **** } 563:USB_DEVICE/Target/usbd_conf.c **** 564:USB_DEVICE/Target/usbd_conf.c **** /** 565:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns the last transferred packet size. 566:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 567:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 568:USB_DEVICE/Target/usbd_conf.c **** * @retval Received Data Size 569:USB_DEVICE/Target/usbd_conf.c **** */ 570:USB_DEVICE/Target/usbd_conf.c **** uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 571:USB_DEVICE/Target/usbd_conf.c **** { 572:USB_DEVICE/Target/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); 573:USB_DEVICE/Target/usbd_conf.c **** } 574:USB_DEVICE/Target/usbd_conf.c **** 575:USB_DEVICE/Target/usbd_conf.c **** /** 576:USB_DEVICE/Target/usbd_conf.c **** * @brief Delays routine for the USB device library. 577:USB_DEVICE/Target/usbd_conf.c **** * @param Delay: Delay in ms 578:USB_DEVICE/Target/usbd_conf.c **** * @retval None 579:USB_DEVICE/Target/usbd_conf.c **** */ 580:USB_DEVICE/Target/usbd_conf.c **** void USBD_LL_Delay(uint32_t Delay) 581:USB_DEVICE/Target/usbd_conf.c **** { 582:USB_DEVICE/Target/usbd_conf.c **** HAL_Delay(Delay); 583:USB_DEVICE/Target/usbd_conf.c **** } 584:USB_DEVICE/Target/usbd_conf.c **** 585:USB_DEVICE/Target/usbd_conf.c **** /** 586:USB_DEVICE/Target/usbd_conf.c **** * @brief Static single allocation. 587:USB_DEVICE/Target/usbd_conf.c **** * @param size: Size of allocated memory 588:USB_DEVICE/Target/usbd_conf.c **** * @retval None 589:USB_DEVICE/Target/usbd_conf.c **** */ 590:USB_DEVICE/Target/usbd_conf.c **** void *USBD_static_malloc(uint32_t size) 591:USB_DEVICE/Target/usbd_conf.c **** { 592:USB_DEVICE/Target/usbd_conf.c **** static uint32_t mem[(sizeof(USBD_CDC_HandleTypeDef)/4)+1];/* On 32-bit boundary */ 593:USB_DEVICE/Target/usbd_conf.c **** return mem; 594:USB_DEVICE/Target/usbd_conf.c **** } 595:USB_DEVICE/Target/usbd_conf.c **** 596:USB_DEVICE/Target/usbd_conf.c **** /** 597:USB_DEVICE/Target/usbd_conf.c **** * @brief Dummy memory free 598:USB_DEVICE/Target/usbd_conf.c **** * @param p: Pointer to allocated memory address 599:USB_DEVICE/Target/usbd_conf.c **** * @retval None 600:USB_DEVICE/Target/usbd_conf.c **** */ 601:USB_DEVICE/Target/usbd_conf.c **** void USBD_static_free(void *p) 602:USB_DEVICE/Target/usbd_conf.c **** { ARM GAS /tmp/ccWUM42c.s page 12 603:USB_DEVICE/Target/usbd_conf.c **** 604:USB_DEVICE/Target/usbd_conf.c **** } 605:USB_DEVICE/Target/usbd_conf.c **** 606:USB_DEVICE/Target/usbd_conf.c **** /** 607:USB_DEVICE/Target/usbd_conf.c **** * @brief Software Device Connection 608:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 609:USB_DEVICE/Target/usbd_conf.c **** * @param state: Connection state (0: disconnected / 1: connected) 610:USB_DEVICE/Target/usbd_conf.c **** * @retval None 611:USB_DEVICE/Target/usbd_conf.c **** */ 612:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 613:USB_DEVICE/Target/usbd_conf.c **** static void PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) 614:USB_DEVICE/Target/usbd_conf.c **** #else 615:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) 616:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 617:USB_DEVICE/Target/usbd_conf.c **** { 618:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 6 */ 619:USB_DEVICE/Target/usbd_conf.c **** if (state == 1) 620:USB_DEVICE/Target/usbd_conf.c **** { 621:USB_DEVICE/Target/usbd_conf.c **** /* Configure Low connection state. */ 622:USB_DEVICE/Target/usbd_conf.c **** 623:USB_DEVICE/Target/usbd_conf.c **** } 624:USB_DEVICE/Target/usbd_conf.c **** else 625:USB_DEVICE/Target/usbd_conf.c **** { 626:USB_DEVICE/Target/usbd_conf.c **** /* Configure High connection state. */ 627:USB_DEVICE/Target/usbd_conf.c **** 628:USB_DEVICE/Target/usbd_conf.c **** } 629:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 6 */ 630:USB_DEVICE/Target/usbd_conf.c **** } 631:USB_DEVICE/Target/usbd_conf.c **** 632:USB_DEVICE/Target/usbd_conf.c **** /** 633:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns the USB status depending on the HAL status: 634:USB_DEVICE/Target/usbd_conf.c **** * @param hal_status: HAL status 635:USB_DEVICE/Target/usbd_conf.c **** * @retval USB status 636:USB_DEVICE/Target/usbd_conf.c **** */ 637:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status) 638:USB_DEVICE/Target/usbd_conf.c **** { 27 .loc 1 638 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. 639:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 32 .loc 1 639 3 view .LVU1 640:USB_DEVICE/Target/usbd_conf.c **** 641:USB_DEVICE/Target/usbd_conf.c **** switch (hal_status) 33 .loc 1 641 3 view .LVU2 34 0000 0228 cmp r0, #2 35 0002 05D8 bhi .L6 36 0004 DFE800F0 tbb [pc, r0] 37 .L4: 38 0008 05 .byte (.L2-.L4)/2 39 0009 04 .byte (.L6-.L4)/2 40 000a 02 .byte (.L3-.L4)/2 41 000b 00 .p2align 1 42 .L3: 642:USB_DEVICE/Target/usbd_conf.c **** { 643:USB_DEVICE/Target/usbd_conf.c **** case HAL_OK : ARM GAS /tmp/ccWUM42c.s page 13 644:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_OK; 645:USB_DEVICE/Target/usbd_conf.c **** break; 646:USB_DEVICE/Target/usbd_conf.c **** case HAL_ERROR : 647:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL; 648:USB_DEVICE/Target/usbd_conf.c **** break; 649:USB_DEVICE/Target/usbd_conf.c **** case HAL_BUSY : 650:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_BUSY; 43 .loc 1 650 7 view .LVU3 44 .LVL1: 651:USB_DEVICE/Target/usbd_conf.c **** break; 45 .loc 1 651 5 view .LVU4 650:USB_DEVICE/Target/usbd_conf.c **** break; 46 .loc 1 650 18 is_stmt 0 view .LVU5 47 000c 0120 movs r0, #1 48 .LVL2: 49 .loc 1 651 5 view .LVU6 50 000e 7047 bx lr 51 .LVL3: 52 .L6: 647:USB_DEVICE/Target/usbd_conf.c **** break; 53 .loc 1 647 18 view .LVU7 54 0010 0220 movs r0, #2 55 .LVL4: 56 .L2: 652:USB_DEVICE/Target/usbd_conf.c **** case HAL_TIMEOUT : 653:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL; 654:USB_DEVICE/Target/usbd_conf.c **** break; 655:USB_DEVICE/Target/usbd_conf.c **** default : 656:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL; 657:USB_DEVICE/Target/usbd_conf.c **** break; 658:USB_DEVICE/Target/usbd_conf.c **** } 659:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 57 .loc 1 659 3 is_stmt 1 view .LVU8 660:USB_DEVICE/Target/usbd_conf.c **** } 58 .loc 1 660 1 is_stmt 0 view .LVU9 59 0012 7047 bx lr 60 .cfi_endproc 61 .LFE686: 63 .section .text.HAL_PCD_MspInit,"ax",%progbits 64 .align 1 65 .global HAL_PCD_MspInit 66 .syntax unified 67 .thumb 68 .thumb_func 70 HAL_PCD_MspInit: 71 .LVL5: 72 .LFB655: 70:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB) 73 .loc 1 70 1 is_stmt 1 view -0 74 .cfi_startproc 75 @ args = 0, pretend = 0, frame = 8 76 @ frame_needed = 0, uses_anonymous_args = 0 71:USB_DEVICE/Target/usbd_conf.c **** { 77 .loc 1 71 3 view .LVU11 71:USB_DEVICE/Target/usbd_conf.c **** { 78 .loc 1 71 15 is_stmt 0 view .LVU12 79 0000 0268 ldr r2, [r0] ARM GAS /tmp/ccWUM42c.s page 14 71:USB_DEVICE/Target/usbd_conf.c **** { 80 .loc 1 71 5 view .LVU13 81 0002 0E4B ldr r3, .L14 82 0004 9A42 cmp r2, r3 83 0006 00D0 beq .L13 84 0008 7047 bx lr 85 .L13: 70:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB) 86 .loc 1 70 1 view .LVU14 87 000a 00B5 push {lr} 88 .LCFI0: 89 .cfi_def_cfa_offset 4 90 .cfi_offset 14, -4 91 000c 83B0 sub sp, sp, #12 92 .LCFI1: 93 .cfi_def_cfa_offset 16 77:USB_DEVICE/Target/usbd_conf.c **** 94 .loc 1 77 5 is_stmt 1 view .LVU15 95 .LBB2: 77:USB_DEVICE/Target/usbd_conf.c **** 96 .loc 1 77 5 view .LVU16 77:USB_DEVICE/Target/usbd_conf.c **** 97 .loc 1 77 5 view .LVU17 98 000e 03F5DA33 add r3, r3, #111616 99 0012 DA69 ldr r2, [r3, #28] 100 0014 42F40002 orr r2, r2, #8388608 101 0018 DA61 str r2, [r3, #28] 77:USB_DEVICE/Target/usbd_conf.c **** 102 .loc 1 77 5 view .LVU18 103 001a DB69 ldr r3, [r3, #28] 104 001c 03F40003 and r3, r3, #8388608 105 0020 0193 str r3, [sp, #4] 77:USB_DEVICE/Target/usbd_conf.c **** 106 .loc 1 77 5 view .LVU19 107 0022 019B ldr r3, [sp, #4] 108 .LBE2: 77:USB_DEVICE/Target/usbd_conf.c **** 109 .loc 1 77 5 view .LVU20 80:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_CAN1_RX0_IRQn); 110 .loc 1 80 5 view .LVU21 111 0024 0022 movs r2, #0 112 0026 1146 mov r1, r2 113 0028 1420 movs r0, #20 114 .LVL6: 80:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_CAN1_RX0_IRQn); 115 .loc 1 80 5 is_stmt 0 view .LVU22 116 002a FFF7FEFF bl HAL_NVIC_SetPriority 117 .LVL7: 81:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 1 */ 118 .loc 1 81 5 is_stmt 1 view .LVU23 119 002e 1420 movs r0, #20 120 0030 FFF7FEFF bl HAL_NVIC_EnableIRQ 121 .LVL8: 86:USB_DEVICE/Target/usbd_conf.c **** 122 .loc 1 86 1 is_stmt 0 view .LVU24 123 0034 03B0 add sp, sp, #12 124 .LCFI2: ARM GAS /tmp/ccWUM42c.s page 15 125 .cfi_def_cfa_offset 4 126 @ sp needed 127 0036 5DF804FB ldr pc, [sp], #4 128 .L15: 129 003a 00BF .align 2 130 .L14: 131 003c 005C0040 .word 1073765376 132 .cfi_endproc 133 .LFE655: 135 .section .text.HAL_PCD_MspDeInit,"ax",%progbits 136 .align 1 137 .global HAL_PCD_MspDeInit 138 .syntax unified 139 .thumb 140 .thumb_func 142 HAL_PCD_MspDeInit: 143 .LVL9: 144 .LFB656: 89:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB) 145 .loc 1 89 1 is_stmt 1 view -0 146 .cfi_startproc 147 @ args = 0, pretend = 0, frame = 0 148 @ frame_needed = 0, uses_anonymous_args = 0 89:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB) 149 .loc 1 89 1 is_stmt 0 view .LVU26 150 0000 08B5 push {r3, lr} 151 .LCFI3: 152 .cfi_def_cfa_offset 8 153 .cfi_offset 3, -8 154 .cfi_offset 14, -4 90:USB_DEVICE/Target/usbd_conf.c **** { 155 .loc 1 90 3 is_stmt 1 view .LVU27 90:USB_DEVICE/Target/usbd_conf.c **** { 156 .loc 1 90 15 is_stmt 0 view .LVU28 157 0002 0268 ldr r2, [r0] 90:USB_DEVICE/Target/usbd_conf.c **** { 158 .loc 1 90 5 view .LVU29 159 0004 064B ldr r3, .L20 160 0006 9A42 cmp r2, r3 161 0008 00D0 beq .L19 162 .LVL10: 163 .L16: 105:USB_DEVICE/Target/usbd_conf.c **** 164 .loc 1 105 1 view .LVU30 165 000a 08BD pop {r3, pc} 166 .LVL11: 167 .L19: 96:USB_DEVICE/Target/usbd_conf.c **** 168 .loc 1 96 5 is_stmt 1 view .LVU31 169 000c 054A ldr r2, .L20+4 170 000e D369 ldr r3, [r2, #28] 171 0010 23F40003 bic r3, r3, #8388608 172 0014 D361 str r3, [r2, #28] 99:USB_DEVICE/Target/usbd_conf.c **** 173 .loc 1 99 5 view .LVU32 174 0016 1420 movs r0, #20 175 .LVL12: ARM GAS /tmp/ccWUM42c.s page 16 99:USB_DEVICE/Target/usbd_conf.c **** 176 .loc 1 99 5 is_stmt 0 view .LVU33 177 0018 FFF7FEFF bl HAL_NVIC_DisableIRQ 178 .LVL13: 105:USB_DEVICE/Target/usbd_conf.c **** 179 .loc 1 105 1 view .LVU34 180 001c F5E7 b .L16 181 .L21: 182 001e 00BF .align 2 183 .L20: 184 0020 005C0040 .word 1073765376 185 0024 00100240 .word 1073876992 186 .cfi_endproc 187 .LFE656: 189 .section .text.HAL_PCD_SetupStageCallback,"ax",%progbits 190 .align 1 191 .global HAL_PCD_SetupStageCallback 192 .syntax unified 193 .thumb 194 .thumb_func 196 HAL_PCD_SetupStageCallback: 197 .LVL14: 198 .LFB657: 117:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup); 199 .loc 1 117 1 is_stmt 1 view -0 200 .cfi_startproc 201 @ args = 0, pretend = 0, frame = 0 202 @ frame_needed = 0, uses_anonymous_args = 0 117:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup); 203 .loc 1 117 1 is_stmt 0 view .LVU36 204 0000 08B5 push {r3, lr} 205 .LCFI4: 206 .cfi_def_cfa_offset 8 207 .cfi_offset 3, -8 208 .cfi_offset 14, -4 118:USB_DEVICE/Target/usbd_conf.c **** } 209 .loc 1 118 3 is_stmt 1 view .LVU37 210 0002 00F52C71 add r1, r0, #688 211 0006 D0F8EC02 ldr r0, [r0, #748] 212 .LVL15: 118:USB_DEVICE/Target/usbd_conf.c **** } 213 .loc 1 118 3 is_stmt 0 view .LVU38 214 000a FFF7FEFF bl USBD_LL_SetupStage 215 .LVL16: 119:USB_DEVICE/Target/usbd_conf.c **** 216 .loc 1 119 1 view .LVU39 217 000e 08BD pop {r3, pc} 218 .cfi_endproc 219 .LFE657: 221 .section .text.HAL_PCD_DataOutStageCallback,"ax",%progbits 222 .align 1 223 .global HAL_PCD_DataOutStageCallback 224 .syntax unified 225 .thumb 226 .thumb_func 228 HAL_PCD_DataOutStageCallback: 229 .LVL17: ARM GAS /tmp/ccWUM42c.s page 17 230 .LFB658: 132:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff); 231 .loc 1 132 1 is_stmt 1 view -0 232 .cfi_startproc 233 @ args = 0, pretend = 0, frame = 0 234 @ frame_needed = 0, uses_anonymous_args = 0 132:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff); 235 .loc 1 132 1 is_stmt 0 view .LVU41 236 0000 08B5 push {r3, lr} 237 .LCFI5: 238 .cfi_def_cfa_offset 8 239 .cfi_offset 3, -8 240 .cfi_offset 14, -4 133:USB_DEVICE/Target/usbd_conf.c **** } 241 .loc 1 133 3 is_stmt 1 view .LVU42 242 0002 01EB8103 add r3, r1, r1, lsl #2 243 0006 00EBC303 add r3, r0, r3, lsl #3 244 000a D3F87C21 ldr r2, [r3, #380] 245 000e D0F8EC02 ldr r0, [r0, #748] 246 .LVL18: 133:USB_DEVICE/Target/usbd_conf.c **** } 247 .loc 1 133 3 is_stmt 0 view .LVU43 248 0012 FFF7FEFF bl USBD_LL_DataOutStage 249 .LVL19: 134:USB_DEVICE/Target/usbd_conf.c **** 250 .loc 1 134 1 view .LVU44 251 0016 08BD pop {r3, pc} 252 .cfi_endproc 253 .LFE658: 255 .section .text.HAL_PCD_DataInStageCallback,"ax",%progbits 256 .align 1 257 .global HAL_PCD_DataInStageCallback 258 .syntax unified 259 .thumb 260 .thumb_func 262 HAL_PCD_DataInStageCallback: 263 .LVL20: 264 .LFB659: 147:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff); 265 .loc 1 147 1 is_stmt 1 view -0 266 .cfi_startproc 267 @ args = 0, pretend = 0, frame = 0 268 @ frame_needed = 0, uses_anonymous_args = 0 147:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff); 269 .loc 1 147 1 is_stmt 0 view .LVU46 270 0000 08B5 push {r3, lr} 271 .LCFI6: 272 .cfi_def_cfa_offset 8 273 .cfi_offset 3, -8 274 .cfi_offset 14, -4 148:USB_DEVICE/Target/usbd_conf.c **** } 275 .loc 1 148 3 is_stmt 1 view .LVU47 276 0002 01EB8103 add r3, r1, r1, lsl #2 277 0006 00EBC303 add r3, r0, r3, lsl #3 278 000a DA6B ldr r2, [r3, #60] 279 000c D0F8EC02 ldr r0, [r0, #748] 280 .LVL21: ARM GAS /tmp/ccWUM42c.s page 18 148:USB_DEVICE/Target/usbd_conf.c **** } 281 .loc 1 148 3 is_stmt 0 view .LVU48 282 0010 FFF7FEFF bl USBD_LL_DataInStage 283 .LVL22: 149:USB_DEVICE/Target/usbd_conf.c **** 284 .loc 1 149 1 view .LVU49 285 0014 08BD pop {r3, pc} 286 .cfi_endproc 287 .LFE659: 289 .section .text.HAL_PCD_SOFCallback,"ax",%progbits 290 .align 1 291 .global HAL_PCD_SOFCallback 292 .syntax unified 293 .thumb 294 .thumb_func 296 HAL_PCD_SOFCallback: 297 .LVL23: 298 .LFB660: 161:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData); 299 .loc 1 161 1 is_stmt 1 view -0 300 .cfi_startproc 301 @ args = 0, pretend = 0, frame = 0 302 @ frame_needed = 0, uses_anonymous_args = 0 161:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData); 303 .loc 1 161 1 is_stmt 0 view .LVU51 304 0000 08B5 push {r3, lr} 305 .LCFI7: 306 .cfi_def_cfa_offset 8 307 .cfi_offset 3, -8 308 .cfi_offset 14, -4 162:USB_DEVICE/Target/usbd_conf.c **** } 309 .loc 1 162 3 is_stmt 1 view .LVU52 310 0002 D0F8EC02 ldr r0, [r0, #748] 311 .LVL24: 162:USB_DEVICE/Target/usbd_conf.c **** } 312 .loc 1 162 3 is_stmt 0 view .LVU53 313 0006 FFF7FEFF bl USBD_LL_SOF 314 .LVL25: 163:USB_DEVICE/Target/usbd_conf.c **** 315 .loc 1 163 1 view .LVU54 316 000a 08BD pop {r3, pc} 317 .cfi_endproc 318 .LFE660: 320 .section .text.HAL_PCD_ResetCallback,"ax",%progbits 321 .align 1 322 .global HAL_PCD_ResetCallback 323 .syntax unified 324 .thumb 325 .thumb_func 327 HAL_PCD_ResetCallback: 328 .LVL26: 329 .LFB661: 175:USB_DEVICE/Target/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL; 330 .loc 1 175 1 is_stmt 1 view -0 331 .cfi_startproc 332 @ args = 0, pretend = 0, frame = 0 333 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccWUM42c.s page 19 175:USB_DEVICE/Target/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL; 334 .loc 1 175 1 is_stmt 0 view .LVU56 335 0000 10B5 push {r4, lr} 336 .LCFI8: 337 .cfi_def_cfa_offset 8 338 .cfi_offset 4, -8 339 .cfi_offset 14, -4 340 0002 0446 mov r4, r0 176:USB_DEVICE/Target/usbd_conf.c **** 341 .loc 1 176 3 is_stmt 1 view .LVU57 342 .LVL27: 178:USB_DEVICE/Target/usbd_conf.c **** { 343 .loc 1 178 3 view .LVU58 178:USB_DEVICE/Target/usbd_conf.c **** { 344 .loc 1 178 18 is_stmt 0 view .LVU59 345 0004 8368 ldr r3, [r0, #8] 178:USB_DEVICE/Target/usbd_conf.c **** { 346 .loc 1 178 6 view .LVU60 347 0006 022B cmp r3, #2 348 0008 09D1 bne .L33 349 .LVL28: 350 .L31: 183:USB_DEVICE/Target/usbd_conf.c **** 351 .loc 1 183 3 is_stmt 1 view .LVU61 352 000a 0121 movs r1, #1 353 000c D4F8EC02 ldr r0, [r4, #748] 354 0010 FFF7FEFF bl USBD_LL_SetSpeed 355 .LVL29: 186:USB_DEVICE/Target/usbd_conf.c **** } 356 .loc 1 186 3 view .LVU62 357 0014 D4F8EC02 ldr r0, [r4, #748] 358 0018 FFF7FEFF bl USBD_LL_Reset 359 .LVL30: 187:USB_DEVICE/Target/usbd_conf.c **** 360 .loc 1 187 1 is_stmt 0 view .LVU63 361 001c 10BD pop {r4, pc} 362 .LVL31: 363 .L33: 180:USB_DEVICE/Target/usbd_conf.c **** } 364 .loc 1 180 5 is_stmt 1 view .LVU64 365 001e FFF7FEFF bl Error_Handler 366 .LVL32: 180:USB_DEVICE/Target/usbd_conf.c **** } 367 .loc 1 180 5 is_stmt 0 view .LVU65 368 0022 F2E7 b .L31 369 .cfi_endproc 370 .LFE661: 372 .section .text.HAL_PCD_SuspendCallback,"ax",%progbits 373 .align 1 374 .global HAL_PCD_SuspendCallback 375 .syntax unified 376 .thumb 377 .thumb_func 379 HAL_PCD_SuspendCallback: 380 .LVL33: 381 .LFB662: 200:USB_DEVICE/Target/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */ ARM GAS /tmp/ccWUM42c.s page 20 382 .loc 1 200 1 is_stmt 1 view -0 383 .cfi_startproc 384 @ args = 0, pretend = 0, frame = 0 385 @ frame_needed = 0, uses_anonymous_args = 0 200:USB_DEVICE/Target/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */ 386 .loc 1 200 1 is_stmt 0 view .LVU67 387 0000 10B5 push {r4, lr} 388 .LCFI9: 389 .cfi_def_cfa_offset 8 390 .cfi_offset 4, -8 391 .cfi_offset 14, -4 392 0002 0446 mov r4, r0 202:USB_DEVICE/Target/usbd_conf.c **** /* Enter in STOP mode. */ 393 .loc 1 202 3 is_stmt 1 view .LVU68 394 0004 D0F8EC02 ldr r0, [r0, #748] 395 .LVL34: 202:USB_DEVICE/Target/usbd_conf.c **** /* Enter in STOP mode. */ 396 .loc 1 202 3 is_stmt 0 view .LVU69 397 0008 FFF7FEFF bl USBD_LL_Suspend 398 .LVL35: 205:USB_DEVICE/Target/usbd_conf.c **** { 399 .loc 1 205 3 is_stmt 1 view .LVU70 205:USB_DEVICE/Target/usbd_conf.c **** { 400 .loc 1 205 17 is_stmt 0 view .LVU71 401 000c A369 ldr r3, [r4, #24] 205:USB_DEVICE/Target/usbd_conf.c **** { 402 .loc 1 205 6 view .LVU72 403 000e 23B1 cbz r3, .L34 208:USB_DEVICE/Target/usbd_conf.c **** } 404 .loc 1 208 5 is_stmt 1 view .LVU73 208:USB_DEVICE/Target/usbd_conf.c **** } 405 .loc 1 208 14 is_stmt 0 view .LVU74 406 0010 024A ldr r2, .L37 407 0012 1369 ldr r3, [r2, #16] 408 0014 43F00603 orr r3, r3, #6 409 0018 1361 str r3, [r2, #16] 410 .L34: 211:USB_DEVICE/Target/usbd_conf.c **** 411 .loc 1 211 1 view .LVU75 412 001a 10BD pop {r4, pc} 413 .LVL36: 414 .L38: 211:USB_DEVICE/Target/usbd_conf.c **** 415 .loc 1 211 1 view .LVU76 416 .align 2 417 .L37: 418 001c 00ED00E0 .word -536810240 419 .cfi_endproc 420 .LFE662: 422 .section .text.HAL_PCD_ResumeCallback,"ax",%progbits 423 .align 1 424 .global HAL_PCD_ResumeCallback 425 .syntax unified 426 .thumb 427 .thumb_func 429 HAL_PCD_ResumeCallback: 430 .LVL37: ARM GAS /tmp/ccWUM42c.s page 21 431 .LFB663: 224:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 3 */ 432 .loc 1 224 1 is_stmt 1 view -0 433 .cfi_startproc 434 @ args = 0, pretend = 0, frame = 0 435 @ frame_needed = 0, uses_anonymous_args = 0 224:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 3 */ 436 .loc 1 224 1 is_stmt 0 view .LVU78 437 0000 08B5 push {r3, lr} 438 .LCFI10: 439 .cfi_def_cfa_offset 8 440 .cfi_offset 3, -8 441 .cfi_offset 14, -4 228:USB_DEVICE/Target/usbd_conf.c **** } 442 .loc 1 228 3 is_stmt 1 view .LVU79 443 0002 D0F8EC02 ldr r0, [r0, #748] 444 .LVL38: 228:USB_DEVICE/Target/usbd_conf.c **** } 445 .loc 1 228 3 is_stmt 0 view .LVU80 446 0006 FFF7FEFF bl USBD_LL_Resume 447 .LVL39: 229:USB_DEVICE/Target/usbd_conf.c **** 448 .loc 1 229 1 view .LVU81 449 000a 08BD pop {r3, pc} 450 .cfi_endproc 451 .LFE663: 453 .section .text.HAL_PCD_ISOOUTIncompleteCallback,"ax",%progbits 454 .align 1 455 .global HAL_PCD_ISOOUTIncompleteCallback 456 .syntax unified 457 .thumb 458 .thumb_func 460 HAL_PCD_ISOOUTIncompleteCallback: 461 .LVL40: 462 .LFB664: 242:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 463 .loc 1 242 1 is_stmt 1 view -0 464 .cfi_startproc 465 @ args = 0, pretend = 0, frame = 0 466 @ frame_needed = 0, uses_anonymous_args = 0 242:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 467 .loc 1 242 1 is_stmt 0 view .LVU83 468 0000 08B5 push {r3, lr} 469 .LCFI11: 470 .cfi_def_cfa_offset 8 471 .cfi_offset 3, -8 472 .cfi_offset 14, -4 243:USB_DEVICE/Target/usbd_conf.c **** } 473 .loc 1 243 3 is_stmt 1 view .LVU84 474 0002 D0F8EC02 ldr r0, [r0, #748] 475 .LVL41: 243:USB_DEVICE/Target/usbd_conf.c **** } 476 .loc 1 243 3 is_stmt 0 view .LVU85 477 0006 FFF7FEFF bl USBD_LL_IsoOUTIncomplete 478 .LVL42: 244:USB_DEVICE/Target/usbd_conf.c **** 479 .loc 1 244 1 view .LVU86 ARM GAS /tmp/ccWUM42c.s page 22 480 000a 08BD pop {r3, pc} 481 .cfi_endproc 482 .LFE664: 484 .section .text.HAL_PCD_ISOINIncompleteCallback,"ax",%progbits 485 .align 1 486 .global HAL_PCD_ISOINIncompleteCallback 487 .syntax unified 488 .thumb 489 .thumb_func 491 HAL_PCD_ISOINIncompleteCallback: 492 .LVL43: 493 .LFB665: 257:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 494 .loc 1 257 1 is_stmt 1 view -0 495 .cfi_startproc 496 @ args = 0, pretend = 0, frame = 0 497 @ frame_needed = 0, uses_anonymous_args = 0 257:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 498 .loc 1 257 1 is_stmt 0 view .LVU88 499 0000 08B5 push {r3, lr} 500 .LCFI12: 501 .cfi_def_cfa_offset 8 502 .cfi_offset 3, -8 503 .cfi_offset 14, -4 258:USB_DEVICE/Target/usbd_conf.c **** } 504 .loc 1 258 3 is_stmt 1 view .LVU89 505 0002 D0F8EC02 ldr r0, [r0, #748] 506 .LVL44: 258:USB_DEVICE/Target/usbd_conf.c **** } 507 .loc 1 258 3 is_stmt 0 view .LVU90 508 0006 FFF7FEFF bl USBD_LL_IsoINIncomplete 509 .LVL45: 259:USB_DEVICE/Target/usbd_conf.c **** 510 .loc 1 259 1 view .LVU91 511 000a 08BD pop {r3, pc} 512 .cfi_endproc 513 .LFE665: 515 .section .text.HAL_PCD_ConnectCallback,"ax",%progbits 516 .align 1 517 .global HAL_PCD_ConnectCallback 518 .syntax unified 519 .thumb 520 .thumb_func 522 HAL_PCD_ConnectCallback: 523 .LVL46: 524 .LFB666: 271:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData); 525 .loc 1 271 1 is_stmt 1 view -0 526 .cfi_startproc 527 @ args = 0, pretend = 0, frame = 0 528 @ frame_needed = 0, uses_anonymous_args = 0 271:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData); 529 .loc 1 271 1 is_stmt 0 view .LVU93 530 0000 08B5 push {r3, lr} 531 .LCFI13: 532 .cfi_def_cfa_offset 8 533 .cfi_offset 3, -8 ARM GAS /tmp/ccWUM42c.s page 23 534 .cfi_offset 14, -4 272:USB_DEVICE/Target/usbd_conf.c **** } 535 .loc 1 272 3 is_stmt 1 view .LVU94 536 0002 D0F8EC02 ldr r0, [r0, #748] 537 .LVL47: 272:USB_DEVICE/Target/usbd_conf.c **** } 538 .loc 1 272 3 is_stmt 0 view .LVU95 539 0006 FFF7FEFF bl USBD_LL_DevConnected 540 .LVL48: 273:USB_DEVICE/Target/usbd_conf.c **** 541 .loc 1 273 1 view .LVU96 542 000a 08BD pop {r3, pc} 543 .cfi_endproc 544 .LFE666: 546 .section .text.HAL_PCD_DisconnectCallback,"ax",%progbits 547 .align 1 548 .global HAL_PCD_DisconnectCallback 549 .syntax unified 550 .thumb 551 .thumb_func 553 HAL_PCD_DisconnectCallback: 554 .LVL49: 555 .LFB667: 285:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData); 556 .loc 1 285 1 is_stmt 1 view -0 557 .cfi_startproc 558 @ args = 0, pretend = 0, frame = 0 559 @ frame_needed = 0, uses_anonymous_args = 0 285:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData); 560 .loc 1 285 1 is_stmt 0 view .LVU98 561 0000 08B5 push {r3, lr} 562 .LCFI14: 563 .cfi_def_cfa_offset 8 564 .cfi_offset 3, -8 565 .cfi_offset 14, -4 286:USB_DEVICE/Target/usbd_conf.c **** } 566 .loc 1 286 3 is_stmt 1 view .LVU99 567 0002 D0F8EC02 ldr r0, [r0, #748] 568 .LVL50: 286:USB_DEVICE/Target/usbd_conf.c **** } 569 .loc 1 286 3 is_stmt 0 view .LVU100 570 0006 FFF7FEFF bl USBD_LL_DevDisconnected 571 .LVL51: 287:USB_DEVICE/Target/usbd_conf.c **** 572 .loc 1 287 1 view .LVU101 573 000a 08BD pop {r3, pc} 574 .cfi_endproc 575 .LFE667: 577 .section .text.USBD_LL_Init,"ax",%progbits 578 .align 1 579 .global USBD_LL_Init 580 .syntax unified 581 .thumb 582 .thumb_func 584 USBD_LL_Init: 585 .LVL52: 586 .LFB668: ARM GAS /tmp/ccWUM42c.s page 24 299:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */ 587 .loc 1 299 1 is_stmt 1 view -0 588 .cfi_startproc 589 @ args = 0, pretend = 0, frame = 0 590 @ frame_needed = 0, uses_anonymous_args = 0 299:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */ 591 .loc 1 299 1 is_stmt 0 view .LVU103 592 0000 10B5 push {r4, lr} 593 .LCFI15: 594 .cfi_def_cfa_offset 8 595 .cfi_offset 4, -8 596 .cfi_offset 14, -4 597 0002 0446 mov r4, r0 302:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS; 598 .loc 1 302 3 is_stmt 1 view .LVU104 302:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS; 599 .loc 1 302 21 is_stmt 0 view .LVU105 600 0004 1D48 ldr r0, .L53 601 .LVL53: 302:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_FS; 602 .loc 1 302 21 view .LVU106 603 0006 C0F8EC42 str r4, [r0, #748] 303:USB_DEVICE/Target/usbd_conf.c **** 604 .loc 1 303 3 is_stmt 1 view .LVU107 303:USB_DEVICE/Target/usbd_conf.c **** 605 .loc 1 303 15 is_stmt 0 view .LVU108 606 000a C4F8C002 str r0, [r4, #704] 305:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8; 607 .loc 1 305 3 is_stmt 1 view .LVU109 305:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8; 608 .loc 1 305 24 is_stmt 0 view .LVU110 609 000e 1C4B ldr r3, .L53+4 610 0010 0360 str r3, [r0] 306:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL; 611 .loc 1 306 3 is_stmt 1 view .LVU111 306:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL; 612 .loc 1 306 34 is_stmt 0 view .LVU112 613 0012 0823 movs r3, #8 614 0014 4360 str r3, [r0, #4] 307:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE; 615 .loc 1 307 3 is_stmt 1 view .LVU113 307:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE; 616 .loc 1 307 26 is_stmt 0 view .LVU114 617 0016 0223 movs r3, #2 618 0018 8360 str r3, [r0, #8] 308:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE; 619 .loc 1 308 3 is_stmt 1 view .LVU115 308:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE; 620 .loc 1 308 37 is_stmt 0 view .LVU116 621 001a 0023 movs r3, #0 622 001c 8361 str r3, [r0, #24] 309:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE; 623 .loc 1 309 3 is_stmt 1 view .LVU117 309:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE; 624 .loc 1 309 31 is_stmt 0 view .LVU118 625 001e C361 str r3, [r0, #28] 310:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_FS) != HAL_OK) ARM GAS /tmp/ccWUM42c.s page 25 626 .loc 1 310 3 is_stmt 1 view .LVU119 310:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_FS) != HAL_OK) 627 .loc 1 310 44 is_stmt 0 view .LVU120 628 0020 0362 str r3, [r0, #32] 311:USB_DEVICE/Target/usbd_conf.c **** { 629 .loc 1 311 3 is_stmt 1 view .LVU121 311:USB_DEVICE/Target/usbd_conf.c **** { 630 .loc 1 311 7 is_stmt 0 view .LVU122 631 0022 FFF7FEFF bl HAL_PCD_Init 632 .LVL54: 311:USB_DEVICE/Target/usbd_conf.c **** { 633 .loc 1 311 6 view .LVU123 634 0026 30BB cbnz r0, .L52 635 .L50: 332:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x80 , PCD_SNG_BUF, 0x58); 636 .loc 1 332 3 is_stmt 1 view .LVU124 637 0028 1823 movs r3, #24 638 002a 0022 movs r2, #0 639 002c 1146 mov r1, r2 640 002e D4F8C002 ldr r0, [r4, #704] 641 0032 FFF7FEFF bl HAL_PCDEx_PMAConfig 642 .LVL55: 333:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration */ 643 .loc 1 333 3 view .LVU125 644 0036 5823 movs r3, #88 645 0038 0022 movs r2, #0 646 003a 8021 movs r1, #128 647 003c D4F8C002 ldr r0, [r4, #704] 648 0040 FFF7FEFF bl HAL_PCDEx_PMAConfig 649 .LVL56: 336:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x01 , PCD_SNG_BUF, 0x110); 650 .loc 1 336 3 view .LVU126 651 0044 C023 movs r3, #192 652 0046 0022 movs r2, #0 653 0048 8121 movs r1, #129 654 004a D4F8C002 ldr r0, [r4, #704] 655 004e FFF7FEFF bl HAL_PCDEx_PMAConfig 656 .LVL57: 337:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData , 0x82 , PCD_SNG_BUF, 0x100); 657 .loc 1 337 3 view .LVU127 658 0052 4FF48873 mov r3, #272 659 0056 0022 movs r2, #0 660 0058 0121 movs r1, #1 661 005a D4F8C002 ldr r0, [r4, #704] 662 005e FFF7FEFF bl HAL_PCDEx_PMAConfig 663 .LVL58: 338:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END EndPoint_Configuration_CDC */ 664 .loc 1 338 3 view .LVU128 665 0062 4FF48073 mov r3, #256 666 0066 0022 movs r2, #0 667 0068 8221 movs r1, #130 668 006a D4F8C002 ldr r0, [r4, #704] 669 006e FFF7FEFF bl HAL_PCDEx_PMAConfig 670 .LVL59: 340:USB_DEVICE/Target/usbd_conf.c **** } 671 .loc 1 340 3 view .LVU129 341:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/ccWUM42c.s page 26 672 .loc 1 341 1 is_stmt 0 view .LVU130 673 0072 0020 movs r0, #0 674 0074 10BD pop {r4, pc} 675 .LVL60: 676 .L52: 313:USB_DEVICE/Target/usbd_conf.c **** } 677 .loc 1 313 5 is_stmt 1 view .LVU131 678 0076 FFF7FEFF bl Error_Handler 679 .LVL61: 680 007a D5E7 b .L50 681 .L54: 682 .align 2 683 .L53: 684 007c 00000000 .word .LANCHOR0 685 0080 005C0040 .word 1073765376 686 .cfi_endproc 687 .LFE668: 689 .section .text.USBD_LL_DeInit,"ax",%progbits 690 .align 1 691 .global USBD_LL_DeInit 692 .syntax unified 693 .thumb 694 .thumb_func 696 USBD_LL_DeInit: 697 .LVL62: 698 .LFB669: 349:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 699 .loc 1 349 1 view -0 700 .cfi_startproc 701 @ args = 0, pretend = 0, frame = 0 702 @ frame_needed = 0, uses_anonymous_args = 0 349:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 703 .loc 1 349 1 is_stmt 0 view .LVU133 704 0000 08B5 push {r3, lr} 705 .LCFI16: 706 .cfi_def_cfa_offset 8 707 .cfi_offset 3, -8 708 .cfi_offset 14, -4 350:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 709 .loc 1 350 3 is_stmt 1 view .LVU134 710 .LVL63: 351:USB_DEVICE/Target/usbd_conf.c **** 711 .loc 1 351 3 view .LVU135 353:USB_DEVICE/Target/usbd_conf.c **** 712 .loc 1 353 3 view .LVU136 353:USB_DEVICE/Target/usbd_conf.c **** 713 .loc 1 353 16 is_stmt 0 view .LVU137 714 0002 D0F8C002 ldr r0, [r0, #704] 715 .LVL64: 353:USB_DEVICE/Target/usbd_conf.c **** 716 .loc 1 353 16 view .LVU138 717 0006 FFF7FEFF bl HAL_PCD_DeInit 718 .LVL65: 355:USB_DEVICE/Target/usbd_conf.c **** 719 .loc 1 355 3 is_stmt 1 view .LVU139 355:USB_DEVICE/Target/usbd_conf.c **** 720 .loc 1 355 17 is_stmt 0 view .LVU140 ARM GAS /tmp/ccWUM42c.s page 27 721 000a FFF7FEFF bl USBD_Get_USB_Status 722 .LVL66: 357:USB_DEVICE/Target/usbd_conf.c **** } 723 .loc 1 357 3 is_stmt 1 view .LVU141 358:USB_DEVICE/Target/usbd_conf.c **** 724 .loc 1 358 1 is_stmt 0 view .LVU142 725 000e 08BD pop {r3, pc} 726 .cfi_endproc 727 .LFE669: 729 .section .text.USBD_LL_Start,"ax",%progbits 730 .align 1 731 .global USBD_LL_Start 732 .syntax unified 733 .thumb 734 .thumb_func 736 USBD_LL_Start: 737 .LVL67: 738 .LFB670: 366:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 739 .loc 1 366 1 is_stmt 1 view -0 740 .cfi_startproc 741 @ args = 0, pretend = 0, frame = 0 742 @ frame_needed = 0, uses_anonymous_args = 0 366:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 743 .loc 1 366 1 is_stmt 0 view .LVU144 744 0000 08B5 push {r3, lr} 745 .LCFI17: 746 .cfi_def_cfa_offset 8 747 .cfi_offset 3, -8 748 .cfi_offset 14, -4 367:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 749 .loc 1 367 3 is_stmt 1 view .LVU145 750 .LVL68: 368:USB_DEVICE/Target/usbd_conf.c **** 751 .loc 1 368 3 view .LVU146 370:USB_DEVICE/Target/usbd_conf.c **** 752 .loc 1 370 3 view .LVU147 370:USB_DEVICE/Target/usbd_conf.c **** 753 .loc 1 370 16 is_stmt 0 view .LVU148 754 0002 D0F8C002 ldr r0, [r0, #704] 755 .LVL69: 370:USB_DEVICE/Target/usbd_conf.c **** 756 .loc 1 370 16 view .LVU149 757 0006 FFF7FEFF bl HAL_PCD_Start 758 .LVL70: 372:USB_DEVICE/Target/usbd_conf.c **** 759 .loc 1 372 3 is_stmt 1 view .LVU150 372:USB_DEVICE/Target/usbd_conf.c **** 760 .loc 1 372 17 is_stmt 0 view .LVU151 761 000a FFF7FEFF bl USBD_Get_USB_Status 762 .LVL71: 374:USB_DEVICE/Target/usbd_conf.c **** } 763 .loc 1 374 3 is_stmt 1 view .LVU152 375:USB_DEVICE/Target/usbd_conf.c **** 764 .loc 1 375 1 is_stmt 0 view .LVU153 765 000e 08BD pop {r3, pc} 766 .cfi_endproc ARM GAS /tmp/ccWUM42c.s page 28 767 .LFE670: 769 .section .text.USBD_LL_Stop,"ax",%progbits 770 .align 1 771 .global USBD_LL_Stop 772 .syntax unified 773 .thumb 774 .thumb_func 776 USBD_LL_Stop: 777 .LVL72: 778 .LFB671: 383:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 779 .loc 1 383 1 is_stmt 1 view -0 780 .cfi_startproc 781 @ args = 0, pretend = 0, frame = 0 782 @ frame_needed = 0, uses_anonymous_args = 0 383:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 783 .loc 1 383 1 is_stmt 0 view .LVU155 784 0000 08B5 push {r3, lr} 785 .LCFI18: 786 .cfi_def_cfa_offset 8 787 .cfi_offset 3, -8 788 .cfi_offset 14, -4 384:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 789 .loc 1 384 3 is_stmt 1 view .LVU156 790 .LVL73: 385:USB_DEVICE/Target/usbd_conf.c **** 791 .loc 1 385 3 view .LVU157 387:USB_DEVICE/Target/usbd_conf.c **** 792 .loc 1 387 3 view .LVU158 387:USB_DEVICE/Target/usbd_conf.c **** 793 .loc 1 387 16 is_stmt 0 view .LVU159 794 0002 D0F8C002 ldr r0, [r0, #704] 795 .LVL74: 387:USB_DEVICE/Target/usbd_conf.c **** 796 .loc 1 387 16 view .LVU160 797 0006 FFF7FEFF bl HAL_PCD_Stop 798 .LVL75: 389:USB_DEVICE/Target/usbd_conf.c **** 799 .loc 1 389 3 is_stmt 1 view .LVU161 389:USB_DEVICE/Target/usbd_conf.c **** 800 .loc 1 389 17 is_stmt 0 view .LVU162 801 000a FFF7FEFF bl USBD_Get_USB_Status 802 .LVL76: 391:USB_DEVICE/Target/usbd_conf.c **** } 803 .loc 1 391 3 is_stmt 1 view .LVU163 392:USB_DEVICE/Target/usbd_conf.c **** 804 .loc 1 392 1 is_stmt 0 view .LVU164 805 000e 08BD pop {r3, pc} 806 .cfi_endproc 807 .LFE671: 809 .section .text.USBD_LL_OpenEP,"ax",%progbits 810 .align 1 811 .global USBD_LL_OpenEP 812 .syntax unified 813 .thumb 814 .thumb_func 816 USBD_LL_OpenEP: ARM GAS /tmp/ccWUM42c.s page 29 817 .LVL77: 818 .LFB672: 403:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 819 .loc 1 403 1 is_stmt 1 view -0 820 .cfi_startproc 821 @ args = 0, pretend = 0, frame = 0 822 @ frame_needed = 0, uses_anonymous_args = 0 403:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 823 .loc 1 403 1 is_stmt 0 view .LVU166 824 0000 08B5 push {r3, lr} 825 .LCFI19: 826 .cfi_def_cfa_offset 8 827 .cfi_offset 3, -8 828 .cfi_offset 14, -4 829 0002 9446 mov ip, r2 830 0004 1A46 mov r2, r3 831 .LVL78: 404:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 832 .loc 1 404 3 is_stmt 1 view .LVU167 405:USB_DEVICE/Target/usbd_conf.c **** 833 .loc 1 405 3 view .LVU168 407:USB_DEVICE/Target/usbd_conf.c **** 834 .loc 1 407 3 view .LVU169 407:USB_DEVICE/Target/usbd_conf.c **** 835 .loc 1 407 16 is_stmt 0 view .LVU170 836 0006 6346 mov r3, ip 837 .LVL79: 407:USB_DEVICE/Target/usbd_conf.c **** 838 .loc 1 407 16 view .LVU171 839 0008 D0F8C002 ldr r0, [r0, #704] 840 .LVL80: 407:USB_DEVICE/Target/usbd_conf.c **** 841 .loc 1 407 16 view .LVU172 842 000c FFF7FEFF bl HAL_PCD_EP_Open 843 .LVL81: 409:USB_DEVICE/Target/usbd_conf.c **** 844 .loc 1 409 3 is_stmt 1 view .LVU173 409:USB_DEVICE/Target/usbd_conf.c **** 845 .loc 1 409 17 is_stmt 0 view .LVU174 846 0010 FFF7FEFF bl USBD_Get_USB_Status 847 .LVL82: 411:USB_DEVICE/Target/usbd_conf.c **** } 848 .loc 1 411 3 is_stmt 1 view .LVU175 412:USB_DEVICE/Target/usbd_conf.c **** 849 .loc 1 412 1 is_stmt 0 view .LVU176 850 0014 08BD pop {r3, pc} 851 .cfi_endproc 852 .LFE672: 854 .section .text.USBD_LL_CloseEP,"ax",%progbits 855 .align 1 856 .global USBD_LL_CloseEP 857 .syntax unified 858 .thumb 859 .thumb_func 861 USBD_LL_CloseEP: 862 .LVL83: 863 .LFB673: ARM GAS /tmp/ccWUM42c.s page 30 421:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 864 .loc 1 421 1 is_stmt 1 view -0 865 .cfi_startproc 866 @ args = 0, pretend = 0, frame = 0 867 @ frame_needed = 0, uses_anonymous_args = 0 421:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 868 .loc 1 421 1 is_stmt 0 view .LVU178 869 0000 08B5 push {r3, lr} 870 .LCFI20: 871 .cfi_def_cfa_offset 8 872 .cfi_offset 3, -8 873 .cfi_offset 14, -4 422:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 874 .loc 1 422 3 is_stmt 1 view .LVU179 875 .LVL84: 423:USB_DEVICE/Target/usbd_conf.c **** 876 .loc 1 423 3 view .LVU180 425:USB_DEVICE/Target/usbd_conf.c **** 877 .loc 1 425 3 view .LVU181 425:USB_DEVICE/Target/usbd_conf.c **** 878 .loc 1 425 16 is_stmt 0 view .LVU182 879 0002 D0F8C002 ldr r0, [r0, #704] 880 .LVL85: 425:USB_DEVICE/Target/usbd_conf.c **** 881 .loc 1 425 16 view .LVU183 882 0006 FFF7FEFF bl HAL_PCD_EP_Close 883 .LVL86: 427:USB_DEVICE/Target/usbd_conf.c **** 884 .loc 1 427 3 is_stmt 1 view .LVU184 427:USB_DEVICE/Target/usbd_conf.c **** 885 .loc 1 427 17 is_stmt 0 view .LVU185 886 000a FFF7FEFF bl USBD_Get_USB_Status 887 .LVL87: 429:USB_DEVICE/Target/usbd_conf.c **** } 888 .loc 1 429 3 is_stmt 1 view .LVU186 430:USB_DEVICE/Target/usbd_conf.c **** 889 .loc 1 430 1 is_stmt 0 view .LVU187 890 000e 08BD pop {r3, pc} 891 .cfi_endproc 892 .LFE673: 894 .section .text.USBD_LL_FlushEP,"ax",%progbits 895 .align 1 896 .global USBD_LL_FlushEP 897 .syntax unified 898 .thumb 899 .thumb_func 901 USBD_LL_FlushEP: 902 .LVL88: 903 .LFB674: 439:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 904 .loc 1 439 1 is_stmt 1 view -0 905 .cfi_startproc 906 @ args = 0, pretend = 0, frame = 0 907 @ frame_needed = 0, uses_anonymous_args = 0 439:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 908 .loc 1 439 1 is_stmt 0 view .LVU189 909 0000 08B5 push {r3, lr} ARM GAS /tmp/ccWUM42c.s page 31 910 .LCFI21: 911 .cfi_def_cfa_offset 8 912 .cfi_offset 3, -8 913 .cfi_offset 14, -4 440:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 914 .loc 1 440 3 is_stmt 1 view .LVU190 915 .LVL89: 441:USB_DEVICE/Target/usbd_conf.c **** 916 .loc 1 441 3 view .LVU191 443:USB_DEVICE/Target/usbd_conf.c **** 917 .loc 1 443 3 view .LVU192 443:USB_DEVICE/Target/usbd_conf.c **** 918 .loc 1 443 16 is_stmt 0 view .LVU193 919 0002 D0F8C002 ldr r0, [r0, #704] 920 .LVL90: 443:USB_DEVICE/Target/usbd_conf.c **** 921 .loc 1 443 16 view .LVU194 922 0006 FFF7FEFF bl HAL_PCD_EP_Flush 923 .LVL91: 445:USB_DEVICE/Target/usbd_conf.c **** 924 .loc 1 445 3 is_stmt 1 view .LVU195 445:USB_DEVICE/Target/usbd_conf.c **** 925 .loc 1 445 17 is_stmt 0 view .LVU196 926 000a FFF7FEFF bl USBD_Get_USB_Status 927 .LVL92: 447:USB_DEVICE/Target/usbd_conf.c **** } 928 .loc 1 447 3 is_stmt 1 view .LVU197 448:USB_DEVICE/Target/usbd_conf.c **** 929 .loc 1 448 1 is_stmt 0 view .LVU198 930 000e 08BD pop {r3, pc} 931 .cfi_endproc 932 .LFE674: 934 .section .text.USBD_LL_StallEP,"ax",%progbits 935 .align 1 936 .global USBD_LL_StallEP 937 .syntax unified 938 .thumb 939 .thumb_func 941 USBD_LL_StallEP: 942 .LVL93: 943 .LFB675: 457:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 944 .loc 1 457 1 is_stmt 1 view -0 945 .cfi_startproc 946 @ args = 0, pretend = 0, frame = 0 947 @ frame_needed = 0, uses_anonymous_args = 0 457:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 948 .loc 1 457 1 is_stmt 0 view .LVU200 949 0000 08B5 push {r3, lr} 950 .LCFI22: 951 .cfi_def_cfa_offset 8 952 .cfi_offset 3, -8 953 .cfi_offset 14, -4 458:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 954 .loc 1 458 3 is_stmt 1 view .LVU201 955 .LVL94: 459:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/ccWUM42c.s page 32 956 .loc 1 459 3 view .LVU202 461:USB_DEVICE/Target/usbd_conf.c **** 957 .loc 1 461 3 view .LVU203 461:USB_DEVICE/Target/usbd_conf.c **** 958 .loc 1 461 16 is_stmt 0 view .LVU204 959 0002 D0F8C002 ldr r0, [r0, #704] 960 .LVL95: 461:USB_DEVICE/Target/usbd_conf.c **** 961 .loc 1 461 16 view .LVU205 962 0006 FFF7FEFF bl HAL_PCD_EP_SetStall 963 .LVL96: 463:USB_DEVICE/Target/usbd_conf.c **** 964 .loc 1 463 3 is_stmt 1 view .LVU206 463:USB_DEVICE/Target/usbd_conf.c **** 965 .loc 1 463 17 is_stmt 0 view .LVU207 966 000a FFF7FEFF bl USBD_Get_USB_Status 967 .LVL97: 465:USB_DEVICE/Target/usbd_conf.c **** } 968 .loc 1 465 3 is_stmt 1 view .LVU208 466:USB_DEVICE/Target/usbd_conf.c **** 969 .loc 1 466 1 is_stmt 0 view .LVU209 970 000e 08BD pop {r3, pc} 971 .cfi_endproc 972 .LFE675: 974 .section .text.USBD_LL_ClearStallEP,"ax",%progbits 975 .align 1 976 .global USBD_LL_ClearStallEP 977 .syntax unified 978 .thumb 979 .thumb_func 981 USBD_LL_ClearStallEP: 982 .LVL98: 983 .LFB676: 475:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 984 .loc 1 475 1 is_stmt 1 view -0 985 .cfi_startproc 986 @ args = 0, pretend = 0, frame = 0 987 @ frame_needed = 0, uses_anonymous_args = 0 475:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 988 .loc 1 475 1 is_stmt 0 view .LVU211 989 0000 08B5 push {r3, lr} 990 .LCFI23: 991 .cfi_def_cfa_offset 8 992 .cfi_offset 3, -8 993 .cfi_offset 14, -4 476:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 994 .loc 1 476 3 is_stmt 1 view .LVU212 995 .LVL99: 477:USB_DEVICE/Target/usbd_conf.c **** 996 .loc 1 477 3 view .LVU213 479:USB_DEVICE/Target/usbd_conf.c **** 997 .loc 1 479 3 view .LVU214 479:USB_DEVICE/Target/usbd_conf.c **** 998 .loc 1 479 16 is_stmt 0 view .LVU215 999 0002 D0F8C002 ldr r0, [r0, #704] 1000 .LVL100: 479:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/ccWUM42c.s page 33 1001 .loc 1 479 16 view .LVU216 1002 0006 FFF7FEFF bl HAL_PCD_EP_ClrStall 1003 .LVL101: 481:USB_DEVICE/Target/usbd_conf.c **** 1004 .loc 1 481 3 is_stmt 1 view .LVU217 481:USB_DEVICE/Target/usbd_conf.c **** 1005 .loc 1 481 17 is_stmt 0 view .LVU218 1006 000a FFF7FEFF bl USBD_Get_USB_Status 1007 .LVL102: 483:USB_DEVICE/Target/usbd_conf.c **** } 1008 .loc 1 483 3 is_stmt 1 view .LVU219 484:USB_DEVICE/Target/usbd_conf.c **** 1009 .loc 1 484 1 is_stmt 0 view .LVU220 1010 000e 08BD pop {r3, pc} 1011 .cfi_endproc 1012 .LFE676: 1014 .section .text.USBD_LL_IsStallEP,"ax",%progbits 1015 .align 1 1016 .global USBD_LL_IsStallEP 1017 .syntax unified 1018 .thumb 1019 .thumb_func 1021 USBD_LL_IsStallEP: 1022 .LVL103: 1023 .LFB677: 493:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; 1024 .loc 1 493 1 is_stmt 1 view -0 1025 .cfi_startproc 1026 @ args = 0, pretend = 0, frame = 0 1027 @ frame_needed = 0, uses_anonymous_args = 0 1028 @ link register save eliminated. 494:USB_DEVICE/Target/usbd_conf.c **** 1029 .loc 1 494 3 view .LVU222 494:USB_DEVICE/Target/usbd_conf.c **** 1030 .loc 1 494 22 is_stmt 0 view .LVU223 1031 0000 D0F8C032 ldr r3, [r0, #704] 1032 .LVL104: 496:USB_DEVICE/Target/usbd_conf.c **** { 1033 .loc 1 496 3 is_stmt 1 view .LVU224 496:USB_DEVICE/Target/usbd_conf.c **** { 1034 .loc 1 496 5 is_stmt 0 view .LVU225 1035 0004 11F0800F tst r1, #128 1036 0008 08D1 bne .L74 502:USB_DEVICE/Target/usbd_conf.c **** } 1037 .loc 1 502 5 is_stmt 1 view .LVU226 502:USB_DEVICE/Target/usbd_conf.c **** } 1038 .loc 1 502 33 is_stmt 0 view .LVU227 1039 000a 01F07F01 and r1, r1, #127 1040 .LVL105: 502:USB_DEVICE/Target/usbd_conf.c **** } 1041 .loc 1 502 40 view .LVU228 1042 000e 01EB8101 add r1, r1, r1, lsl #2 1043 0012 03EBC101 add r1, r3, r1, lsl #3 1044 0016 91F86A01 ldrb r0, [r1, #362] @ zero_extendqisi2 1045 .LVL106: 504:USB_DEVICE/Target/usbd_conf.c **** 1046 .loc 1 504 1 view .LVU229 ARM GAS /tmp/ccWUM42c.s page 34 1047 001a 7047 bx lr 1048 .LVL107: 1049 .L74: 498:USB_DEVICE/Target/usbd_conf.c **** } 1050 .loc 1 498 5 is_stmt 1 view .LVU230 498:USB_DEVICE/Target/usbd_conf.c **** } 1051 .loc 1 498 32 is_stmt 0 view .LVU231 1052 001c 01F07F01 and r1, r1, #127 1053 .LVL108: 498:USB_DEVICE/Target/usbd_conf.c **** } 1054 .loc 1 498 39 view .LVU232 1055 0020 0131 adds r1, r1, #1 1056 0022 01EB8101 add r1, r1, r1, lsl #2 1057 0026 03EBC101 add r1, r3, r1, lsl #3 1058 002a 8878 ldrb r0, [r1, #2] @ zero_extendqisi2 1059 .LVL109: 498:USB_DEVICE/Target/usbd_conf.c **** } 1060 .loc 1 498 39 view .LVU233 1061 002c 7047 bx lr 1062 .cfi_endproc 1063 .LFE677: 1065 .section .text.USBD_LL_SetUSBAddress,"ax",%progbits 1066 .align 1 1067 .global USBD_LL_SetUSBAddress 1068 .syntax unified 1069 .thumb 1070 .thumb_func 1072 USBD_LL_SetUSBAddress: 1073 .LVL110: 1074 .LFB678: 513:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1075 .loc 1 513 1 is_stmt 1 view -0 1076 .cfi_startproc 1077 @ args = 0, pretend = 0, frame = 0 1078 @ frame_needed = 0, uses_anonymous_args = 0 513:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1079 .loc 1 513 1 is_stmt 0 view .LVU235 1080 0000 08B5 push {r3, lr} 1081 .LCFI24: 1082 .cfi_def_cfa_offset 8 1083 .cfi_offset 3, -8 1084 .cfi_offset 14, -4 514:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1085 .loc 1 514 3 is_stmt 1 view .LVU236 1086 .LVL111: 515:USB_DEVICE/Target/usbd_conf.c **** 1087 .loc 1 515 3 view .LVU237 517:USB_DEVICE/Target/usbd_conf.c **** 1088 .loc 1 517 3 view .LVU238 517:USB_DEVICE/Target/usbd_conf.c **** 1089 .loc 1 517 16 is_stmt 0 view .LVU239 1090 0002 D0F8C002 ldr r0, [r0, #704] 1091 .LVL112: 517:USB_DEVICE/Target/usbd_conf.c **** 1092 .loc 1 517 16 view .LVU240 1093 0006 FFF7FEFF bl HAL_PCD_SetAddress 1094 .LVL113: ARM GAS /tmp/ccWUM42c.s page 35 519:USB_DEVICE/Target/usbd_conf.c **** 1095 .loc 1 519 3 is_stmt 1 view .LVU241 519:USB_DEVICE/Target/usbd_conf.c **** 1096 .loc 1 519 17 is_stmt 0 view .LVU242 1097 000a FFF7FEFF bl USBD_Get_USB_Status 1098 .LVL114: 521:USB_DEVICE/Target/usbd_conf.c **** } 1099 .loc 1 521 3 is_stmt 1 view .LVU243 522:USB_DEVICE/Target/usbd_conf.c **** 1100 .loc 1 522 1 is_stmt 0 view .LVU244 1101 000e 08BD pop {r3, pc} 1102 .cfi_endproc 1103 .LFE678: 1105 .section .text.USBD_LL_Transmit,"ax",%progbits 1106 .align 1 1107 .global USBD_LL_Transmit 1108 .syntax unified 1109 .thumb 1110 .thumb_func 1112 USBD_LL_Transmit: 1113 .LVL115: 1114 .LFB679: 533:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1115 .loc 1 533 1 is_stmt 1 view -0 1116 .cfi_startproc 1117 @ args = 0, pretend = 0, frame = 0 1118 @ frame_needed = 0, uses_anonymous_args = 0 533:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1119 .loc 1 533 1 is_stmt 0 view .LVU246 1120 0000 08B5 push {r3, lr} 1121 .LCFI25: 1122 .cfi_def_cfa_offset 8 1123 .cfi_offset 3, -8 1124 .cfi_offset 14, -4 534:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1125 .loc 1 534 3 is_stmt 1 view .LVU247 1126 .LVL116: 535:USB_DEVICE/Target/usbd_conf.c **** 1127 .loc 1 535 3 view .LVU248 537:USB_DEVICE/Target/usbd_conf.c **** 1128 .loc 1 537 3 view .LVU249 537:USB_DEVICE/Target/usbd_conf.c **** 1129 .loc 1 537 16 is_stmt 0 view .LVU250 1130 0002 D0F8C002 ldr r0, [r0, #704] 1131 .LVL117: 537:USB_DEVICE/Target/usbd_conf.c **** 1132 .loc 1 537 16 view .LVU251 1133 0006 FFF7FEFF bl HAL_PCD_EP_Transmit 1134 .LVL118: 539:USB_DEVICE/Target/usbd_conf.c **** 1135 .loc 1 539 3 is_stmt 1 view .LVU252 539:USB_DEVICE/Target/usbd_conf.c **** 1136 .loc 1 539 17 is_stmt 0 view .LVU253 1137 000a FFF7FEFF bl USBD_Get_USB_Status 1138 .LVL119: 541:USB_DEVICE/Target/usbd_conf.c **** } 1139 .loc 1 541 3 is_stmt 1 view .LVU254 ARM GAS /tmp/ccWUM42c.s page 36 542:USB_DEVICE/Target/usbd_conf.c **** 1140 .loc 1 542 1 is_stmt 0 view .LVU255 1141 000e 08BD pop {r3, pc} 1142 .cfi_endproc 1143 .LFE679: 1145 .section .text.USBD_LL_PrepareReceive,"ax",%progbits 1146 .align 1 1147 .global USBD_LL_PrepareReceive 1148 .syntax unified 1149 .thumb 1150 .thumb_func 1152 USBD_LL_PrepareReceive: 1153 .LVL120: 1154 .LFB680: 553:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1155 .loc 1 553 1 is_stmt 1 view -0 1156 .cfi_startproc 1157 @ args = 0, pretend = 0, frame = 0 1158 @ frame_needed = 0, uses_anonymous_args = 0 553:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1159 .loc 1 553 1 is_stmt 0 view .LVU257 1160 0000 08B5 push {r3, lr} 1161 .LCFI26: 1162 .cfi_def_cfa_offset 8 1163 .cfi_offset 3, -8 1164 .cfi_offset 14, -4 554:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1165 .loc 1 554 3 is_stmt 1 view .LVU258 1166 .LVL121: 555:USB_DEVICE/Target/usbd_conf.c **** 1167 .loc 1 555 3 view .LVU259 557:USB_DEVICE/Target/usbd_conf.c **** 1168 .loc 1 557 3 view .LVU260 557:USB_DEVICE/Target/usbd_conf.c **** 1169 .loc 1 557 16 is_stmt 0 view .LVU261 1170 0002 D0F8C002 ldr r0, [r0, #704] 1171 .LVL122: 557:USB_DEVICE/Target/usbd_conf.c **** 1172 .loc 1 557 16 view .LVU262 1173 0006 FFF7FEFF bl HAL_PCD_EP_Receive 1174 .LVL123: 559:USB_DEVICE/Target/usbd_conf.c **** 1175 .loc 1 559 3 is_stmt 1 view .LVU263 559:USB_DEVICE/Target/usbd_conf.c **** 1176 .loc 1 559 17 is_stmt 0 view .LVU264 1177 000a FFF7FEFF bl USBD_Get_USB_Status 1178 .LVL124: 561:USB_DEVICE/Target/usbd_conf.c **** } 1179 .loc 1 561 3 is_stmt 1 view .LVU265 562:USB_DEVICE/Target/usbd_conf.c **** 1180 .loc 1 562 1 is_stmt 0 view .LVU266 1181 000e 08BD pop {r3, pc} 1182 .cfi_endproc 1183 .LFE680: 1185 .section .text.USBD_LL_GetRxDataSize,"ax",%progbits 1186 .align 1 1187 .global USBD_LL_GetRxDataSize ARM GAS /tmp/ccWUM42c.s page 37 1188 .syntax unified 1189 .thumb 1190 .thumb_func 1192 USBD_LL_GetRxDataSize: 1193 .LVL125: 1194 .LFB681: 571:USB_DEVICE/Target/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); 1195 .loc 1 571 1 is_stmt 1 view -0 1196 .cfi_startproc 1197 @ args = 0, pretend = 0, frame = 0 1198 @ frame_needed = 0, uses_anonymous_args = 0 571:USB_DEVICE/Target/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); 1199 .loc 1 571 1 is_stmt 0 view .LVU268 1200 0000 08B5 push {r3, lr} 1201 .LCFI27: 1202 .cfi_def_cfa_offset 8 1203 .cfi_offset 3, -8 1204 .cfi_offset 14, -4 572:USB_DEVICE/Target/usbd_conf.c **** } 1205 .loc 1 572 3 is_stmt 1 view .LVU269 572:USB_DEVICE/Target/usbd_conf.c **** } 1206 .loc 1 572 10 is_stmt 0 view .LVU270 1207 0002 D0F8C002 ldr r0, [r0, #704] 1208 .LVL126: 572:USB_DEVICE/Target/usbd_conf.c **** } 1209 .loc 1 572 10 view .LVU271 1210 0006 FFF7FEFF bl HAL_PCD_EP_GetRxCount 1211 .LVL127: 573:USB_DEVICE/Target/usbd_conf.c **** 1212 .loc 1 573 1 view .LVU272 1213 000a 08BD pop {r3, pc} 1214 .cfi_endproc 1215 .LFE681: 1217 .section .text.USBD_LL_Delay,"ax",%progbits 1218 .align 1 1219 .global USBD_LL_Delay 1220 .syntax unified 1221 .thumb 1222 .thumb_func 1224 USBD_LL_Delay: 1225 .LVL128: 1226 .LFB682: 581:USB_DEVICE/Target/usbd_conf.c **** HAL_Delay(Delay); 1227 .loc 1 581 1 is_stmt 1 view -0 1228 .cfi_startproc 1229 @ args = 0, pretend = 0, frame = 0 1230 @ frame_needed = 0, uses_anonymous_args = 0 581:USB_DEVICE/Target/usbd_conf.c **** HAL_Delay(Delay); 1231 .loc 1 581 1 is_stmt 0 view .LVU274 1232 0000 08B5 push {r3, lr} 1233 .LCFI28: 1234 .cfi_def_cfa_offset 8 1235 .cfi_offset 3, -8 1236 .cfi_offset 14, -4 582:USB_DEVICE/Target/usbd_conf.c **** } 1237 .loc 1 582 3 is_stmt 1 view .LVU275 1238 0002 FFF7FEFF bl HAL_Delay ARM GAS /tmp/ccWUM42c.s page 38 1239 .LVL129: 583:USB_DEVICE/Target/usbd_conf.c **** 1240 .loc 1 583 1 is_stmt 0 view .LVU276 1241 0006 08BD pop {r3, pc} 1242 .cfi_endproc 1243 .LFE682: 1245 .section .text.USBD_static_malloc,"ax",%progbits 1246 .align 1 1247 .global USBD_static_malloc 1248 .syntax unified 1249 .thumb 1250 .thumb_func 1252 USBD_static_malloc: 1253 .LVL130: 1254 .LFB683: 591:USB_DEVICE/Target/usbd_conf.c **** static uint32_t mem[(sizeof(USBD_CDC_HandleTypeDef)/4)+1];/* On 32-bit boundary */ 1255 .loc 1 591 1 is_stmt 1 view -0 1256 .cfi_startproc 1257 @ args = 0, pretend = 0, frame = 0 1258 @ frame_needed = 0, uses_anonymous_args = 0 1259 @ link register save eliminated. 592:USB_DEVICE/Target/usbd_conf.c **** return mem; 1260 .loc 1 592 3 view .LVU278 593:USB_DEVICE/Target/usbd_conf.c **** } 1261 .loc 1 593 3 view .LVU279 594:USB_DEVICE/Target/usbd_conf.c **** 1262 .loc 1 594 1 is_stmt 0 view .LVU280 1263 0000 0048 ldr r0, .L86 1264 .LVL131: 594:USB_DEVICE/Target/usbd_conf.c **** 1265 .loc 1 594 1 view .LVU281 1266 0002 7047 bx lr 1267 .L87: 1268 .align 2 1269 .L86: 1270 0004 00000000 .word .LANCHOR1 1271 .cfi_endproc 1272 .LFE683: 1274 .section .text.USBD_static_free,"ax",%progbits 1275 .align 1 1276 .global USBD_static_free 1277 .syntax unified 1278 .thumb 1279 .thumb_func 1281 USBD_static_free: 1282 .LVL132: 1283 .LFB684: 602:USB_DEVICE/Target/usbd_conf.c **** 1284 .loc 1 602 1 is_stmt 1 view -0 1285 .cfi_startproc 1286 @ args = 0, pretend = 0, frame = 0 1287 @ frame_needed = 0, uses_anonymous_args = 0 1288 @ link register save eliminated. 604:USB_DEVICE/Target/usbd_conf.c **** 1289 .loc 1 604 1 view .LVU283 1290 0000 7047 bx lr 1291 .cfi_endproc ARM GAS /tmp/ccWUM42c.s page 39 1292 .LFE684: 1294 .section .text.HAL_PCDEx_SetConnectionState,"ax",%progbits 1295 .align 1 1296 .global HAL_PCDEx_SetConnectionState 1297 .syntax unified 1298 .thumb 1299 .thumb_func 1301 HAL_PCDEx_SetConnectionState: 1302 .LVL133: 1303 .LFB685: 617:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 6 */ 1304 .loc 1 617 1 view -0 1305 .cfi_startproc 1306 @ args = 0, pretend = 0, frame = 0 1307 @ frame_needed = 0, uses_anonymous_args = 0 1308 @ link register save eliminated. 619:USB_DEVICE/Target/usbd_conf.c **** { 1309 .loc 1 619 3 view .LVU285 628:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 6 */ 1310 .loc 1 628 3 view .LVU286 630:USB_DEVICE/Target/usbd_conf.c **** 1311 .loc 1 630 1 is_stmt 0 view .LVU287 1312 0000 7047 bx lr 1313 .cfi_endproc 1314 .LFE685: 1316 .global hpcd_USB_FS 1317 .section .bss.hpcd_USB_FS,"aw",%nobits 1318 .align 2 1319 .set .LANCHOR0,. + 0 1322 hpcd_USB_FS: 1323 0000 00000000 .space 752 1323 00000000 1323 00000000 1323 00000000 1323 00000000 1324 .section .bss.mem.0,"aw",%nobits 1325 .align 2 1326 .set .LANCHOR1,. + 0 1329 mem.0: 1330 0000 00000000 .space 544 1330 00000000 1330 00000000 1330 00000000 1330 00000000 1331 .text 1332 .Letext0: 1333 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h" 1334 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h" 1335 .file 4 "Drivers/CMSIS/Include/core_cm3.h" 1336 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" 1337 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h" 1338 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h" 1339 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h" 1340 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h" 1341 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h" 1342 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h" 1343 .file 12 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h" ARM GAS /tmp/ccWUM42c.s page 40 1344 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h" 1345 .file 14 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h" 1346 .file 15 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h" 1347 .file 16 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h" ARM GAS /tmp/ccWUM42c.s page 41 DEFINED SYMBOLS *ABS*:0000000000000000 usbd_conf.c /tmp/ccWUM42c.s:18 .text.USBD_Get_USB_Status:0000000000000000 $t /tmp/ccWUM42c.s:23 .text.USBD_Get_USB_Status:0000000000000000 USBD_Get_USB_Status /tmp/ccWUM42c.s:38 .text.USBD_Get_USB_Status:0000000000000008 $d /tmp/ccWUM42c.s:64 .text.HAL_PCD_MspInit:0000000000000000 $t /tmp/ccWUM42c.s:70 .text.HAL_PCD_MspInit:0000000000000000 HAL_PCD_MspInit /tmp/ccWUM42c.s:131 .text.HAL_PCD_MspInit:000000000000003c $d /tmp/ccWUM42c.s:136 .text.HAL_PCD_MspDeInit:0000000000000000 $t /tmp/ccWUM42c.s:142 .text.HAL_PCD_MspDeInit:0000000000000000 HAL_PCD_MspDeInit /tmp/ccWUM42c.s:184 .text.HAL_PCD_MspDeInit:0000000000000020 $d /tmp/ccWUM42c.s:190 .text.HAL_PCD_SetupStageCallback:0000000000000000 $t /tmp/ccWUM42c.s:196 .text.HAL_PCD_SetupStageCallback:0000000000000000 HAL_PCD_SetupStageCallback /tmp/ccWUM42c.s:222 .text.HAL_PCD_DataOutStageCallback:0000000000000000 $t /tmp/ccWUM42c.s:228 .text.HAL_PCD_DataOutStageCallback:0000000000000000 HAL_PCD_DataOutStageCallback /tmp/ccWUM42c.s:256 .text.HAL_PCD_DataInStageCallback:0000000000000000 $t /tmp/ccWUM42c.s:262 .text.HAL_PCD_DataInStageCallback:0000000000000000 HAL_PCD_DataInStageCallback /tmp/ccWUM42c.s:290 .text.HAL_PCD_SOFCallback:0000000000000000 $t /tmp/ccWUM42c.s:296 .text.HAL_PCD_SOFCallback:0000000000000000 HAL_PCD_SOFCallback /tmp/ccWUM42c.s:321 .text.HAL_PCD_ResetCallback:0000000000000000 $t /tmp/ccWUM42c.s:327 .text.HAL_PCD_ResetCallback:0000000000000000 HAL_PCD_ResetCallback /tmp/ccWUM42c.s:373 .text.HAL_PCD_SuspendCallback:0000000000000000 $t /tmp/ccWUM42c.s:379 .text.HAL_PCD_SuspendCallback:0000000000000000 HAL_PCD_SuspendCallback /tmp/ccWUM42c.s:418 .text.HAL_PCD_SuspendCallback:000000000000001c $d /tmp/ccWUM42c.s:423 .text.HAL_PCD_ResumeCallback:0000000000000000 $t /tmp/ccWUM42c.s:429 .text.HAL_PCD_ResumeCallback:0000000000000000 HAL_PCD_ResumeCallback /tmp/ccWUM42c.s:454 .text.HAL_PCD_ISOOUTIncompleteCallback:0000000000000000 $t /tmp/ccWUM42c.s:460 .text.HAL_PCD_ISOOUTIncompleteCallback:0000000000000000 HAL_PCD_ISOOUTIncompleteCallback /tmp/ccWUM42c.s:485 .text.HAL_PCD_ISOINIncompleteCallback:0000000000000000 $t /tmp/ccWUM42c.s:491 .text.HAL_PCD_ISOINIncompleteCallback:0000000000000000 HAL_PCD_ISOINIncompleteCallback /tmp/ccWUM42c.s:516 .text.HAL_PCD_ConnectCallback:0000000000000000 $t /tmp/ccWUM42c.s:522 .text.HAL_PCD_ConnectCallback:0000000000000000 HAL_PCD_ConnectCallback /tmp/ccWUM42c.s:547 .text.HAL_PCD_DisconnectCallback:0000000000000000 $t /tmp/ccWUM42c.s:553 .text.HAL_PCD_DisconnectCallback:0000000000000000 HAL_PCD_DisconnectCallback /tmp/ccWUM42c.s:578 .text.USBD_LL_Init:0000000000000000 $t /tmp/ccWUM42c.s:584 .text.USBD_LL_Init:0000000000000000 USBD_LL_Init /tmp/ccWUM42c.s:684 .text.USBD_LL_Init:000000000000007c $d /tmp/ccWUM42c.s:690 .text.USBD_LL_DeInit:0000000000000000 $t /tmp/ccWUM42c.s:696 .text.USBD_LL_DeInit:0000000000000000 USBD_LL_DeInit /tmp/ccWUM42c.s:730 .text.USBD_LL_Start:0000000000000000 $t /tmp/ccWUM42c.s:736 .text.USBD_LL_Start:0000000000000000 USBD_LL_Start /tmp/ccWUM42c.s:770 .text.USBD_LL_Stop:0000000000000000 $t /tmp/ccWUM42c.s:776 .text.USBD_LL_Stop:0000000000000000 USBD_LL_Stop /tmp/ccWUM42c.s:810 .text.USBD_LL_OpenEP:0000000000000000 $t /tmp/ccWUM42c.s:816 .text.USBD_LL_OpenEP:0000000000000000 USBD_LL_OpenEP /tmp/ccWUM42c.s:855 .text.USBD_LL_CloseEP:0000000000000000 $t /tmp/ccWUM42c.s:861 .text.USBD_LL_CloseEP:0000000000000000 USBD_LL_CloseEP /tmp/ccWUM42c.s:895 .text.USBD_LL_FlushEP:0000000000000000 $t /tmp/ccWUM42c.s:901 .text.USBD_LL_FlushEP:0000000000000000 USBD_LL_FlushEP /tmp/ccWUM42c.s:935 .text.USBD_LL_StallEP:0000000000000000 $t /tmp/ccWUM42c.s:941 .text.USBD_LL_StallEP:0000000000000000 USBD_LL_StallEP /tmp/ccWUM42c.s:975 .text.USBD_LL_ClearStallEP:0000000000000000 $t /tmp/ccWUM42c.s:981 .text.USBD_LL_ClearStallEP:0000000000000000 USBD_LL_ClearStallEP /tmp/ccWUM42c.s:1015 .text.USBD_LL_IsStallEP:0000000000000000 $t /tmp/ccWUM42c.s:1021 .text.USBD_LL_IsStallEP:0000000000000000 USBD_LL_IsStallEP /tmp/ccWUM42c.s:1066 .text.USBD_LL_SetUSBAddress:0000000000000000 $t /tmp/ccWUM42c.s:1072 .text.USBD_LL_SetUSBAddress:0000000000000000 USBD_LL_SetUSBAddress ARM GAS /tmp/ccWUM42c.s page 42 /tmp/ccWUM42c.s:1106 .text.USBD_LL_Transmit:0000000000000000 $t /tmp/ccWUM42c.s:1112 .text.USBD_LL_Transmit:0000000000000000 USBD_LL_Transmit /tmp/ccWUM42c.s:1146 .text.USBD_LL_PrepareReceive:0000000000000000 $t /tmp/ccWUM42c.s:1152 .text.USBD_LL_PrepareReceive:0000000000000000 USBD_LL_PrepareReceive /tmp/ccWUM42c.s:1186 .text.USBD_LL_GetRxDataSize:0000000000000000 $t /tmp/ccWUM42c.s:1192 .text.USBD_LL_GetRxDataSize:0000000000000000 USBD_LL_GetRxDataSize /tmp/ccWUM42c.s:1218 .text.USBD_LL_Delay:0000000000000000 $t /tmp/ccWUM42c.s:1224 .text.USBD_LL_Delay:0000000000000000 USBD_LL_Delay /tmp/ccWUM42c.s:1246 .text.USBD_static_malloc:0000000000000000 $t /tmp/ccWUM42c.s:1252 .text.USBD_static_malloc:0000000000000000 USBD_static_malloc /tmp/ccWUM42c.s:1270 .text.USBD_static_malloc:0000000000000004 $d /tmp/ccWUM42c.s:1275 .text.USBD_static_free:0000000000000000 $t /tmp/ccWUM42c.s:1281 .text.USBD_static_free:0000000000000000 USBD_static_free /tmp/ccWUM42c.s:1295 .text.HAL_PCDEx_SetConnectionState:0000000000000000 $t /tmp/ccWUM42c.s:1301 .text.HAL_PCDEx_SetConnectionState:0000000000000000 HAL_PCDEx_SetConnectionState /tmp/ccWUM42c.s:1322 .bss.hpcd_USB_FS:0000000000000000 hpcd_USB_FS /tmp/ccWUM42c.s:1318 .bss.hpcd_USB_FS:0000000000000000 $d /tmp/ccWUM42c.s:1325 .bss.mem.0:0000000000000000 $d /tmp/ccWUM42c.s:1329 .bss.mem.0:0000000000000000 mem.0 /tmp/ccWUM42c.s:41 .text.USBD_Get_USB_Status:000000000000000b $d /tmp/ccWUM42c.s:41 .text.USBD_Get_USB_Status:000000000000000c $t UNDEFINED SYMBOLS HAL_NVIC_SetPriority HAL_NVIC_EnableIRQ HAL_NVIC_DisableIRQ USBD_LL_SetupStage USBD_LL_DataOutStage USBD_LL_DataInStage USBD_LL_SOF USBD_LL_SetSpeed USBD_LL_Reset Error_Handler USBD_LL_Suspend USBD_LL_Resume USBD_LL_IsoOUTIncomplete USBD_LL_IsoINIncomplete USBD_LL_DevConnected USBD_LL_DevDisconnected HAL_PCD_Init HAL_PCDEx_PMAConfig HAL_PCD_DeInit HAL_PCD_Start HAL_PCD_Stop HAL_PCD_EP_Open HAL_PCD_EP_Close HAL_PCD_EP_Flush HAL_PCD_EP_SetStall HAL_PCD_EP_ClrStall HAL_PCD_SetAddress HAL_PCD_EP_Transmit HAL_PCD_EP_Receive HAL_PCD_EP_GetRxCount HAL_Delay