ARM GAS /tmp/ccf5FGie.s page 1 1 .cpu cortex-m4 2 .arch armv7e-m 3 .fpu fpv4-sp-d16 4 .eabi_attribute 27, 1 5 .eabi_attribute 28, 1 6 .eabi_attribute 20, 1 7 .eabi_attribute 21, 1 8 .eabi_attribute 23, 3 9 .eabi_attribute 24, 1 10 .eabi_attribute 25, 1 11 .eabi_attribute 26, 1 12 .eabi_attribute 30, 1 13 .eabi_attribute 34, 1 14 .eabi_attribute 18, 4 15 .file "usbd_conf.c" 16 .text 17 .Ltext0: 18 .cfi_sections .debug_frame 19 .file 1 "Src/usbd_conf.c" 20 .section .text.USBD_Get_USB_Status,"ax",%progbits 21 .align 1 22 .syntax unified 23 .thumb 24 .thumb_func 26 USBD_Get_USB_Status: 27 .LVL0: 28 .LFB365: 1:Src/usbd_conf.c **** /* USER CODE BEGIN Header */ 2:Src/usbd_conf.c **** /** 3:Src/usbd_conf.c **** ****************************************************************************** 4:Src/usbd_conf.c **** * @file : usbd_conf.c 5:Src/usbd_conf.c **** * @version : v3.0_Cube 6:Src/usbd_conf.c **** * @brief : This file implements the board support package for the USB device library 7:Src/usbd_conf.c **** ****************************************************************************** 8:Src/usbd_conf.c **** * @attention 9:Src/usbd_conf.c **** * 10:Src/usbd_conf.c **** * Copyright (c) 2022 STMicroelectronics. 11:Src/usbd_conf.c **** * All rights reserved. 12:Src/usbd_conf.c **** * 13:Src/usbd_conf.c **** * This software is licensed under terms that can be found in the LICENSE file 14:Src/usbd_conf.c **** * in the root directory of this software component. 15:Src/usbd_conf.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 16:Src/usbd_conf.c **** * 17:Src/usbd_conf.c **** ****************************************************************************** 18:Src/usbd_conf.c **** */ 19:Src/usbd_conf.c **** /* USER CODE END Header */ 20:Src/usbd_conf.c **** 21:Src/usbd_conf.c **** /* Includes ------------------------------------------------------------------*/ 22:Src/usbd_conf.c **** #include "stm32g4xx.h" 23:Src/usbd_conf.c **** #include "stm32g4xx_hal.h" 24:Src/usbd_conf.c **** #include "usbd_def.h" 25:Src/usbd_conf.c **** #include "usbd_core.h" 26:Src/usbd_conf.c **** 27:Src/usbd_conf.c **** #include "usbd_audio.h" 28:Src/usbd_conf.c **** 29:Src/usbd_conf.c **** /* USER CODE BEGIN Includes */ 30:Src/usbd_conf.c **** ARM GAS /tmp/ccf5FGie.s page 2 31:Src/usbd_conf.c **** /* USER CODE END Includes */ 32:Src/usbd_conf.c **** 33:Src/usbd_conf.c **** /* Private typedef -----------------------------------------------------------*/ 34:Src/usbd_conf.c **** /* Private define ------------------------------------------------------------*/ 35:Src/usbd_conf.c **** /* Private macro -------------------------------------------------------------*/ 36:Src/usbd_conf.c **** 37:Src/usbd_conf.c **** /* Private variables ---------------------------------------------------------*/ 38:Src/usbd_conf.c **** /* USER CODE BEGIN PV */ 39:Src/usbd_conf.c **** 40:Src/usbd_conf.c **** /* USER CODE END PV */ 41:Src/usbd_conf.c **** 42:Src/usbd_conf.c **** PCD_HandleTypeDef hpcd_USB_FS; 43:Src/usbd_conf.c **** void Error_Handler(void); 44:Src/usbd_conf.c **** 45:Src/usbd_conf.c **** /* USER CODE BEGIN 0 */ 46:Src/usbd_conf.c **** 47:Src/usbd_conf.c **** /* USER CODE END 0 */ 48:Src/usbd_conf.c **** 49:Src/usbd_conf.c **** /* Exported function prototypes ----------------------------------------------*/ 50:Src/usbd_conf.c **** 51:Src/usbd_conf.c **** /* USER CODE BEGIN PFP */ 52:Src/usbd_conf.c **** /* Private function prototypes -----------------------------------------------*/ 53:Src/usbd_conf.c **** 54:Src/usbd_conf.c **** /* USER CODE END PFP */ 55:Src/usbd_conf.c **** 56:Src/usbd_conf.c **** /* Private functions ---------------------------------------------------------*/ 57:Src/usbd_conf.c **** static USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status); 58:Src/usbd_conf.c **** /* USER CODE BEGIN 1 */ 59:Src/usbd_conf.c **** static void SystemClockConfig_Resume(void); 60:Src/usbd_conf.c **** 61:Src/usbd_conf.c **** /* USER CODE END 1 */ 62:Src/usbd_conf.c **** extern void SystemClock_Config(void); 63:Src/usbd_conf.c **** 64:Src/usbd_conf.c **** /******************************************************************************* 65:Src/usbd_conf.c **** LL Driver Callbacks (PCD -> USB Device Library) 66:Src/usbd_conf.c **** *******************************************************************************/ 67:Src/usbd_conf.c **** /* MSP Init */ 68:Src/usbd_conf.c **** 69:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 70:Src/usbd_conf.c **** static void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) 71:Src/usbd_conf.c **** #else 72:Src/usbd_conf.c **** void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) 73:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 74:Src/usbd_conf.c **** { 75:Src/usbd_conf.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0}; 76:Src/usbd_conf.c **** if(pcdHandle->Instance==USB) 77:Src/usbd_conf.c **** { 78:Src/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 0 */ 79:Src/usbd_conf.c **** 80:Src/usbd_conf.c **** /* USER CODE END USB_MspInit 0 */ 81:Src/usbd_conf.c **** 82:Src/usbd_conf.c **** /** Initializes the peripherals clocks 83:Src/usbd_conf.c **** */ 84:Src/usbd_conf.c **** PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USB; 85:Src/usbd_conf.c **** PeriphClkInit.UsbClockSelection = RCC_USBCLKSOURCE_HSI48; 86:Src/usbd_conf.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK) 87:Src/usbd_conf.c **** { ARM GAS /tmp/ccf5FGie.s page 3 88:Src/usbd_conf.c **** Error_Handler(); 89:Src/usbd_conf.c **** } 90:Src/usbd_conf.c **** 91:Src/usbd_conf.c **** /* Peripheral clock enable */ 92:Src/usbd_conf.c **** __HAL_RCC_USB_CLK_ENABLE(); 93:Src/usbd_conf.c **** 94:Src/usbd_conf.c **** /* Peripheral interrupt init */ 95:Src/usbd_conf.c **** HAL_NVIC_SetPriority(USB_LP_IRQn, 0, 0); 96:Src/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_IRQn); 97:Src/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 1 */ 98:Src/usbd_conf.c **** 99:Src/usbd_conf.c **** /* USER CODE END USB_MspInit 1 */ 100:Src/usbd_conf.c **** } 101:Src/usbd_conf.c **** } 102:Src/usbd_conf.c **** 103:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 104:Src/usbd_conf.c **** static void HAL_PCD_MspDeInit(PCD_HandleTypeDef* pcdHandle) 105:Src/usbd_conf.c **** #else 106:Src/usbd_conf.c **** void HAL_PCD_MspDeInit(PCD_HandleTypeDef* pcdHandle) 107:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 108:Src/usbd_conf.c **** { 109:Src/usbd_conf.c **** if(pcdHandle->Instance==USB) 110:Src/usbd_conf.c **** { 111:Src/usbd_conf.c **** /* USER CODE BEGIN USB_MspDeInit 0 */ 112:Src/usbd_conf.c **** 113:Src/usbd_conf.c **** /* USER CODE END USB_MspDeInit 0 */ 114:Src/usbd_conf.c **** /* Peripheral clock disable */ 115:Src/usbd_conf.c **** __HAL_RCC_USB_CLK_DISABLE(); 116:Src/usbd_conf.c **** 117:Src/usbd_conf.c **** /* Peripheral interrupt Deinit*/ 118:Src/usbd_conf.c **** HAL_NVIC_DisableIRQ(USB_LP_IRQn); 119:Src/usbd_conf.c **** 120:Src/usbd_conf.c **** /* USER CODE BEGIN USB_MspDeInit 1 */ 121:Src/usbd_conf.c **** 122:Src/usbd_conf.c **** /* USER CODE END USB_MspDeInit 1 */ 123:Src/usbd_conf.c **** } 124:Src/usbd_conf.c **** } 125:Src/usbd_conf.c **** 126:Src/usbd_conf.c **** /** 127:Src/usbd_conf.c **** * @brief Setup stage callback 128:Src/usbd_conf.c **** * @param hpcd: PCD handle 129:Src/usbd_conf.c **** * @retval None 130:Src/usbd_conf.c **** */ 131:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 132:Src/usbd_conf.c **** static void PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) 133:Src/usbd_conf.c **** #else 134:Src/usbd_conf.c **** void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) 135:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 136:Src/usbd_conf.c **** { 137:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SetupStageCallback_PreTreatment */ 138:Src/usbd_conf.c **** 139:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_SetupStageCallback_PreTreatment */ 140:Src/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup); 141:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SetupStageCallback_PostTreatment */ 142:Src/usbd_conf.c **** 143:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_SetupStageCallback_PostTreatment */ 144:Src/usbd_conf.c **** } ARM GAS /tmp/ccf5FGie.s page 4 145:Src/usbd_conf.c **** 146:Src/usbd_conf.c **** /** 147:Src/usbd_conf.c **** * @brief Data Out stage callback. 148:Src/usbd_conf.c **** * @param hpcd: PCD handle 149:Src/usbd_conf.c **** * @param epnum: Endpoint number 150:Src/usbd_conf.c **** * @retval None 151:Src/usbd_conf.c **** */ 152:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 153:Src/usbd_conf.c **** static void PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 154:Src/usbd_conf.c **** #else 155:Src/usbd_conf.c **** void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 156:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 157:Src/usbd_conf.c **** { 158:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataOutStageCallback_PreTreatment */ 159:Src/usbd_conf.c **** 160:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_DataOutStageCallback_PreTreatment */ 161:Src/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff); 162:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataOutStageCallback_PostTreatment */ 163:Src/usbd_conf.c **** 164:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_DataOutStageCallback_PostTreatment */ 165:Src/usbd_conf.c **** } 166:Src/usbd_conf.c **** 167:Src/usbd_conf.c **** /** 168:Src/usbd_conf.c **** * @brief Data In stage callback. 169:Src/usbd_conf.c **** * @param hpcd: PCD handle 170:Src/usbd_conf.c **** * @param epnum: Endpoint number 171:Src/usbd_conf.c **** * @retval None 172:Src/usbd_conf.c **** */ 173:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 174:Src/usbd_conf.c **** static void PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 175:Src/usbd_conf.c **** #else 176:Src/usbd_conf.c **** void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 177:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 178:Src/usbd_conf.c **** { 179:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataInStageCallback_PreTreatment */ 180:Src/usbd_conf.c **** 181:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_DataInStageCallback_PreTreatment */ 182:Src/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff); 183:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataInStageCallback_PostTreatment */ 184:Src/usbd_conf.c **** 185:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_DataInStageCallback_PostTreatment */ 186:Src/usbd_conf.c **** } 187:Src/usbd_conf.c **** 188:Src/usbd_conf.c **** /** 189:Src/usbd_conf.c **** * @brief SOF callback. 190:Src/usbd_conf.c **** * @param hpcd: PCD handle 191:Src/usbd_conf.c **** * @retval None 192:Src/usbd_conf.c **** */ 193:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 194:Src/usbd_conf.c **** static void PCD_SOFCallback(PCD_HandleTypeDef *hpcd) 195:Src/usbd_conf.c **** #else 196:Src/usbd_conf.c **** void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) 197:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 198:Src/usbd_conf.c **** { 199:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SOFCallback_PreTreatment */ 200:Src/usbd_conf.c **** 201:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_SOFCallback_PreTreatment */ ARM GAS /tmp/ccf5FGie.s page 5 202:Src/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData); 203:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SOFCallback_PostTreatment */ 204:Src/usbd_conf.c **** 205:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_SOFCallback_PostTreatment */ 206:Src/usbd_conf.c **** } 207:Src/usbd_conf.c **** 208:Src/usbd_conf.c **** /** 209:Src/usbd_conf.c **** * @brief Reset callback. 210:Src/usbd_conf.c **** * @param hpcd: PCD handle 211:Src/usbd_conf.c **** * @retval None 212:Src/usbd_conf.c **** */ 213:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 214:Src/usbd_conf.c **** static void PCD_ResetCallback(PCD_HandleTypeDef *hpcd) 215:Src/usbd_conf.c **** #else 216:Src/usbd_conf.c **** void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd) 217:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 218:Src/usbd_conf.c **** { 219:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResetCallback_PreTreatment */ 220:Src/usbd_conf.c **** 221:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ResetCallback_PreTreatment */ 222:Src/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL; 223:Src/usbd_conf.c **** 224:Src/usbd_conf.c **** if ( hpcd->Init.speed != PCD_SPEED_FULL) 225:Src/usbd_conf.c **** { 226:Src/usbd_conf.c **** Error_Handler(); 227:Src/usbd_conf.c **** } 228:Src/usbd_conf.c **** /* Set Speed. */ 229:Src/usbd_conf.c **** USBD_LL_SetSpeed((USBD_HandleTypeDef*)hpcd->pData, speed); 230:Src/usbd_conf.c **** 231:Src/usbd_conf.c **** /* Reset Device. */ 232:Src/usbd_conf.c **** USBD_LL_Reset((USBD_HandleTypeDef*)hpcd->pData); 233:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResetCallback_PostTreatment */ 234:Src/usbd_conf.c **** 235:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ResetCallback_PostTreatment */ 236:Src/usbd_conf.c **** } 237:Src/usbd_conf.c **** 238:Src/usbd_conf.c **** /** 239:Src/usbd_conf.c **** * @brief Suspend callback. 240:Src/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it) 241:Src/usbd_conf.c **** * @param hpcd: PCD handle 242:Src/usbd_conf.c **** * @retval None 243:Src/usbd_conf.c **** */ 244:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 245:Src/usbd_conf.c **** static void PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) 246:Src/usbd_conf.c **** #else 247:Src/usbd_conf.c **** void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) 248:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 249:Src/usbd_conf.c **** { 250:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SuspendCallback_PreTreatment */ 251:Src/usbd_conf.c **** 252:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_SuspendCallback_PreTreatment */ 253:Src/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */ 254:Src/usbd_conf.c **** USBD_LL_Suspend((USBD_HandleTypeDef*)hpcd->pData); 255:Src/usbd_conf.c **** /* Enter in STOP mode. */ 256:Src/usbd_conf.c **** /* USER CODE BEGIN 2 */ 257:Src/usbd_conf.c **** if (hpcd->Init.low_power_enable) 258:Src/usbd_conf.c **** { ARM GAS /tmp/ccf5FGie.s page 6 259:Src/usbd_conf.c **** /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */ 260:Src/usbd_conf.c **** SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); 261:Src/usbd_conf.c **** } 262:Src/usbd_conf.c **** /* USER CODE END 2 */ 263:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SuspendCallback_PostTreatment */ 264:Src/usbd_conf.c **** 265:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_SuspendCallback_PostTreatment */ 266:Src/usbd_conf.c **** } 267:Src/usbd_conf.c **** 268:Src/usbd_conf.c **** /** 269:Src/usbd_conf.c **** * @brief Resume callback. 270:Src/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it) 271:Src/usbd_conf.c **** * @param hpcd: PCD handle 272:Src/usbd_conf.c **** * @retval None 273:Src/usbd_conf.c **** */ 274:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 275:Src/usbd_conf.c **** static void PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) 276:Src/usbd_conf.c **** #else 277:Src/usbd_conf.c **** void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) 278:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 279:Src/usbd_conf.c **** { 280:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResumeCallback_PreTreatment */ 281:Src/usbd_conf.c **** 282:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ResumeCallback_PreTreatment */ 283:Src/usbd_conf.c **** 284:Src/usbd_conf.c **** /* USER CODE BEGIN 3 */ 285:Src/usbd_conf.c **** if (hpcd->Init.low_power_enable) 286:Src/usbd_conf.c **** { 287:Src/usbd_conf.c **** /* Reset SLEEPDEEP bit of Cortex System Control Register. */ 288:Src/usbd_conf.c **** SCB->SCR &= (uint32_t)~((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); 289:Src/usbd_conf.c **** SystemClockConfig_Resume(); 290:Src/usbd_conf.c **** } 291:Src/usbd_conf.c **** /* USER CODE END 3 */ 292:Src/usbd_conf.c **** 293:Src/usbd_conf.c **** USBD_LL_Resume((USBD_HandleTypeDef*)hpcd->pData); 294:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResumeCallback_PostTreatment */ 295:Src/usbd_conf.c **** 296:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ResumeCallback_PostTreatment */ 297:Src/usbd_conf.c **** } 298:Src/usbd_conf.c **** 299:Src/usbd_conf.c **** /** 300:Src/usbd_conf.c **** * @brief ISOOUTIncomplete callback. 301:Src/usbd_conf.c **** * @param hpcd: PCD handle 302:Src/usbd_conf.c **** * @param epnum: Endpoint number 303:Src/usbd_conf.c **** * @retval None 304:Src/usbd_conf.c **** */ 305:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 306:Src/usbd_conf.c **** static void PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 307:Src/usbd_conf.c **** #else 308:Src/usbd_conf.c **** void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 309:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 310:Src/usbd_conf.c **** { 311:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOOUTIncompleteCallback_PreTreatment */ 312:Src/usbd_conf.c **** 313:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ISOOUTIncompleteCallback_PreTreatment */ 314:Src/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 315:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOOUTIncompleteCallback_PostTreatment */ ARM GAS /tmp/ccf5FGie.s page 7 316:Src/usbd_conf.c **** 317:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ISOOUTIncompleteCallback_PostTreatment */ 318:Src/usbd_conf.c **** } 319:Src/usbd_conf.c **** 320:Src/usbd_conf.c **** /** 321:Src/usbd_conf.c **** * @brief ISOINIncomplete callback. 322:Src/usbd_conf.c **** * @param hpcd: PCD handle 323:Src/usbd_conf.c **** * @param epnum: Endpoint number 324:Src/usbd_conf.c **** * @retval None 325:Src/usbd_conf.c **** */ 326:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 327:Src/usbd_conf.c **** static void PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 328:Src/usbd_conf.c **** #else 329:Src/usbd_conf.c **** void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 330:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 331:Src/usbd_conf.c **** { 332:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOINIncompleteCallback_PreTreatment */ 333:Src/usbd_conf.c **** 334:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ISOINIncompleteCallback_PreTreatment */ 335:Src/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 336:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOINIncompleteCallback_PostTreatment */ 337:Src/usbd_conf.c **** 338:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ISOINIncompleteCallback_PostTreatment */ 339:Src/usbd_conf.c **** } 340:Src/usbd_conf.c **** 341:Src/usbd_conf.c **** /** 342:Src/usbd_conf.c **** * @brief Connect callback. 343:Src/usbd_conf.c **** * @param hpcd: PCD handle 344:Src/usbd_conf.c **** * @retval None 345:Src/usbd_conf.c **** */ 346:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 347:Src/usbd_conf.c **** static void PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) 348:Src/usbd_conf.c **** #else 349:Src/usbd_conf.c **** void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) 350:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 351:Src/usbd_conf.c **** { 352:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ConnectCallback_PreTreatment */ 353:Src/usbd_conf.c **** 354:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ConnectCallback_PreTreatment */ 355:Src/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData); 356:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ConnectCallback_PostTreatment */ 357:Src/usbd_conf.c **** 358:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_ConnectCallback_PostTreatment */ 359:Src/usbd_conf.c **** } 360:Src/usbd_conf.c **** 361:Src/usbd_conf.c **** /** 362:Src/usbd_conf.c **** * @brief Disconnect callback. 363:Src/usbd_conf.c **** * @param hpcd: PCD handle 364:Src/usbd_conf.c **** * @retval None 365:Src/usbd_conf.c **** */ 366:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 367:Src/usbd_conf.c **** static void PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) 368:Src/usbd_conf.c **** #else 369:Src/usbd_conf.c **** void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) 370:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 371:Src/usbd_conf.c **** { 372:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DisconnectCallback_PreTreatment */ ARM GAS /tmp/ccf5FGie.s page 8 373:Src/usbd_conf.c **** 374:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_DisconnectCallback_PreTreatment */ 375:Src/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData); 376:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DisconnectCallback_PostTreatment */ 377:Src/usbd_conf.c **** 378:Src/usbd_conf.c **** /* USER CODE END HAL_PCD_DisconnectCallback_PostTreatment */ 379:Src/usbd_conf.c **** } 380:Src/usbd_conf.c **** 381:Src/usbd_conf.c **** /* USER CODE BEGIN LowLevelInterface */ 382:Src/usbd_conf.c **** 383:Src/usbd_conf.c **** /* USER CODE END LowLevelInterface */ 384:Src/usbd_conf.c **** 385:Src/usbd_conf.c **** /******************************************************************************* 386:Src/usbd_conf.c **** LL Driver Interface (USB Device Library --> PCD) 387:Src/usbd_conf.c **** *******************************************************************************/ 388:Src/usbd_conf.c **** 389:Src/usbd_conf.c **** /** 390:Src/usbd_conf.c **** * @brief Initializes the low level portion of the device driver. 391:Src/usbd_conf.c **** * @param pdev: Device handle 392:Src/usbd_conf.c **** * @retval USBD status 393:Src/usbd_conf.c **** */ 394:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev) 395:Src/usbd_conf.c **** { 396:Src/usbd_conf.c **** /* Init USB Ip. */ 397:Src/usbd_conf.c **** hpcd_USB_FS.pData = pdev; 398:Src/usbd_conf.c **** /* Link the driver to the stack. */ 399:Src/usbd_conf.c **** pdev->pData = &hpcd_USB_FS; 400:Src/usbd_conf.c **** 401:Src/usbd_conf.c **** hpcd_USB_FS.Instance = USB; 402:Src/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8; 403:Src/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL; 404:Src/usbd_conf.c **** hpcd_USB_FS.Init.phy_itface = PCD_PHY_EMBEDDED; 405:Src/usbd_conf.c **** hpcd_USB_FS.Init.Sof_enable = DISABLE; 406:Src/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE; 407:Src/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE; 408:Src/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE; 409:Src/usbd_conf.c **** 410:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 411:Src/usbd_conf.c **** /* register Msp Callbacks (before the Init) */ 412:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_MSPINIT_CB_ID, PCD_MspInit); 413:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_MSPDEINIT_CB_ID, PCD_MspDeInit); 414:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 415:Src/usbd_conf.c **** 416:Src/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_FS) != HAL_OK) 417:Src/usbd_conf.c **** { 418:Src/usbd_conf.c **** Error_Handler( ); 419:Src/usbd_conf.c **** } 420:Src/usbd_conf.c **** 421:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 422:Src/usbd_conf.c **** /* Register USB PCD CallBacks */ 423:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SOF_CB_ID, PCD_SOFCallback); 424:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SETUPSTAGE_CB_ID, PCD_SetupStageCallback); 425:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_RESET_CB_ID, PCD_ResetCallback); 426:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_SUSPEND_CB_ID, PCD_SuspendCallback); 427:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_RESUME_CB_ID, PCD_ResumeCallback); 428:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_CONNECT_CB_ID, PCD_ConnectCallback); 429:Src/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_FS, HAL_PCD_DISCONNECT_CB_ID, PCD_DisconnectCallback); ARM GAS /tmp/ccf5FGie.s page 9 430:Src/usbd_conf.c **** /* USER CODE BEGIN RegisterCallBackFirstPart */ 431:Src/usbd_conf.c **** 432:Src/usbd_conf.c **** /* USER CODE END RegisterCallBackFirstPart */ 433:Src/usbd_conf.c **** HAL_PCD_RegisterLpmCallback(&hpcd_USB_FS, PCDEx_LPM_Callback); 434:Src/usbd_conf.c **** HAL_PCD_RegisterDataOutStageCallback(&hpcd_USB_FS, PCD_DataOutStageCallback); 435:Src/usbd_conf.c **** HAL_PCD_RegisterDataInStageCallback(&hpcd_USB_FS, PCD_DataInStageCallback); 436:Src/usbd_conf.c **** HAL_PCD_RegisterIsoOutIncpltCallback(&hpcd_USB_FS, PCD_ISOOUTIncompleteCallback); 437:Src/usbd_conf.c **** HAL_PCD_RegisterIsoInIncpltCallback(&hpcd_USB_FS, PCD_ISOINIncompleteCallback); 438:Src/usbd_conf.c **** /* USER CODE BEGIN RegisterCallBackSecondPart */ 439:Src/usbd_conf.c **** 440:Src/usbd_conf.c **** /* USER CODE END RegisterCallBackSecondPart */ 441:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 442:Src/usbd_conf.c **** /* USER CODE BEGIN EndPoint_Configuration */ 443:Src/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData, 0x00, PCD_SNG_BUF, 0x10); 444:Src/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData, 0x80, PCD_SNG_BUF, 0x50); 445:Src/usbd_conf.c **** /* USER CODE END EndPoint_Configuration */ 446:Src/usbd_conf.c **** /* USER CODE BEGIN EndPoint_Configuration_AUDIO */ 447:Src/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData, AUDIO_OUT_EP, PCD_DBL_BUF, 0x01500090); 448:Src/usbd_conf.c **** /* USER CODE END EndPoint_Configuration_AUDIO */ 449:Src/usbd_conf.c **** return USBD_OK; 450:Src/usbd_conf.c **** } 451:Src/usbd_conf.c **** 452:Src/usbd_conf.c **** /** 453:Src/usbd_conf.c **** * @brief De-Initializes the low level portion of the device driver. 454:Src/usbd_conf.c **** * @param pdev: Device handle 455:Src/usbd_conf.c **** * @retval USBD status 456:Src/usbd_conf.c **** */ 457:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev) 458:Src/usbd_conf.c **** { 459:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 460:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 461:Src/usbd_conf.c **** 462:Src/usbd_conf.c **** hal_status = HAL_PCD_DeInit(pdev->pData); 463:Src/usbd_conf.c **** 464:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 465:Src/usbd_conf.c **** 466:Src/usbd_conf.c **** return usb_status; 467:Src/usbd_conf.c **** } 468:Src/usbd_conf.c **** 469:Src/usbd_conf.c **** /** 470:Src/usbd_conf.c **** * @brief Starts the low level portion of the device driver. 471:Src/usbd_conf.c **** * @param pdev: Device handle 472:Src/usbd_conf.c **** * @retval USBD status 473:Src/usbd_conf.c **** */ 474:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev) 475:Src/usbd_conf.c **** { 476:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 477:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 478:Src/usbd_conf.c **** 479:Src/usbd_conf.c **** hal_status = HAL_PCD_Start(pdev->pData); 480:Src/usbd_conf.c **** 481:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 482:Src/usbd_conf.c **** 483:Src/usbd_conf.c **** return usb_status; 484:Src/usbd_conf.c **** } 485:Src/usbd_conf.c **** 486:Src/usbd_conf.c **** /** ARM GAS /tmp/ccf5FGie.s page 10 487:Src/usbd_conf.c **** * @brief Stops the low level portion of the device driver. 488:Src/usbd_conf.c **** * @param pdev: Device handle 489:Src/usbd_conf.c **** * @retval USBD status 490:Src/usbd_conf.c **** */ 491:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev) 492:Src/usbd_conf.c **** { 493:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 494:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 495:Src/usbd_conf.c **** 496:Src/usbd_conf.c **** hal_status = HAL_PCD_Stop(pdev->pData); 497:Src/usbd_conf.c **** 498:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 499:Src/usbd_conf.c **** 500:Src/usbd_conf.c **** return usb_status; 501:Src/usbd_conf.c **** } 502:Src/usbd_conf.c **** 503:Src/usbd_conf.c **** /** 504:Src/usbd_conf.c **** * @brief Opens an endpoint of the low level driver. 505:Src/usbd_conf.c **** * @param pdev: Device handle 506:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 507:Src/usbd_conf.c **** * @param ep_type: Endpoint type 508:Src/usbd_conf.c **** * @param ep_mps: Endpoint max packet size 509:Src/usbd_conf.c **** * @retval USBD status 510:Src/usbd_conf.c **** */ 511:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint1 512:Src/usbd_conf.c **** { 513:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 514:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 515:Src/usbd_conf.c **** 516:Src/usbd_conf.c **** hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type); 517:Src/usbd_conf.c **** 518:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 519:Src/usbd_conf.c **** 520:Src/usbd_conf.c **** return usb_status; 521:Src/usbd_conf.c **** } 522:Src/usbd_conf.c **** 523:Src/usbd_conf.c **** /** 524:Src/usbd_conf.c **** * @brief Closes an endpoint of the low level driver. 525:Src/usbd_conf.c **** * @param pdev: Device handle 526:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 527:Src/usbd_conf.c **** * @retval USBD status 528:Src/usbd_conf.c **** */ 529:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 530:Src/usbd_conf.c **** { 531:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 532:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 533:Src/usbd_conf.c **** 534:Src/usbd_conf.c **** hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr); 535:Src/usbd_conf.c **** 536:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 537:Src/usbd_conf.c **** 538:Src/usbd_conf.c **** return usb_status; 539:Src/usbd_conf.c **** } 540:Src/usbd_conf.c **** 541:Src/usbd_conf.c **** /** 542:Src/usbd_conf.c **** * @brief Flushes an endpoint of the Low Level Driver. 543:Src/usbd_conf.c **** * @param pdev: Device handle ARM GAS /tmp/ccf5FGie.s page 11 544:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 545:Src/usbd_conf.c **** * @retval USBD status 546:Src/usbd_conf.c **** */ 547:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_FlushEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 548:Src/usbd_conf.c **** { 549:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 550:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 551:Src/usbd_conf.c **** 552:Src/usbd_conf.c **** hal_status = HAL_PCD_EP_Flush(pdev->pData, ep_addr); 553:Src/usbd_conf.c **** 554:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 555:Src/usbd_conf.c **** 556:Src/usbd_conf.c **** return usb_status; 557:Src/usbd_conf.c **** } 558:Src/usbd_conf.c **** 559:Src/usbd_conf.c **** /** 560:Src/usbd_conf.c **** * @brief Sets a Stall condition on an endpoint of the Low Level Driver. 561:Src/usbd_conf.c **** * @param pdev: Device handle 562:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 563:Src/usbd_conf.c **** * @retval USBD status 564:Src/usbd_conf.c **** */ 565:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 566:Src/usbd_conf.c **** { 567:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 568:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 569:Src/usbd_conf.c **** 570:Src/usbd_conf.c **** hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr); 571:Src/usbd_conf.c **** 572:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 573:Src/usbd_conf.c **** 574:Src/usbd_conf.c **** return usb_status; 575:Src/usbd_conf.c **** } 576:Src/usbd_conf.c **** 577:Src/usbd_conf.c **** /** 578:Src/usbd_conf.c **** * @brief Clears a Stall condition on an endpoint of the Low Level Driver. 579:Src/usbd_conf.c **** * @param pdev: Device handle 580:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 581:Src/usbd_conf.c **** * @retval USBD status 582:Src/usbd_conf.c **** */ 583:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 584:Src/usbd_conf.c **** { 585:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 586:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 587:Src/usbd_conf.c **** 588:Src/usbd_conf.c **** hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr); 589:Src/usbd_conf.c **** 590:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 591:Src/usbd_conf.c **** 592:Src/usbd_conf.c **** return usb_status; 593:Src/usbd_conf.c **** } 594:Src/usbd_conf.c **** 595:Src/usbd_conf.c **** /** 596:Src/usbd_conf.c **** * @brief Returns Stall condition. 597:Src/usbd_conf.c **** * @param pdev: Device handle 598:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 599:Src/usbd_conf.c **** * @retval Stall (1: Yes, 0: No) 600:Src/usbd_conf.c **** */ ARM GAS /tmp/ccf5FGie.s page 12 601:Src/usbd_conf.c **** uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 602:Src/usbd_conf.c **** { 603:Src/usbd_conf.c **** PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; 604:Src/usbd_conf.c **** 605:Src/usbd_conf.c **** if((ep_addr & 0x80) == 0x80) 606:Src/usbd_conf.c **** { 607:Src/usbd_conf.c **** return hpcd->IN_ep[ep_addr & 0x7F].is_stall; 608:Src/usbd_conf.c **** } 609:Src/usbd_conf.c **** else 610:Src/usbd_conf.c **** { 611:Src/usbd_conf.c **** return hpcd->OUT_ep[ep_addr & 0x7F].is_stall; 612:Src/usbd_conf.c **** } 613:Src/usbd_conf.c **** } 614:Src/usbd_conf.c **** 615:Src/usbd_conf.c **** /** 616:Src/usbd_conf.c **** * @brief Assigns a USB address to the device. 617:Src/usbd_conf.c **** * @param pdev: Device handle 618:Src/usbd_conf.c **** * @param dev_addr: Device address 619:Src/usbd_conf.c **** * @retval USBD status 620:Src/usbd_conf.c **** */ 621:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr) 622:Src/usbd_conf.c **** { 623:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 624:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 625:Src/usbd_conf.c **** 626:Src/usbd_conf.c **** hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr); 627:Src/usbd_conf.c **** 628:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 629:Src/usbd_conf.c **** 630:Src/usbd_conf.c **** return usb_status; 631:Src/usbd_conf.c **** } 632:Src/usbd_conf.c **** 633:Src/usbd_conf.c **** /** 634:Src/usbd_conf.c **** * @brief Transmits data over an endpoint. 635:Src/usbd_conf.c **** * @param pdev: Device handle 636:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 637:Src/usbd_conf.c **** * @param pbuf: Pointer to data to be sent 638:Src/usbd_conf.c **** * @param size: Data size 639:Src/usbd_conf.c **** * @retval USBD status 640:Src/usbd_conf.c **** */ 641:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint3 642:Src/usbd_conf.c **** { 643:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 644:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 645:Src/usbd_conf.c **** 646:Src/usbd_conf.c **** hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size); 647:Src/usbd_conf.c **** 648:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 649:Src/usbd_conf.c **** 650:Src/usbd_conf.c **** return usb_status; 651:Src/usbd_conf.c **** } 652:Src/usbd_conf.c **** 653:Src/usbd_conf.c **** /** 654:Src/usbd_conf.c **** * @brief Prepares an endpoint for reception. 655:Src/usbd_conf.c **** * @param pdev: Device handle 656:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 657:Src/usbd_conf.c **** * @param pbuf: Pointer to data to be received ARM GAS /tmp/ccf5FGie.s page 13 658:Src/usbd_conf.c **** * @param size: Data size 659:Src/usbd_conf.c **** * @retval USBD status 660:Src/usbd_conf.c **** */ 661:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, 662:Src/usbd_conf.c **** { 663:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 664:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 665:Src/usbd_conf.c **** 666:Src/usbd_conf.c **** hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size); 667:Src/usbd_conf.c **** 668:Src/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 669:Src/usbd_conf.c **** 670:Src/usbd_conf.c **** return usb_status; 671:Src/usbd_conf.c **** } 672:Src/usbd_conf.c **** 673:Src/usbd_conf.c **** /** 674:Src/usbd_conf.c **** * @brief Returns the last transferred packet size. 675:Src/usbd_conf.c **** * @param pdev: Device handle 676:Src/usbd_conf.c **** * @param ep_addr: Endpoint number 677:Src/usbd_conf.c **** * @retval Received Data Size 678:Src/usbd_conf.c **** */ 679:Src/usbd_conf.c **** uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 680:Src/usbd_conf.c **** { 681:Src/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); 682:Src/usbd_conf.c **** } 683:Src/usbd_conf.c **** 684:Src/usbd_conf.c **** /** 685:Src/usbd_conf.c **** * @brief Send LPM message to user layer 686:Src/usbd_conf.c **** * @param hpcd: PCD handle 687:Src/usbd_conf.c **** * @param msg: LPM message 688:Src/usbd_conf.c **** * @retval None 689:Src/usbd_conf.c **** */ 690:Src/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 691:Src/usbd_conf.c **** static void PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg) 692:Src/usbd_conf.c **** #else 693:Src/usbd_conf.c **** void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg) 694:Src/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 695:Src/usbd_conf.c **** { 696:Src/usbd_conf.c **** /* USER CODE BEGIN LPM_Callback */ 697:Src/usbd_conf.c **** switch (msg) 698:Src/usbd_conf.c **** { 699:Src/usbd_conf.c **** case PCD_LPM_L0_ACTIVE: 700:Src/usbd_conf.c **** if (hpcd->Init.low_power_enable) 701:Src/usbd_conf.c **** { 702:Src/usbd_conf.c **** SystemClockConfig_Resume(); 703:Src/usbd_conf.c **** 704:Src/usbd_conf.c **** /* Reset SLEEPDEEP bit of Cortex System Control Register. */ 705:Src/usbd_conf.c **** SCB->SCR &= (uint32_t)~((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); 706:Src/usbd_conf.c **** } 707:Src/usbd_conf.c **** USBD_LL_Resume(hpcd->pData); 708:Src/usbd_conf.c **** break; 709:Src/usbd_conf.c **** 710:Src/usbd_conf.c **** case PCD_LPM_L1_ACTIVE: 711:Src/usbd_conf.c **** USBD_LL_Suspend(hpcd->pData); 712:Src/usbd_conf.c **** 713:Src/usbd_conf.c **** /* Enter in STOP mode. */ 714:Src/usbd_conf.c **** if (hpcd->Init.low_power_enable) ARM GAS /tmp/ccf5FGie.s page 14 715:Src/usbd_conf.c **** { 716:Src/usbd_conf.c **** /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */ 717:Src/usbd_conf.c **** SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); 718:Src/usbd_conf.c **** } 719:Src/usbd_conf.c **** break; 720:Src/usbd_conf.c **** } 721:Src/usbd_conf.c **** /* USER CODE END LPM_Callback */ 722:Src/usbd_conf.c **** } 723:Src/usbd_conf.c **** 724:Src/usbd_conf.c **** /** 725:Src/usbd_conf.c **** * @brief Delays routine for the USB Device Library. 726:Src/usbd_conf.c **** * @param Delay: Delay in ms 727:Src/usbd_conf.c **** * @retval None 728:Src/usbd_conf.c **** */ 729:Src/usbd_conf.c **** void USBD_LL_Delay(uint32_t Delay) 730:Src/usbd_conf.c **** { 731:Src/usbd_conf.c **** HAL_Delay(Delay); 732:Src/usbd_conf.c **** } 733:Src/usbd_conf.c **** 734:Src/usbd_conf.c **** /** 735:Src/usbd_conf.c **** * @brief Static single allocation. 736:Src/usbd_conf.c **** * @param size: Size of allocated memory 737:Src/usbd_conf.c **** * @retval None 738:Src/usbd_conf.c **** */ 739:Src/usbd_conf.c **** void *USBD_static_malloc(uint32_t size) 740:Src/usbd_conf.c **** { 741:Src/usbd_conf.c **** static uint32_t mem[(sizeof(USBD_AUDIO_HandleTypeDef)/4)+1];/* On 32-bit boundary */ 742:Src/usbd_conf.c **** return mem; 743:Src/usbd_conf.c **** } 744:Src/usbd_conf.c **** 745:Src/usbd_conf.c **** /** 746:Src/usbd_conf.c **** * @brief Dummy memory free 747:Src/usbd_conf.c **** * @param p: Pointer to allocated memory address 748:Src/usbd_conf.c **** * @retval None 749:Src/usbd_conf.c **** */ 750:Src/usbd_conf.c **** void USBD_static_free(void *p) 751:Src/usbd_conf.c **** { 752:Src/usbd_conf.c **** 753:Src/usbd_conf.c **** } 754:Src/usbd_conf.c **** 755:Src/usbd_conf.c **** /* USER CODE BEGIN 5 */ 756:Src/usbd_conf.c **** /** 757:Src/usbd_conf.c **** * @brief Configures system clock after wake-up from USB resume callBack: 758:Src/usbd_conf.c **** * enable HSI, PLL and select PLL as system clock source. 759:Src/usbd_conf.c **** * @retval None 760:Src/usbd_conf.c **** */ 761:Src/usbd_conf.c **** static void SystemClockConfig_Resume(void) 762:Src/usbd_conf.c **** { 763:Src/usbd_conf.c **** SystemClock_Config(); 764:Src/usbd_conf.c **** } 765:Src/usbd_conf.c **** /* USER CODE END 5 */ 766:Src/usbd_conf.c **** 767:Src/usbd_conf.c **** /** 768:Src/usbd_conf.c **** * @brief Returns the USB status depending on the HAL status: 769:Src/usbd_conf.c **** * @param hal_status: HAL status 770:Src/usbd_conf.c **** * @retval USB status 771:Src/usbd_conf.c **** */ ARM GAS /tmp/ccf5FGie.s page 15 772:Src/usbd_conf.c **** USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status) 773:Src/usbd_conf.c **** { 29 .loc 1 773 1 view -0 30 .cfi_startproc 31 @ args = 0, pretend = 0, frame = 0 32 @ frame_needed = 0, uses_anonymous_args = 0 33 @ link register save eliminated. 774:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 34 .loc 1 774 3 view .LVU1 775:Src/usbd_conf.c **** 776:Src/usbd_conf.c **** switch (hal_status) 35 .loc 1 776 3 view .LVU2 36 0000 0328 cmp r0, #3 37 0002 05D8 bhi .L7 38 0004 DFE800F0 tbb [pc, r0] 39 .L4: 40 0008 05 .byte (.L2-.L4)/2 41 0009 04 .byte (.L7-.L4)/2 42 000a 02 .byte (.L5-.L4)/2 43 000b 05 .byte (.L2-.L4)/2 44 .p2align 1 45 .L5: 777:Src/usbd_conf.c **** { 778:Src/usbd_conf.c **** case HAL_OK : 779:Src/usbd_conf.c **** usb_status = USBD_OK; 780:Src/usbd_conf.c **** break; 781:Src/usbd_conf.c **** case HAL_ERROR : 782:Src/usbd_conf.c **** usb_status = USBD_FAIL; 783:Src/usbd_conf.c **** break; 784:Src/usbd_conf.c **** case HAL_BUSY : 785:Src/usbd_conf.c **** usb_status = USBD_BUSY; 46 .loc 1 785 7 view .LVU3 47 .LVL1: 786:Src/usbd_conf.c **** break; 48 .loc 1 786 5 view .LVU4 785:Src/usbd_conf.c **** break; 49 .loc 1 785 18 is_stmt 0 view .LVU5 50 000c 0120 movs r0, #1 51 .LVL2: 52 .loc 1 786 5 view .LVU6 53 000e 7047 bx lr 54 .LVL3: 55 .L7: 782:Src/usbd_conf.c **** break; 56 .loc 1 782 18 view .LVU7 57 0010 0320 movs r0, #3 58 .LVL4: 59 .L2: 787:Src/usbd_conf.c **** case HAL_TIMEOUT : 788:Src/usbd_conf.c **** usb_status = USBD_FAIL; 789:Src/usbd_conf.c **** break; 790:Src/usbd_conf.c **** default : 791:Src/usbd_conf.c **** usb_status = USBD_FAIL; 792:Src/usbd_conf.c **** break; 793:Src/usbd_conf.c **** } 794:Src/usbd_conf.c **** return usb_status; 60 .loc 1 794 3 is_stmt 1 view .LVU8 ARM GAS /tmp/ccf5FGie.s page 16 795:Src/usbd_conf.c **** } 61 .loc 1 795 1 is_stmt 0 view .LVU9 62 0012 7047 bx lr 63 .cfi_endproc 64 .LFE365: 66 .section .text.SystemClockConfig_Resume,"ax",%progbits 67 .align 1 68 .syntax unified 69 .thumb 70 .thumb_func 72 SystemClockConfig_Resume: 73 .LFB364: 762:Src/usbd_conf.c **** SystemClock_Config(); 74 .loc 1 762 1 is_stmt 1 view -0 75 .cfi_startproc 76 @ args = 0, pretend = 0, frame = 0 77 @ frame_needed = 0, uses_anonymous_args = 0 78 0000 08B5 push {r3, lr} 79 .LCFI0: 80 .cfi_def_cfa_offset 8 81 .cfi_offset 3, -8 82 .cfi_offset 14, -4 763:Src/usbd_conf.c **** } 83 .loc 1 763 3 view .LVU11 84 0002 FFF7FEFF bl SystemClock_Config 85 .LVL5: 764:Src/usbd_conf.c **** /* USER CODE END 5 */ 86 .loc 1 764 1 is_stmt 0 view .LVU12 87 0006 08BD pop {r3, pc} 88 .cfi_endproc 89 .LFE364: 91 .section .text.HAL_PCD_MspInit,"ax",%progbits 92 .align 1 93 .global HAL_PCD_MspInit 94 .syntax unified 95 .thumb 96 .thumb_func 98 HAL_PCD_MspInit: 99 .LVL6: 100 .LFB333: 74:Src/usbd_conf.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0}; 101 .loc 1 74 1 is_stmt 1 view -0 102 .cfi_startproc 103 @ args = 0, pretend = 0, frame = 72 104 @ frame_needed = 0, uses_anonymous_args = 0 74:Src/usbd_conf.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0}; 105 .loc 1 74 1 is_stmt 0 view .LVU14 106 0000 10B5 push {r4, lr} 107 .LCFI1: 108 .cfi_def_cfa_offset 8 109 .cfi_offset 4, -8 110 .cfi_offset 14, -4 111 0002 92B0 sub sp, sp, #72 112 .LCFI2: 113 .cfi_def_cfa_offset 80 114 0004 0446 mov r4, r0 75:Src/usbd_conf.c **** if(pcdHandle->Instance==USB) ARM GAS /tmp/ccf5FGie.s page 17 115 .loc 1 75 3 is_stmt 1 view .LVU15 75:Src/usbd_conf.c **** if(pcdHandle->Instance==USB) 116 .loc 1 75 28 is_stmt 0 view .LVU16 117 0006 4422 movs r2, #68 118 0008 0021 movs r1, #0 119 000a 01A8 add r0, sp, #4 120 .LVL7: 75:Src/usbd_conf.c **** if(pcdHandle->Instance==USB) 121 .loc 1 75 28 view .LVU17 122 000c FFF7FEFF bl memset 123 .LVL8: 76:Src/usbd_conf.c **** { 124 .loc 1 76 3 is_stmt 1 view .LVU18 76:Src/usbd_conf.c **** { 125 .loc 1 76 15 is_stmt 0 view .LVU19 126 0010 2268 ldr r2, [r4] 76:Src/usbd_conf.c **** { 127 .loc 1 76 5 view .LVU20 128 0012 114B ldr r3, .L16 129 0014 9A42 cmp r2, r3 130 0016 01D0 beq .L14 131 .L10: 101:Src/usbd_conf.c **** 132 .loc 1 101 1 view .LVU21 133 0018 12B0 add sp, sp, #72 134 .LCFI3: 135 .cfi_remember_state 136 .cfi_def_cfa_offset 8 137 @ sp needed 138 001a 10BD pop {r4, pc} 139 .LVL9: 140 .L14: 141 .LCFI4: 142 .cfi_restore_state 84:Src/usbd_conf.c **** PeriphClkInit.UsbClockSelection = RCC_USBCLKSOURCE_HSI48; 143 .loc 1 84 5 is_stmt 1 view .LVU22 84:Src/usbd_conf.c **** PeriphClkInit.UsbClockSelection = RCC_USBCLKSOURCE_HSI48; 144 .loc 1 84 40 is_stmt 0 view .LVU23 145 001c 4FF40053 mov r3, #8192 146 0020 0193 str r3, [sp, #4] 85:Src/usbd_conf.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK) 147 .loc 1 85 5 is_stmt 1 view .LVU24 86:Src/usbd_conf.c **** { 148 .loc 1 86 5 view .LVU25 86:Src/usbd_conf.c **** { 149 .loc 1 86 9 is_stmt 0 view .LVU26 150 0022 01A8 add r0, sp, #4 151 0024 FFF7FEFF bl HAL_RCCEx_PeriphCLKConfig 152 .LVL10: 86:Src/usbd_conf.c **** { 153 .loc 1 86 8 view .LVU27 154 0028 90B9 cbnz r0, .L15 155 .L12: 92:Src/usbd_conf.c **** 156 .loc 1 92 5 is_stmt 1 view .LVU28 157 .LBB2: 92:Src/usbd_conf.c **** ARM GAS /tmp/ccf5FGie.s page 18 158 .loc 1 92 5 view .LVU29 92:Src/usbd_conf.c **** 159 .loc 1 92 5 view .LVU30 160 002a 0C4B ldr r3, .L16+4 161 002c 9A6D ldr r2, [r3, #88] 162 002e 42F40002 orr r2, r2, #8388608 163 0032 9A65 str r2, [r3, #88] 92:Src/usbd_conf.c **** 164 .loc 1 92 5 view .LVU31 165 0034 9B6D ldr r3, [r3, #88] 166 0036 03F40003 and r3, r3, #8388608 167 003a 0093 str r3, [sp] 92:Src/usbd_conf.c **** 168 .loc 1 92 5 view .LVU32 169 003c 009B ldr r3, [sp] 170 .LBE2: 92:Src/usbd_conf.c **** 171 .loc 1 92 5 view .LVU33 95:Src/usbd_conf.c **** HAL_NVIC_EnableIRQ(USB_LP_IRQn); 172 .loc 1 95 5 view .LVU34 173 003e 0022 movs r2, #0 174 0040 1146 mov r1, r2 175 0042 1420 movs r0, #20 176 0044 FFF7FEFF bl HAL_NVIC_SetPriority 177 .LVL11: 96:Src/usbd_conf.c **** /* USER CODE BEGIN USB_MspInit 1 */ 178 .loc 1 96 5 view .LVU35 179 0048 1420 movs r0, #20 180 004a FFF7FEFF bl HAL_NVIC_EnableIRQ 181 .LVL12: 101:Src/usbd_conf.c **** 182 .loc 1 101 1 is_stmt 0 view .LVU36 183 004e E3E7 b .L10 184 .L15: 88:Src/usbd_conf.c **** } 185 .loc 1 88 7 is_stmt 1 view .LVU37 186 0050 FFF7FEFF bl Error_Handler 187 .LVL13: 188 0054 E9E7 b .L12 189 .L17: 190 0056 00BF .align 2 191 .L16: 192 0058 005C0040 .word 1073765376 193 005c 00100240 .word 1073876992 194 .cfi_endproc 195 .LFE333: 197 .section .text.HAL_PCD_MspDeInit,"ax",%progbits 198 .align 1 199 .global HAL_PCD_MspDeInit 200 .syntax unified 201 .thumb 202 .thumb_func 204 HAL_PCD_MspDeInit: 205 .LVL14: 206 .LFB334: 108:Src/usbd_conf.c **** if(pcdHandle->Instance==USB) 207 .loc 1 108 1 view -0 ARM GAS /tmp/ccf5FGie.s page 19 208 .cfi_startproc 209 @ args = 0, pretend = 0, frame = 0 210 @ frame_needed = 0, uses_anonymous_args = 0 108:Src/usbd_conf.c **** if(pcdHandle->Instance==USB) 211 .loc 1 108 1 is_stmt 0 view .LVU39 212 0000 08B5 push {r3, lr} 213 .LCFI5: 214 .cfi_def_cfa_offset 8 215 .cfi_offset 3, -8 216 .cfi_offset 14, -4 109:Src/usbd_conf.c **** { 217 .loc 1 109 3 is_stmt 1 view .LVU40 109:Src/usbd_conf.c **** { 218 .loc 1 109 15 is_stmt 0 view .LVU41 219 0002 0268 ldr r2, [r0] 109:Src/usbd_conf.c **** { 220 .loc 1 109 5 view .LVU42 221 0004 064B ldr r3, .L22 222 0006 9A42 cmp r2, r3 223 0008 00D0 beq .L21 224 .LVL15: 225 .L18: 124:Src/usbd_conf.c **** 226 .loc 1 124 1 view .LVU43 227 000a 08BD pop {r3, pc} 228 .LVL16: 229 .L21: 115:Src/usbd_conf.c **** 230 .loc 1 115 5 is_stmt 1 view .LVU44 231 000c 054A ldr r2, .L22+4 232 000e 936D ldr r3, [r2, #88] 233 0010 23F40003 bic r3, r3, #8388608 234 0014 9365 str r3, [r2, #88] 118:Src/usbd_conf.c **** 235 .loc 1 118 5 view .LVU45 236 0016 1420 movs r0, #20 237 .LVL17: 118:Src/usbd_conf.c **** 238 .loc 1 118 5 is_stmt 0 view .LVU46 239 0018 FFF7FEFF bl HAL_NVIC_DisableIRQ 240 .LVL18: 124:Src/usbd_conf.c **** 241 .loc 1 124 1 view .LVU47 242 001c F5E7 b .L18 243 .L23: 244 001e 00BF .align 2 245 .L22: 246 0020 005C0040 .word 1073765376 247 0024 00100240 .word 1073876992 248 .cfi_endproc 249 .LFE334: 251 .section .text.HAL_PCD_SetupStageCallback,"ax",%progbits 252 .align 1 253 .global HAL_PCD_SetupStageCallback 254 .syntax unified 255 .thumb 256 .thumb_func ARM GAS /tmp/ccf5FGie.s page 20 258 HAL_PCD_SetupStageCallback: 259 .LVL19: 260 .LFB335: 136:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SetupStageCallback_PreTreatment */ 261 .loc 1 136 1 is_stmt 1 view -0 262 .cfi_startproc 263 @ args = 0, pretend = 0, frame = 0 264 @ frame_needed = 0, uses_anonymous_args = 0 136:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SetupStageCallback_PreTreatment */ 265 .loc 1 136 1 is_stmt 0 view .LVU49 266 0000 08B5 push {r3, lr} 267 .LCFI6: 268 .cfi_def_cfa_offset 8 269 .cfi_offset 3, -8 270 .cfi_offset 14, -4 140:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SetupStageCallback_PostTreatment */ 271 .loc 1 140 3 is_stmt 1 view .LVU50 272 0002 00F52C71 add r1, r0, #688 273 0006 D0F8F002 ldr r0, [r0, #752] 274 .LVL20: 140:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SetupStageCallback_PostTreatment */ 275 .loc 1 140 3 is_stmt 0 view .LVU51 276 000a FFF7FEFF bl USBD_LL_SetupStage 277 .LVL21: 144:Src/usbd_conf.c **** 278 .loc 1 144 1 view .LVU52 279 000e 08BD pop {r3, pc} 280 .cfi_endproc 281 .LFE335: 283 .section .text.HAL_PCD_DataOutStageCallback,"ax",%progbits 284 .align 1 285 .global HAL_PCD_DataOutStageCallback 286 .syntax unified 287 .thumb 288 .thumb_func 290 HAL_PCD_DataOutStageCallback: 291 .LVL22: 292 .LFB336: 157:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataOutStageCallback_PreTreatment */ 293 .loc 1 157 1 is_stmt 1 view -0 294 .cfi_startproc 295 @ args = 0, pretend = 0, frame = 0 296 @ frame_needed = 0, uses_anonymous_args = 0 157:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataOutStageCallback_PreTreatment */ 297 .loc 1 157 1 is_stmt 0 view .LVU54 298 0000 08B5 push {r3, lr} 299 .LCFI7: 300 .cfi_def_cfa_offset 8 301 .cfi_offset 3, -8 302 .cfi_offset 14, -4 161:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataOutStageCallback_PostTreatment */ 303 .loc 1 161 3 is_stmt 1 view .LVU55 304 0002 01EB8103 add r3, r1, r1, lsl #2 305 0006 00EBC303 add r3, r0, r3, lsl #3 306 000a D3F87C21 ldr r2, [r3, #380] 307 000e D0F8F002 ldr r0, [r0, #752] 308 .LVL23: ARM GAS /tmp/ccf5FGie.s page 21 161:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataOutStageCallback_PostTreatment */ 309 .loc 1 161 3 is_stmt 0 view .LVU56 310 0012 FFF7FEFF bl USBD_LL_DataOutStage 311 .LVL24: 165:Src/usbd_conf.c **** 312 .loc 1 165 1 view .LVU57 313 0016 08BD pop {r3, pc} 314 .cfi_endproc 315 .LFE336: 317 .section .text.HAL_PCD_DataInStageCallback,"ax",%progbits 318 .align 1 319 .global HAL_PCD_DataInStageCallback 320 .syntax unified 321 .thumb 322 .thumb_func 324 HAL_PCD_DataInStageCallback: 325 .LVL25: 326 .LFB337: 178:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataInStageCallback_PreTreatment */ 327 .loc 1 178 1 is_stmt 1 view -0 328 .cfi_startproc 329 @ args = 0, pretend = 0, frame = 0 330 @ frame_needed = 0, uses_anonymous_args = 0 178:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataInStageCallback_PreTreatment */ 331 .loc 1 178 1 is_stmt 0 view .LVU59 332 0000 08B5 push {r3, lr} 333 .LCFI8: 334 .cfi_def_cfa_offset 8 335 .cfi_offset 3, -8 336 .cfi_offset 14, -4 182:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataInStageCallback_PostTreatment */ 337 .loc 1 182 3 is_stmt 1 view .LVU60 338 0002 01EB8103 add r3, r1, r1, lsl #2 339 0006 00EBC303 add r3, r0, r3, lsl #3 340 000a DA6B ldr r2, [r3, #60] 341 000c D0F8F002 ldr r0, [r0, #752] 342 .LVL26: 182:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DataInStageCallback_PostTreatment */ 343 .loc 1 182 3 is_stmt 0 view .LVU61 344 0010 FFF7FEFF bl USBD_LL_DataInStage 345 .LVL27: 186:Src/usbd_conf.c **** 346 .loc 1 186 1 view .LVU62 347 0014 08BD pop {r3, pc} 348 .cfi_endproc 349 .LFE337: 351 .section .text.HAL_PCD_SOFCallback,"ax",%progbits 352 .align 1 353 .global HAL_PCD_SOFCallback 354 .syntax unified 355 .thumb 356 .thumb_func 358 HAL_PCD_SOFCallback: 359 .LVL28: 360 .LFB338: 198:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SOFCallback_PreTreatment */ 361 .loc 1 198 1 is_stmt 1 view -0 ARM GAS /tmp/ccf5FGie.s page 22 362 .cfi_startproc 363 @ args = 0, pretend = 0, frame = 0 364 @ frame_needed = 0, uses_anonymous_args = 0 198:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SOFCallback_PreTreatment */ 365 .loc 1 198 1 is_stmt 0 view .LVU64 366 0000 08B5 push {r3, lr} 367 .LCFI9: 368 .cfi_def_cfa_offset 8 369 .cfi_offset 3, -8 370 .cfi_offset 14, -4 202:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SOFCallback_PostTreatment */ 371 .loc 1 202 3 is_stmt 1 view .LVU65 372 0002 D0F8F002 ldr r0, [r0, #752] 373 .LVL29: 202:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SOFCallback_PostTreatment */ 374 .loc 1 202 3 is_stmt 0 view .LVU66 375 0006 FFF7FEFF bl USBD_LL_SOF 376 .LVL30: 206:Src/usbd_conf.c **** 377 .loc 1 206 1 view .LVU67 378 000a 08BD pop {r3, pc} 379 .cfi_endproc 380 .LFE338: 382 .section .text.HAL_PCD_ResetCallback,"ax",%progbits 383 .align 1 384 .global HAL_PCD_ResetCallback 385 .syntax unified 386 .thumb 387 .thumb_func 389 HAL_PCD_ResetCallback: 390 .LVL31: 391 .LFB339: 218:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResetCallback_PreTreatment */ 392 .loc 1 218 1 is_stmt 1 view -0 393 .cfi_startproc 394 @ args = 0, pretend = 0, frame = 0 395 @ frame_needed = 0, uses_anonymous_args = 0 218:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResetCallback_PreTreatment */ 396 .loc 1 218 1 is_stmt 0 view .LVU69 397 0000 10B5 push {r4, lr} 398 .LCFI10: 399 .cfi_def_cfa_offset 8 400 .cfi_offset 4, -8 401 .cfi_offset 14, -4 402 0002 0446 mov r4, r0 222:Src/usbd_conf.c **** 403 .loc 1 222 3 is_stmt 1 view .LVU70 404 .LVL32: 224:Src/usbd_conf.c **** { 405 .loc 1 224 3 view .LVU71 224:Src/usbd_conf.c **** { 406 .loc 1 224 18 is_stmt 0 view .LVU72 407 0004 8368 ldr r3, [r0, #8] 224:Src/usbd_conf.c **** { 408 .loc 1 224 6 view .LVU73 409 0006 022B cmp r3, #2 410 0008 09D1 bne .L35 ARM GAS /tmp/ccf5FGie.s page 23 411 .LVL33: 412 .L33: 229:Src/usbd_conf.c **** 413 .loc 1 229 3 is_stmt 1 view .LVU74 414 000a 0121 movs r1, #1 415 000c D4F8F002 ldr r0, [r4, #752] 416 0010 FFF7FEFF bl USBD_LL_SetSpeed 417 .LVL34: 232:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResetCallback_PostTreatment */ 418 .loc 1 232 3 view .LVU75 419 0014 D4F8F002 ldr r0, [r4, #752] 420 0018 FFF7FEFF bl USBD_LL_Reset 421 .LVL35: 236:Src/usbd_conf.c **** 422 .loc 1 236 1 is_stmt 0 view .LVU76 423 001c 10BD pop {r4, pc} 424 .LVL36: 425 .L35: 226:Src/usbd_conf.c **** } 426 .loc 1 226 5 is_stmt 1 view .LVU77 427 001e FFF7FEFF bl Error_Handler 428 .LVL37: 226:Src/usbd_conf.c **** } 429 .loc 1 226 5 is_stmt 0 view .LVU78 430 0022 F2E7 b .L33 431 .cfi_endproc 432 .LFE339: 434 .section .text.HAL_PCD_SuspendCallback,"ax",%progbits 435 .align 1 436 .global HAL_PCD_SuspendCallback 437 .syntax unified 438 .thumb 439 .thumb_func 441 HAL_PCD_SuspendCallback: 442 .LVL38: 443 .LFB340: 249:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SuspendCallback_PreTreatment */ 444 .loc 1 249 1 is_stmt 1 view -0 445 .cfi_startproc 446 @ args = 0, pretend = 0, frame = 0 447 @ frame_needed = 0, uses_anonymous_args = 0 249:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_SuspendCallback_PreTreatment */ 448 .loc 1 249 1 is_stmt 0 view .LVU80 449 0000 10B5 push {r4, lr} 450 .LCFI11: 451 .cfi_def_cfa_offset 8 452 .cfi_offset 4, -8 453 .cfi_offset 14, -4 454 0002 0446 mov r4, r0 254:Src/usbd_conf.c **** /* Enter in STOP mode. */ 455 .loc 1 254 3 is_stmt 1 view .LVU81 456 0004 D0F8F002 ldr r0, [r0, #752] 457 .LVL39: 254:Src/usbd_conf.c **** /* Enter in STOP mode. */ 458 .loc 1 254 3 is_stmt 0 view .LVU82 459 0008 FFF7FEFF bl USBD_LL_Suspend 460 .LVL40: ARM GAS /tmp/ccf5FGie.s page 24 257:Src/usbd_conf.c **** { 461 .loc 1 257 3 is_stmt 1 view .LVU83 257:Src/usbd_conf.c **** { 462 .loc 1 257 17 is_stmt 0 view .LVU84 463 000c A369 ldr r3, [r4, #24] 257:Src/usbd_conf.c **** { 464 .loc 1 257 6 view .LVU85 465 000e 23B1 cbz r3, .L36 260:Src/usbd_conf.c **** } 466 .loc 1 260 5 is_stmt 1 view .LVU86 260:Src/usbd_conf.c **** } 467 .loc 1 260 8 is_stmt 0 view .LVU87 468 0010 024A ldr r2, .L39 469 0012 1369 ldr r3, [r2, #16] 260:Src/usbd_conf.c **** } 470 .loc 1 260 14 view .LVU88 471 0014 43F00603 orr r3, r3, #6 472 0018 1361 str r3, [r2, #16] 473 .L36: 266:Src/usbd_conf.c **** 474 .loc 1 266 1 view .LVU89 475 001a 10BD pop {r4, pc} 476 .LVL41: 477 .L40: 266:Src/usbd_conf.c **** 478 .loc 1 266 1 view .LVU90 479 .align 2 480 .L39: 481 001c 00ED00E0 .word -536810240 482 .cfi_endproc 483 .LFE340: 485 .section .text.HAL_PCD_ResumeCallback,"ax",%progbits 486 .align 1 487 .global HAL_PCD_ResumeCallback 488 .syntax unified 489 .thumb 490 .thumb_func 492 HAL_PCD_ResumeCallback: 493 .LVL42: 494 .LFB341: 279:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResumeCallback_PreTreatment */ 495 .loc 1 279 1 is_stmt 1 view -0 496 .cfi_startproc 497 @ args = 0, pretend = 0, frame = 0 498 @ frame_needed = 0, uses_anonymous_args = 0 279:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResumeCallback_PreTreatment */ 499 .loc 1 279 1 is_stmt 0 view .LVU92 500 0000 10B5 push {r4, lr} 501 .LCFI12: 502 .cfi_def_cfa_offset 8 503 .cfi_offset 4, -8 504 .cfi_offset 14, -4 505 0002 0446 mov r4, r0 285:Src/usbd_conf.c **** { 506 .loc 1 285 3 is_stmt 1 view .LVU93 285:Src/usbd_conf.c **** { 507 .loc 1 285 17 is_stmt 0 view .LVU94 ARM GAS /tmp/ccf5FGie.s page 25 508 0004 8369 ldr r3, [r0, #24] 285:Src/usbd_conf.c **** { 509 .loc 1 285 6 view .LVU95 510 0006 23B9 cbnz r3, .L44 511 .LVL43: 512 .L42: 293:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ResumeCallback_PostTreatment */ 513 .loc 1 293 3 is_stmt 1 view .LVU96 514 0008 D4F8F002 ldr r0, [r4, #752] 515 000c FFF7FEFF bl USBD_LL_Resume 516 .LVL44: 297:Src/usbd_conf.c **** 517 .loc 1 297 1 is_stmt 0 view .LVU97 518 0010 10BD pop {r4, pc} 519 .LVL45: 520 .L44: 288:Src/usbd_conf.c **** SystemClockConfig_Resume(); 521 .loc 1 288 5 is_stmt 1 view .LVU98 288:Src/usbd_conf.c **** SystemClockConfig_Resume(); 522 .loc 1 288 8 is_stmt 0 view .LVU99 523 0012 044A ldr r2, .L45 524 0014 1369 ldr r3, [r2, #16] 288:Src/usbd_conf.c **** SystemClockConfig_Resume(); 525 .loc 1 288 14 view .LVU100 526 0016 23F00603 bic r3, r3, #6 527 001a 1361 str r3, [r2, #16] 289:Src/usbd_conf.c **** } 528 .loc 1 289 5 is_stmt 1 view .LVU101 529 001c FFF7FEFF bl SystemClockConfig_Resume 530 .LVL46: 289:Src/usbd_conf.c **** } 531 .loc 1 289 5 is_stmt 0 view .LVU102 532 0020 F2E7 b .L42 533 .L46: 534 0022 00BF .align 2 535 .L45: 536 0024 00ED00E0 .word -536810240 537 .cfi_endproc 538 .LFE341: 540 .section .text.HAL_PCD_ISOOUTIncompleteCallback,"ax",%progbits 541 .align 1 542 .global HAL_PCD_ISOOUTIncompleteCallback 543 .syntax unified 544 .thumb 545 .thumb_func 547 HAL_PCD_ISOOUTIncompleteCallback: 548 .LVL47: 549 .LFB342: 310:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOOUTIncompleteCallback_PreTreatment */ 550 .loc 1 310 1 is_stmt 1 view -0 551 .cfi_startproc 552 @ args = 0, pretend = 0, frame = 0 553 @ frame_needed = 0, uses_anonymous_args = 0 310:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOOUTIncompleteCallback_PreTreatment */ 554 .loc 1 310 1 is_stmt 0 view .LVU104 555 0000 08B5 push {r3, lr} 556 .LCFI13: ARM GAS /tmp/ccf5FGie.s page 26 557 .cfi_def_cfa_offset 8 558 .cfi_offset 3, -8 559 .cfi_offset 14, -4 314:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOOUTIncompleteCallback_PostTreatment */ 560 .loc 1 314 3 is_stmt 1 view .LVU105 561 0002 D0F8F002 ldr r0, [r0, #752] 562 .LVL48: 314:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOOUTIncompleteCallback_PostTreatment */ 563 .loc 1 314 3 is_stmt 0 view .LVU106 564 0006 FFF7FEFF bl USBD_LL_IsoOUTIncomplete 565 .LVL49: 318:Src/usbd_conf.c **** 566 .loc 1 318 1 view .LVU107 567 000a 08BD pop {r3, pc} 568 .cfi_endproc 569 .LFE342: 571 .section .text.HAL_PCD_ISOINIncompleteCallback,"ax",%progbits 572 .align 1 573 .global HAL_PCD_ISOINIncompleteCallback 574 .syntax unified 575 .thumb 576 .thumb_func 578 HAL_PCD_ISOINIncompleteCallback: 579 .LVL50: 580 .LFB343: 331:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOINIncompleteCallback_PreTreatment */ 581 .loc 1 331 1 is_stmt 1 view -0 582 .cfi_startproc 583 @ args = 0, pretend = 0, frame = 0 584 @ frame_needed = 0, uses_anonymous_args = 0 331:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOINIncompleteCallback_PreTreatment */ 585 .loc 1 331 1 is_stmt 0 view .LVU109 586 0000 08B5 push {r3, lr} 587 .LCFI14: 588 .cfi_def_cfa_offset 8 589 .cfi_offset 3, -8 590 .cfi_offset 14, -4 335:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOINIncompleteCallback_PostTreatment */ 591 .loc 1 335 3 is_stmt 1 view .LVU110 592 0002 D0F8F002 ldr r0, [r0, #752] 593 .LVL51: 335:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ISOINIncompleteCallback_PostTreatment */ 594 .loc 1 335 3 is_stmt 0 view .LVU111 595 0006 FFF7FEFF bl USBD_LL_IsoINIncomplete 596 .LVL52: 339:Src/usbd_conf.c **** 597 .loc 1 339 1 view .LVU112 598 000a 08BD pop {r3, pc} 599 .cfi_endproc 600 .LFE343: 602 .section .text.HAL_PCD_ConnectCallback,"ax",%progbits 603 .align 1 604 .global HAL_PCD_ConnectCallback 605 .syntax unified 606 .thumb 607 .thumb_func 609 HAL_PCD_ConnectCallback: ARM GAS /tmp/ccf5FGie.s page 27 610 .LVL53: 611 .LFB344: 351:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ConnectCallback_PreTreatment */ 612 .loc 1 351 1 is_stmt 1 view -0 613 .cfi_startproc 614 @ args = 0, pretend = 0, frame = 0 615 @ frame_needed = 0, uses_anonymous_args = 0 351:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ConnectCallback_PreTreatment */ 616 .loc 1 351 1 is_stmt 0 view .LVU114 617 0000 08B5 push {r3, lr} 618 .LCFI15: 619 .cfi_def_cfa_offset 8 620 .cfi_offset 3, -8 621 .cfi_offset 14, -4 355:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ConnectCallback_PostTreatment */ 622 .loc 1 355 3 is_stmt 1 view .LVU115 623 0002 D0F8F002 ldr r0, [r0, #752] 624 .LVL54: 355:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_ConnectCallback_PostTreatment */ 625 .loc 1 355 3 is_stmt 0 view .LVU116 626 0006 FFF7FEFF bl USBD_LL_DevConnected 627 .LVL55: 359:Src/usbd_conf.c **** 628 .loc 1 359 1 view .LVU117 629 000a 08BD pop {r3, pc} 630 .cfi_endproc 631 .LFE344: 633 .section .text.HAL_PCD_DisconnectCallback,"ax",%progbits 634 .align 1 635 .global HAL_PCD_DisconnectCallback 636 .syntax unified 637 .thumb 638 .thumb_func 640 HAL_PCD_DisconnectCallback: 641 .LVL56: 642 .LFB345: 371:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DisconnectCallback_PreTreatment */ 643 .loc 1 371 1 is_stmt 1 view -0 644 .cfi_startproc 645 @ args = 0, pretend = 0, frame = 0 646 @ frame_needed = 0, uses_anonymous_args = 0 371:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DisconnectCallback_PreTreatment */ 647 .loc 1 371 1 is_stmt 0 view .LVU119 648 0000 08B5 push {r3, lr} 649 .LCFI16: 650 .cfi_def_cfa_offset 8 651 .cfi_offset 3, -8 652 .cfi_offset 14, -4 375:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DisconnectCallback_PostTreatment */ 653 .loc 1 375 3 is_stmt 1 view .LVU120 654 0002 D0F8F002 ldr r0, [r0, #752] 655 .LVL57: 375:Src/usbd_conf.c **** /* USER CODE BEGIN HAL_PCD_DisconnectCallback_PostTreatment */ 656 .loc 1 375 3 is_stmt 0 view .LVU121 657 0006 FFF7FEFF bl USBD_LL_DevDisconnected 658 .LVL58: 379:Src/usbd_conf.c **** ARM GAS /tmp/ccf5FGie.s page 28 659 .loc 1 379 1 view .LVU122 660 000a 08BD pop {r3, pc} 661 .cfi_endproc 662 .LFE345: 664 .section .text.USBD_LL_Init,"ax",%progbits 665 .align 1 666 .global USBD_LL_Init 667 .syntax unified 668 .thumb 669 .thumb_func 671 USBD_LL_Init: 672 .LVL59: 673 .LFB346: 395:Src/usbd_conf.c **** /* Init USB Ip. */ 674 .loc 1 395 1 is_stmt 1 view -0 675 .cfi_startproc 676 @ args = 0, pretend = 0, frame = 0 677 @ frame_needed = 0, uses_anonymous_args = 0 395:Src/usbd_conf.c **** /* Init USB Ip. */ 678 .loc 1 395 1 is_stmt 0 view .LVU124 679 0000 10B5 push {r4, lr} 680 .LCFI17: 681 .cfi_def_cfa_offset 8 682 .cfi_offset 4, -8 683 .cfi_offset 14, -4 684 0002 0446 mov r4, r0 397:Src/usbd_conf.c **** /* Link the driver to the stack. */ 685 .loc 1 397 3 is_stmt 1 view .LVU125 397:Src/usbd_conf.c **** /* Link the driver to the stack. */ 686 .loc 1 397 21 is_stmt 0 view .LVU126 687 0004 1648 ldr r0, .L59 688 .LVL60: 397:Src/usbd_conf.c **** /* Link the driver to the stack. */ 689 .loc 1 397 21 view .LVU127 690 0006 C0F8F042 str r4, [r0, #752] 399:Src/usbd_conf.c **** 691 .loc 1 399 3 is_stmt 1 view .LVU128 399:Src/usbd_conf.c **** 692 .loc 1 399 15 is_stmt 0 view .LVU129 693 000a C4F8C402 str r0, [r4, #708] 401:Src/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8; 694 .loc 1 401 3 is_stmt 1 view .LVU130 401:Src/usbd_conf.c **** hpcd_USB_FS.Init.dev_endpoints = 8; 695 .loc 1 401 24 is_stmt 0 view .LVU131 696 000e 154B ldr r3, .L59+4 697 0010 0360 str r3, [r0] 402:Src/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL; 698 .loc 1 402 3 is_stmt 1 view .LVU132 402:Src/usbd_conf.c **** hpcd_USB_FS.Init.speed = PCD_SPEED_FULL; 699 .loc 1 402 34 is_stmt 0 view .LVU133 700 0012 0823 movs r3, #8 701 0014 4360 str r3, [r0, #4] 403:Src/usbd_conf.c **** hpcd_USB_FS.Init.phy_itface = PCD_PHY_EMBEDDED; 702 .loc 1 403 3 is_stmt 1 view .LVU134 403:Src/usbd_conf.c **** hpcd_USB_FS.Init.phy_itface = PCD_PHY_EMBEDDED; 703 .loc 1 403 26 is_stmt 0 view .LVU135 704 0016 0223 movs r3, #2 ARM GAS /tmp/ccf5FGie.s page 29 705 0018 8360 str r3, [r0, #8] 404:Src/usbd_conf.c **** hpcd_USB_FS.Init.Sof_enable = DISABLE; 706 .loc 1 404 3 is_stmt 1 view .LVU136 404:Src/usbd_conf.c **** hpcd_USB_FS.Init.Sof_enable = DISABLE; 707 .loc 1 404 31 is_stmt 0 view .LVU137 708 001a 0361 str r3, [r0, #16] 405:Src/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE; 709 .loc 1 405 3 is_stmt 1 view .LVU138 405:Src/usbd_conf.c **** hpcd_USB_FS.Init.low_power_enable = DISABLE; 710 .loc 1 405 31 is_stmt 0 view .LVU139 711 001c 0023 movs r3, #0 712 001e 4361 str r3, [r0, #20] 406:Src/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE; 713 .loc 1 406 3 is_stmt 1 view .LVU140 406:Src/usbd_conf.c **** hpcd_USB_FS.Init.lpm_enable = DISABLE; 714 .loc 1 406 37 is_stmt 0 view .LVU141 715 0020 8361 str r3, [r0, #24] 407:Src/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE; 716 .loc 1 407 3 is_stmt 1 view .LVU142 407:Src/usbd_conf.c **** hpcd_USB_FS.Init.battery_charging_enable = DISABLE; 717 .loc 1 407 31 is_stmt 0 view .LVU143 718 0022 C361 str r3, [r0, #28] 408:Src/usbd_conf.c **** 719 .loc 1 408 3 is_stmt 1 view .LVU144 408:Src/usbd_conf.c **** 720 .loc 1 408 44 is_stmt 0 view .LVU145 721 0024 0362 str r3, [r0, #32] 416:Src/usbd_conf.c **** { 722 .loc 1 416 3 is_stmt 1 view .LVU146 416:Src/usbd_conf.c **** { 723 .loc 1 416 7 is_stmt 0 view .LVU147 724 0026 FFF7FEFF bl HAL_PCD_Init 725 .LVL61: 416:Src/usbd_conf.c **** { 726 .loc 1 416 6 view .LVU148 727 002a B0B9 cbnz r0, .L58 728 .L56: 443:Src/usbd_conf.c **** HAL_PCDEx_PMAConfig((PCD_HandleTypeDef*)pdev->pData, 0x80, PCD_SNG_BUF, 0x50); 729 .loc 1 443 3 is_stmt 1 view .LVU149 730 002c 1023 movs r3, #16 731 002e 0022 movs r2, #0 732 0030 1146 mov r1, r2 733 0032 D4F8C402 ldr r0, [r4, #708] 734 0036 FFF7FEFF bl HAL_PCDEx_PMAConfig 735 .LVL62: 444:Src/usbd_conf.c **** /* USER CODE END EndPoint_Configuration */ 736 .loc 1 444 3 view .LVU150 737 003a 5023 movs r3, #80 738 003c 0022 movs r2, #0 739 003e 8021 movs r1, #128 740 0040 D4F8C402 ldr r0, [r4, #708] 741 0044 FFF7FEFF bl HAL_PCDEx_PMAConfig 742 .LVL63: 447:Src/usbd_conf.c **** /* USER CODE END EndPoint_Configuration_AUDIO */ 743 .loc 1 447 3 view .LVU151 744 0048 074B ldr r3, .L59+8 745 004a 0122 movs r2, #1 ARM GAS /tmp/ccf5FGie.s page 30 746 004c 1146 mov r1, r2 747 004e D4F8C402 ldr r0, [r4, #708] 748 0052 FFF7FEFF bl HAL_PCDEx_PMAConfig 749 .LVL64: 449:Src/usbd_conf.c **** } 750 .loc 1 449 3 view .LVU152 450:Src/usbd_conf.c **** 751 .loc 1 450 1 is_stmt 0 view .LVU153 752 0056 0020 movs r0, #0 753 0058 10BD pop {r4, pc} 754 .LVL65: 755 .L58: 418:Src/usbd_conf.c **** } 756 .loc 1 418 5 is_stmt 1 view .LVU154 757 005a FFF7FEFF bl Error_Handler 758 .LVL66: 759 005e E5E7 b .L56 760 .L60: 761 .align 2 762 .L59: 763 0060 00000000 .word hpcd_USB_FS 764 0064 005C0040 .word 1073765376 765 0068 90005001 .word 22020240 766 .cfi_endproc 767 .LFE346: 769 .section .text.USBD_LL_DeInit,"ax",%progbits 770 .align 1 771 .global USBD_LL_DeInit 772 .syntax unified 773 .thumb 774 .thumb_func 776 USBD_LL_DeInit: 777 .LVL67: 778 .LFB347: 458:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 779 .loc 1 458 1 view -0 780 .cfi_startproc 781 @ args = 0, pretend = 0, frame = 0 782 @ frame_needed = 0, uses_anonymous_args = 0 458:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 783 .loc 1 458 1 is_stmt 0 view .LVU156 784 0000 08B5 push {r3, lr} 785 .LCFI18: 786 .cfi_def_cfa_offset 8 787 .cfi_offset 3, -8 788 .cfi_offset 14, -4 459:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 789 .loc 1 459 3 is_stmt 1 view .LVU157 790 .LVL68: 460:Src/usbd_conf.c **** 791 .loc 1 460 3 view .LVU158 462:Src/usbd_conf.c **** 792 .loc 1 462 3 view .LVU159 462:Src/usbd_conf.c **** 793 .loc 1 462 16 is_stmt 0 view .LVU160 794 0002 D0F8C402 ldr r0, [r0, #708] 795 .LVL69: ARM GAS /tmp/ccf5FGie.s page 31 462:Src/usbd_conf.c **** 796 .loc 1 462 16 view .LVU161 797 0006 FFF7FEFF bl HAL_PCD_DeInit 798 .LVL70: 464:Src/usbd_conf.c **** 799 .loc 1 464 3 is_stmt 1 view .LVU162 464:Src/usbd_conf.c **** 800 .loc 1 464 17 is_stmt 0 view .LVU163 801 000a FFF7FEFF bl USBD_Get_USB_Status 802 .LVL71: 466:Src/usbd_conf.c **** } 803 .loc 1 466 3 is_stmt 1 view .LVU164 467:Src/usbd_conf.c **** 804 .loc 1 467 1 is_stmt 0 view .LVU165 805 000e 08BD pop {r3, pc} 806 .cfi_endproc 807 .LFE347: 809 .section .text.USBD_LL_Start,"ax",%progbits 810 .align 1 811 .global USBD_LL_Start 812 .syntax unified 813 .thumb 814 .thumb_func 816 USBD_LL_Start: 817 .LVL72: 818 .LFB348: 475:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 819 .loc 1 475 1 is_stmt 1 view -0 820 .cfi_startproc 821 @ args = 0, pretend = 0, frame = 0 822 @ frame_needed = 0, uses_anonymous_args = 0 475:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 823 .loc 1 475 1 is_stmt 0 view .LVU167 824 0000 08B5 push {r3, lr} 825 .LCFI19: 826 .cfi_def_cfa_offset 8 827 .cfi_offset 3, -8 828 .cfi_offset 14, -4 476:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 829 .loc 1 476 3 is_stmt 1 view .LVU168 830 .LVL73: 477:Src/usbd_conf.c **** 831 .loc 1 477 3 view .LVU169 479:Src/usbd_conf.c **** 832 .loc 1 479 3 view .LVU170 479:Src/usbd_conf.c **** 833 .loc 1 479 16 is_stmt 0 view .LVU171 834 0002 D0F8C402 ldr r0, [r0, #708] 835 .LVL74: 479:Src/usbd_conf.c **** 836 .loc 1 479 16 view .LVU172 837 0006 FFF7FEFF bl HAL_PCD_Start 838 .LVL75: 481:Src/usbd_conf.c **** 839 .loc 1 481 3 is_stmt 1 view .LVU173 481:Src/usbd_conf.c **** 840 .loc 1 481 17 is_stmt 0 view .LVU174 ARM GAS /tmp/ccf5FGie.s page 32 841 000a FFF7FEFF bl USBD_Get_USB_Status 842 .LVL76: 483:Src/usbd_conf.c **** } 843 .loc 1 483 3 is_stmt 1 view .LVU175 484:Src/usbd_conf.c **** 844 .loc 1 484 1 is_stmt 0 view .LVU176 845 000e 08BD pop {r3, pc} 846 .cfi_endproc 847 .LFE348: 849 .section .text.USBD_LL_Stop,"ax",%progbits 850 .align 1 851 .global USBD_LL_Stop 852 .syntax unified 853 .thumb 854 .thumb_func 856 USBD_LL_Stop: 857 .LVL77: 858 .LFB349: 492:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 859 .loc 1 492 1 is_stmt 1 view -0 860 .cfi_startproc 861 @ args = 0, pretend = 0, frame = 0 862 @ frame_needed = 0, uses_anonymous_args = 0 492:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 863 .loc 1 492 1 is_stmt 0 view .LVU178 864 0000 08B5 push {r3, lr} 865 .LCFI20: 866 .cfi_def_cfa_offset 8 867 .cfi_offset 3, -8 868 .cfi_offset 14, -4 493:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 869 .loc 1 493 3 is_stmt 1 view .LVU179 870 .LVL78: 494:Src/usbd_conf.c **** 871 .loc 1 494 3 view .LVU180 496:Src/usbd_conf.c **** 872 .loc 1 496 3 view .LVU181 496:Src/usbd_conf.c **** 873 .loc 1 496 16 is_stmt 0 view .LVU182 874 0002 D0F8C402 ldr r0, [r0, #708] 875 .LVL79: 496:Src/usbd_conf.c **** 876 .loc 1 496 16 view .LVU183 877 0006 FFF7FEFF bl HAL_PCD_Stop 878 .LVL80: 498:Src/usbd_conf.c **** 879 .loc 1 498 3 is_stmt 1 view .LVU184 498:Src/usbd_conf.c **** 880 .loc 1 498 17 is_stmt 0 view .LVU185 881 000a FFF7FEFF bl USBD_Get_USB_Status 882 .LVL81: 500:Src/usbd_conf.c **** } 883 .loc 1 500 3 is_stmt 1 view .LVU186 501:Src/usbd_conf.c **** 884 .loc 1 501 1 is_stmt 0 view .LVU187 885 000e 08BD pop {r3, pc} 886 .cfi_endproc ARM GAS /tmp/ccf5FGie.s page 33 887 .LFE349: 889 .section .text.USBD_LL_OpenEP,"ax",%progbits 890 .align 1 891 .global USBD_LL_OpenEP 892 .syntax unified 893 .thumb 894 .thumb_func 896 USBD_LL_OpenEP: 897 .LVL82: 898 .LFB350: 512:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 899 .loc 1 512 1 is_stmt 1 view -0 900 .cfi_startproc 901 @ args = 0, pretend = 0, frame = 0 902 @ frame_needed = 0, uses_anonymous_args = 0 512:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 903 .loc 1 512 1 is_stmt 0 view .LVU189 904 0000 08B5 push {r3, lr} 905 .LCFI21: 906 .cfi_def_cfa_offset 8 907 .cfi_offset 3, -8 908 .cfi_offset 14, -4 909 0002 9446 mov ip, r2 910 0004 1A46 mov r2, r3 911 .LVL83: 513:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 912 .loc 1 513 3 is_stmt 1 view .LVU190 514:Src/usbd_conf.c **** 913 .loc 1 514 3 view .LVU191 516:Src/usbd_conf.c **** 914 .loc 1 516 3 view .LVU192 516:Src/usbd_conf.c **** 915 .loc 1 516 16 is_stmt 0 view .LVU193 916 0006 6346 mov r3, ip 917 .LVL84: 516:Src/usbd_conf.c **** 918 .loc 1 516 16 view .LVU194 919 0008 D0F8C402 ldr r0, [r0, #708] 920 .LVL85: 516:Src/usbd_conf.c **** 921 .loc 1 516 16 view .LVU195 922 000c FFF7FEFF bl HAL_PCD_EP_Open 923 .LVL86: 518:Src/usbd_conf.c **** 924 .loc 1 518 3 is_stmt 1 view .LVU196 518:Src/usbd_conf.c **** 925 .loc 1 518 17 is_stmt 0 view .LVU197 926 0010 FFF7FEFF bl USBD_Get_USB_Status 927 .LVL87: 520:Src/usbd_conf.c **** } 928 .loc 1 520 3 is_stmt 1 view .LVU198 521:Src/usbd_conf.c **** 929 .loc 1 521 1 is_stmt 0 view .LVU199 930 0014 08BD pop {r3, pc} 931 .cfi_endproc 932 .LFE350: 934 .section .text.USBD_LL_CloseEP,"ax",%progbits ARM GAS /tmp/ccf5FGie.s page 34 935 .align 1 936 .global USBD_LL_CloseEP 937 .syntax unified 938 .thumb 939 .thumb_func 941 USBD_LL_CloseEP: 942 .LVL88: 943 .LFB351: 530:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 944 .loc 1 530 1 is_stmt 1 view -0 945 .cfi_startproc 946 @ args = 0, pretend = 0, frame = 0 947 @ frame_needed = 0, uses_anonymous_args = 0 530:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 948 .loc 1 530 1 is_stmt 0 view .LVU201 949 0000 08B5 push {r3, lr} 950 .LCFI22: 951 .cfi_def_cfa_offset 8 952 .cfi_offset 3, -8 953 .cfi_offset 14, -4 531:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 954 .loc 1 531 3 is_stmt 1 view .LVU202 955 .LVL89: 532:Src/usbd_conf.c **** 956 .loc 1 532 3 view .LVU203 534:Src/usbd_conf.c **** 957 .loc 1 534 3 view .LVU204 534:Src/usbd_conf.c **** 958 .loc 1 534 16 is_stmt 0 view .LVU205 959 0002 D0F8C402 ldr r0, [r0, #708] 960 .LVL90: 534:Src/usbd_conf.c **** 961 .loc 1 534 16 view .LVU206 962 0006 FFF7FEFF bl HAL_PCD_EP_Close 963 .LVL91: 536:Src/usbd_conf.c **** 964 .loc 1 536 3 is_stmt 1 view .LVU207 536:Src/usbd_conf.c **** 965 .loc 1 536 17 is_stmt 0 view .LVU208 966 000a FFF7FEFF bl USBD_Get_USB_Status 967 .LVL92: 538:Src/usbd_conf.c **** } 968 .loc 1 538 3 is_stmt 1 view .LVU209 539:Src/usbd_conf.c **** 969 .loc 1 539 1 is_stmt 0 view .LVU210 970 000e 08BD pop {r3, pc} 971 .cfi_endproc 972 .LFE351: 974 .section .text.USBD_LL_FlushEP,"ax",%progbits 975 .align 1 976 .global USBD_LL_FlushEP 977 .syntax unified 978 .thumb 979 .thumb_func 981 USBD_LL_FlushEP: 982 .LVL93: 983 .LFB352: ARM GAS /tmp/ccf5FGie.s page 35 548:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 984 .loc 1 548 1 is_stmt 1 view -0 985 .cfi_startproc 986 @ args = 0, pretend = 0, frame = 0 987 @ frame_needed = 0, uses_anonymous_args = 0 548:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 988 .loc 1 548 1 is_stmt 0 view .LVU212 989 0000 08B5 push {r3, lr} 990 .LCFI23: 991 .cfi_def_cfa_offset 8 992 .cfi_offset 3, -8 993 .cfi_offset 14, -4 549:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 994 .loc 1 549 3 is_stmt 1 view .LVU213 995 .LVL94: 550:Src/usbd_conf.c **** 996 .loc 1 550 3 view .LVU214 552:Src/usbd_conf.c **** 997 .loc 1 552 3 view .LVU215 552:Src/usbd_conf.c **** 998 .loc 1 552 16 is_stmt 0 view .LVU216 999 0002 D0F8C402 ldr r0, [r0, #708] 1000 .LVL95: 552:Src/usbd_conf.c **** 1001 .loc 1 552 16 view .LVU217 1002 0006 FFF7FEFF bl HAL_PCD_EP_Flush 1003 .LVL96: 554:Src/usbd_conf.c **** 1004 .loc 1 554 3 is_stmt 1 view .LVU218 554:Src/usbd_conf.c **** 1005 .loc 1 554 17 is_stmt 0 view .LVU219 1006 000a FFF7FEFF bl USBD_Get_USB_Status 1007 .LVL97: 556:Src/usbd_conf.c **** } 1008 .loc 1 556 3 is_stmt 1 view .LVU220 557:Src/usbd_conf.c **** 1009 .loc 1 557 1 is_stmt 0 view .LVU221 1010 000e 08BD pop {r3, pc} 1011 .cfi_endproc 1012 .LFE352: 1014 .section .text.USBD_LL_StallEP,"ax",%progbits 1015 .align 1 1016 .global USBD_LL_StallEP 1017 .syntax unified 1018 .thumb 1019 .thumb_func 1021 USBD_LL_StallEP: 1022 .LVL98: 1023 .LFB353: 566:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1024 .loc 1 566 1 is_stmt 1 view -0 1025 .cfi_startproc 1026 @ args = 0, pretend = 0, frame = 0 1027 @ frame_needed = 0, uses_anonymous_args = 0 566:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1028 .loc 1 566 1 is_stmt 0 view .LVU223 1029 0000 08B5 push {r3, lr} ARM GAS /tmp/ccf5FGie.s page 36 1030 .LCFI24: 1031 .cfi_def_cfa_offset 8 1032 .cfi_offset 3, -8 1033 .cfi_offset 14, -4 567:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1034 .loc 1 567 3 is_stmt 1 view .LVU224 1035 .LVL99: 568:Src/usbd_conf.c **** 1036 .loc 1 568 3 view .LVU225 570:Src/usbd_conf.c **** 1037 .loc 1 570 3 view .LVU226 570:Src/usbd_conf.c **** 1038 .loc 1 570 16 is_stmt 0 view .LVU227 1039 0002 D0F8C402 ldr r0, [r0, #708] 1040 .LVL100: 570:Src/usbd_conf.c **** 1041 .loc 1 570 16 view .LVU228 1042 0006 FFF7FEFF bl HAL_PCD_EP_SetStall 1043 .LVL101: 572:Src/usbd_conf.c **** 1044 .loc 1 572 3 is_stmt 1 view .LVU229 572:Src/usbd_conf.c **** 1045 .loc 1 572 17 is_stmt 0 view .LVU230 1046 000a FFF7FEFF bl USBD_Get_USB_Status 1047 .LVL102: 574:Src/usbd_conf.c **** } 1048 .loc 1 574 3 is_stmt 1 view .LVU231 575:Src/usbd_conf.c **** 1049 .loc 1 575 1 is_stmt 0 view .LVU232 1050 000e 08BD pop {r3, pc} 1051 .cfi_endproc 1052 .LFE353: 1054 .section .text.USBD_LL_ClearStallEP,"ax",%progbits 1055 .align 1 1056 .global USBD_LL_ClearStallEP 1057 .syntax unified 1058 .thumb 1059 .thumb_func 1061 USBD_LL_ClearStallEP: 1062 .LVL103: 1063 .LFB354: 584:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1064 .loc 1 584 1 is_stmt 1 view -0 1065 .cfi_startproc 1066 @ args = 0, pretend = 0, frame = 0 1067 @ frame_needed = 0, uses_anonymous_args = 0 584:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1068 .loc 1 584 1 is_stmt 0 view .LVU234 1069 0000 08B5 push {r3, lr} 1070 .LCFI25: 1071 .cfi_def_cfa_offset 8 1072 .cfi_offset 3, -8 1073 .cfi_offset 14, -4 585:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1074 .loc 1 585 3 is_stmt 1 view .LVU235 1075 .LVL104: 586:Src/usbd_conf.c **** ARM GAS /tmp/ccf5FGie.s page 37 1076 .loc 1 586 3 view .LVU236 588:Src/usbd_conf.c **** 1077 .loc 1 588 3 view .LVU237 588:Src/usbd_conf.c **** 1078 .loc 1 588 16 is_stmt 0 view .LVU238 1079 0002 D0F8C402 ldr r0, [r0, #708] 1080 .LVL105: 588:Src/usbd_conf.c **** 1081 .loc 1 588 16 view .LVU239 1082 0006 FFF7FEFF bl HAL_PCD_EP_ClrStall 1083 .LVL106: 590:Src/usbd_conf.c **** 1084 .loc 1 590 3 is_stmt 1 view .LVU240 590:Src/usbd_conf.c **** 1085 .loc 1 590 17 is_stmt 0 view .LVU241 1086 000a FFF7FEFF bl USBD_Get_USB_Status 1087 .LVL107: 592:Src/usbd_conf.c **** } 1088 .loc 1 592 3 is_stmt 1 view .LVU242 593:Src/usbd_conf.c **** 1089 .loc 1 593 1 is_stmt 0 view .LVU243 1090 000e 08BD pop {r3, pc} 1091 .cfi_endproc 1092 .LFE354: 1094 .section .text.USBD_LL_IsStallEP,"ax",%progbits 1095 .align 1 1096 .global USBD_LL_IsStallEP 1097 .syntax unified 1098 .thumb 1099 .thumb_func 1101 USBD_LL_IsStallEP: 1102 .LVL108: 1103 .LFB355: 602:Src/usbd_conf.c **** PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; 1104 .loc 1 602 1 is_stmt 1 view -0 1105 .cfi_startproc 1106 @ args = 0, pretend = 0, frame = 0 1107 @ frame_needed = 0, uses_anonymous_args = 0 1108 @ link register save eliminated. 603:Src/usbd_conf.c **** 1109 .loc 1 603 3 view .LVU245 603:Src/usbd_conf.c **** 1110 .loc 1 603 22 is_stmt 0 view .LVU246 1111 0000 D0F8C432 ldr r3, [r0, #708] 1112 .LVL109: 605:Src/usbd_conf.c **** { 1113 .loc 1 605 3 is_stmt 1 view .LVU247 605:Src/usbd_conf.c **** { 1114 .loc 1 605 5 is_stmt 0 view .LVU248 1115 0004 11F0800F tst r1, #128 1116 0008 08D1 bne .L80 611:Src/usbd_conf.c **** } 1117 .loc 1 611 5 is_stmt 1 view .LVU249 611:Src/usbd_conf.c **** } 1118 .loc 1 611 33 is_stmt 0 view .LVU250 1119 000a 01F07F01 and r1, r1, #127 1120 .LVL110: ARM GAS /tmp/ccf5FGie.s page 38 611:Src/usbd_conf.c **** } 1121 .loc 1 611 40 view .LVU251 1122 000e 01EB8101 add r1, r1, r1, lsl #2 1123 0012 03EBC103 add r3, r3, r1, lsl #3 1124 .LVL111: 611:Src/usbd_conf.c **** } 1125 .loc 1 611 40 view .LVU252 1126 0016 93F86A01 ldrb r0, [r3, #362] @ zero_extendqisi2 1127 .LVL112: 613:Src/usbd_conf.c **** 1128 .loc 1 613 1 view .LVU253 1129 001a 7047 bx lr 1130 .LVL113: 1131 .L80: 607:Src/usbd_conf.c **** } 1132 .loc 1 607 5 is_stmt 1 view .LVU254 607:Src/usbd_conf.c **** } 1133 .loc 1 607 32 is_stmt 0 view .LVU255 1134 001c 01F07F01 and r1, r1, #127 1135 .LVL114: 607:Src/usbd_conf.c **** } 1136 .loc 1 607 39 view .LVU256 1137 0020 0131 adds r1, r1, #1 1138 0022 01EB8101 add r1, r1, r1, lsl #2 1139 0026 03EBC103 add r3, r3, r1, lsl #3 1140 .LVL115: 607:Src/usbd_conf.c **** } 1141 .loc 1 607 39 view .LVU257 1142 002a 9878 ldrb r0, [r3, #2] @ zero_extendqisi2 1143 .LVL116: 607:Src/usbd_conf.c **** } 1144 .loc 1 607 39 view .LVU258 1145 002c 7047 bx lr 1146 .cfi_endproc 1147 .LFE355: 1149 .section .text.USBD_LL_SetUSBAddress,"ax",%progbits 1150 .align 1 1151 .global USBD_LL_SetUSBAddress 1152 .syntax unified 1153 .thumb 1154 .thumb_func 1156 USBD_LL_SetUSBAddress: 1157 .LVL117: 1158 .LFB356: 622:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1159 .loc 1 622 1 is_stmt 1 view -0 1160 .cfi_startproc 1161 @ args = 0, pretend = 0, frame = 0 1162 @ frame_needed = 0, uses_anonymous_args = 0 622:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1163 .loc 1 622 1 is_stmt 0 view .LVU260 1164 0000 08B5 push {r3, lr} 1165 .LCFI26: 1166 .cfi_def_cfa_offset 8 1167 .cfi_offset 3, -8 1168 .cfi_offset 14, -4 623:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; ARM GAS /tmp/ccf5FGie.s page 39 1169 .loc 1 623 3 is_stmt 1 view .LVU261 1170 .LVL118: 624:Src/usbd_conf.c **** 1171 .loc 1 624 3 view .LVU262 626:Src/usbd_conf.c **** 1172 .loc 1 626 3 view .LVU263 626:Src/usbd_conf.c **** 1173 .loc 1 626 16 is_stmt 0 view .LVU264 1174 0002 D0F8C402 ldr r0, [r0, #708] 1175 .LVL119: 626:Src/usbd_conf.c **** 1176 .loc 1 626 16 view .LVU265 1177 0006 FFF7FEFF bl HAL_PCD_SetAddress 1178 .LVL120: 628:Src/usbd_conf.c **** 1179 .loc 1 628 3 is_stmt 1 view .LVU266 628:Src/usbd_conf.c **** 1180 .loc 1 628 17 is_stmt 0 view .LVU267 1181 000a FFF7FEFF bl USBD_Get_USB_Status 1182 .LVL121: 630:Src/usbd_conf.c **** } 1183 .loc 1 630 3 is_stmt 1 view .LVU268 631:Src/usbd_conf.c **** 1184 .loc 1 631 1 is_stmt 0 view .LVU269 1185 000e 08BD pop {r3, pc} 1186 .cfi_endproc 1187 .LFE356: 1189 .section .text.USBD_LL_Transmit,"ax",%progbits 1190 .align 1 1191 .global USBD_LL_Transmit 1192 .syntax unified 1193 .thumb 1194 .thumb_func 1196 USBD_LL_Transmit: 1197 .LVL122: 1198 .LFB357: 642:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1199 .loc 1 642 1 is_stmt 1 view -0 1200 .cfi_startproc 1201 @ args = 0, pretend = 0, frame = 0 1202 @ frame_needed = 0, uses_anonymous_args = 0 642:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1203 .loc 1 642 1 is_stmt 0 view .LVU271 1204 0000 08B5 push {r3, lr} 1205 .LCFI27: 1206 .cfi_def_cfa_offset 8 1207 .cfi_offset 3, -8 1208 .cfi_offset 14, -4 643:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1209 .loc 1 643 3 is_stmt 1 view .LVU272 1210 .LVL123: 644:Src/usbd_conf.c **** 1211 .loc 1 644 3 view .LVU273 646:Src/usbd_conf.c **** 1212 .loc 1 646 3 view .LVU274 646:Src/usbd_conf.c **** 1213 .loc 1 646 16 is_stmt 0 view .LVU275 ARM GAS /tmp/ccf5FGie.s page 40 1214 0002 D0F8C402 ldr r0, [r0, #708] 1215 .LVL124: 646:Src/usbd_conf.c **** 1216 .loc 1 646 16 view .LVU276 1217 0006 FFF7FEFF bl HAL_PCD_EP_Transmit 1218 .LVL125: 648:Src/usbd_conf.c **** 1219 .loc 1 648 3 is_stmt 1 view .LVU277 648:Src/usbd_conf.c **** 1220 .loc 1 648 17 is_stmt 0 view .LVU278 1221 000a FFF7FEFF bl USBD_Get_USB_Status 1222 .LVL126: 650:Src/usbd_conf.c **** } 1223 .loc 1 650 3 is_stmt 1 view .LVU279 651:Src/usbd_conf.c **** 1224 .loc 1 651 1 is_stmt 0 view .LVU280 1225 000e 08BD pop {r3, pc} 1226 .cfi_endproc 1227 .LFE357: 1229 .section .text.USBD_LL_PrepareReceive,"ax",%progbits 1230 .align 1 1231 .global USBD_LL_PrepareReceive 1232 .syntax unified 1233 .thumb 1234 .thumb_func 1236 USBD_LL_PrepareReceive: 1237 .LVL127: 1238 .LFB358: 662:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1239 .loc 1 662 1 is_stmt 1 view -0 1240 .cfi_startproc 1241 @ args = 0, pretend = 0, frame = 0 1242 @ frame_needed = 0, uses_anonymous_args = 0 662:Src/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1243 .loc 1 662 1 is_stmt 0 view .LVU282 1244 0000 08B5 push {r3, lr} 1245 .LCFI28: 1246 .cfi_def_cfa_offset 8 1247 .cfi_offset 3, -8 1248 .cfi_offset 14, -4 663:Src/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1249 .loc 1 663 3 is_stmt 1 view .LVU283 1250 .LVL128: 664:Src/usbd_conf.c **** 1251 .loc 1 664 3 view .LVU284 666:Src/usbd_conf.c **** 1252 .loc 1 666 3 view .LVU285 666:Src/usbd_conf.c **** 1253 .loc 1 666 16 is_stmt 0 view .LVU286 1254 0002 D0F8C402 ldr r0, [r0, #708] 1255 .LVL129: 666:Src/usbd_conf.c **** 1256 .loc 1 666 16 view .LVU287 1257 0006 FFF7FEFF bl HAL_PCD_EP_Receive 1258 .LVL130: 668:Src/usbd_conf.c **** 1259 .loc 1 668 3 is_stmt 1 view .LVU288 ARM GAS /tmp/ccf5FGie.s page 41 668:Src/usbd_conf.c **** 1260 .loc 1 668 17 is_stmt 0 view .LVU289 1261 000a FFF7FEFF bl USBD_Get_USB_Status 1262 .LVL131: 670:Src/usbd_conf.c **** } 1263 .loc 1 670 3 is_stmt 1 view .LVU290 671:Src/usbd_conf.c **** 1264 .loc 1 671 1 is_stmt 0 view .LVU291 1265 000e 08BD pop {r3, pc} 1266 .cfi_endproc 1267 .LFE358: 1269 .section .text.USBD_LL_GetRxDataSize,"ax",%progbits 1270 .align 1 1271 .global USBD_LL_GetRxDataSize 1272 .syntax unified 1273 .thumb 1274 .thumb_func 1276 USBD_LL_GetRxDataSize: 1277 .LVL132: 1278 .LFB359: 680:Src/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); 1279 .loc 1 680 1 is_stmt 1 view -0 1280 .cfi_startproc 1281 @ args = 0, pretend = 0, frame = 0 1282 @ frame_needed = 0, uses_anonymous_args = 0 680:Src/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); 1283 .loc 1 680 1 is_stmt 0 view .LVU293 1284 0000 08B5 push {r3, lr} 1285 .LCFI29: 1286 .cfi_def_cfa_offset 8 1287 .cfi_offset 3, -8 1288 .cfi_offset 14, -4 681:Src/usbd_conf.c **** } 1289 .loc 1 681 3 is_stmt 1 view .LVU294 681:Src/usbd_conf.c **** } 1290 .loc 1 681 10 is_stmt 0 view .LVU295 1291 0002 D0F8C402 ldr r0, [r0, #708] 1292 .LVL133: 681:Src/usbd_conf.c **** } 1293 .loc 1 681 10 view .LVU296 1294 0006 FFF7FEFF bl HAL_PCD_EP_GetRxCount 1295 .LVL134: 682:Src/usbd_conf.c **** 1296 .loc 1 682 1 view .LVU297 1297 000a 08BD pop {r3, pc} 1298 .cfi_endproc 1299 .LFE359: 1301 .section .text.HAL_PCDEx_LPM_Callback,"ax",%progbits 1302 .align 1 1303 .global HAL_PCDEx_LPM_Callback 1304 .syntax unified 1305 .thumb 1306 .thumb_func 1308 HAL_PCDEx_LPM_Callback: 1309 .LVL135: 1310 .LFB360: 695:Src/usbd_conf.c **** /* USER CODE BEGIN LPM_Callback */ ARM GAS /tmp/ccf5FGie.s page 42 1311 .loc 1 695 1 is_stmt 1 view -0 1312 .cfi_startproc 1313 @ args = 0, pretend = 0, frame = 0 1314 @ frame_needed = 0, uses_anonymous_args = 0 695:Src/usbd_conf.c **** /* USER CODE BEGIN LPM_Callback */ 1315 .loc 1 695 1 is_stmt 0 view .LVU299 1316 0000 10B5 push {r4, lr} 1317 .LCFI30: 1318 .cfi_def_cfa_offset 8 1319 .cfi_offset 4, -8 1320 .cfi_offset 14, -4 1321 0002 0446 mov r4, r0 697:Src/usbd_conf.c **** { 1322 .loc 1 697 3 is_stmt 1 view .LVU300 1323 0004 11B1 cbz r1, .L90 1324 0006 0129 cmp r1, #1 1325 0008 0FD0 beq .L91 1326 .LVL136: 1327 .L89: 722:Src/usbd_conf.c **** 1328 .loc 1 722 1 is_stmt 0 view .LVU301 1329 000a 10BD pop {r4, pc} 1330 .LVL137: 1331 .L90: 700:Src/usbd_conf.c **** { 1332 .loc 1 700 5 is_stmt 1 view .LVU302 700:Src/usbd_conf.c **** { 1333 .loc 1 700 19 is_stmt 0 view .LVU303 1334 000c 8369 ldr r3, [r0, #24] 700:Src/usbd_conf.c **** { 1335 .loc 1 700 8 view .LVU304 1336 000e 23B9 cbnz r3, .L95 1337 .LVL138: 1338 .L93: 707:Src/usbd_conf.c **** break; 1339 .loc 1 707 5 is_stmt 1 view .LVU305 1340 0010 D4F8F002 ldr r0, [r4, #752] 1341 0014 FFF7FEFF bl USBD_LL_Resume 1342 .LVL139: 708:Src/usbd_conf.c **** 1343 .loc 1 708 5 view .LVU306 1344 0018 F7E7 b .L89 1345 .LVL140: 1346 .L95: 702:Src/usbd_conf.c **** 1347 .loc 1 702 7 view .LVU307 1348 001a FFF7FEFF bl SystemClockConfig_Resume 1349 .LVL141: 705:Src/usbd_conf.c **** } 1350 .loc 1 705 7 view .LVU308 705:Src/usbd_conf.c **** } 1351 .loc 1 705 10 is_stmt 0 view .LVU309 1352 001e 094A ldr r2, .L96 1353 0020 1369 ldr r3, [r2, #16] 705:Src/usbd_conf.c **** } 1354 .loc 1 705 16 view .LVU310 1355 0022 23F00603 bic r3, r3, #6 ARM GAS /tmp/ccf5FGie.s page 43 1356 0026 1361 str r3, [r2, #16] 1357 0028 F2E7 b .L93 1358 .LVL142: 1359 .L91: 711:Src/usbd_conf.c **** 1360 .loc 1 711 5 is_stmt 1 view .LVU311 1361 002a D0F8F002 ldr r0, [r0, #752] 1362 .LVL143: 711:Src/usbd_conf.c **** 1363 .loc 1 711 5 is_stmt 0 view .LVU312 1364 002e FFF7FEFF bl USBD_LL_Suspend 1365 .LVL144: 714:Src/usbd_conf.c **** { 1366 .loc 1 714 5 is_stmt 1 view .LVU313 714:Src/usbd_conf.c **** { 1367 .loc 1 714 19 is_stmt 0 view .LVU314 1368 0032 A369 ldr r3, [r4, #24] 714:Src/usbd_conf.c **** { 1369 .loc 1 714 8 view .LVU315 1370 0034 002B cmp r3, #0 1371 0036 E8D0 beq .L89 717:Src/usbd_conf.c **** } 1372 .loc 1 717 7 is_stmt 1 view .LVU316 717:Src/usbd_conf.c **** } 1373 .loc 1 717 10 is_stmt 0 view .LVU317 1374 0038 024A ldr r2, .L96 1375 003a 1369 ldr r3, [r2, #16] 717:Src/usbd_conf.c **** } 1376 .loc 1 717 16 view .LVU318 1377 003c 43F00603 orr r3, r3, #6 1378 0040 1361 str r3, [r2, #16] 722:Src/usbd_conf.c **** 1379 .loc 1 722 1 view .LVU319 1380 0042 E2E7 b .L89 1381 .L97: 1382 .align 2 1383 .L96: 1384 0044 00ED00E0 .word -536810240 1385 .cfi_endproc 1386 .LFE360: 1388 .section .text.USBD_LL_Delay,"ax",%progbits 1389 .align 1 1390 .global USBD_LL_Delay 1391 .syntax unified 1392 .thumb 1393 .thumb_func 1395 USBD_LL_Delay: 1396 .LVL145: 1397 .LFB361: 730:Src/usbd_conf.c **** HAL_Delay(Delay); 1398 .loc 1 730 1 is_stmt 1 view -0 1399 .cfi_startproc 1400 @ args = 0, pretend = 0, frame = 0 1401 @ frame_needed = 0, uses_anonymous_args = 0 730:Src/usbd_conf.c **** HAL_Delay(Delay); 1402 .loc 1 730 1 is_stmt 0 view .LVU321 1403 0000 08B5 push {r3, lr} ARM GAS /tmp/ccf5FGie.s page 44 1404 .LCFI31: 1405 .cfi_def_cfa_offset 8 1406 .cfi_offset 3, -8 1407 .cfi_offset 14, -4 731:Src/usbd_conf.c **** } 1408 .loc 1 731 3 is_stmt 1 view .LVU322 1409 0002 FFF7FEFF bl HAL_Delay 1410 .LVL146: 732:Src/usbd_conf.c **** 1411 .loc 1 732 1 is_stmt 0 view .LVU323 1412 0006 08BD pop {r3, pc} 1413 .cfi_endproc 1414 .LFE361: 1416 .section .text.USBD_static_malloc,"ax",%progbits 1417 .align 1 1418 .global USBD_static_malloc 1419 .syntax unified 1420 .thumb 1421 .thumb_func 1423 USBD_static_malloc: 1424 .LVL147: 1425 .LFB362: 740:Src/usbd_conf.c **** static uint32_t mem[(sizeof(USBD_AUDIO_HandleTypeDef)/4)+1];/* On 32-bit boundary */ 1426 .loc 1 740 1 is_stmt 1 view -0 1427 .cfi_startproc 1428 @ args = 0, pretend = 0, frame = 0 1429 @ frame_needed = 0, uses_anonymous_args = 0 1430 @ link register save eliminated. 741:Src/usbd_conf.c **** return mem; 1431 .loc 1 741 3 view .LVU325 742:Src/usbd_conf.c **** } 1432 .loc 1 742 3 view .LVU326 743:Src/usbd_conf.c **** 1433 .loc 1 743 1 is_stmt 0 view .LVU327 1434 0000 0048 ldr r0, .L101 1435 .LVL148: 743:Src/usbd_conf.c **** 1436 .loc 1 743 1 view .LVU328 1437 0002 7047 bx lr 1438 .L102: 1439 .align 2 1440 .L101: 1441 0004 00000000 .word mem.0 1442 .cfi_endproc 1443 .LFE362: 1445 .section .text.USBD_static_free,"ax",%progbits 1446 .align 1 1447 .global USBD_static_free 1448 .syntax unified 1449 .thumb 1450 .thumb_func 1452 USBD_static_free: 1453 .LVL149: 1454 .LFB363: 751:Src/usbd_conf.c **** 1455 .loc 1 751 1 is_stmt 1 view -0 1456 .cfi_startproc ARM GAS /tmp/ccf5FGie.s page 45 1457 @ args = 0, pretend = 0, frame = 0 1458 @ frame_needed = 0, uses_anonymous_args = 0 1459 @ link register save eliminated. 753:Src/usbd_conf.c **** 1460 .loc 1 753 1 view .LVU330 1461 0000 7047 bx lr 1462 .cfi_endproc 1463 .LFE363: 1465 .section .bss.mem.0,"aw",%nobits 1466 .align 2 1469 mem.0: 1470 0000 00000000 .space 7124 1470 00000000 1470 00000000 1470 00000000 1470 00000000 1471 .global hpcd_USB_FS 1472 .section .bss.hpcd_USB_FS,"aw",%nobits 1473 .align 2 1476 hpcd_USB_FS: 1477 0000 00000000 .space 756 1477 00000000 1477 00000000 1477 00000000 1477 00000000 1478 .text 1479 .Letext0: 1480 .file 2 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h" 1481 .file 3 "/usr/lib/gcc/arm-none-eabi/12.2.1/include/stdint.h" 1482 .file 4 "Drivers/CMSIS/Include/core_cm4.h" 1483 .file 5 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h" 1484 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h" 1485 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_rcc_ex.h" 1486 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_usb.h" 1487 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_pcd.h" 1488 .file 10 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h" 1489 .file 11 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_pcd_ex.h" 1490 .file 12 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h" 1491 .file 13 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h" 1492 .file 14 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_cortex.h" 1493 .file 15 "" ARM GAS /tmp/ccf5FGie.s page 46 DEFINED SYMBOLS *ABS*:00000000 usbd_conf.c /tmp/ccf5FGie.s:21 .text.USBD_Get_USB_Status:00000000 $t /tmp/ccf5FGie.s:26 .text.USBD_Get_USB_Status:00000000 USBD_Get_USB_Status /tmp/ccf5FGie.s:40 .text.USBD_Get_USB_Status:00000008 $d /tmp/ccf5FGie.s:44 .text.USBD_Get_USB_Status:0000000c $t /tmp/ccf5FGie.s:67 .text.SystemClockConfig_Resume:00000000 $t /tmp/ccf5FGie.s:72 .text.SystemClockConfig_Resume:00000000 SystemClockConfig_Resume /tmp/ccf5FGie.s:92 .text.HAL_PCD_MspInit:00000000 $t /tmp/ccf5FGie.s:98 .text.HAL_PCD_MspInit:00000000 HAL_PCD_MspInit /tmp/ccf5FGie.s:192 .text.HAL_PCD_MspInit:00000058 $d /tmp/ccf5FGie.s:198 .text.HAL_PCD_MspDeInit:00000000 $t /tmp/ccf5FGie.s:204 .text.HAL_PCD_MspDeInit:00000000 HAL_PCD_MspDeInit /tmp/ccf5FGie.s:246 .text.HAL_PCD_MspDeInit:00000020 $d /tmp/ccf5FGie.s:252 .text.HAL_PCD_SetupStageCallback:00000000 $t /tmp/ccf5FGie.s:258 .text.HAL_PCD_SetupStageCallback:00000000 HAL_PCD_SetupStageCallback /tmp/ccf5FGie.s:284 .text.HAL_PCD_DataOutStageCallback:00000000 $t /tmp/ccf5FGie.s:290 .text.HAL_PCD_DataOutStageCallback:00000000 HAL_PCD_DataOutStageCallback /tmp/ccf5FGie.s:318 .text.HAL_PCD_DataInStageCallback:00000000 $t /tmp/ccf5FGie.s:324 .text.HAL_PCD_DataInStageCallback:00000000 HAL_PCD_DataInStageCallback /tmp/ccf5FGie.s:352 .text.HAL_PCD_SOFCallback:00000000 $t /tmp/ccf5FGie.s:358 .text.HAL_PCD_SOFCallback:00000000 HAL_PCD_SOFCallback /tmp/ccf5FGie.s:383 .text.HAL_PCD_ResetCallback:00000000 $t /tmp/ccf5FGie.s:389 .text.HAL_PCD_ResetCallback:00000000 HAL_PCD_ResetCallback /tmp/ccf5FGie.s:435 .text.HAL_PCD_SuspendCallback:00000000 $t /tmp/ccf5FGie.s:441 .text.HAL_PCD_SuspendCallback:00000000 HAL_PCD_SuspendCallback /tmp/ccf5FGie.s:481 .text.HAL_PCD_SuspendCallback:0000001c $d /tmp/ccf5FGie.s:486 .text.HAL_PCD_ResumeCallback:00000000 $t /tmp/ccf5FGie.s:492 .text.HAL_PCD_ResumeCallback:00000000 HAL_PCD_ResumeCallback /tmp/ccf5FGie.s:536 .text.HAL_PCD_ResumeCallback:00000024 $d /tmp/ccf5FGie.s:541 .text.HAL_PCD_ISOOUTIncompleteCallback:00000000 $t /tmp/ccf5FGie.s:547 .text.HAL_PCD_ISOOUTIncompleteCallback:00000000 HAL_PCD_ISOOUTIncompleteCallback /tmp/ccf5FGie.s:572 .text.HAL_PCD_ISOINIncompleteCallback:00000000 $t /tmp/ccf5FGie.s:578 .text.HAL_PCD_ISOINIncompleteCallback:00000000 HAL_PCD_ISOINIncompleteCallback /tmp/ccf5FGie.s:603 .text.HAL_PCD_ConnectCallback:00000000 $t /tmp/ccf5FGie.s:609 .text.HAL_PCD_ConnectCallback:00000000 HAL_PCD_ConnectCallback /tmp/ccf5FGie.s:634 .text.HAL_PCD_DisconnectCallback:00000000 $t /tmp/ccf5FGie.s:640 .text.HAL_PCD_DisconnectCallback:00000000 HAL_PCD_DisconnectCallback /tmp/ccf5FGie.s:665 .text.USBD_LL_Init:00000000 $t /tmp/ccf5FGie.s:671 .text.USBD_LL_Init:00000000 USBD_LL_Init /tmp/ccf5FGie.s:763 .text.USBD_LL_Init:00000060 $d /tmp/ccf5FGie.s:1476 .bss.hpcd_USB_FS:00000000 hpcd_USB_FS /tmp/ccf5FGie.s:770 .text.USBD_LL_DeInit:00000000 $t /tmp/ccf5FGie.s:776 .text.USBD_LL_DeInit:00000000 USBD_LL_DeInit /tmp/ccf5FGie.s:810 .text.USBD_LL_Start:00000000 $t /tmp/ccf5FGie.s:816 .text.USBD_LL_Start:00000000 USBD_LL_Start /tmp/ccf5FGie.s:850 .text.USBD_LL_Stop:00000000 $t /tmp/ccf5FGie.s:856 .text.USBD_LL_Stop:00000000 USBD_LL_Stop /tmp/ccf5FGie.s:890 .text.USBD_LL_OpenEP:00000000 $t /tmp/ccf5FGie.s:896 .text.USBD_LL_OpenEP:00000000 USBD_LL_OpenEP /tmp/ccf5FGie.s:935 .text.USBD_LL_CloseEP:00000000 $t /tmp/ccf5FGie.s:941 .text.USBD_LL_CloseEP:00000000 USBD_LL_CloseEP /tmp/ccf5FGie.s:975 .text.USBD_LL_FlushEP:00000000 $t /tmp/ccf5FGie.s:981 .text.USBD_LL_FlushEP:00000000 USBD_LL_FlushEP /tmp/ccf5FGie.s:1015 .text.USBD_LL_StallEP:00000000 $t /tmp/ccf5FGie.s:1021 .text.USBD_LL_StallEP:00000000 USBD_LL_StallEP /tmp/ccf5FGie.s:1055 .text.USBD_LL_ClearStallEP:00000000 $t ARM GAS /tmp/ccf5FGie.s page 47 /tmp/ccf5FGie.s:1061 .text.USBD_LL_ClearStallEP:00000000 USBD_LL_ClearStallEP /tmp/ccf5FGie.s:1095 .text.USBD_LL_IsStallEP:00000000 $t /tmp/ccf5FGie.s:1101 .text.USBD_LL_IsStallEP:00000000 USBD_LL_IsStallEP /tmp/ccf5FGie.s:1150 .text.USBD_LL_SetUSBAddress:00000000 $t /tmp/ccf5FGie.s:1156 .text.USBD_LL_SetUSBAddress:00000000 USBD_LL_SetUSBAddress /tmp/ccf5FGie.s:1190 .text.USBD_LL_Transmit:00000000 $t /tmp/ccf5FGie.s:1196 .text.USBD_LL_Transmit:00000000 USBD_LL_Transmit /tmp/ccf5FGie.s:1230 .text.USBD_LL_PrepareReceive:00000000 $t /tmp/ccf5FGie.s:1236 .text.USBD_LL_PrepareReceive:00000000 USBD_LL_PrepareReceive /tmp/ccf5FGie.s:1270 .text.USBD_LL_GetRxDataSize:00000000 $t /tmp/ccf5FGie.s:1276 .text.USBD_LL_GetRxDataSize:00000000 USBD_LL_GetRxDataSize /tmp/ccf5FGie.s:1302 .text.HAL_PCDEx_LPM_Callback:00000000 $t /tmp/ccf5FGie.s:1308 .text.HAL_PCDEx_LPM_Callback:00000000 HAL_PCDEx_LPM_Callback /tmp/ccf5FGie.s:1384 .text.HAL_PCDEx_LPM_Callback:00000044 $d /tmp/ccf5FGie.s:1389 .text.USBD_LL_Delay:00000000 $t /tmp/ccf5FGie.s:1395 .text.USBD_LL_Delay:00000000 USBD_LL_Delay /tmp/ccf5FGie.s:1417 .text.USBD_static_malloc:00000000 $t /tmp/ccf5FGie.s:1423 .text.USBD_static_malloc:00000000 USBD_static_malloc /tmp/ccf5FGie.s:1441 .text.USBD_static_malloc:00000004 $d /tmp/ccf5FGie.s:1469 .bss.mem.0:00000000 mem.0 /tmp/ccf5FGie.s:1446 .text.USBD_static_free:00000000 $t /tmp/ccf5FGie.s:1452 .text.USBD_static_free:00000000 USBD_static_free /tmp/ccf5FGie.s:1466 .bss.mem.0:00000000 $d /tmp/ccf5FGie.s:1473 .bss.hpcd_USB_FS:00000000 $d UNDEFINED SYMBOLS SystemClock_Config memset HAL_RCCEx_PeriphCLKConfig HAL_NVIC_SetPriority HAL_NVIC_EnableIRQ Error_Handler HAL_NVIC_DisableIRQ USBD_LL_SetupStage USBD_LL_DataOutStage USBD_LL_DataInStage USBD_LL_SOF USBD_LL_SetSpeed USBD_LL_Reset 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 ARM GAS /tmp/ccf5FGie.s page 48 HAL_PCD_EP_Receive HAL_PCD_EP_GetRxCount HAL_Delay