ARM GAS /tmp/cc7jaig2.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 "USB_DEVICE/Target/usbd_conf.c" 20 .section .text.HAL_PCD_MspInit,"ax",%progbits 21 .align 1 22 .global HAL_PCD_MspInit 23 .syntax unified 24 .thumb 25 .thumb_func 27 HAL_PCD_MspInit: 28 .LVL0: 29 .LFB243: 1:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN Header */ 2:USB_DEVICE/Target/usbd_conf.c **** /** 3:USB_DEVICE/Target/usbd_conf.c **** ****************************************************************************** 4:USB_DEVICE/Target/usbd_conf.c **** * @file : Target/usbd_conf.c 5:USB_DEVICE/Target/usbd_conf.c **** * @version : v1.0_Cube 6:USB_DEVICE/Target/usbd_conf.c **** * @brief : This file implements the board support package for the USB device library 7:USB_DEVICE/Target/usbd_conf.c **** ****************************************************************************** 8:USB_DEVICE/Target/usbd_conf.c **** * @attention 9:USB_DEVICE/Target/usbd_conf.c **** * 10:USB_DEVICE/Target/usbd_conf.c **** * Copyright (c) 2025 STMicroelectronics. 11:USB_DEVICE/Target/usbd_conf.c **** * All rights reserved. 12:USB_DEVICE/Target/usbd_conf.c **** * 13:USB_DEVICE/Target/usbd_conf.c **** * This software is licensed under terms that can be found in the LICENSE file 14:USB_DEVICE/Target/usbd_conf.c **** * in the root directory of this software component. 15:USB_DEVICE/Target/usbd_conf.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 16:USB_DEVICE/Target/usbd_conf.c **** * 17:USB_DEVICE/Target/usbd_conf.c **** ****************************************************************************** 18:USB_DEVICE/Target/usbd_conf.c **** */ 19:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END Header */ 20:USB_DEVICE/Target/usbd_conf.c **** 21:USB_DEVICE/Target/usbd_conf.c **** /* Includes ------------------------------------------------------------------*/ 22:USB_DEVICE/Target/usbd_conf.c **** #include "stm32f4xx.h" 23:USB_DEVICE/Target/usbd_conf.c **** #include "stm32f4xx_hal.h" 24:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_def.h" 25:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_core.h" 26:USB_DEVICE/Target/usbd_conf.c **** 27:USB_DEVICE/Target/usbd_conf.c **** #include "usbd_cdc.h" 28:USB_DEVICE/Target/usbd_conf.c **** 29:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN Includes */ ARM GAS /tmp/cc7jaig2.s page 2 30:USB_DEVICE/Target/usbd_conf.c **** 31:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END Includes */ 32:USB_DEVICE/Target/usbd_conf.c **** 33:USB_DEVICE/Target/usbd_conf.c **** /* Private typedef -----------------------------------------------------------*/ 34:USB_DEVICE/Target/usbd_conf.c **** /* Private define ------------------------------------------------------------*/ 35:USB_DEVICE/Target/usbd_conf.c **** /* Private macro -------------------------------------------------------------*/ 36:USB_DEVICE/Target/usbd_conf.c **** 37:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN PV */ 38:USB_DEVICE/Target/usbd_conf.c **** /* Private variables ---------------------------------------------------------*/ 39:USB_DEVICE/Target/usbd_conf.c **** 40:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END PV */ 41:USB_DEVICE/Target/usbd_conf.c **** 42:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef hpcd_USB_OTG_FS; 43:USB_DEVICE/Target/usbd_conf.c **** void Error_Handler(void); 44:USB_DEVICE/Target/usbd_conf.c **** 45:USB_DEVICE/Target/usbd_conf.c **** /* External functions --------------------------------------------------------*/ 46:USB_DEVICE/Target/usbd_conf.c **** void SystemClock_Config(void); 47:USB_DEVICE/Target/usbd_conf.c **** 48:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 0 */ 49:USB_DEVICE/Target/usbd_conf.c **** 50:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 0 */ 51:USB_DEVICE/Target/usbd_conf.c **** 52:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN PFP */ 53:USB_DEVICE/Target/usbd_conf.c **** /* Private function prototypes -----------------------------------------------*/ 54:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status); 55:USB_DEVICE/Target/usbd_conf.c **** 56:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END PFP */ 57:USB_DEVICE/Target/usbd_conf.c **** 58:USB_DEVICE/Target/usbd_conf.c **** /* Private functions ---------------------------------------------------------*/ 59:USB_DEVICE/Target/usbd_conf.c **** 60:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 1 */ 61:USB_DEVICE/Target/usbd_conf.c **** 62:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 1 */ 63:USB_DEVICE/Target/usbd_conf.c **** 64:USB_DEVICE/Target/usbd_conf.c **** /******************************************************************************* 65:USB_DEVICE/Target/usbd_conf.c **** LL Driver Callbacks (PCD -> USB Device Library) 66:USB_DEVICE/Target/usbd_conf.c **** *******************************************************************************/ 67:USB_DEVICE/Target/usbd_conf.c **** /* MSP Init */ 68:USB_DEVICE/Target/usbd_conf.c **** 69:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) 70:USB_DEVICE/Target/usbd_conf.c **** { 30 .loc 1 70 1 view -0 31 .cfi_startproc 32 @ args = 0, pretend = 0, frame = 32 33 @ frame_needed = 0, uses_anonymous_args = 0 34 .loc 1 70 1 is_stmt 0 view .LVU1 35 0000 30B5 push {r4, r5, lr} 36 .LCFI0: 37 .cfi_def_cfa_offset 12 38 .cfi_offset 4, -12 39 .cfi_offset 5, -8 40 .cfi_offset 14, -4 41 0002 89B0 sub sp, sp, #36 42 .LCFI1: 43 .cfi_def_cfa_offset 48 71:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitTypeDef GPIO_InitStruct = {0}; 44 .loc 1 71 3 is_stmt 1 view .LVU2 ARM GAS /tmp/cc7jaig2.s page 3 45 .loc 1 71 20 is_stmt 0 view .LVU3 46 0004 0023 movs r3, #0 47 0006 0393 str r3, [sp, #12] 48 0008 0493 str r3, [sp, #16] 49 000a 0593 str r3, [sp, #20] 50 000c 0693 str r3, [sp, #24] 51 000e 0793 str r3, [sp, #28] 72:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB_OTG_FS) 52 .loc 1 72 3 is_stmt 1 view .LVU4 53 .loc 1 72 15 is_stmt 0 view .LVU5 54 0010 0368 ldr r3, [r0] 55 .loc 1 72 5 view .LVU6 56 0012 B3F1A04F cmp r3, #1342177280 57 0016 01D0 beq .L4 58 .LVL1: 59 .L1: 73:USB_DEVICE/Target/usbd_conf.c **** { 74:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_OTG_FS_MspInit 0 */ 75:USB_DEVICE/Target/usbd_conf.c **** 76:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_OTG_FS_MspInit 0 */ 77:USB_DEVICE/Target/usbd_conf.c **** 78:USB_DEVICE/Target/usbd_conf.c **** __HAL_RCC_GPIOA_CLK_ENABLE(); 79:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 80:USB_DEVICE/Target/usbd_conf.c **** PA11 ------> USB_OTG_FS_DM 81:USB_DEVICE/Target/usbd_conf.c **** PA12 ------> USB_OTG_FS_DP 82:USB_DEVICE/Target/usbd_conf.c **** */ 83:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12; 84:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; 85:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Pull = GPIO_NOPULL; 86:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; 87:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS; 88:USB_DEVICE/Target/usbd_conf.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); 89:USB_DEVICE/Target/usbd_conf.c **** 90:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral clock enable */ 91:USB_DEVICE/Target/usbd_conf.c **** __HAL_RCC_USB_OTG_FS_CLK_ENABLE(); 92:USB_DEVICE/Target/usbd_conf.c **** 93:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral interrupt init */ 94:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_SetPriority(OTG_FS_IRQn, 0, 0); 95:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(OTG_FS_IRQn); 96:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_OTG_FS_MspInit 1 */ 97:USB_DEVICE/Target/usbd_conf.c **** 98:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_OTG_FS_MspInit 1 */ 99:USB_DEVICE/Target/usbd_conf.c **** } 100:USB_DEVICE/Target/usbd_conf.c **** } 60 .loc 1 100 1 view .LVU7 61 0018 09B0 add sp, sp, #36 62 .LCFI2: 63 .cfi_remember_state 64 .cfi_def_cfa_offset 12 65 @ sp needed 66 001a 30BD pop {r4, r5, pc} 67 .LVL2: 68 .L4: 69 .LCFI3: 70 .cfi_restore_state 78:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 71 .loc 1 78 5 is_stmt 1 view .LVU8 ARM GAS /tmp/cc7jaig2.s page 4 72 .LBB2: 78:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 73 .loc 1 78 5 view .LVU9 74 001c 0025 movs r5, #0 75 001e 0195 str r5, [sp, #4] 78:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 76 .loc 1 78 5 view .LVU10 77 0020 164C ldr r4, .L5 78 0022 236B ldr r3, [r4, #48] 79 0024 43F00103 orr r3, r3, #1 80 0028 2363 str r3, [r4, #48] 78:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 81 .loc 1 78 5 view .LVU11 82 002a 236B ldr r3, [r4, #48] 83 002c 03F00103 and r3, r3, #1 84 0030 0193 str r3, [sp, #4] 78:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 85 .loc 1 78 5 view .LVU12 86 0032 019B ldr r3, [sp, #4] 87 .LBE2: 78:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 88 .loc 1 78 5 view .LVU13 83:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; 89 .loc 1 83 5 view .LVU14 83:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; 90 .loc 1 83 25 is_stmt 0 view .LVU15 91 0034 4FF4C053 mov r3, #6144 92 0038 0393 str r3, [sp, #12] 84:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Pull = GPIO_NOPULL; 93 .loc 1 84 5 is_stmt 1 view .LVU16 84:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Pull = GPIO_NOPULL; 94 .loc 1 84 26 is_stmt 0 view .LVU17 95 003a 0223 movs r3, #2 96 003c 0493 str r3, [sp, #16] 85:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; 97 .loc 1 85 5 is_stmt 1 view .LVU18 86:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS; 98 .loc 1 86 5 view .LVU19 86:USB_DEVICE/Target/usbd_conf.c **** GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS; 99 .loc 1 86 27 is_stmt 0 view .LVU20 100 003e 0323 movs r3, #3 101 0040 0693 str r3, [sp, #24] 87:USB_DEVICE/Target/usbd_conf.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); 102 .loc 1 87 5 is_stmt 1 view .LVU21 87:USB_DEVICE/Target/usbd_conf.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); 103 .loc 1 87 31 is_stmt 0 view .LVU22 104 0042 0A23 movs r3, #10 105 0044 0793 str r3, [sp, #28] 88:USB_DEVICE/Target/usbd_conf.c **** 106 .loc 1 88 5 is_stmt 1 view .LVU23 107 0046 03A9 add r1, sp, #12 108 0048 0D48 ldr r0, .L5+4 109 .LVL3: 88:USB_DEVICE/Target/usbd_conf.c **** 110 .loc 1 88 5 is_stmt 0 view .LVU24 111 004a FFF7FEFF bl HAL_GPIO_Init 112 .LVL4: ARM GAS /tmp/cc7jaig2.s page 5 91:USB_DEVICE/Target/usbd_conf.c **** 113 .loc 1 91 5 is_stmt 1 view .LVU25 91:USB_DEVICE/Target/usbd_conf.c **** 114 .loc 1 91 5 view .LVU26 115 004e 636B ldr r3, [r4, #52] 116 0050 43F08003 orr r3, r3, #128 117 0054 6363 str r3, [r4, #52] 91:USB_DEVICE/Target/usbd_conf.c **** 118 .loc 1 91 5 view .LVU27 119 .LBB3: 91:USB_DEVICE/Target/usbd_conf.c **** 120 .loc 1 91 5 view .LVU28 121 0056 0295 str r5, [sp, #8] 91:USB_DEVICE/Target/usbd_conf.c **** 122 .loc 1 91 5 view .LVU29 123 0058 636C ldr r3, [r4, #68] 124 005a 43F48043 orr r3, r3, #16384 125 005e 6364 str r3, [r4, #68] 91:USB_DEVICE/Target/usbd_conf.c **** 126 .loc 1 91 5 view .LVU30 127 0060 636C ldr r3, [r4, #68] 128 0062 03F48043 and r3, r3, #16384 129 0066 0293 str r3, [sp, #8] 91:USB_DEVICE/Target/usbd_conf.c **** 130 .loc 1 91 5 view .LVU31 131 0068 029B ldr r3, [sp, #8] 132 .LBE3: 91:USB_DEVICE/Target/usbd_conf.c **** 133 .loc 1 91 5 view .LVU32 91:USB_DEVICE/Target/usbd_conf.c **** 134 .loc 1 91 5 view .LVU33 94:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_EnableIRQ(OTG_FS_IRQn); 135 .loc 1 94 5 view .LVU34 136 006a 2A46 mov r2, r5 137 006c 2946 mov r1, r5 138 006e 4320 movs r0, #67 139 0070 FFF7FEFF bl HAL_NVIC_SetPriority 140 .LVL5: 95:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_OTG_FS_MspInit 1 */ 141 .loc 1 95 5 view .LVU35 142 0074 4320 movs r0, #67 143 0076 FFF7FEFF bl HAL_NVIC_EnableIRQ 144 .LVL6: 145 .loc 1 100 1 is_stmt 0 view .LVU36 146 007a CDE7 b .L1 147 .L6: 148 .align 2 149 .L5: 150 007c 00380240 .word 1073887232 151 0080 00000240 .word 1073872896 152 .cfi_endproc 153 .LFE243: 155 .section .text.HAL_PCD_MspDeInit,"ax",%progbits 156 .align 1 157 .global HAL_PCD_MspDeInit 158 .syntax unified 159 .thumb ARM GAS /tmp/cc7jaig2.s page 6 160 .thumb_func 162 HAL_PCD_MspDeInit: 163 .LVL7: 164 .LFB244: 101:USB_DEVICE/Target/usbd_conf.c **** 102:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_MspDeInit(PCD_HandleTypeDef* pcdHandle) 103:USB_DEVICE/Target/usbd_conf.c **** { 165 .loc 1 103 1 is_stmt 1 view -0 166 .cfi_startproc 167 @ args = 0, pretend = 0, frame = 0 168 @ frame_needed = 0, uses_anonymous_args = 0 169 .loc 1 103 1 is_stmt 0 view .LVU38 170 0000 08B5 push {r3, lr} 171 .LCFI4: 172 .cfi_def_cfa_offset 8 173 .cfi_offset 3, -8 174 .cfi_offset 14, -4 104:USB_DEVICE/Target/usbd_conf.c **** if(pcdHandle->Instance==USB_OTG_FS) 175 .loc 1 104 3 is_stmt 1 view .LVU39 176 .loc 1 104 15 is_stmt 0 view .LVU40 177 0002 0368 ldr r3, [r0] 178 .loc 1 104 5 view .LVU41 179 0004 B3F1A04F cmp r3, #1342177280 180 0008 00D0 beq .L10 181 .LVL8: 182 .L7: 105:USB_DEVICE/Target/usbd_conf.c **** { 106:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_OTG_FS_MspDeInit 0 */ 107:USB_DEVICE/Target/usbd_conf.c **** 108:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_OTG_FS_MspDeInit 0 */ 109:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral clock disable */ 110:USB_DEVICE/Target/usbd_conf.c **** __HAL_RCC_USB_OTG_FS_CLK_DISABLE(); 111:USB_DEVICE/Target/usbd_conf.c **** 112:USB_DEVICE/Target/usbd_conf.c **** /**USB_OTG_FS GPIO Configuration 113:USB_DEVICE/Target/usbd_conf.c **** PA11 ------> USB_OTG_FS_DM 114:USB_DEVICE/Target/usbd_conf.c **** PA12 ------> USB_OTG_FS_DP 115:USB_DEVICE/Target/usbd_conf.c **** */ 116:USB_DEVICE/Target/usbd_conf.c **** HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12); 117:USB_DEVICE/Target/usbd_conf.c **** 118:USB_DEVICE/Target/usbd_conf.c **** /* Peripheral interrupt Deinit*/ 119:USB_DEVICE/Target/usbd_conf.c **** HAL_NVIC_DisableIRQ(OTG_FS_IRQn); 120:USB_DEVICE/Target/usbd_conf.c **** 121:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN USB_OTG_FS_MspDeInit 1 */ 122:USB_DEVICE/Target/usbd_conf.c **** 123:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END USB_OTG_FS_MspDeInit 1 */ 124:USB_DEVICE/Target/usbd_conf.c **** } 125:USB_DEVICE/Target/usbd_conf.c **** } 183 .loc 1 125 1 view .LVU42 184 000a 08BD pop {r3, pc} 185 .LVL9: 186 .L10: 110:USB_DEVICE/Target/usbd_conf.c **** 187 .loc 1 110 5 is_stmt 1 view .LVU43 188 000c 064A ldr r2, .L11 189 000e 536B ldr r3, [r2, #52] 190 0010 23F08003 bic r3, r3, #128 191 0014 5363 str r3, [r2, #52] ARM GAS /tmp/cc7jaig2.s page 7 116:USB_DEVICE/Target/usbd_conf.c **** 192 .loc 1 116 5 view .LVU44 193 0016 4FF4C051 mov r1, #6144 194 001a 0448 ldr r0, .L11+4 195 .LVL10: 116:USB_DEVICE/Target/usbd_conf.c **** 196 .loc 1 116 5 is_stmt 0 view .LVU45 197 001c FFF7FEFF bl HAL_GPIO_DeInit 198 .LVL11: 119:USB_DEVICE/Target/usbd_conf.c **** 199 .loc 1 119 5 is_stmt 1 view .LVU46 200 0020 4320 movs r0, #67 201 0022 FFF7FEFF bl HAL_NVIC_DisableIRQ 202 .LVL12: 203 .loc 1 125 1 is_stmt 0 view .LVU47 204 0026 F0E7 b .L7 205 .L12: 206 .align 2 207 .L11: 208 0028 00380240 .word 1073887232 209 002c 00000240 .word 1073872896 210 .cfi_endproc 211 .LFE244: 213 .section .text.HAL_PCD_SetupStageCallback,"ax",%progbits 214 .align 1 215 .global HAL_PCD_SetupStageCallback 216 .syntax unified 217 .thumb 218 .thumb_func 220 HAL_PCD_SetupStageCallback: 221 .LVL13: 222 .LFB245: 126:USB_DEVICE/Target/usbd_conf.c **** 127:USB_DEVICE/Target/usbd_conf.c **** /** 128:USB_DEVICE/Target/usbd_conf.c **** * @brief Setup stage callback 129:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 130:USB_DEVICE/Target/usbd_conf.c **** * @retval None 131:USB_DEVICE/Target/usbd_conf.c **** */ 132:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 133:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) 134:USB_DEVICE/Target/usbd_conf.c **** #else 135:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) 136:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 137:USB_DEVICE/Target/usbd_conf.c **** { 223 .loc 1 137 1 is_stmt 1 view -0 224 .cfi_startproc 225 @ args = 0, pretend = 0, frame = 0 226 @ frame_needed = 0, uses_anonymous_args = 0 227 .loc 1 137 1 is_stmt 0 view .LVU49 228 0000 08B5 push {r3, lr} 229 .LCFI5: 230 .cfi_def_cfa_offset 8 231 .cfi_offset 3, -8 232 .cfi_offset 14, -4 138:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup); 233 .loc 1 138 3 is_stmt 1 view .LVU50 234 0002 00F29C41 addw r1, r0, #1180 ARM GAS /tmp/cc7jaig2.s page 8 235 0006 D0F8E004 ldr r0, [r0, #1248] 236 .LVL14: 237 .loc 1 138 3 is_stmt 0 view .LVU51 238 000a FFF7FEFF bl USBD_LL_SetupStage 239 .LVL15: 139:USB_DEVICE/Target/usbd_conf.c **** } 240 .loc 1 139 1 view .LVU52 241 000e 08BD pop {r3, pc} 242 .cfi_endproc 243 .LFE245: 245 .section .text.HAL_PCD_DataOutStageCallback,"ax",%progbits 246 .align 1 247 .global HAL_PCD_DataOutStageCallback 248 .syntax unified 249 .thumb 250 .thumb_func 252 HAL_PCD_DataOutStageCallback: 253 .LVL16: 254 .LFB246: 140:USB_DEVICE/Target/usbd_conf.c **** 141:USB_DEVICE/Target/usbd_conf.c **** /** 142:USB_DEVICE/Target/usbd_conf.c **** * @brief Data Out stage callback. 143:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 144:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 145:USB_DEVICE/Target/usbd_conf.c **** * @retval None 146:USB_DEVICE/Target/usbd_conf.c **** */ 147:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 148:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 149:USB_DEVICE/Target/usbd_conf.c **** #else 150:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 151:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 152:USB_DEVICE/Target/usbd_conf.c **** { 255 .loc 1 152 1 is_stmt 1 view -0 256 .cfi_startproc 257 @ args = 0, pretend = 0, frame = 0 258 @ frame_needed = 0, uses_anonymous_args = 0 259 .loc 1 152 1 is_stmt 0 view .LVU54 260 0000 08B5 push {r3, lr} 261 .LCFI6: 262 .cfi_def_cfa_offset 8 263 .cfi_offset 3, -8 264 .cfi_offset 14, -4 153:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff); 265 .loc 1 153 3 is_stmt 1 view .LVU55 266 0002 01EBC103 add r3, r1, r1, lsl #3 267 0006 00EB8303 add r3, r0, r3, lsl #2 268 000a D3F86022 ldr r2, [r3, #608] 269 000e D0F8E004 ldr r0, [r0, #1248] 270 .LVL17: 271 .loc 1 153 3 is_stmt 0 view .LVU56 272 0012 FFF7FEFF bl USBD_LL_DataOutStage 273 .LVL18: 154:USB_DEVICE/Target/usbd_conf.c **** } 274 .loc 1 154 1 view .LVU57 275 0016 08BD pop {r3, pc} 276 .cfi_endproc 277 .LFE246: ARM GAS /tmp/cc7jaig2.s page 9 279 .section .text.HAL_PCD_DataInStageCallback,"ax",%progbits 280 .align 1 281 .global HAL_PCD_DataInStageCallback 282 .syntax unified 283 .thumb 284 .thumb_func 286 HAL_PCD_DataInStageCallback: 287 .LVL19: 288 .LFB247: 155:USB_DEVICE/Target/usbd_conf.c **** 156:USB_DEVICE/Target/usbd_conf.c **** /** 157:USB_DEVICE/Target/usbd_conf.c **** * @brief Data In stage callback. 158:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 159:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 160:USB_DEVICE/Target/usbd_conf.c **** * @retval None 161:USB_DEVICE/Target/usbd_conf.c **** */ 162:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 163:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 164:USB_DEVICE/Target/usbd_conf.c **** #else 165:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 166:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 167:USB_DEVICE/Target/usbd_conf.c **** { 289 .loc 1 167 1 is_stmt 1 view -0 290 .cfi_startproc 291 @ args = 0, pretend = 0, frame = 0 292 @ frame_needed = 0, uses_anonymous_args = 0 293 .loc 1 167 1 is_stmt 0 view .LVU59 294 0000 08B5 push {r3, lr} 295 .LCFI7: 296 .cfi_def_cfa_offset 8 297 .cfi_offset 3, -8 298 .cfi_offset 14, -4 168:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff); 299 .loc 1 168 3 is_stmt 1 view .LVU60 300 0002 01EBC103 add r3, r1, r1, lsl #3 301 0006 00EB8303 add r3, r0, r3, lsl #2 302 000a 1A6A ldr r2, [r3, #32] 303 000c D0F8E004 ldr r0, [r0, #1248] 304 .LVL20: 305 .loc 1 168 3 is_stmt 0 view .LVU61 306 0010 FFF7FEFF bl USBD_LL_DataInStage 307 .LVL21: 169:USB_DEVICE/Target/usbd_conf.c **** } 308 .loc 1 169 1 view .LVU62 309 0014 08BD pop {r3, pc} 310 .cfi_endproc 311 .LFE247: 313 .section .text.HAL_PCD_SOFCallback,"ax",%progbits 314 .align 1 315 .global HAL_PCD_SOFCallback 316 .syntax unified 317 .thumb 318 .thumb_func 320 HAL_PCD_SOFCallback: 321 .LVL22: 322 .LFB248: 170:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/cc7jaig2.s page 10 171:USB_DEVICE/Target/usbd_conf.c **** /** 172:USB_DEVICE/Target/usbd_conf.c **** * @brief SOF callback. 173:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 174:USB_DEVICE/Target/usbd_conf.c **** * @retval None 175:USB_DEVICE/Target/usbd_conf.c **** */ 176:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 177:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SOFCallback(PCD_HandleTypeDef *hpcd) 178:USB_DEVICE/Target/usbd_conf.c **** #else 179:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) 180:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 181:USB_DEVICE/Target/usbd_conf.c **** { 323 .loc 1 181 1 is_stmt 1 view -0 324 .cfi_startproc 325 @ args = 0, pretend = 0, frame = 0 326 @ frame_needed = 0, uses_anonymous_args = 0 327 .loc 1 181 1 is_stmt 0 view .LVU64 328 0000 08B5 push {r3, lr} 329 .LCFI8: 330 .cfi_def_cfa_offset 8 331 .cfi_offset 3, -8 332 .cfi_offset 14, -4 182:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData); 333 .loc 1 182 3 is_stmt 1 view .LVU65 334 0002 D0F8E004 ldr r0, [r0, #1248] 335 .LVL23: 336 .loc 1 182 3 is_stmt 0 view .LVU66 337 0006 FFF7FEFF bl USBD_LL_SOF 338 .LVL24: 183:USB_DEVICE/Target/usbd_conf.c **** } 339 .loc 1 183 1 view .LVU67 340 000a 08BD pop {r3, pc} 341 .cfi_endproc 342 .LFE248: 344 .section .text.HAL_PCD_ResetCallback,"ax",%progbits 345 .align 1 346 .global HAL_PCD_ResetCallback 347 .syntax unified 348 .thumb 349 .thumb_func 351 HAL_PCD_ResetCallback: 352 .LVL25: 353 .LFB249: 184:USB_DEVICE/Target/usbd_conf.c **** 185:USB_DEVICE/Target/usbd_conf.c **** /** 186:USB_DEVICE/Target/usbd_conf.c **** * @brief Reset callback. 187:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 188:USB_DEVICE/Target/usbd_conf.c **** * @retval None 189:USB_DEVICE/Target/usbd_conf.c **** */ 190:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 191:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ResetCallback(PCD_HandleTypeDef *hpcd) 192:USB_DEVICE/Target/usbd_conf.c **** #else 193:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd) 194:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 195:USB_DEVICE/Target/usbd_conf.c **** { 354 .loc 1 195 1 is_stmt 1 view -0 355 .cfi_startproc 356 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/cc7jaig2.s page 11 357 @ frame_needed = 0, uses_anonymous_args = 0 358 .loc 1 195 1 is_stmt 0 view .LVU69 359 0000 10B5 push {r4, lr} 360 .LCFI9: 361 .cfi_def_cfa_offset 8 362 .cfi_offset 4, -8 363 .cfi_offset 14, -4 364 0002 0446 mov r4, r0 196:USB_DEVICE/Target/usbd_conf.c **** USBD_SpeedTypeDef speed = USBD_SPEED_FULL; 365 .loc 1 196 3 is_stmt 1 view .LVU70 366 .LVL26: 197:USB_DEVICE/Target/usbd_conf.c **** 198:USB_DEVICE/Target/usbd_conf.c **** if ( hpcd->Init.speed == PCD_SPEED_HIGH) 367 .loc 1 198 3 view .LVU71 368 .loc 1 198 18 is_stmt 0 view .LVU72 369 0004 C179 ldrb r1, [r0, #7] @ zero_extendqisi2 370 .loc 1 198 6 view .LVU73 371 0006 11B1 cbz r1, .L22 199:USB_DEVICE/Target/usbd_conf.c **** { 200:USB_DEVICE/Target/usbd_conf.c **** speed = USBD_SPEED_HIGH; 201:USB_DEVICE/Target/usbd_conf.c **** } 202:USB_DEVICE/Target/usbd_conf.c **** else if ( hpcd->Init.speed == PCD_SPEED_FULL) 372 .loc 1 202 8 is_stmt 1 view .LVU74 373 .loc 1 202 11 is_stmt 0 view .LVU75 374 0008 0229 cmp r1, #2 375 000a 09D1 bne .L25 203:USB_DEVICE/Target/usbd_conf.c **** { 204:USB_DEVICE/Target/usbd_conf.c **** speed = USBD_SPEED_FULL; 376 .loc 1 204 11 view .LVU76 377 000c 0121 movs r1, #1 378 .LVL27: 379 .L22: 205:USB_DEVICE/Target/usbd_conf.c **** } 206:USB_DEVICE/Target/usbd_conf.c **** else 207:USB_DEVICE/Target/usbd_conf.c **** { 208:USB_DEVICE/Target/usbd_conf.c **** Error_Handler(); 209:USB_DEVICE/Target/usbd_conf.c **** } 210:USB_DEVICE/Target/usbd_conf.c **** /* Set Speed. */ 211:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_SetSpeed((USBD_HandleTypeDef*)hpcd->pData, speed); 380 .loc 1 211 3 is_stmt 1 view .LVU77 381 000e D4F8E004 ldr r0, [r4, #1248] 382 0012 FFF7FEFF bl USBD_LL_SetSpeed 383 .LVL28: 212:USB_DEVICE/Target/usbd_conf.c **** 213:USB_DEVICE/Target/usbd_conf.c **** /* Reset Device. */ 214:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Reset((USBD_HandleTypeDef*)hpcd->pData); 384 .loc 1 214 3 view .LVU78 385 0016 D4F8E004 ldr r0, [r4, #1248] 386 001a FFF7FEFF bl USBD_LL_Reset 387 .LVL29: 215:USB_DEVICE/Target/usbd_conf.c **** } 388 .loc 1 215 1 is_stmt 0 view .LVU79 389 001e 10BD pop {r4, pc} 390 .LVL30: 391 .L25: 208:USB_DEVICE/Target/usbd_conf.c **** } 392 .loc 1 208 5 is_stmt 1 view .LVU80 ARM GAS /tmp/cc7jaig2.s page 12 393 0020 FFF7FEFF bl Error_Handler 394 .LVL31: 196:USB_DEVICE/Target/usbd_conf.c **** 395 .loc 1 196 21 is_stmt 0 view .LVU81 396 0024 0121 movs r1, #1 397 0026 F2E7 b .L22 398 .cfi_endproc 399 .LFE249: 401 .section .text.HAL_PCD_SuspendCallback,"ax",%progbits 402 .align 1 403 .global HAL_PCD_SuspendCallback 404 .syntax unified 405 .thumb 406 .thumb_func 408 HAL_PCD_SuspendCallback: 409 .LVL32: 410 .LFB250: 216:USB_DEVICE/Target/usbd_conf.c **** 217:USB_DEVICE/Target/usbd_conf.c **** /** 218:USB_DEVICE/Target/usbd_conf.c **** * @brief Suspend callback. 219:USB_DEVICE/Target/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it) 220:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 221:USB_DEVICE/Target/usbd_conf.c **** * @retval None 222:USB_DEVICE/Target/usbd_conf.c **** */ 223:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 224:USB_DEVICE/Target/usbd_conf.c **** static void PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) 225:USB_DEVICE/Target/usbd_conf.c **** #else 226:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) 227:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 228:USB_DEVICE/Target/usbd_conf.c **** { 411 .loc 1 228 1 is_stmt 1 view -0 412 .cfi_startproc 413 @ args = 0, pretend = 0, frame = 0 414 @ frame_needed = 0, uses_anonymous_args = 0 415 .loc 1 228 1 is_stmt 0 view .LVU83 416 0000 10B5 push {r4, lr} 417 .LCFI10: 418 .cfi_def_cfa_offset 8 419 .cfi_offset 4, -8 420 .cfi_offset 14, -4 421 0002 0446 mov r4, r0 229:USB_DEVICE/Target/usbd_conf.c **** /* Inform USB library that core enters in suspend Mode. */ 230:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Suspend((USBD_HandleTypeDef*)hpcd->pData); 422 .loc 1 230 3 is_stmt 1 view .LVU84 423 0004 D0F8E004 ldr r0, [r0, #1248] 424 .LVL33: 425 .loc 1 230 3 is_stmt 0 view .LVU85 426 0008 FFF7FEFF bl USBD_LL_Suspend 427 .LVL34: 231:USB_DEVICE/Target/usbd_conf.c **** __HAL_PCD_GATE_PHYCLOCK(hpcd); 428 .loc 1 231 3 is_stmt 1 view .LVU86 429 000c 2268 ldr r2, [r4] 430 000e D2F8003E ldr r3, [r2, #3584] 431 0012 43F00103 orr r3, r3, #1 432 0016 C2F8003E str r3, [r2, #3584] 232:USB_DEVICE/Target/usbd_conf.c **** /* Enter in STOP mode. */ 233:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 2 */ ARM GAS /tmp/cc7jaig2.s page 13 234:USB_DEVICE/Target/usbd_conf.c **** if (hpcd->Init.low_power_enable) 433 .loc 1 234 3 view .LVU87 434 .loc 1 234 17 is_stmt 0 view .LVU88 435 001a E37A ldrb r3, [r4, #11] @ zero_extendqisi2 436 .loc 1 234 6 view .LVU89 437 001c 23B1 cbz r3, .L26 235:USB_DEVICE/Target/usbd_conf.c **** { 236:USB_DEVICE/Target/usbd_conf.c **** /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */ 237:USB_DEVICE/Target/usbd_conf.c **** SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); 438 .loc 1 237 5 is_stmt 1 view .LVU90 439 .loc 1 237 8 is_stmt 0 view .LVU91 440 001e 034A ldr r2, .L29 441 0020 1369 ldr r3, [r2, #16] 442 .loc 1 237 14 view .LVU92 443 0022 43F00603 orr r3, r3, #6 444 0026 1361 str r3, [r2, #16] 445 .L26: 238:USB_DEVICE/Target/usbd_conf.c **** } 239:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 2 */ 240:USB_DEVICE/Target/usbd_conf.c **** } 446 .loc 1 240 1 view .LVU93 447 0028 10BD pop {r4, pc} 448 .LVL35: 449 .L30: 450 .loc 1 240 1 view .LVU94 451 002a 00BF .align 2 452 .L29: 453 002c 00ED00E0 .word -536810240 454 .cfi_endproc 455 .LFE250: 457 .section .text.HAL_PCD_ResumeCallback,"ax",%progbits 458 .align 1 459 .global HAL_PCD_ResumeCallback 460 .syntax unified 461 .thumb 462 .thumb_func 464 HAL_PCD_ResumeCallback: 465 .LVL36: 466 .LFB251: 241:USB_DEVICE/Target/usbd_conf.c **** 242:USB_DEVICE/Target/usbd_conf.c **** /** 243:USB_DEVICE/Target/usbd_conf.c **** * @brief Resume callback. 244:USB_DEVICE/Target/usbd_conf.c **** * When Low power mode is enabled the debug cannot be used (IAR, Keil doesn't support it) 245:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 246:USB_DEVICE/Target/usbd_conf.c **** * @retval None 247:USB_DEVICE/Target/usbd_conf.c **** */ 248:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 249:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) 250:USB_DEVICE/Target/usbd_conf.c **** #else 251:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) 252:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 253:USB_DEVICE/Target/usbd_conf.c **** { 467 .loc 1 253 1 is_stmt 1 view -0 468 .cfi_startproc 469 @ args = 0, pretend = 0, frame = 0 470 @ frame_needed = 0, uses_anonymous_args = 0 471 .loc 1 253 1 is_stmt 0 view .LVU96 ARM GAS /tmp/cc7jaig2.s page 14 472 0000 08B5 push {r3, lr} 473 .LCFI11: 474 .cfi_def_cfa_offset 8 475 .cfi_offset 3, -8 476 .cfi_offset 14, -4 254:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE BEGIN 3 */ 255:USB_DEVICE/Target/usbd_conf.c **** 256:USB_DEVICE/Target/usbd_conf.c **** /* USER CODE END 3 */ 257:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_Resume((USBD_HandleTypeDef*)hpcd->pData); 477 .loc 1 257 3 is_stmt 1 view .LVU97 478 0002 D0F8E004 ldr r0, [r0, #1248] 479 .LVL37: 480 .loc 1 257 3 is_stmt 0 view .LVU98 481 0006 FFF7FEFF bl USBD_LL_Resume 482 .LVL38: 258:USB_DEVICE/Target/usbd_conf.c **** } 483 .loc 1 258 1 view .LVU99 484 000a 08BD pop {r3, pc} 485 .cfi_endproc 486 .LFE251: 488 .section .text.HAL_PCD_ISOOUTIncompleteCallback,"ax",%progbits 489 .align 1 490 .global HAL_PCD_ISOOUTIncompleteCallback 491 .syntax unified 492 .thumb 493 .thumb_func 495 HAL_PCD_ISOOUTIncompleteCallback: 496 .LVL39: 497 .LFB252: 259:USB_DEVICE/Target/usbd_conf.c **** 260:USB_DEVICE/Target/usbd_conf.c **** /** 261:USB_DEVICE/Target/usbd_conf.c **** * @brief ISOOUTIncomplete callback. 262:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 263:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 264:USB_DEVICE/Target/usbd_conf.c **** * @retval None 265:USB_DEVICE/Target/usbd_conf.c **** */ 266:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 267:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 268:USB_DEVICE/Target/usbd_conf.c **** #else 269:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 270:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 271:USB_DEVICE/Target/usbd_conf.c **** { 498 .loc 1 271 1 is_stmt 1 view -0 499 .cfi_startproc 500 @ args = 0, pretend = 0, frame = 0 501 @ frame_needed = 0, uses_anonymous_args = 0 502 .loc 1 271 1 is_stmt 0 view .LVU101 503 0000 08B5 push {r3, lr} 504 .LCFI12: 505 .cfi_def_cfa_offset 8 506 .cfi_offset 3, -8 507 .cfi_offset 14, -4 272:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 508 .loc 1 272 3 is_stmt 1 view .LVU102 509 0002 D0F8E004 ldr r0, [r0, #1248] 510 .LVL40: 511 .loc 1 272 3 is_stmt 0 view .LVU103 ARM GAS /tmp/cc7jaig2.s page 15 512 0006 FFF7FEFF bl USBD_LL_IsoOUTIncomplete 513 .LVL41: 273:USB_DEVICE/Target/usbd_conf.c **** } 514 .loc 1 273 1 view .LVU104 515 000a 08BD pop {r3, pc} 516 .cfi_endproc 517 .LFE252: 519 .section .text.HAL_PCD_ISOINIncompleteCallback,"ax",%progbits 520 .align 1 521 .global HAL_PCD_ISOINIncompleteCallback 522 .syntax unified 523 .thumb 524 .thumb_func 526 HAL_PCD_ISOINIncompleteCallback: 527 .LVL42: 528 .LFB253: 274:USB_DEVICE/Target/usbd_conf.c **** 275:USB_DEVICE/Target/usbd_conf.c **** /** 276:USB_DEVICE/Target/usbd_conf.c **** * @brief ISOINIncomplete callback. 277:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 278:USB_DEVICE/Target/usbd_conf.c **** * @param epnum: Endpoint number 279:USB_DEVICE/Target/usbd_conf.c **** * @retval None 280:USB_DEVICE/Target/usbd_conf.c **** */ 281:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 282:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 283:USB_DEVICE/Target/usbd_conf.c **** #else 284:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) 285:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 286:USB_DEVICE/Target/usbd_conf.c **** { 529 .loc 1 286 1 is_stmt 1 view -0 530 .cfi_startproc 531 @ args = 0, pretend = 0, frame = 0 532 @ frame_needed = 0, uses_anonymous_args = 0 533 .loc 1 286 1 is_stmt 0 view .LVU106 534 0000 08B5 push {r3, lr} 535 .LCFI13: 536 .cfi_def_cfa_offset 8 537 .cfi_offset 3, -8 538 .cfi_offset 14, -4 287:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); 539 .loc 1 287 3 is_stmt 1 view .LVU107 540 0002 D0F8E004 ldr r0, [r0, #1248] 541 .LVL43: 542 .loc 1 287 3 is_stmt 0 view .LVU108 543 0006 FFF7FEFF bl USBD_LL_IsoINIncomplete 544 .LVL44: 288:USB_DEVICE/Target/usbd_conf.c **** } 545 .loc 1 288 1 view .LVU109 546 000a 08BD pop {r3, pc} 547 .cfi_endproc 548 .LFE253: 550 .section .text.HAL_PCD_ConnectCallback,"ax",%progbits 551 .align 1 552 .global HAL_PCD_ConnectCallback 553 .syntax unified 554 .thumb 555 .thumb_func ARM GAS /tmp/cc7jaig2.s page 16 557 HAL_PCD_ConnectCallback: 558 .LVL45: 559 .LFB254: 289:USB_DEVICE/Target/usbd_conf.c **** 290:USB_DEVICE/Target/usbd_conf.c **** /** 291:USB_DEVICE/Target/usbd_conf.c **** * @brief Connect callback. 292:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 293:USB_DEVICE/Target/usbd_conf.c **** * @retval None 294:USB_DEVICE/Target/usbd_conf.c **** */ 295:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 296:USB_DEVICE/Target/usbd_conf.c **** static void PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) 297:USB_DEVICE/Target/usbd_conf.c **** #else 298:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) 299:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 300:USB_DEVICE/Target/usbd_conf.c **** { 560 .loc 1 300 1 is_stmt 1 view -0 561 .cfi_startproc 562 @ args = 0, pretend = 0, frame = 0 563 @ frame_needed = 0, uses_anonymous_args = 0 564 .loc 1 300 1 is_stmt 0 view .LVU111 565 0000 08B5 push {r3, lr} 566 .LCFI14: 567 .cfi_def_cfa_offset 8 568 .cfi_offset 3, -8 569 .cfi_offset 14, -4 301:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData); 570 .loc 1 301 3 is_stmt 1 view .LVU112 571 0002 D0F8E004 ldr r0, [r0, #1248] 572 .LVL46: 573 .loc 1 301 3 is_stmt 0 view .LVU113 574 0006 FFF7FEFF bl USBD_LL_DevConnected 575 .LVL47: 302:USB_DEVICE/Target/usbd_conf.c **** } 576 .loc 1 302 1 view .LVU114 577 000a 08BD pop {r3, pc} 578 .cfi_endproc 579 .LFE254: 581 .section .text.HAL_PCD_DisconnectCallback,"ax",%progbits 582 .align 1 583 .global HAL_PCD_DisconnectCallback 584 .syntax unified 585 .thumb 586 .thumb_func 588 HAL_PCD_DisconnectCallback: 589 .LVL48: 590 .LFB255: 303:USB_DEVICE/Target/usbd_conf.c **** 304:USB_DEVICE/Target/usbd_conf.c **** /** 305:USB_DEVICE/Target/usbd_conf.c **** * @brief Disconnect callback. 306:USB_DEVICE/Target/usbd_conf.c **** * @param hpcd: PCD handle 307:USB_DEVICE/Target/usbd_conf.c **** * @retval None 308:USB_DEVICE/Target/usbd_conf.c **** */ 309:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 310:USB_DEVICE/Target/usbd_conf.c **** static void PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) 311:USB_DEVICE/Target/usbd_conf.c **** #else 312:USB_DEVICE/Target/usbd_conf.c **** void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) 313:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ ARM GAS /tmp/cc7jaig2.s page 17 314:USB_DEVICE/Target/usbd_conf.c **** { 591 .loc 1 314 1 is_stmt 1 view -0 592 .cfi_startproc 593 @ args = 0, pretend = 0, frame = 0 594 @ frame_needed = 0, uses_anonymous_args = 0 595 .loc 1 314 1 is_stmt 0 view .LVU116 596 0000 08B5 push {r3, lr} 597 .LCFI15: 598 .cfi_def_cfa_offset 8 599 .cfi_offset 3, -8 600 .cfi_offset 14, -4 315:USB_DEVICE/Target/usbd_conf.c **** USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData); 601 .loc 1 315 3 is_stmt 1 view .LVU117 602 0002 D0F8E004 ldr r0, [r0, #1248] 603 .LVL49: 604 .loc 1 315 3 is_stmt 0 view .LVU118 605 0006 FFF7FEFF bl USBD_LL_DevDisconnected 606 .LVL50: 316:USB_DEVICE/Target/usbd_conf.c **** } 607 .loc 1 316 1 view .LVU119 608 000a 08BD pop {r3, pc} 609 .cfi_endproc 610 .LFE255: 612 .section .text.USBD_LL_Init,"ax",%progbits 613 .align 1 614 .global USBD_LL_Init 615 .syntax unified 616 .thumb 617 .thumb_func 619 USBD_LL_Init: 620 .LVL51: 621 .LFB256: 317:USB_DEVICE/Target/usbd_conf.c **** 318:USB_DEVICE/Target/usbd_conf.c **** /******************************************************************************* 319:USB_DEVICE/Target/usbd_conf.c **** LL Driver Interface (USB Device Library --> PCD) 320:USB_DEVICE/Target/usbd_conf.c **** *******************************************************************************/ 321:USB_DEVICE/Target/usbd_conf.c **** 322:USB_DEVICE/Target/usbd_conf.c **** /** 323:USB_DEVICE/Target/usbd_conf.c **** * @brief Initializes the low level portion of the device driver. 324:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 325:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 326:USB_DEVICE/Target/usbd_conf.c **** */ 327:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev) 328:USB_DEVICE/Target/usbd_conf.c **** { 622 .loc 1 328 1 is_stmt 1 view -0 623 .cfi_startproc 624 @ args = 0, pretend = 0, frame = 0 625 @ frame_needed = 0, uses_anonymous_args = 0 329:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */ 330:USB_DEVICE/Target/usbd_conf.c **** if (pdev->id == DEVICE_FS) { 626 .loc 1 330 3 view .LVU121 627 .loc 1 330 11 is_stmt 0 view .LVU122 628 0000 0278 ldrb r2, [r0] @ zero_extendqisi2 629 .loc 1 330 6 view .LVU123 630 0002 0AB1 cbz r2, .L48 331:USB_DEVICE/Target/usbd_conf.c **** /* Link the driver to the stack. */ 332:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.pData = pdev; ARM GAS /tmp/cc7jaig2.s page 18 333:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_OTG_FS; 334:USB_DEVICE/Target/usbd_conf.c **** 335:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Instance = USB_OTG_FS; 336:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.dev_endpoints = 4; 337:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL; 338:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.dma_enable = DISABLE; 339:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED; 340:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.Sof_enable = DISABLE; 341:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE; 342:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.lpm_enable = DISABLE; 343:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.vbus_sensing_enable = DISABLE; 344:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.use_dedicated_ep1 = DISABLE; 345:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_OTG_FS) != HAL_OK) 346:USB_DEVICE/Target/usbd_conf.c **** { 347:USB_DEVICE/Target/usbd_conf.c **** Error_Handler( ); 348:USB_DEVICE/Target/usbd_conf.c **** } 349:USB_DEVICE/Target/usbd_conf.c **** 350:USB_DEVICE/Target/usbd_conf.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) 351:USB_DEVICE/Target/usbd_conf.c **** /* Register USB PCD CallBacks */ 352:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_SOF_CB_ID, PCD_SOFCallback); 353:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_SETUPSTAGE_CB_ID, PCD_SetupStageCallback); 354:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_RESET_CB_ID, PCD_ResetCallback); 355:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_SUSPEND_CB_ID, PCD_SuspendCallback); 356:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_RESUME_CB_ID, PCD_ResumeCallback); 357:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_CONNECT_CB_ID, PCD_ConnectCallback); 358:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterCallback(&hpcd_USB_OTG_FS, HAL_PCD_DISCONNECT_CB_ID, PCD_DisconnectCallback); 359:USB_DEVICE/Target/usbd_conf.c **** 360:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterDataOutStageCallback(&hpcd_USB_OTG_FS, PCD_DataOutStageCallback); 361:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterDataInStageCallback(&hpcd_USB_OTG_FS, PCD_DataInStageCallback); 362:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterIsoOutIncpltCallback(&hpcd_USB_OTG_FS, PCD_ISOOUTIncompleteCallback); 363:USB_DEVICE/Target/usbd_conf.c **** HAL_PCD_RegisterIsoInIncpltCallback(&hpcd_USB_OTG_FS, PCD_ISOINIncompleteCallback); 364:USB_DEVICE/Target/usbd_conf.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ 365:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_SetRxFiFo(&hpcd_USB_OTG_FS, 0x80); 366:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 0, 0x40); 367:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 1, 0x80); 368:USB_DEVICE/Target/usbd_conf.c **** } 369:USB_DEVICE/Target/usbd_conf.c **** return USBD_OK; 631 .loc 1 369 3 is_stmt 1 view .LVU124 370:USB_DEVICE/Target/usbd_conf.c **** } 632 .loc 1 370 1 is_stmt 0 view .LVU125 633 0004 0020 movs r0, #0 634 .LVL52: 635 .loc 1 370 1 view .LVU126 636 0006 7047 bx lr 637 .LVL53: 638 .L48: 328:USB_DEVICE/Target/usbd_conf.c **** /* Init USB Ip. */ 639 .loc 1 328 1 view .LVU127 640 0008 10B5 push {r4, lr} 641 .LCFI16: 642 .cfi_def_cfa_offset 8 643 .cfi_offset 4, -8 644 .cfi_offset 14, -4 645 000a 0346 mov r3, r0 332:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_OTG_FS; 646 .loc 1 332 3 is_stmt 1 view .LVU128 332:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_OTG_FS; ARM GAS /tmp/cc7jaig2.s page 19 647 .loc 1 332 25 is_stmt 0 view .LVU129 648 000c 1548 ldr r0, .L50 649 .LVL54: 332:USB_DEVICE/Target/usbd_conf.c **** pdev->pData = &hpcd_USB_OTG_FS; 650 .loc 1 332 25 view .LVU130 651 000e C0F8E034 str r3, [r0, #1248] 333:USB_DEVICE/Target/usbd_conf.c **** 652 .loc 1 333 3 is_stmt 1 view .LVU131 333:USB_DEVICE/Target/usbd_conf.c **** 653 .loc 1 333 15 is_stmt 0 view .LVU132 654 0012 C3F8C802 str r0, [r3, #712] 335:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.dev_endpoints = 4; 655 .loc 1 335 3 is_stmt 1 view .LVU133 335:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.dev_endpoints = 4; 656 .loc 1 335 28 is_stmt 0 view .LVU134 657 0016 4FF0A043 mov r3, #1342177280 658 .LVL55: 335:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.dev_endpoints = 4; 659 .loc 1 335 28 view .LVU135 660 001a 0360 str r3, [r0] 336:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL; 661 .loc 1 336 3 is_stmt 1 view .LVU136 336:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL; 662 .loc 1 336 38 is_stmt 0 view .LVU137 663 001c 0423 movs r3, #4 664 001e 0371 strb r3, [r0, #4] 337:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.dma_enable = DISABLE; 665 .loc 1 337 3 is_stmt 1 view .LVU138 337:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.dma_enable = DISABLE; 666 .loc 1 337 30 is_stmt 0 view .LVU139 667 0020 0222 movs r2, #2 668 0022 C271 strb r2, [r0, #7] 338:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED; 669 .loc 1 338 3 is_stmt 1 view .LVU140 338:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED; 670 .loc 1 338 35 is_stmt 0 view .LVU141 671 0024 0023 movs r3, #0 672 0026 8371 strb r3, [r0, #6] 339:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.Sof_enable = DISABLE; 673 .loc 1 339 3 is_stmt 1 view .LVU142 339:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.Sof_enable = DISABLE; 674 .loc 1 339 35 is_stmt 0 view .LVU143 675 0028 4272 strb r2, [r0, #9] 340:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE; 676 .loc 1 340 3 is_stmt 1 view .LVU144 340:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE; 677 .loc 1 340 35 is_stmt 0 view .LVU145 678 002a 8372 strb r3, [r0, #10] 341:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.lpm_enable = DISABLE; 679 .loc 1 341 3 is_stmt 1 view .LVU146 341:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.lpm_enable = DISABLE; 680 .loc 1 341 41 is_stmt 0 view .LVU147 681 002c C372 strb r3, [r0, #11] 342:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.vbus_sensing_enable = DISABLE; 682 .loc 1 342 3 is_stmt 1 view .LVU148 342:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.vbus_sensing_enable = DISABLE; 683 .loc 1 342 35 is_stmt 0 view .LVU149 ARM GAS /tmp/cc7jaig2.s page 20 684 002e 0373 strb r3, [r0, #12] 343:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.use_dedicated_ep1 = DISABLE; 685 .loc 1 343 3 is_stmt 1 view .LVU150 343:USB_DEVICE/Target/usbd_conf.c **** hpcd_USB_OTG_FS.Init.use_dedicated_ep1 = DISABLE; 686 .loc 1 343 44 is_stmt 0 view .LVU151 687 0030 8373 strb r3, [r0, #14] 344:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_OTG_FS) != HAL_OK) 688 .loc 1 344 3 is_stmt 1 view .LVU152 344:USB_DEVICE/Target/usbd_conf.c **** if (HAL_PCD_Init(&hpcd_USB_OTG_FS) != HAL_OK) 689 .loc 1 344 42 is_stmt 0 view .LVU153 690 0032 C373 strb r3, [r0, #15] 345:USB_DEVICE/Target/usbd_conf.c **** { 691 .loc 1 345 3 is_stmt 1 view .LVU154 345:USB_DEVICE/Target/usbd_conf.c **** { 692 .loc 1 345 7 is_stmt 0 view .LVU155 693 0034 FFF7FEFF bl HAL_PCD_Init 694 .LVL56: 345:USB_DEVICE/Target/usbd_conf.c **** { 695 .loc 1 345 6 discriminator 1 view .LVU156 696 0038 80B9 cbnz r0, .L49 697 .L43: 365:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 0, 0x40); 698 .loc 1 365 3 is_stmt 1 view .LVU157 699 003a 0A4C ldr r4, .L50 700 003c 8021 movs r1, #128 701 003e 2046 mov r0, r4 702 0040 FFF7FEFF bl HAL_PCDEx_SetRxFiFo 703 .LVL57: 366:USB_DEVICE/Target/usbd_conf.c **** HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 1, 0x80); 704 .loc 1 366 3 view .LVU158 705 0044 4022 movs r2, #64 706 0046 0021 movs r1, #0 707 0048 2046 mov r0, r4 708 004a FFF7FEFF bl HAL_PCDEx_SetTxFiFo 709 .LVL58: 367:USB_DEVICE/Target/usbd_conf.c **** } 710 .loc 1 367 3 view .LVU159 711 004e 8022 movs r2, #128 712 0050 0121 movs r1, #1 713 0052 2046 mov r0, r4 714 0054 FFF7FEFF bl HAL_PCDEx_SetTxFiFo 715 .LVL59: 369:USB_DEVICE/Target/usbd_conf.c **** } 716 .loc 1 369 3 view .LVU160 717 .loc 1 370 1 is_stmt 0 view .LVU161 718 0058 0020 movs r0, #0 719 005a 10BD pop {r4, pc} 720 .L49: 347:USB_DEVICE/Target/usbd_conf.c **** } 721 .loc 1 347 5 is_stmt 1 view .LVU162 722 005c FFF7FEFF bl Error_Handler 723 .LVL60: 724 0060 EBE7 b .L43 725 .L51: 726 0062 00BF .align 2 727 .L50: 728 0064 00000000 .word hpcd_USB_OTG_FS ARM GAS /tmp/cc7jaig2.s page 21 729 .cfi_endproc 730 .LFE256: 732 .section .text.USBD_LL_IsStallEP,"ax",%progbits 733 .align 1 734 .global USBD_LL_IsStallEP 735 .syntax unified 736 .thumb 737 .thumb_func 739 USBD_LL_IsStallEP: 740 .LVL61: 741 .LFB265: 371:USB_DEVICE/Target/usbd_conf.c **** 372:USB_DEVICE/Target/usbd_conf.c **** /** 373:USB_DEVICE/Target/usbd_conf.c **** * @brief De-Initializes the low level portion of the device driver. 374:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 375:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 376:USB_DEVICE/Target/usbd_conf.c **** */ 377:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_DeInit(USBD_HandleTypeDef *pdev) 378:USB_DEVICE/Target/usbd_conf.c **** { 379:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 380:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 381:USB_DEVICE/Target/usbd_conf.c **** 382:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_DeInit(pdev->pData); 383:USB_DEVICE/Target/usbd_conf.c **** 384:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 385:USB_DEVICE/Target/usbd_conf.c **** 386:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 387:USB_DEVICE/Target/usbd_conf.c **** } 388:USB_DEVICE/Target/usbd_conf.c **** 389:USB_DEVICE/Target/usbd_conf.c **** /** 390:USB_DEVICE/Target/usbd_conf.c **** * @brief Starts the low level portion of the device driver. 391:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 392:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 393:USB_DEVICE/Target/usbd_conf.c **** */ 394:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev) 395:USB_DEVICE/Target/usbd_conf.c **** { 396:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 397:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 398:USB_DEVICE/Target/usbd_conf.c **** 399:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_Start(pdev->pData); 400:USB_DEVICE/Target/usbd_conf.c **** 401:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 402:USB_DEVICE/Target/usbd_conf.c **** 403:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 404:USB_DEVICE/Target/usbd_conf.c **** } 405:USB_DEVICE/Target/usbd_conf.c **** 406:USB_DEVICE/Target/usbd_conf.c **** /** 407:USB_DEVICE/Target/usbd_conf.c **** * @brief Stops the low level portion of the device driver. 408:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 409:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 410:USB_DEVICE/Target/usbd_conf.c **** */ 411:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Stop(USBD_HandleTypeDef *pdev) 412:USB_DEVICE/Target/usbd_conf.c **** { 413:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 414:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 415:USB_DEVICE/Target/usbd_conf.c **** 416:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_Stop(pdev->pData); ARM GAS /tmp/cc7jaig2.s page 22 417:USB_DEVICE/Target/usbd_conf.c **** 418:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 419:USB_DEVICE/Target/usbd_conf.c **** 420:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 421:USB_DEVICE/Target/usbd_conf.c **** } 422:USB_DEVICE/Target/usbd_conf.c **** 423:USB_DEVICE/Target/usbd_conf.c **** /** 424:USB_DEVICE/Target/usbd_conf.c **** * @brief Opens an endpoint of the low level driver. 425:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 426:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 427:USB_DEVICE/Target/usbd_conf.c **** * @param ep_type: Endpoint type 428:USB_DEVICE/Target/usbd_conf.c **** * @param ep_mps: Endpoint max packet size 429:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 430:USB_DEVICE/Target/usbd_conf.c **** */ 431:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint1 432:USB_DEVICE/Target/usbd_conf.c **** { 433:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 434:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 435:USB_DEVICE/Target/usbd_conf.c **** 436:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type); 437:USB_DEVICE/Target/usbd_conf.c **** 438:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 439:USB_DEVICE/Target/usbd_conf.c **** 440:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 441:USB_DEVICE/Target/usbd_conf.c **** } 442:USB_DEVICE/Target/usbd_conf.c **** 443:USB_DEVICE/Target/usbd_conf.c **** /** 444:USB_DEVICE/Target/usbd_conf.c **** * @brief Closes an endpoint of the low level driver. 445:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 446:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 447:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 448:USB_DEVICE/Target/usbd_conf.c **** */ 449:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 450:USB_DEVICE/Target/usbd_conf.c **** { 451:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 452:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 453:USB_DEVICE/Target/usbd_conf.c **** 454:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr); 455:USB_DEVICE/Target/usbd_conf.c **** 456:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 457:USB_DEVICE/Target/usbd_conf.c **** 458:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 459:USB_DEVICE/Target/usbd_conf.c **** } 460:USB_DEVICE/Target/usbd_conf.c **** 461:USB_DEVICE/Target/usbd_conf.c **** /** 462:USB_DEVICE/Target/usbd_conf.c **** * @brief Flushes an endpoint of the Low Level Driver. 463:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 464:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 465:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 466:USB_DEVICE/Target/usbd_conf.c **** */ 467:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_FlushEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 468:USB_DEVICE/Target/usbd_conf.c **** { 469:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 470:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 471:USB_DEVICE/Target/usbd_conf.c **** 472:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Flush(pdev->pData, ep_addr); 473:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/cc7jaig2.s page 23 474:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 475:USB_DEVICE/Target/usbd_conf.c **** 476:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 477:USB_DEVICE/Target/usbd_conf.c **** } 478:USB_DEVICE/Target/usbd_conf.c **** 479:USB_DEVICE/Target/usbd_conf.c **** /** 480:USB_DEVICE/Target/usbd_conf.c **** * @brief Sets a Stall condition on an endpoint of the Low Level Driver. 481:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 482:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 483:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 484:USB_DEVICE/Target/usbd_conf.c **** */ 485:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 486:USB_DEVICE/Target/usbd_conf.c **** { 487:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 488:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 489:USB_DEVICE/Target/usbd_conf.c **** 490:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr); 491:USB_DEVICE/Target/usbd_conf.c **** 492:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 493:USB_DEVICE/Target/usbd_conf.c **** 494:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 495:USB_DEVICE/Target/usbd_conf.c **** } 496:USB_DEVICE/Target/usbd_conf.c **** 497:USB_DEVICE/Target/usbd_conf.c **** /** 498:USB_DEVICE/Target/usbd_conf.c **** * @brief Clears a Stall condition on an endpoint of the Low Level Driver. 499:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 500:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 501:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 502:USB_DEVICE/Target/usbd_conf.c **** */ 503:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 504:USB_DEVICE/Target/usbd_conf.c **** { 505:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 506:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 507:USB_DEVICE/Target/usbd_conf.c **** 508:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr); 509:USB_DEVICE/Target/usbd_conf.c **** 510:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 511:USB_DEVICE/Target/usbd_conf.c **** 512:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 513:USB_DEVICE/Target/usbd_conf.c **** } 514:USB_DEVICE/Target/usbd_conf.c **** 515:USB_DEVICE/Target/usbd_conf.c **** /** 516:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns Stall condition. 517:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 518:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 519:USB_DEVICE/Target/usbd_conf.c **** * @retval Stall (1: Yes, 0: No) 520:USB_DEVICE/Target/usbd_conf.c **** */ 521:USB_DEVICE/Target/usbd_conf.c **** uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 522:USB_DEVICE/Target/usbd_conf.c **** { 742 .loc 1 522 1 view -0 743 .cfi_startproc 744 @ args = 0, pretend = 0, frame = 0 745 @ frame_needed = 0, uses_anonymous_args = 0 746 @ link register save eliminated. 523:USB_DEVICE/Target/usbd_conf.c **** PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; 747 .loc 1 523 3 view .LVU164 748 .loc 1 523 22 is_stmt 0 view .LVU165 ARM GAS /tmp/cc7jaig2.s page 24 749 0000 D0F8C832 ldr r3, [r0, #712] 750 .LVL62: 524:USB_DEVICE/Target/usbd_conf.c **** 525:USB_DEVICE/Target/usbd_conf.c **** if((ep_addr & 0x80) == 0x80) 751 .loc 1 525 3 is_stmt 1 view .LVU166 752 .loc 1 525 5 is_stmt 0 view .LVU167 753 0004 11F0800F tst r1, #128 754 0008 08D1 bne .L55 526:USB_DEVICE/Target/usbd_conf.c **** { 527:USB_DEVICE/Target/usbd_conf.c **** return hpcd->IN_ep[ep_addr & 0x7F].is_stall; 528:USB_DEVICE/Target/usbd_conf.c **** } 529:USB_DEVICE/Target/usbd_conf.c **** else 530:USB_DEVICE/Target/usbd_conf.c **** { 531:USB_DEVICE/Target/usbd_conf.c **** return hpcd->OUT_ep[ep_addr & 0x7F].is_stall; 755 .loc 1 531 5 is_stmt 1 view .LVU168 756 .loc 1 531 33 is_stmt 0 view .LVU169 757 000a 01F07F01 and r1, r1, #127 758 .LVL63: 759 .loc 1 531 40 view .LVU170 760 000e 01EBC101 add r1, r1, r1, lsl #3 761 0012 03EB8103 add r3, r3, r1, lsl #2 762 .LVL64: 763 .loc 1 531 40 view .LVU171 764 0016 93F85602 ldrb r0, [r3, #598] @ zero_extendqisi2 765 .LVL65: 532:USB_DEVICE/Target/usbd_conf.c **** } 533:USB_DEVICE/Target/usbd_conf.c **** } 766 .loc 1 533 1 view .LVU172 767 001a 7047 bx lr 768 .LVL66: 769 .L55: 527:USB_DEVICE/Target/usbd_conf.c **** } 770 .loc 1 527 5 is_stmt 1 view .LVU173 527:USB_DEVICE/Target/usbd_conf.c **** } 771 .loc 1 527 32 is_stmt 0 view .LVU174 772 001c 01F07F01 and r1, r1, #127 773 .LVL67: 527:USB_DEVICE/Target/usbd_conf.c **** } 774 .loc 1 527 39 view .LVU175 775 0020 01EBC101 add r1, r1, r1, lsl #3 776 0024 03EB8103 add r3, r3, r1, lsl #2 777 .LVL68: 527:USB_DEVICE/Target/usbd_conf.c **** } 778 .loc 1 527 39 view .LVU176 779 0028 987D ldrb r0, [r3, #22] @ zero_extendqisi2 780 .LVL69: 527:USB_DEVICE/Target/usbd_conf.c **** } 781 .loc 1 527 39 view .LVU177 782 002a 7047 bx lr 783 .cfi_endproc 784 .LFE265: 786 .section .text.USBD_LL_GetRxDataSize,"ax",%progbits 787 .align 1 788 .global USBD_LL_GetRxDataSize 789 .syntax unified 790 .thumb 791 .thumb_func ARM GAS /tmp/cc7jaig2.s page 25 793 USBD_LL_GetRxDataSize: 794 .LVL70: 795 .LFB269: 534:USB_DEVICE/Target/usbd_conf.c **** 535:USB_DEVICE/Target/usbd_conf.c **** /** 536:USB_DEVICE/Target/usbd_conf.c **** * @brief Assigns a USB address to the device. 537:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 538:USB_DEVICE/Target/usbd_conf.c **** * @param dev_addr: Device address 539:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 540:USB_DEVICE/Target/usbd_conf.c **** */ 541:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr) 542:USB_DEVICE/Target/usbd_conf.c **** { 543:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 544:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 545:USB_DEVICE/Target/usbd_conf.c **** 546:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr); 547:USB_DEVICE/Target/usbd_conf.c **** 548:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 549:USB_DEVICE/Target/usbd_conf.c **** 550:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 551:USB_DEVICE/Target/usbd_conf.c **** } 552:USB_DEVICE/Target/usbd_conf.c **** 553:USB_DEVICE/Target/usbd_conf.c **** /** 554:USB_DEVICE/Target/usbd_conf.c **** * @brief Transmits data over an endpoint. 555:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 556:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 557:USB_DEVICE/Target/usbd_conf.c **** * @param pbuf: Pointer to data to be sent 558:USB_DEVICE/Target/usbd_conf.c **** * @param size: Data size 559:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 560:USB_DEVICE/Target/usbd_conf.c **** */ 561:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint3 562:USB_DEVICE/Target/usbd_conf.c **** { 563:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 564:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 565:USB_DEVICE/Target/usbd_conf.c **** 566:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size); 567:USB_DEVICE/Target/usbd_conf.c **** 568:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 569:USB_DEVICE/Target/usbd_conf.c **** 570:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 571:USB_DEVICE/Target/usbd_conf.c **** } 572:USB_DEVICE/Target/usbd_conf.c **** 573:USB_DEVICE/Target/usbd_conf.c **** /** 574:USB_DEVICE/Target/usbd_conf.c **** * @brief Prepares an endpoint for reception. 575:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 576:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 577:USB_DEVICE/Target/usbd_conf.c **** * @param pbuf: Pointer to data to be received 578:USB_DEVICE/Target/usbd_conf.c **** * @param size: Data size 579:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD status 580:USB_DEVICE/Target/usbd_conf.c **** */ 581:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, 582:USB_DEVICE/Target/usbd_conf.c **** { 583:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 584:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 585:USB_DEVICE/Target/usbd_conf.c **** 586:USB_DEVICE/Target/usbd_conf.c **** hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size); 587:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/cc7jaig2.s page 26 588:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_Get_USB_Status(hal_status); 589:USB_DEVICE/Target/usbd_conf.c **** 590:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 591:USB_DEVICE/Target/usbd_conf.c **** } 592:USB_DEVICE/Target/usbd_conf.c **** 593:USB_DEVICE/Target/usbd_conf.c **** /** 594:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns the last transferred packet size. 595:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 596:USB_DEVICE/Target/usbd_conf.c **** * @param ep_addr: Endpoint number 597:USB_DEVICE/Target/usbd_conf.c **** * @retval Received Data Size 598:USB_DEVICE/Target/usbd_conf.c **** */ 599:USB_DEVICE/Target/usbd_conf.c **** uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr) 600:USB_DEVICE/Target/usbd_conf.c **** { 796 .loc 1 600 1 is_stmt 1 view -0 797 .cfi_startproc 798 @ args = 0, pretend = 0, frame = 0 799 @ frame_needed = 0, uses_anonymous_args = 0 800 .loc 1 600 1 is_stmt 0 view .LVU179 801 0000 08B5 push {r3, lr} 802 .LCFI17: 803 .cfi_def_cfa_offset 8 804 .cfi_offset 3, -8 805 .cfi_offset 14, -4 601:USB_DEVICE/Target/usbd_conf.c **** return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr); 806 .loc 1 601 3 is_stmt 1 view .LVU180 807 .loc 1 601 10 is_stmt 0 view .LVU181 808 0002 D0F8C802 ldr r0, [r0, #712] 809 .LVL71: 810 .loc 1 601 10 view .LVU182 811 0006 FFF7FEFF bl HAL_PCD_EP_GetRxCount 812 .LVL72: 602:USB_DEVICE/Target/usbd_conf.c **** } 813 .loc 1 602 1 view .LVU183 814 000a 08BD pop {r3, pc} 815 .cfi_endproc 816 .LFE269: 818 .section .text.USBD_static_malloc,"ax",%progbits 819 .align 1 820 .global USBD_static_malloc 821 .syntax unified 822 .thumb 823 .thumb_func 825 USBD_static_malloc: 826 .LVL73: 827 .LFB270: 603:USB_DEVICE/Target/usbd_conf.c **** 604:USB_DEVICE/Target/usbd_conf.c **** #ifdef USBD_HS_TESTMODE_ENABLE 605:USB_DEVICE/Target/usbd_conf.c **** /** 606:USB_DEVICE/Target/usbd_conf.c **** * @brief Set High speed Test mode. 607:USB_DEVICE/Target/usbd_conf.c **** * @param pdev: Device handle 608:USB_DEVICE/Target/usbd_conf.c **** * @param testmode: test mode 609:USB_DEVICE/Target/usbd_conf.c **** * @retval USBD Status 610:USB_DEVICE/Target/usbd_conf.c **** */ 611:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_LL_SetTestMode(USBD_HandleTypeDef *pdev, uint8_t testmode) 612:USB_DEVICE/Target/usbd_conf.c **** { 613:USB_DEVICE/Target/usbd_conf.c **** UNUSED(pdev); 614:USB_DEVICE/Target/usbd_conf.c **** UNUSED(testmode); ARM GAS /tmp/cc7jaig2.s page 27 615:USB_DEVICE/Target/usbd_conf.c **** 616:USB_DEVICE/Target/usbd_conf.c **** return USBD_OK; 617:USB_DEVICE/Target/usbd_conf.c **** } 618:USB_DEVICE/Target/usbd_conf.c **** #endif /* USBD_HS_TESTMODE_ENABLE */ 619:USB_DEVICE/Target/usbd_conf.c **** 620:USB_DEVICE/Target/usbd_conf.c **** /** 621:USB_DEVICE/Target/usbd_conf.c **** * @brief Static single allocation. 622:USB_DEVICE/Target/usbd_conf.c **** * @param size: Size of allocated memory 623:USB_DEVICE/Target/usbd_conf.c **** * @retval None 624:USB_DEVICE/Target/usbd_conf.c **** */ 625:USB_DEVICE/Target/usbd_conf.c **** void *USBD_static_malloc(uint32_t size) 626:USB_DEVICE/Target/usbd_conf.c **** { 828 .loc 1 626 1 is_stmt 1 view -0 829 .cfi_startproc 830 @ args = 0, pretend = 0, frame = 0 831 @ frame_needed = 0, uses_anonymous_args = 0 832 @ link register save eliminated. 627:USB_DEVICE/Target/usbd_conf.c **** static uint32_t mem[(sizeof(USBD_CDC_HandleTypeDef)/4)+1];/* On 32-bit boundary */ 833 .loc 1 627 3 view .LVU185 628:USB_DEVICE/Target/usbd_conf.c **** return mem; 834 .loc 1 628 3 view .LVU186 629:USB_DEVICE/Target/usbd_conf.c **** } 835 .loc 1 629 1 is_stmt 0 view .LVU187 836 0000 0048 ldr r0, .L59 837 .LVL74: 838 .loc 1 629 1 view .LVU188 839 0002 7047 bx lr 840 .L60: 841 .align 2 842 .L59: 843 0004 00000000 .word mem.0 844 .cfi_endproc 845 .LFE270: 847 .section .text.USBD_static_free,"ax",%progbits 848 .align 1 849 .global USBD_static_free 850 .syntax unified 851 .thumb 852 .thumb_func 854 USBD_static_free: 855 .LVL75: 856 .LFB271: 630:USB_DEVICE/Target/usbd_conf.c **** 631:USB_DEVICE/Target/usbd_conf.c **** /** 632:USB_DEVICE/Target/usbd_conf.c **** * @brief Dummy memory free 633:USB_DEVICE/Target/usbd_conf.c **** * @param p: Pointer to allocated memory address 634:USB_DEVICE/Target/usbd_conf.c **** * @retval None 635:USB_DEVICE/Target/usbd_conf.c **** */ 636:USB_DEVICE/Target/usbd_conf.c **** void USBD_static_free(void *p) 637:USB_DEVICE/Target/usbd_conf.c **** { 857 .loc 1 637 1 is_stmt 1 view -0 858 .cfi_startproc 859 @ args = 0, pretend = 0, frame = 0 860 @ frame_needed = 0, uses_anonymous_args = 0 861 @ link register save eliminated. 638:USB_DEVICE/Target/usbd_conf.c **** 639:USB_DEVICE/Target/usbd_conf.c **** } ARM GAS /tmp/cc7jaig2.s page 28 862 .loc 1 639 1 view .LVU190 863 0000 7047 bx lr 864 .cfi_endproc 865 .LFE271: 867 .section .text.USBD_LL_Delay,"ax",%progbits 868 .align 1 869 .global USBD_LL_Delay 870 .syntax unified 871 .thumb 872 .thumb_func 874 USBD_LL_Delay: 875 .LVL76: 876 .LFB272: 640:USB_DEVICE/Target/usbd_conf.c **** 641:USB_DEVICE/Target/usbd_conf.c **** /** 642:USB_DEVICE/Target/usbd_conf.c **** * @brief Delays routine for the USB Device Library. 643:USB_DEVICE/Target/usbd_conf.c **** * @param Delay: Delay in ms 644:USB_DEVICE/Target/usbd_conf.c **** * @retval None 645:USB_DEVICE/Target/usbd_conf.c **** */ 646:USB_DEVICE/Target/usbd_conf.c **** void USBD_LL_Delay(uint32_t Delay) 647:USB_DEVICE/Target/usbd_conf.c **** { 877 .loc 1 647 1 view -0 878 .cfi_startproc 879 @ args = 0, pretend = 0, frame = 0 880 @ frame_needed = 0, uses_anonymous_args = 0 881 .loc 1 647 1 is_stmt 0 view .LVU192 882 0000 08B5 push {r3, lr} 883 .LCFI18: 884 .cfi_def_cfa_offset 8 885 .cfi_offset 3, -8 886 .cfi_offset 14, -4 648:USB_DEVICE/Target/usbd_conf.c **** HAL_Delay(Delay); 887 .loc 1 648 3 is_stmt 1 view .LVU193 888 0002 FFF7FEFF bl HAL_Delay 889 .LVL77: 649:USB_DEVICE/Target/usbd_conf.c **** } 890 .loc 1 649 1 is_stmt 0 view .LVU194 891 0006 08BD pop {r3, pc} 892 .cfi_endproc 893 .LFE272: 895 .section .text.USBD_Get_USB_Status,"ax",%progbits 896 .align 1 897 .global USBD_Get_USB_Status 898 .syntax unified 899 .thumb 900 .thumb_func 902 USBD_Get_USB_Status: 903 .LVL78: 904 .LFB273: 650:USB_DEVICE/Target/usbd_conf.c **** 651:USB_DEVICE/Target/usbd_conf.c **** /** 652:USB_DEVICE/Target/usbd_conf.c **** * @brief Returns the USB status depending on the HAL status: 653:USB_DEVICE/Target/usbd_conf.c **** * @param hal_status: HAL status 654:USB_DEVICE/Target/usbd_conf.c **** * @retval USB status 655:USB_DEVICE/Target/usbd_conf.c **** */ 656:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status) 657:USB_DEVICE/Target/usbd_conf.c **** { ARM GAS /tmp/cc7jaig2.s page 29 905 .loc 1 657 1 is_stmt 1 view -0 906 .cfi_startproc 907 @ args = 0, pretend = 0, frame = 0 908 @ frame_needed = 0, uses_anonymous_args = 0 909 @ link register save eliminated. 658:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 910 .loc 1 658 3 view .LVU196 659:USB_DEVICE/Target/usbd_conf.c **** 660:USB_DEVICE/Target/usbd_conf.c **** switch (hal_status) 911 .loc 1 660 3 view .LVU197 912 0000 0328 cmp r0, #3 913 0002 05D8 bhi .L70 914 0004 DFE800F0 tbb [pc, r0] 915 .L67: 916 0008 05 .byte (.L65-.L67)/2 917 0009 04 .byte (.L70-.L67)/2 918 000a 02 .byte (.L68-.L67)/2 919 000b 05 .byte (.L65-.L67)/2 920 .p2align 1 921 .L68: 661:USB_DEVICE/Target/usbd_conf.c **** { 662:USB_DEVICE/Target/usbd_conf.c **** case HAL_OK : 663:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_OK; 664:USB_DEVICE/Target/usbd_conf.c **** break; 665:USB_DEVICE/Target/usbd_conf.c **** case HAL_ERROR : 666:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL; 667:USB_DEVICE/Target/usbd_conf.c **** break; 668:USB_DEVICE/Target/usbd_conf.c **** case HAL_BUSY : 669:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_BUSY; 922 .loc 1 669 7 view .LVU198 923 .LVL79: 670:USB_DEVICE/Target/usbd_conf.c **** break; 924 .loc 1 670 5 view .LVU199 669:USB_DEVICE/Target/usbd_conf.c **** break; 925 .loc 1 669 18 is_stmt 0 view .LVU200 926 000c 0120 movs r0, #1 927 .LVL80: 928 .loc 1 670 5 view .LVU201 929 000e 7047 bx lr 930 .LVL81: 931 .L70: 666:USB_DEVICE/Target/usbd_conf.c **** break; 932 .loc 1 666 18 view .LVU202 933 0010 0320 movs r0, #3 934 .LVL82: 935 .L65: 671:USB_DEVICE/Target/usbd_conf.c **** case HAL_TIMEOUT : 672:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL; 673:USB_DEVICE/Target/usbd_conf.c **** break; 674:USB_DEVICE/Target/usbd_conf.c **** default : 675:USB_DEVICE/Target/usbd_conf.c **** usb_status = USBD_FAIL; 676:USB_DEVICE/Target/usbd_conf.c **** break; 677:USB_DEVICE/Target/usbd_conf.c **** } 678:USB_DEVICE/Target/usbd_conf.c **** return usb_status; 936 .loc 1 678 3 is_stmt 1 view .LVU203 679:USB_DEVICE/Target/usbd_conf.c **** } 937 .loc 1 679 1 is_stmt 0 view .LVU204 ARM GAS /tmp/cc7jaig2.s page 30 938 0012 7047 bx lr 939 .cfi_endproc 940 .LFE273: 942 .section .text.USBD_LL_DeInit,"ax",%progbits 943 .align 1 944 .global USBD_LL_DeInit 945 .syntax unified 946 .thumb 947 .thumb_func 949 USBD_LL_DeInit: 950 .LVL83: 951 .LFB257: 378:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 952 .loc 1 378 1 is_stmt 1 view -0 953 .cfi_startproc 954 @ args = 0, pretend = 0, frame = 0 955 @ frame_needed = 0, uses_anonymous_args = 0 378:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 956 .loc 1 378 1 is_stmt 0 view .LVU206 957 0000 08B5 push {r3, lr} 958 .LCFI19: 959 .cfi_def_cfa_offset 8 960 .cfi_offset 3, -8 961 .cfi_offset 14, -4 379:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 962 .loc 1 379 3 is_stmt 1 view .LVU207 963 .LVL84: 380:USB_DEVICE/Target/usbd_conf.c **** 964 .loc 1 380 3 view .LVU208 382:USB_DEVICE/Target/usbd_conf.c **** 965 .loc 1 382 3 view .LVU209 382:USB_DEVICE/Target/usbd_conf.c **** 966 .loc 1 382 16 is_stmt 0 view .LVU210 967 0002 D0F8C802 ldr r0, [r0, #712] 968 .LVL85: 382:USB_DEVICE/Target/usbd_conf.c **** 969 .loc 1 382 16 view .LVU211 970 0006 FFF7FEFF bl HAL_PCD_DeInit 971 .LVL86: 384:USB_DEVICE/Target/usbd_conf.c **** 972 .loc 1 384 3 is_stmt 1 view .LVU212 384:USB_DEVICE/Target/usbd_conf.c **** 973 .loc 1 384 17 is_stmt 0 view .LVU213 974 000a FFF7FEFF bl USBD_Get_USB_Status 975 .LVL87: 386:USB_DEVICE/Target/usbd_conf.c **** } 976 .loc 1 386 3 is_stmt 1 view .LVU214 387:USB_DEVICE/Target/usbd_conf.c **** 977 .loc 1 387 1 is_stmt 0 view .LVU215 978 000e 08BD pop {r3, pc} 979 .cfi_endproc 980 .LFE257: 982 .section .text.USBD_LL_Start,"ax",%progbits 983 .align 1 984 .global USBD_LL_Start 985 .syntax unified 986 .thumb ARM GAS /tmp/cc7jaig2.s page 31 987 .thumb_func 989 USBD_LL_Start: 990 .LVL88: 991 .LFB258: 395:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 992 .loc 1 395 1 is_stmt 1 view -0 993 .cfi_startproc 994 @ args = 0, pretend = 0, frame = 0 995 @ frame_needed = 0, uses_anonymous_args = 0 395:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 996 .loc 1 395 1 is_stmt 0 view .LVU217 997 0000 08B5 push {r3, lr} 998 .LCFI20: 999 .cfi_def_cfa_offset 8 1000 .cfi_offset 3, -8 1001 .cfi_offset 14, -4 396:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1002 .loc 1 396 3 is_stmt 1 view .LVU218 1003 .LVL89: 397:USB_DEVICE/Target/usbd_conf.c **** 1004 .loc 1 397 3 view .LVU219 399:USB_DEVICE/Target/usbd_conf.c **** 1005 .loc 1 399 3 view .LVU220 399:USB_DEVICE/Target/usbd_conf.c **** 1006 .loc 1 399 16 is_stmt 0 view .LVU221 1007 0002 D0F8C802 ldr r0, [r0, #712] 1008 .LVL90: 399:USB_DEVICE/Target/usbd_conf.c **** 1009 .loc 1 399 16 view .LVU222 1010 0006 FFF7FEFF bl HAL_PCD_Start 1011 .LVL91: 401:USB_DEVICE/Target/usbd_conf.c **** 1012 .loc 1 401 3 is_stmt 1 view .LVU223 401:USB_DEVICE/Target/usbd_conf.c **** 1013 .loc 1 401 17 is_stmt 0 view .LVU224 1014 000a FFF7FEFF bl USBD_Get_USB_Status 1015 .LVL92: 403:USB_DEVICE/Target/usbd_conf.c **** } 1016 .loc 1 403 3 is_stmt 1 view .LVU225 404:USB_DEVICE/Target/usbd_conf.c **** 1017 .loc 1 404 1 is_stmt 0 view .LVU226 1018 000e 08BD pop {r3, pc} 1019 .cfi_endproc 1020 .LFE258: 1022 .section .text.USBD_LL_Stop,"ax",%progbits 1023 .align 1 1024 .global USBD_LL_Stop 1025 .syntax unified 1026 .thumb 1027 .thumb_func 1029 USBD_LL_Stop: 1030 .LVL93: 1031 .LFB259: 412:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1032 .loc 1 412 1 is_stmt 1 view -0 1033 .cfi_startproc 1034 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/cc7jaig2.s page 32 1035 @ frame_needed = 0, uses_anonymous_args = 0 412:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1036 .loc 1 412 1 is_stmt 0 view .LVU228 1037 0000 08B5 push {r3, lr} 1038 .LCFI21: 1039 .cfi_def_cfa_offset 8 1040 .cfi_offset 3, -8 1041 .cfi_offset 14, -4 413:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1042 .loc 1 413 3 is_stmt 1 view .LVU229 1043 .LVL94: 414:USB_DEVICE/Target/usbd_conf.c **** 1044 .loc 1 414 3 view .LVU230 416:USB_DEVICE/Target/usbd_conf.c **** 1045 .loc 1 416 3 view .LVU231 416:USB_DEVICE/Target/usbd_conf.c **** 1046 .loc 1 416 16 is_stmt 0 view .LVU232 1047 0002 D0F8C802 ldr r0, [r0, #712] 1048 .LVL95: 416:USB_DEVICE/Target/usbd_conf.c **** 1049 .loc 1 416 16 view .LVU233 1050 0006 FFF7FEFF bl HAL_PCD_Stop 1051 .LVL96: 418:USB_DEVICE/Target/usbd_conf.c **** 1052 .loc 1 418 3 is_stmt 1 view .LVU234 418:USB_DEVICE/Target/usbd_conf.c **** 1053 .loc 1 418 17 is_stmt 0 view .LVU235 1054 000a FFF7FEFF bl USBD_Get_USB_Status 1055 .LVL97: 420:USB_DEVICE/Target/usbd_conf.c **** } 1056 .loc 1 420 3 is_stmt 1 view .LVU236 421:USB_DEVICE/Target/usbd_conf.c **** 1057 .loc 1 421 1 is_stmt 0 view .LVU237 1058 000e 08BD pop {r3, pc} 1059 .cfi_endproc 1060 .LFE259: 1062 .section .text.USBD_LL_OpenEP,"ax",%progbits 1063 .align 1 1064 .global USBD_LL_OpenEP 1065 .syntax unified 1066 .thumb 1067 .thumb_func 1069 USBD_LL_OpenEP: 1070 .LVL98: 1071 .LFB260: 432:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1072 .loc 1 432 1 is_stmt 1 view -0 1073 .cfi_startproc 1074 @ args = 0, pretend = 0, frame = 0 1075 @ frame_needed = 0, uses_anonymous_args = 0 432:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1076 .loc 1 432 1 is_stmt 0 view .LVU239 1077 0000 08B5 push {r3, lr} 1078 .LCFI22: 1079 .cfi_def_cfa_offset 8 1080 .cfi_offset 3, -8 1081 .cfi_offset 14, -4 ARM GAS /tmp/cc7jaig2.s page 33 1082 0002 9446 mov ip, r2 1083 0004 1A46 mov r2, r3 1084 .LVL99: 433:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1085 .loc 1 433 3 is_stmt 1 view .LVU240 434:USB_DEVICE/Target/usbd_conf.c **** 1086 .loc 1 434 3 view .LVU241 436:USB_DEVICE/Target/usbd_conf.c **** 1087 .loc 1 436 3 view .LVU242 436:USB_DEVICE/Target/usbd_conf.c **** 1088 .loc 1 436 16 is_stmt 0 view .LVU243 1089 0006 6346 mov r3, ip 1090 .LVL100: 436:USB_DEVICE/Target/usbd_conf.c **** 1091 .loc 1 436 16 view .LVU244 1092 0008 D0F8C802 ldr r0, [r0, #712] 1093 .LVL101: 436:USB_DEVICE/Target/usbd_conf.c **** 1094 .loc 1 436 16 view .LVU245 1095 000c FFF7FEFF bl HAL_PCD_EP_Open 1096 .LVL102: 438:USB_DEVICE/Target/usbd_conf.c **** 1097 .loc 1 438 3 is_stmt 1 view .LVU246 438:USB_DEVICE/Target/usbd_conf.c **** 1098 .loc 1 438 17 is_stmt 0 view .LVU247 1099 0010 FFF7FEFF bl USBD_Get_USB_Status 1100 .LVL103: 440:USB_DEVICE/Target/usbd_conf.c **** } 1101 .loc 1 440 3 is_stmt 1 view .LVU248 441:USB_DEVICE/Target/usbd_conf.c **** 1102 .loc 1 441 1 is_stmt 0 view .LVU249 1103 0014 08BD pop {r3, pc} 1104 .cfi_endproc 1105 .LFE260: 1107 .section .text.USBD_LL_CloseEP,"ax",%progbits 1108 .align 1 1109 .global USBD_LL_CloseEP 1110 .syntax unified 1111 .thumb 1112 .thumb_func 1114 USBD_LL_CloseEP: 1115 .LVL104: 1116 .LFB261: 450:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1117 .loc 1 450 1 is_stmt 1 view -0 1118 .cfi_startproc 1119 @ args = 0, pretend = 0, frame = 0 1120 @ frame_needed = 0, uses_anonymous_args = 0 450:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1121 .loc 1 450 1 is_stmt 0 view .LVU251 1122 0000 08B5 push {r3, lr} 1123 .LCFI23: 1124 .cfi_def_cfa_offset 8 1125 .cfi_offset 3, -8 1126 .cfi_offset 14, -4 451:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1127 .loc 1 451 3 is_stmt 1 view .LVU252 ARM GAS /tmp/cc7jaig2.s page 34 1128 .LVL105: 452:USB_DEVICE/Target/usbd_conf.c **** 1129 .loc 1 452 3 view .LVU253 454:USB_DEVICE/Target/usbd_conf.c **** 1130 .loc 1 454 3 view .LVU254 454:USB_DEVICE/Target/usbd_conf.c **** 1131 .loc 1 454 16 is_stmt 0 view .LVU255 1132 0002 D0F8C802 ldr r0, [r0, #712] 1133 .LVL106: 454:USB_DEVICE/Target/usbd_conf.c **** 1134 .loc 1 454 16 view .LVU256 1135 0006 FFF7FEFF bl HAL_PCD_EP_Close 1136 .LVL107: 456:USB_DEVICE/Target/usbd_conf.c **** 1137 .loc 1 456 3 is_stmt 1 view .LVU257 456:USB_DEVICE/Target/usbd_conf.c **** 1138 .loc 1 456 17 is_stmt 0 view .LVU258 1139 000a FFF7FEFF bl USBD_Get_USB_Status 1140 .LVL108: 458:USB_DEVICE/Target/usbd_conf.c **** } 1141 .loc 1 458 3 is_stmt 1 view .LVU259 459:USB_DEVICE/Target/usbd_conf.c **** 1142 .loc 1 459 1 is_stmt 0 view .LVU260 1143 000e 08BD pop {r3, pc} 1144 .cfi_endproc 1145 .LFE261: 1147 .section .text.USBD_LL_FlushEP,"ax",%progbits 1148 .align 1 1149 .global USBD_LL_FlushEP 1150 .syntax unified 1151 .thumb 1152 .thumb_func 1154 USBD_LL_FlushEP: 1155 .LVL109: 1156 .LFB262: 468:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1157 .loc 1 468 1 is_stmt 1 view -0 1158 .cfi_startproc 1159 @ args = 0, pretend = 0, frame = 0 1160 @ frame_needed = 0, uses_anonymous_args = 0 468:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1161 .loc 1 468 1 is_stmt 0 view .LVU262 1162 0000 08B5 push {r3, lr} 1163 .LCFI24: 1164 .cfi_def_cfa_offset 8 1165 .cfi_offset 3, -8 1166 .cfi_offset 14, -4 469:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1167 .loc 1 469 3 is_stmt 1 view .LVU263 1168 .LVL110: 470:USB_DEVICE/Target/usbd_conf.c **** 1169 .loc 1 470 3 view .LVU264 472:USB_DEVICE/Target/usbd_conf.c **** 1170 .loc 1 472 3 view .LVU265 472:USB_DEVICE/Target/usbd_conf.c **** 1171 .loc 1 472 16 is_stmt 0 view .LVU266 1172 0002 D0F8C802 ldr r0, [r0, #712] ARM GAS /tmp/cc7jaig2.s page 35 1173 .LVL111: 472:USB_DEVICE/Target/usbd_conf.c **** 1174 .loc 1 472 16 view .LVU267 1175 0006 FFF7FEFF bl HAL_PCD_EP_Flush 1176 .LVL112: 474:USB_DEVICE/Target/usbd_conf.c **** 1177 .loc 1 474 3 is_stmt 1 view .LVU268 474:USB_DEVICE/Target/usbd_conf.c **** 1178 .loc 1 474 17 is_stmt 0 view .LVU269 1179 000a FFF7FEFF bl USBD_Get_USB_Status 1180 .LVL113: 476:USB_DEVICE/Target/usbd_conf.c **** } 1181 .loc 1 476 3 is_stmt 1 view .LVU270 477:USB_DEVICE/Target/usbd_conf.c **** 1182 .loc 1 477 1 is_stmt 0 view .LVU271 1183 000e 08BD pop {r3, pc} 1184 .cfi_endproc 1185 .LFE262: 1187 .section .text.USBD_LL_StallEP,"ax",%progbits 1188 .align 1 1189 .global USBD_LL_StallEP 1190 .syntax unified 1191 .thumb 1192 .thumb_func 1194 USBD_LL_StallEP: 1195 .LVL114: 1196 .LFB263: 486:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1197 .loc 1 486 1 is_stmt 1 view -0 1198 .cfi_startproc 1199 @ args = 0, pretend = 0, frame = 0 1200 @ frame_needed = 0, uses_anonymous_args = 0 486:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1201 .loc 1 486 1 is_stmt 0 view .LVU273 1202 0000 08B5 push {r3, lr} 1203 .LCFI25: 1204 .cfi_def_cfa_offset 8 1205 .cfi_offset 3, -8 1206 .cfi_offset 14, -4 487:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1207 .loc 1 487 3 is_stmt 1 view .LVU274 1208 .LVL115: 488:USB_DEVICE/Target/usbd_conf.c **** 1209 .loc 1 488 3 view .LVU275 490:USB_DEVICE/Target/usbd_conf.c **** 1210 .loc 1 490 3 view .LVU276 490:USB_DEVICE/Target/usbd_conf.c **** 1211 .loc 1 490 16 is_stmt 0 view .LVU277 1212 0002 D0F8C802 ldr r0, [r0, #712] 1213 .LVL116: 490:USB_DEVICE/Target/usbd_conf.c **** 1214 .loc 1 490 16 view .LVU278 1215 0006 FFF7FEFF bl HAL_PCD_EP_SetStall 1216 .LVL117: 492:USB_DEVICE/Target/usbd_conf.c **** 1217 .loc 1 492 3 is_stmt 1 view .LVU279 492:USB_DEVICE/Target/usbd_conf.c **** ARM GAS /tmp/cc7jaig2.s page 36 1218 .loc 1 492 17 is_stmt 0 view .LVU280 1219 000a FFF7FEFF bl USBD_Get_USB_Status 1220 .LVL118: 494:USB_DEVICE/Target/usbd_conf.c **** } 1221 .loc 1 494 3 is_stmt 1 view .LVU281 495:USB_DEVICE/Target/usbd_conf.c **** 1222 .loc 1 495 1 is_stmt 0 view .LVU282 1223 000e 08BD pop {r3, pc} 1224 .cfi_endproc 1225 .LFE263: 1227 .section .text.USBD_LL_ClearStallEP,"ax",%progbits 1228 .align 1 1229 .global USBD_LL_ClearStallEP 1230 .syntax unified 1231 .thumb 1232 .thumb_func 1234 USBD_LL_ClearStallEP: 1235 .LVL119: 1236 .LFB264: 504:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1237 .loc 1 504 1 is_stmt 1 view -0 1238 .cfi_startproc 1239 @ args = 0, pretend = 0, frame = 0 1240 @ frame_needed = 0, uses_anonymous_args = 0 504:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1241 .loc 1 504 1 is_stmt 0 view .LVU284 1242 0000 08B5 push {r3, lr} 1243 .LCFI26: 1244 .cfi_def_cfa_offset 8 1245 .cfi_offset 3, -8 1246 .cfi_offset 14, -4 505:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1247 .loc 1 505 3 is_stmt 1 view .LVU285 1248 .LVL120: 506:USB_DEVICE/Target/usbd_conf.c **** 1249 .loc 1 506 3 view .LVU286 508:USB_DEVICE/Target/usbd_conf.c **** 1250 .loc 1 508 3 view .LVU287 508:USB_DEVICE/Target/usbd_conf.c **** 1251 .loc 1 508 16 is_stmt 0 view .LVU288 1252 0002 D0F8C802 ldr r0, [r0, #712] 1253 .LVL121: 508:USB_DEVICE/Target/usbd_conf.c **** 1254 .loc 1 508 16 view .LVU289 1255 0006 FFF7FEFF bl HAL_PCD_EP_ClrStall 1256 .LVL122: 510:USB_DEVICE/Target/usbd_conf.c **** 1257 .loc 1 510 3 is_stmt 1 view .LVU290 510:USB_DEVICE/Target/usbd_conf.c **** 1258 .loc 1 510 17 is_stmt 0 view .LVU291 1259 000a FFF7FEFF bl USBD_Get_USB_Status 1260 .LVL123: 512:USB_DEVICE/Target/usbd_conf.c **** } 1261 .loc 1 512 3 is_stmt 1 view .LVU292 513:USB_DEVICE/Target/usbd_conf.c **** 1262 .loc 1 513 1 is_stmt 0 view .LVU293 1263 000e 08BD pop {r3, pc} ARM GAS /tmp/cc7jaig2.s page 37 1264 .cfi_endproc 1265 .LFE264: 1267 .section .text.USBD_LL_SetUSBAddress,"ax",%progbits 1268 .align 1 1269 .global USBD_LL_SetUSBAddress 1270 .syntax unified 1271 .thumb 1272 .thumb_func 1274 USBD_LL_SetUSBAddress: 1275 .LVL124: 1276 .LFB266: 542:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1277 .loc 1 542 1 is_stmt 1 view -0 1278 .cfi_startproc 1279 @ args = 0, pretend = 0, frame = 0 1280 @ frame_needed = 0, uses_anonymous_args = 0 542:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1281 .loc 1 542 1 is_stmt 0 view .LVU295 1282 0000 08B5 push {r3, lr} 1283 .LCFI27: 1284 .cfi_def_cfa_offset 8 1285 .cfi_offset 3, -8 1286 .cfi_offset 14, -4 543:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1287 .loc 1 543 3 is_stmt 1 view .LVU296 1288 .LVL125: 544:USB_DEVICE/Target/usbd_conf.c **** 1289 .loc 1 544 3 view .LVU297 546:USB_DEVICE/Target/usbd_conf.c **** 1290 .loc 1 546 3 view .LVU298 546:USB_DEVICE/Target/usbd_conf.c **** 1291 .loc 1 546 16 is_stmt 0 view .LVU299 1292 0002 D0F8C802 ldr r0, [r0, #712] 1293 .LVL126: 546:USB_DEVICE/Target/usbd_conf.c **** 1294 .loc 1 546 16 view .LVU300 1295 0006 FFF7FEFF bl HAL_PCD_SetAddress 1296 .LVL127: 548:USB_DEVICE/Target/usbd_conf.c **** 1297 .loc 1 548 3 is_stmt 1 view .LVU301 548:USB_DEVICE/Target/usbd_conf.c **** 1298 .loc 1 548 17 is_stmt 0 view .LVU302 1299 000a FFF7FEFF bl USBD_Get_USB_Status 1300 .LVL128: 550:USB_DEVICE/Target/usbd_conf.c **** } 1301 .loc 1 550 3 is_stmt 1 view .LVU303 551:USB_DEVICE/Target/usbd_conf.c **** 1302 .loc 1 551 1 is_stmt 0 view .LVU304 1303 000e 08BD pop {r3, pc} 1304 .cfi_endproc 1305 .LFE266: 1307 .section .text.USBD_LL_Transmit,"ax",%progbits 1308 .align 1 1309 .global USBD_LL_Transmit 1310 .syntax unified 1311 .thumb 1312 .thumb_func ARM GAS /tmp/cc7jaig2.s page 38 1314 USBD_LL_Transmit: 1315 .LVL129: 1316 .LFB267: 562:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1317 .loc 1 562 1 is_stmt 1 view -0 1318 .cfi_startproc 1319 @ args = 0, pretend = 0, frame = 0 1320 @ frame_needed = 0, uses_anonymous_args = 0 562:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1321 .loc 1 562 1 is_stmt 0 view .LVU306 1322 0000 08B5 push {r3, lr} 1323 .LCFI28: 1324 .cfi_def_cfa_offset 8 1325 .cfi_offset 3, -8 1326 .cfi_offset 14, -4 563:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1327 .loc 1 563 3 is_stmt 1 view .LVU307 1328 .LVL130: 564:USB_DEVICE/Target/usbd_conf.c **** 1329 .loc 1 564 3 view .LVU308 566:USB_DEVICE/Target/usbd_conf.c **** 1330 .loc 1 566 3 view .LVU309 566:USB_DEVICE/Target/usbd_conf.c **** 1331 .loc 1 566 16 is_stmt 0 view .LVU310 1332 0002 D0F8C802 ldr r0, [r0, #712] 1333 .LVL131: 566:USB_DEVICE/Target/usbd_conf.c **** 1334 .loc 1 566 16 view .LVU311 1335 0006 FFF7FEFF bl HAL_PCD_EP_Transmit 1336 .LVL132: 568:USB_DEVICE/Target/usbd_conf.c **** 1337 .loc 1 568 3 is_stmt 1 view .LVU312 568:USB_DEVICE/Target/usbd_conf.c **** 1338 .loc 1 568 17 is_stmt 0 view .LVU313 1339 000a FFF7FEFF bl USBD_Get_USB_Status 1340 .LVL133: 570:USB_DEVICE/Target/usbd_conf.c **** } 1341 .loc 1 570 3 is_stmt 1 view .LVU314 571:USB_DEVICE/Target/usbd_conf.c **** 1342 .loc 1 571 1 is_stmt 0 view .LVU315 1343 000e 08BD pop {r3, pc} 1344 .cfi_endproc 1345 .LFE267: 1347 .section .text.USBD_LL_PrepareReceive,"ax",%progbits 1348 .align 1 1349 .global USBD_LL_PrepareReceive 1350 .syntax unified 1351 .thumb 1352 .thumb_func 1354 USBD_LL_PrepareReceive: 1355 .LVL134: 1356 .LFB268: 582:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1357 .loc 1 582 1 is_stmt 1 view -0 1358 .cfi_startproc 1359 @ args = 0, pretend = 0, frame = 0 1360 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/cc7jaig2.s page 39 582:USB_DEVICE/Target/usbd_conf.c **** HAL_StatusTypeDef hal_status = HAL_OK; 1361 .loc 1 582 1 is_stmt 0 view .LVU317 1362 0000 08B5 push {r3, lr} 1363 .LCFI29: 1364 .cfi_def_cfa_offset 8 1365 .cfi_offset 3, -8 1366 .cfi_offset 14, -4 583:USB_DEVICE/Target/usbd_conf.c **** USBD_StatusTypeDef usb_status = USBD_OK; 1367 .loc 1 583 3 is_stmt 1 view .LVU318 1368 .LVL135: 584:USB_DEVICE/Target/usbd_conf.c **** 1369 .loc 1 584 3 view .LVU319 586:USB_DEVICE/Target/usbd_conf.c **** 1370 .loc 1 586 3 view .LVU320 586:USB_DEVICE/Target/usbd_conf.c **** 1371 .loc 1 586 16 is_stmt 0 view .LVU321 1372 0002 D0F8C802 ldr r0, [r0, #712] 1373 .LVL136: 586:USB_DEVICE/Target/usbd_conf.c **** 1374 .loc 1 586 16 view .LVU322 1375 0006 FFF7FEFF bl HAL_PCD_EP_Receive 1376 .LVL137: 588:USB_DEVICE/Target/usbd_conf.c **** 1377 .loc 1 588 3 is_stmt 1 view .LVU323 588:USB_DEVICE/Target/usbd_conf.c **** 1378 .loc 1 588 17 is_stmt 0 view .LVU324 1379 000a FFF7FEFF bl USBD_Get_USB_Status 1380 .LVL138: 590:USB_DEVICE/Target/usbd_conf.c **** } 1381 .loc 1 590 3 is_stmt 1 view .LVU325 591:USB_DEVICE/Target/usbd_conf.c **** 1382 .loc 1 591 1 is_stmt 0 view .LVU326 1383 000e 08BD pop {r3, pc} 1384 .cfi_endproc 1385 .LFE268: 1387 .section .bss.mem.0,"aw",%nobits 1388 .align 2 1391 mem.0: 1392 0000 00000000 .space 544 1392 00000000 1392 00000000 1392 00000000 1392 00000000 1393 .global hpcd_USB_OTG_FS 1394 .section .bss.hpcd_USB_OTG_FS,"aw",%nobits 1395 .align 2 1398 hpcd_USB_OTG_FS: 1399 0000 00000000 .space 1252 1399 00000000 1399 00000000 1399 00000000 1399 00000000 1400 .text 1401 .Letext0: 1402 .file 2 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f429xx.h" 1403 .file 3 "/usr/lib/gcc/arm-none-eabi/13.2.1/include/stdint.h" 1404 .file 4 "Drivers/CMSIS/Include/core_cm4.h" ARM GAS /tmp/cc7jaig2.s page 40 1405 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h" 1406 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h" 1407 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h" 1408 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h" 1409 .file 9 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd.h" 1410 .file 10 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h" 1411 .file 11 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd_ex.h" 1412 .file 12 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_core.h" 1413 .file 13 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h" 1414 .file 14 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h" ARM GAS /tmp/cc7jaig2.s page 41 DEFINED SYMBOLS *ABS*:00000000 usbd_conf.c /tmp/cc7jaig2.s:21 .text.HAL_PCD_MspInit:00000000 $t /tmp/cc7jaig2.s:27 .text.HAL_PCD_MspInit:00000000 HAL_PCD_MspInit /tmp/cc7jaig2.s:150 .text.HAL_PCD_MspInit:0000007c $d /tmp/cc7jaig2.s:156 .text.HAL_PCD_MspDeInit:00000000 $t /tmp/cc7jaig2.s:162 .text.HAL_PCD_MspDeInit:00000000 HAL_PCD_MspDeInit /tmp/cc7jaig2.s:208 .text.HAL_PCD_MspDeInit:00000028 $d /tmp/cc7jaig2.s:214 .text.HAL_PCD_SetupStageCallback:00000000 $t /tmp/cc7jaig2.s:220 .text.HAL_PCD_SetupStageCallback:00000000 HAL_PCD_SetupStageCallback /tmp/cc7jaig2.s:246 .text.HAL_PCD_DataOutStageCallback:00000000 $t /tmp/cc7jaig2.s:252 .text.HAL_PCD_DataOutStageCallback:00000000 HAL_PCD_DataOutStageCallback /tmp/cc7jaig2.s:280 .text.HAL_PCD_DataInStageCallback:00000000 $t /tmp/cc7jaig2.s:286 .text.HAL_PCD_DataInStageCallback:00000000 HAL_PCD_DataInStageCallback /tmp/cc7jaig2.s:314 .text.HAL_PCD_SOFCallback:00000000 $t /tmp/cc7jaig2.s:320 .text.HAL_PCD_SOFCallback:00000000 HAL_PCD_SOFCallback /tmp/cc7jaig2.s:345 .text.HAL_PCD_ResetCallback:00000000 $t /tmp/cc7jaig2.s:351 .text.HAL_PCD_ResetCallback:00000000 HAL_PCD_ResetCallback /tmp/cc7jaig2.s:402 .text.HAL_PCD_SuspendCallback:00000000 $t /tmp/cc7jaig2.s:408 .text.HAL_PCD_SuspendCallback:00000000 HAL_PCD_SuspendCallback /tmp/cc7jaig2.s:453 .text.HAL_PCD_SuspendCallback:0000002c $d /tmp/cc7jaig2.s:458 .text.HAL_PCD_ResumeCallback:00000000 $t /tmp/cc7jaig2.s:464 .text.HAL_PCD_ResumeCallback:00000000 HAL_PCD_ResumeCallback /tmp/cc7jaig2.s:489 .text.HAL_PCD_ISOOUTIncompleteCallback:00000000 $t /tmp/cc7jaig2.s:495 .text.HAL_PCD_ISOOUTIncompleteCallback:00000000 HAL_PCD_ISOOUTIncompleteCallback /tmp/cc7jaig2.s:520 .text.HAL_PCD_ISOINIncompleteCallback:00000000 $t /tmp/cc7jaig2.s:526 .text.HAL_PCD_ISOINIncompleteCallback:00000000 HAL_PCD_ISOINIncompleteCallback /tmp/cc7jaig2.s:551 .text.HAL_PCD_ConnectCallback:00000000 $t /tmp/cc7jaig2.s:557 .text.HAL_PCD_ConnectCallback:00000000 HAL_PCD_ConnectCallback /tmp/cc7jaig2.s:582 .text.HAL_PCD_DisconnectCallback:00000000 $t /tmp/cc7jaig2.s:588 .text.HAL_PCD_DisconnectCallback:00000000 HAL_PCD_DisconnectCallback /tmp/cc7jaig2.s:613 .text.USBD_LL_Init:00000000 $t /tmp/cc7jaig2.s:619 .text.USBD_LL_Init:00000000 USBD_LL_Init /tmp/cc7jaig2.s:728 .text.USBD_LL_Init:00000064 $d /tmp/cc7jaig2.s:1398 .bss.hpcd_USB_OTG_FS:00000000 hpcd_USB_OTG_FS /tmp/cc7jaig2.s:733 .text.USBD_LL_IsStallEP:00000000 $t /tmp/cc7jaig2.s:739 .text.USBD_LL_IsStallEP:00000000 USBD_LL_IsStallEP /tmp/cc7jaig2.s:787 .text.USBD_LL_GetRxDataSize:00000000 $t /tmp/cc7jaig2.s:793 .text.USBD_LL_GetRxDataSize:00000000 USBD_LL_GetRxDataSize /tmp/cc7jaig2.s:819 .text.USBD_static_malloc:00000000 $t /tmp/cc7jaig2.s:825 .text.USBD_static_malloc:00000000 USBD_static_malloc /tmp/cc7jaig2.s:843 .text.USBD_static_malloc:00000004 $d /tmp/cc7jaig2.s:1391 .bss.mem.0:00000000 mem.0 /tmp/cc7jaig2.s:848 .text.USBD_static_free:00000000 $t /tmp/cc7jaig2.s:854 .text.USBD_static_free:00000000 USBD_static_free /tmp/cc7jaig2.s:868 .text.USBD_LL_Delay:00000000 $t /tmp/cc7jaig2.s:874 .text.USBD_LL_Delay:00000000 USBD_LL_Delay /tmp/cc7jaig2.s:896 .text.USBD_Get_USB_Status:00000000 $t /tmp/cc7jaig2.s:902 .text.USBD_Get_USB_Status:00000000 USBD_Get_USB_Status /tmp/cc7jaig2.s:916 .text.USBD_Get_USB_Status:00000008 $d /tmp/cc7jaig2.s:920 .text.USBD_Get_USB_Status:0000000c $t /tmp/cc7jaig2.s:943 .text.USBD_LL_DeInit:00000000 $t /tmp/cc7jaig2.s:949 .text.USBD_LL_DeInit:00000000 USBD_LL_DeInit /tmp/cc7jaig2.s:983 .text.USBD_LL_Start:00000000 $t /tmp/cc7jaig2.s:989 .text.USBD_LL_Start:00000000 USBD_LL_Start /tmp/cc7jaig2.s:1023 .text.USBD_LL_Stop:00000000 $t /tmp/cc7jaig2.s:1029 .text.USBD_LL_Stop:00000000 USBD_LL_Stop ARM GAS /tmp/cc7jaig2.s page 42 /tmp/cc7jaig2.s:1063 .text.USBD_LL_OpenEP:00000000 $t /tmp/cc7jaig2.s:1069 .text.USBD_LL_OpenEP:00000000 USBD_LL_OpenEP /tmp/cc7jaig2.s:1108 .text.USBD_LL_CloseEP:00000000 $t /tmp/cc7jaig2.s:1114 .text.USBD_LL_CloseEP:00000000 USBD_LL_CloseEP /tmp/cc7jaig2.s:1148 .text.USBD_LL_FlushEP:00000000 $t /tmp/cc7jaig2.s:1154 .text.USBD_LL_FlushEP:00000000 USBD_LL_FlushEP /tmp/cc7jaig2.s:1188 .text.USBD_LL_StallEP:00000000 $t /tmp/cc7jaig2.s:1194 .text.USBD_LL_StallEP:00000000 USBD_LL_StallEP /tmp/cc7jaig2.s:1228 .text.USBD_LL_ClearStallEP:00000000 $t /tmp/cc7jaig2.s:1234 .text.USBD_LL_ClearStallEP:00000000 USBD_LL_ClearStallEP /tmp/cc7jaig2.s:1268 .text.USBD_LL_SetUSBAddress:00000000 $t /tmp/cc7jaig2.s:1274 .text.USBD_LL_SetUSBAddress:00000000 USBD_LL_SetUSBAddress /tmp/cc7jaig2.s:1308 .text.USBD_LL_Transmit:00000000 $t /tmp/cc7jaig2.s:1314 .text.USBD_LL_Transmit:00000000 USBD_LL_Transmit /tmp/cc7jaig2.s:1348 .text.USBD_LL_PrepareReceive:00000000 $t /tmp/cc7jaig2.s:1354 .text.USBD_LL_PrepareReceive:00000000 USBD_LL_PrepareReceive /tmp/cc7jaig2.s:1388 .bss.mem.0:00000000 $d /tmp/cc7jaig2.s:1395 .bss.hpcd_USB_OTG_FS:00000000 $d UNDEFINED SYMBOLS HAL_GPIO_Init HAL_NVIC_SetPriority HAL_NVIC_EnableIRQ HAL_GPIO_DeInit HAL_NVIC_DisableIRQ USBD_LL_SetupStage USBD_LL_DataOutStage USBD_LL_DataInStage USBD_LL_SOF USBD_LL_SetSpeed USBD_LL_Reset Error_Handler USBD_LL_Suspend USBD_LL_Resume USBD_LL_IsoOUTIncomplete USBD_LL_IsoINIncomplete USBD_LL_DevConnected USBD_LL_DevDisconnected HAL_PCD_Init HAL_PCDEx_SetRxFiFo HAL_PCDEx_SetTxFiFo HAL_PCD_EP_GetRxCount HAL_Delay HAL_PCD_DeInit HAL_PCD_Start HAL_PCD_Stop HAL_PCD_EP_Open HAL_PCD_EP_Close HAL_PCD_EP_Flush HAL_PCD_EP_SetStall HAL_PCD_EP_ClrStall HAL_PCD_SetAddress HAL_PCD_EP_Transmit HAL_PCD_EP_Receive