Rev 18 | Rev 20 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
19 | mjames | 1 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 1 |
16 | mjames | 2 | |
3 | |||
4 | 1 .cpu cortex-m3 |
||
5 | 2 .eabi_attribute 20, 1 |
||
6 | 3 .eabi_attribute 21, 1 |
||
7 | 4 .eabi_attribute 23, 3 |
||
8 | 5 .eabi_attribute 24, 1 |
||
9 | 6 .eabi_attribute 25, 1 |
||
10 | 7 .eabi_attribute 26, 1 |
||
11 | 8 .eabi_attribute 30, 1 |
||
12 | 9 .eabi_attribute 34, 1 |
||
13 | 10 .eabi_attribute 18, 4 |
||
14 | 11 .file "stm32f1xx_hal_pcd.c" |
||
15 | 12 .text |
||
16 | 13 .Ltext0: |
||
17 | 14 .cfi_sections .debug_frame |
||
18 | 15 .section .text.HAL_PCD_MspInit,"ax",%progbits |
||
19 | 16 .align 1 |
||
20 | 17 .weak HAL_PCD_MspInit |
||
21 | 18 .arch armv7-m |
||
22 | 19 .syntax unified |
||
23 | 20 .thumb |
||
24 | 21 .thumb_func |
||
25 | 22 .fpu softvfp |
||
26 | 24 HAL_PCD_MspInit: |
||
27 | 25 .LVL0: |
||
28 | 26 .LFB67: |
||
29 | 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c" |
||
30 | 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
31 | 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ****************************************************************************** |
||
32 | 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @file stm32f1xx_hal_pcd.c |
||
33 | 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @author MCD Application Team |
||
34 | 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief PCD HAL module driver. |
||
35 | 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * This file provides firmware functions to manage the following |
||
36 | 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * functionalities of the USB Peripheral Controller: |
||
37 | 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * + Initialization and de-initialization functions |
||
38 | 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * + IO operation functions |
||
39 | 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * + Peripheral Control functions |
||
40 | 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * + Peripheral State functions |
||
41 | 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
42 | 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim |
||
43 | 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ============================================================================== |
||
44 | 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ##### How to use this driver ##### |
||
45 | 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ============================================================================== |
||
46 | 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** [..] |
||
47 | 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** The PCD HAL driver can be used as follows: |
||
48 | 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
49 | 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (#) Declare a PCD_HandleTypeDef handle structure, for example: |
||
50 | 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_HandleTypeDef hpcd; |
||
51 | 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
52 | 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (#) Fill parameters of Init structure in HCD handle |
||
53 | 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
54 | 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (#) Call HAL_PCD_Init() API to initialize the PCD peripheral (Core, Device core, ...) |
||
55 | 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
56 | 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (#) Initialize the PCD low level resources through the HAL_PCD_MspInit() API: |
||
57 | 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (##) Enable the PCD/USB Low Level interface clock using |
||
58 | 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (+++) __HAL_RCC_USB_CLK_ENABLE(); For USB Device only FS peripheral |
||
59 | 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
60 | 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (##) Initialize the related GPIO clocks |
||
19 | mjames | 61 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 2 |
16 | mjames | 62 | |
63 | |||
64 | 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (##) Configure PCD pin-out |
||
65 | 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (##) Configure PCD NVIC interrupt |
||
66 | 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
67 | 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (#)Associate the Upper USB device stack to the HAL PCD Driver: |
||
68 | 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (##) hpcd.pData = pdev; |
||
69 | 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
70 | 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (#)Enable PCD transmission and reception: |
||
71 | 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (##) HAL_PCD_Start(); |
||
72 | 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
73 | 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim |
||
74 | 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ****************************************************************************** |
||
75 | 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @attention |
||
76 | 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
77 | 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * <h2><center>© Copyright (c) 2016 STMicroelectronics. |
||
78 | 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * All rights reserved.</center></h2> |
||
79 | 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
80 | 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * This software component is licensed by ST under BSD 3-Clause license, |
||
81 | 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * the "License"; You may not use this file except in compliance with the |
||
82 | 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * License. You may obtain a copy of the License at: |
||
83 | 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * opensource.org/licenses/BSD-3-Clause |
||
84 | 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
85 | 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ****************************************************************************** |
||
86 | 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
87 | 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
88 | 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Includes ------------------------------------------------------------------*/ |
||
89 | 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #include "stm32f1xx_hal.h" |
||
90 | 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
91 | 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @addtogroup STM32F1xx_HAL_Driver |
||
92 | 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
93 | 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
94 | 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
95 | 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD PCD |
||
96 | 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief PCD HAL module driver |
||
97 | 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
98 | 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
99 | 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
100 | 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #ifdef HAL_PCD_MODULE_ENABLED |
||
101 | 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
102 | 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) || defined (USB_OTG_FS) |
||
103 | 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
104 | 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private types -------------------------------------------------------------*/ |
||
105 | 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private variables ---------------------------------------------------------*/ |
||
106 | 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private constants ---------------------------------------------------------*/ |
||
107 | 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private macros ------------------------------------------------------------*/ |
||
108 | 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Private_Macros PCD Private Macros |
||
109 | 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
110 | 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
111 | 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #define PCD_MIN(a, b) (((a) < (b)) ? (a) : (b)) |
||
112 | 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #define PCD_MAX(a, b) (((a) > (b)) ? (a) : (b)) |
||
113 | 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
114 | 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @} |
||
115 | 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
116 | 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
117 | 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private functions prototypes ----------------------------------------------*/ |
||
118 | 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Private_Functions PCD Private Functions |
||
119 | 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
120 | 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
19 | mjames | 121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 3 |
16 | mjames | 122 | |
123 | |||
124 | 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
125 | 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_WriteEmptyTxFifo(PCD_HandleTypeDef *hpcd, uint32_t epnum); |
||
126 | 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutXfrComplete_int(PCD_HandleTypeDef *hpcd, uint32_t epnum); |
||
127 | 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int(PCD_HandleTypeDef *hpcd, uint32_t epnum); |
||
128 | 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */ |
||
129 | 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
130 | 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
131 | 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd); |
||
132 | 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */ |
||
133 | 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
134 | 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @} |
||
135 | 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
136 | 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
137 | 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Exported functions --------------------------------------------------------*/ |
||
138 | 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions PCD Exported Functions |
||
139 | 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
140 | 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
141 | 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
142 | 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group1 Initialization and de-initialization functions |
||
143 | 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Initialization and Configuration functions |
||
144 | 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
145 | 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim |
||
146 | 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
147 | 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ##### Initialization and de-initialization functions ##### |
||
148 | 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
149 | 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** [..] This section provides functions allowing to: |
||
150 | 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
151 | 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim |
||
152 | 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
153 | 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
154 | 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
155 | 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
156 | 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Initializes the PCD according to the specified |
||
157 | 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * parameters in the PCD_InitTypeDef and initialize the associated handle. |
||
158 | 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
159 | 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
160 | 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
161 | 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_Init(PCD_HandleTypeDef *hpcd) |
||
162 | 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
163 | 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
164 | 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_GlobalTypeDef *USBx; |
||
165 | 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */ |
||
166 | 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint8_t i; |
||
167 | 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
168 | 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Check the PCD handle allocation */ |
||
169 | 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd == NULL) |
||
170 | 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
171 | 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
172 | 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
173 | 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
174 | 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Check the parameters */ |
||
175 | 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** assert_param(IS_PCD_ALL_INSTANCE(hpcd->Instance)); |
||
176 | 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
177 | 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
178 | 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx = hpcd->Instance; |
||
179 | 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */ |
||
180 | 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 4 |
16 | mjames | 182 | |
183 | |||
184 | 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_RESET) |
||
185 | 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
186 | 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Allocate lock resource and initialize it */ |
||
187 | 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Lock = HAL_UNLOCKED; |
||
188 | 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
189 | 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
190 | 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SOFCallback = HAL_PCD_SOFCallback; |
||
191 | 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SetupStageCallback = HAL_PCD_SetupStageCallback; |
||
192 | 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResetCallback = HAL_PCD_ResetCallback; |
||
193 | 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SuspendCallback = HAL_PCD_SuspendCallback; |
||
194 | 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResumeCallback = HAL_PCD_ResumeCallback; |
||
195 | 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ConnectCallback = HAL_PCD_ConnectCallback; |
||
196 | 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DisconnectCallback = HAL_PCD_DisconnectCallback; |
||
197 | 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataOutStageCallback = HAL_PCD_DataOutStageCallback; |
||
198 | 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataInStageCallback = HAL_PCD_DataInStageCallback; |
||
199 | 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOOUTIncompleteCallback = HAL_PCD_ISOOUTIncompleteCallback; |
||
200 | 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOINIncompleteCallback = HAL_PCD_ISOINIncompleteCallback; |
||
201 | 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
202 | 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->MspInitCallback == NULL) |
||
203 | 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
204 | 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspInitCallback = HAL_PCD_MspInit; |
||
205 | 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
206 | 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
207 | 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Init the low level hardware */ |
||
208 | 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspInitCallback(hpcd); |
||
209 | 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
210 | 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC... */ |
||
211 | 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_MspInit(hpcd); |
||
212 | 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* (USE_HAL_PCD_REGISTER_CALLBACKS) */ |
||
213 | 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
214 | 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
215 | 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_BUSY; |
||
216 | 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
217 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
218 | 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Disable DMA mode for FS instance */ |
||
219 | 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((USBx->CID & (0x1U << 8)) == 0U) |
||
220 | 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
221 | 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Init.dma_enable = 0U; |
||
222 | 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
223 | 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */ |
||
224 | 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
225 | 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Disable the Interrupts */ |
||
226 | 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_DISABLE(hpcd); |
||
227 | 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
228 | 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /*Init the Core (common init.) */ |
||
229 | 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (USB_CoreInit(hpcd->Instance, hpcd->Init) != HAL_OK) |
||
230 | 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
231 | 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_ERROR; |
||
232 | 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
233 | 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
234 | 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
235 | 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Force Device Mode*/ |
||
236 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_SetCurrentMode(hpcd->Instance, USB_DEVICE_MODE); |
||
237 | 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
238 | 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Init endpoints structures */ |
||
239 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** for (i = 0U; i < hpcd->Init.dev_endpoints; i++) |
||
240 | 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
19 | mjames | 241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 5 |
16 | mjames | 242 | |
243 | |||
244 | 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Init ep structure */ |
||
245 | 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].is_in = 1U; |
||
246 | 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].num = i; |
||
247 | 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].tx_fifo_num = i; |
||
248 | 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Control until ep is activated */ |
||
249 | 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].type = EP_TYPE_CTRL; |
||
250 | 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].maxpacket = 0U; |
||
251 | 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].xfer_buff = 0U; |
||
252 | 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].xfer_len = 0U; |
||
253 | 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
254 | 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
255 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** for (i = 0U; i < hpcd->Init.dev_endpoints; i++) |
||
256 | 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
257 | 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].is_in = 0U; |
||
258 | 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].num = i; |
||
259 | 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Control until ep is activated */ |
||
260 | 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].type = EP_TYPE_CTRL; |
||
261 | 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].maxpacket = 0U; |
||
262 | 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].xfer_buff = 0U; |
||
263 | 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].xfer_len = 0U; |
||
264 | 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
265 | 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
266 | 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Init Device */ |
||
267 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (USB_DevInit(hpcd->Instance, hpcd->Init) != HAL_OK) |
||
268 | 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
269 | 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_ERROR; |
||
270 | 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
271 | 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
272 | 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
273 | 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->USB_Address = 0U; |
||
274 | 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_READY; |
||
275 | 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DevDisconnect(hpcd->Instance); |
||
276 | 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
277 | 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
278 | 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
279 | 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
280 | 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
281 | 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief DeInitializes the PCD peripheral. |
||
282 | 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
283 | 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
284 | 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
285 | 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DeInit(PCD_HandleTypeDef *hpcd) |
||
286 | 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
287 | 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Check the PCD handle allocation */ |
||
288 | 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd == NULL) |
||
289 | 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
290 | 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
291 | 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
292 | 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
293 | 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_BUSY; |
||
294 | 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
295 | 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Stop Device */ |
||
296 | 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)HAL_PCD_Stop(hpcd); |
||
297 | 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
298 | 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
299 | 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->MspDeInitCallback == NULL) |
||
300 | 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
19 | mjames | 301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 6 |
16 | mjames | 302 | |
303 | |||
304 | 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspDeInitCallback = HAL_PCD_MspDeInit; /* Legacy weak MspDeInit */ |
||
305 | 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
306 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
307 | 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DeInit the low level hardware */ |
||
308 | 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspDeInitCallback(hpcd); |
||
309 | 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
310 | 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DeInit the low level hardware: CLOCK, NVIC.*/ |
||
311 | 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_MspDeInit(hpcd); |
||
312 | 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
313 | 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
314 | 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_RESET; |
||
315 | 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
316 | 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
317 | 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
318 | 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
319 | 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
320 | 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Initializes the PCD MSP. |
||
321 | 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
322 | 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
323 | 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
324 | 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd) |
||
325 | 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
326 | 28 .loc 1 281 1 view -0 |
||
327 | 29 .cfi_startproc |
||
328 | 30 @ args = 0, pretend = 0, frame = 0 |
||
329 | 31 @ frame_needed = 0, uses_anonymous_args = 0 |
||
330 | 32 @ link register save eliminated. |
||
331 | 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
332 | 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
333 | 33 .loc 1 283 3 view .LVU1 |
||
334 | 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
335 | 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
336 | 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_MspInit could be implemented in the user file |
||
337 | 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
338 | 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
339 | 34 .loc 1 288 1 is_stmt 0 view .LVU2 |
||
340 | 35 0000 7047 bx lr |
||
341 | 36 .cfi_endproc |
||
342 | 37 .LFE67: |
||
343 | 39 .section .text.HAL_PCD_Init,"ax",%progbits |
||
344 | 40 .align 1 |
||
345 | 41 .global HAL_PCD_Init |
||
346 | 42 .syntax unified |
||
347 | 43 .thumb |
||
348 | 44 .thumb_func |
||
349 | 45 .fpu softvfp |
||
350 | 47 HAL_PCD_Init: |
||
351 | 48 .LVL1: |
||
352 | 49 .LFB65: |
||
353 | 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
354 | 50 .loc 1 127 1 is_stmt 1 view -0 |
||
355 | 51 .cfi_startproc |
||
356 | 52 @ args = 0, pretend = 0, frame = 0 |
||
357 | 53 @ frame_needed = 0, uses_anonymous_args = 0 |
||
358 | 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
359 | 54 .loc 1 127 1 is_stmt 0 view .LVU4 |
||
360 | 55 0000 F0B5 push {r4, r5, r6, r7, lr} |
||
19 | mjames | 361 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 7 |
16 | mjames | 362 | |
363 | |||
364 | 56 .LCFI0: |
||
365 | 57 .cfi_def_cfa_offset 20 |
||
366 | 58 .cfi_offset 4, -20 |
||
367 | 59 .cfi_offset 5, -16 |
||
368 | 60 .cfi_offset 6, -12 |
||
369 | 61 .cfi_offset 7, -8 |
||
370 | 62 .cfi_offset 14, -4 |
||
371 | 63 0002 87B0 sub sp, sp, #28 |
||
372 | 64 .LCFI1: |
||
373 | 65 .cfi_def_cfa_offset 48 |
||
374 | 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
375 | 66 .loc 1 131 3 is_stmt 1 view .LVU5 |
||
376 | 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
377 | 67 .loc 1 134 3 view .LVU6 |
||
378 | 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
379 | 68 .loc 1 134 6 is_stmt 0 view .LVU7 |
||
380 | 69 0004 0028 cmp r0, #0 |
||
381 | 70 0006 73D0 beq .L11 |
||
382 | 71 0008 0446 mov r4, r0 |
||
383 | 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
384 | 72 .loc 1 140 3 is_stmt 1 view .LVU8 |
||
385 | 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
386 | 73 .loc 1 146 3 view .LVU9 |
||
387 | 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
388 | 74 .loc 1 146 11 is_stmt 0 view .LVU10 |
||
389 | 75 000a 90F82932 ldrb r3, [r0, #553] @ zero_extendqisi2 |
||
390 | 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
391 | 76 .loc 1 146 6 view .LVU11 |
||
392 | 77 000e D3B1 cbz r3, .L13 |
||
393 | 78 .LVL2: |
||
394 | 79 .L4: |
||
395 | 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
396 | 80 .loc 1 177 3 is_stmt 1 view .LVU12 |
||
397 | 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
398 | 81 .loc 1 177 15 is_stmt 0 view .LVU13 |
||
399 | 82 0010 0323 movs r3, #3 |
||
400 | 83 0012 84F82932 strb r3, [r4, #553] |
||
401 | 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
402 | 84 .loc 1 188 3 is_stmt 1 view .LVU14 |
||
403 | 85 0016 2068 ldr r0, [r4] |
||
404 | 86 0018 FFF7FEFF bl USB_DisableGlobalInt |
||
405 | 87 .LVL3: |
||
406 | 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
407 | 88 .loc 1 191 3 view .LVU15 |
||
408 | 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
409 | 89 .loc 1 191 24 is_stmt 0 view .LVU16 |
||
410 | 90 001c 2546 mov r5, r4 |
||
411 | 91 001e 55F8107B ldr r7, [r5], #16 |
||
412 | 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
413 | 92 .loc 1 191 7 view .LVU17 |
||
414 | 93 0022 6E46 mov r6, sp |
||
415 | 94 0024 0FCD ldmia r5!, {r0, r1, r2, r3} |
||
416 | 95 0026 0FC6 stmia r6!, {r0, r1, r2, r3} |
||
417 | 96 0028 2B68 ldr r3, [r5] |
||
418 | 97 002a 3360 str r3, [r6] |
||
419 | 98 002c 231D adds r3, r4, #4 |
||
420 | 99 002e 0ECB ldm r3, {r1, r2, r3} |
||
19 | mjames | 421 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 8 |
16 | mjames | 422 | |
423 | |||
424 | 100 0030 3846 mov r0, r7 |
||
425 | 101 0032 FFF7FEFF bl USB_CoreInit |
||
426 | 102 .LVL4: |
||
427 | 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
428 | 103 .loc 1 191 6 view .LVU18 |
||
429 | 104 0036 58B1 cbz r0, .L5 |
||
430 | 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
431 | 105 .loc 1 193 5 is_stmt 1 view .LVU19 |
||
432 | 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
433 | 106 .loc 1 193 17 is_stmt 0 view .LVU20 |
||
434 | 107 0038 0223 movs r3, #2 |
||
435 | 108 003a 84F82932 strb r3, [r4, #553] |
||
436 | 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
437 | 109 .loc 1 194 5 is_stmt 1 view .LVU21 |
||
438 | 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
439 | 110 .loc 1 194 12 is_stmt 0 view .LVU22 |
||
440 | 111 003e 0125 movs r5, #1 |
||
441 | 112 .LVL5: |
||
442 | 113 .L3: |
||
443 | 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
444 | 114 .loc 1 237 1 view .LVU23 |
||
445 | 115 0040 2846 mov r0, r5 |
||
446 | 116 0042 07B0 add sp, sp, #28 |
||
447 | 117 .LCFI2: |
||
448 | 118 .cfi_remember_state |
||
449 | 119 .cfi_def_cfa_offset 20 |
||
450 | 120 @ sp needed |
||
451 | 121 0044 F0BD pop {r4, r5, r6, r7, pc} |
||
452 | 122 .LVL6: |
||
453 | 123 .L13: |
||
454 | 124 .LCFI3: |
||
455 | 125 .cfi_restore_state |
||
456 | 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
457 | 126 .loc 1 149 5 is_stmt 1 view .LVU24 |
||
458 | 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
459 | 127 .loc 1 149 16 is_stmt 0 view .LVU25 |
||
460 | 128 0046 80F82832 strb r3, [r0, #552] |
||
461 | 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* (USE_HAL_PCD_REGISTER_CALLBACKS) */ |
||
462 | 129 .loc 1 173 5 is_stmt 1 view .LVU26 |
||
463 | 130 004a FFF7FEFF bl HAL_PCD_MspInit |
||
464 | 131 .LVL7: |
||
465 | 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* (USE_HAL_PCD_REGISTER_CALLBACKS) */ |
||
466 | 132 .loc 1 173 5 is_stmt 0 view .LVU27 |
||
467 | 133 004e DFE7 b .L4 |
||
468 | 134 .L5: |
||
469 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
470 | 135 .loc 1 198 3 is_stmt 1 view .LVU28 |
||
471 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
472 | 136 .loc 1 198 9 is_stmt 0 view .LVU29 |
||
473 | 137 0050 0021 movs r1, #0 |
||
474 | 138 0052 2068 ldr r0, [r4] |
||
475 | 139 0054 FFF7FEFF bl USB_SetCurrentMode |
||
476 | 140 .LVL8: |
||
477 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
478 | 141 .loc 1 201 3 is_stmt 1 view .LVU30 |
||
479 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
480 | 142 .loc 1 201 10 is_stmt 0 view .LVU31 |
||
19 | mjames | 481 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 9 |
16 | mjames | 482 | |
483 | |||
484 | 143 0058 0023 movs r3, #0 |
||
485 | 144 .LVL9: |
||
486 | 145 .L6: |
||
487 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
488 | 146 .loc 1 201 30 discriminator 1 view .LVU32 |
||
489 | 147 005a 6068 ldr r0, [r4, #4] |
||
490 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
491 | 148 .loc 1 201 3 discriminator 1 view .LVU33 |
||
492 | 149 005c 8342 cmp r3, r0 |
||
493 | 150 005e 12D2 bcs .L14 |
||
494 | 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].num = i; |
||
495 | 151 .loc 1 204 5 is_stmt 1 discriminator 3 view .LVU34 |
||
496 | 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].num = i; |
||
497 | 152 .loc 1 204 26 is_stmt 0 discriminator 3 view .LVU35 |
||
498 | 153 0060 04EB4312 add r2, r4, r3, lsl #5 |
||
499 | 154 0064 0121 movs r1, #1 |
||
500 | 155 0066 82F82910 strb r1, [r2, #41] |
||
501 | 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].tx_fifo_num = i; |
||
502 | 156 .loc 1 205 5 is_stmt 1 discriminator 3 view .LVU36 |
||
503 | 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].tx_fifo_num = i; |
||
504 | 157 .loc 1 205 24 is_stmt 0 discriminator 3 view .LVU37 |
||
505 | 158 006a 82F82830 strb r3, [r2, #40] |
||
506 | 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Control until ep is activated */ |
||
507 | 159 .loc 1 206 5 is_stmt 1 discriminator 3 view .LVU38 |
||
508 | 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Control until ep is activated */ |
||
509 | 160 .loc 1 206 32 is_stmt 0 discriminator 3 view .LVU39 |
||
510 | 161 006e D386 strh r3, [r2, #54] @ movhi |
||
511 | 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].maxpacket = 0U; |
||
512 | 162 .loc 1 208 5 is_stmt 1 discriminator 3 view .LVU40 |
||
513 | 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].maxpacket = 0U; |
||
514 | 163 .loc 1 208 25 is_stmt 0 discriminator 3 view .LVU41 |
||
515 | 164 0070 0021 movs r1, #0 |
||
516 | 165 0072 82F82B10 strb r1, [r2, #43] |
||
517 | 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].xfer_buff = 0U; |
||
518 | 166 .loc 1 209 5 is_stmt 1 discriminator 3 view .LVU42 |
||
519 | 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].xfer_buff = 0U; |
||
520 | 167 .loc 1 209 30 is_stmt 0 discriminator 3 view .LVU43 |
||
521 | 168 0076 9163 str r1, [r2, #56] |
||
522 | 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].xfer_len = 0U; |
||
523 | 169 .loc 1 210 5 is_stmt 1 discriminator 3 view .LVU44 |
||
524 | 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->IN_ep[i].xfer_len = 0U; |
||
525 | 170 .loc 1 210 30 is_stmt 0 discriminator 3 view .LVU45 |
||
526 | 171 0078 D163 str r1, [r2, #60] |
||
527 | 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
528 | 172 .loc 1 211 5 is_stmt 1 discriminator 3 view .LVU46 |
||
529 | 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
530 | 173 .loc 1 211 29 is_stmt 0 discriminator 3 view .LVU47 |
||
531 | 174 007a 9A1C adds r2, r3, #2 |
||
532 | 175 007c 5201 lsls r2, r2, #5 |
||
533 | 176 007e A150 str r1, [r4, r2] |
||
534 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
535 | 177 .loc 1 201 47 discriminator 3 view .LVU48 |
||
536 | 178 0080 0133 adds r3, r3, #1 |
||
537 | 179 .LVL10: |
||
538 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
539 | 180 .loc 1 201 47 discriminator 3 view .LVU49 |
||
540 | 181 0082 DBB2 uxtb r3, r3 |
||
19 | mjames | 541 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 10 |
16 | mjames | 542 | |
543 | |||
544 | 182 .LVL11: |
||
545 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
546 | 183 .loc 1 201 47 discriminator 3 view .LVU50 |
||
547 | 184 0084 E9E7 b .L6 |
||
548 | 185 .L14: |
||
549 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
550 | 186 .loc 1 214 10 view .LVU51 |
||
551 | 187 0086 0023 movs r3, #0 |
||
552 | 188 .LVL12: |
||
553 | 189 .L8: |
||
554 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
555 | 190 .loc 1 214 3 discriminator 1 view .LVU52 |
||
556 | 191 0088 9842 cmp r0, r3 |
||
557 | 192 008a 13D9 bls .L15 |
||
558 | 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].num = i; |
||
559 | 193 .loc 1 216 5 is_stmt 1 discriminator 3 view .LVU53 |
||
560 | 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].num = i; |
||
561 | 194 .loc 1 216 27 is_stmt 0 discriminator 3 view .LVU54 |
||
562 | 195 008c 04EB4311 add r1, r4, r3, lsl #5 |
||
563 | 196 0090 0022 movs r2, #0 |
||
564 | 197 0092 81F82921 strb r2, [r1, #297] |
||
565 | 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Control until ep is activated */ |
||
566 | 198 .loc 1 217 5 is_stmt 1 discriminator 3 view .LVU55 |
||
567 | 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Control until ep is activated */ |
||
568 | 199 .loc 1 217 25 is_stmt 0 discriminator 3 view .LVU56 |
||
569 | 200 0096 81F82831 strb r3, [r1, #296] |
||
570 | 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].maxpacket = 0U; |
||
571 | 201 .loc 1 219 5 is_stmt 1 discriminator 3 view .LVU57 |
||
572 | 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].maxpacket = 0U; |
||
573 | 202 .loc 1 219 26 is_stmt 0 discriminator 3 view .LVU58 |
||
574 | 203 009a 81F82B21 strb r2, [r1, #299] |
||
575 | 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].xfer_buff = 0U; |
||
576 | 204 .loc 1 220 5 is_stmt 1 discriminator 3 view .LVU59 |
||
577 | 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].xfer_buff = 0U; |
||
578 | 205 .loc 1 220 31 is_stmt 0 discriminator 3 view .LVU60 |
||
579 | 206 009e C1F83821 str r2, [r1, #312] |
||
580 | 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].xfer_len = 0U; |
||
581 | 207 .loc 1 221 5 is_stmt 1 discriminator 3 view .LVU61 |
||
582 | 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->OUT_ep[i].xfer_len = 0U; |
||
583 | 208 .loc 1 221 31 is_stmt 0 discriminator 3 view .LVU62 |
||
584 | 209 00a2 C1F83C21 str r2, [r1, #316] |
||
585 | 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
586 | 210 .loc 1 222 5 is_stmt 1 discriminator 3 view .LVU63 |
||
587 | 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
588 | 211 .loc 1 222 30 is_stmt 0 discriminator 3 view .LVU64 |
||
589 | 212 00a6 03F10A01 add r1, r3, #10 |
||
590 | 213 00aa 4901 lsls r1, r1, #5 |
||
591 | 214 00ac 6250 str r2, [r4, r1] |
||
592 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
593 | 215 .loc 1 214 47 discriminator 3 view .LVU65 |
||
594 | 216 00ae 0133 adds r3, r3, #1 |
||
595 | 217 .LVL13: |
||
596 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
597 | 218 .loc 1 214 47 discriminator 3 view .LVU66 |
||
598 | 219 00b0 DBB2 uxtb r3, r3 |
||
599 | 220 .LVL14: |
||
600 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
19 | mjames | 601 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 11 |
16 | mjames | 602 | |
603 | |||
604 | 221 .loc 1 214 47 discriminator 3 view .LVU67 |
||
605 | 222 00b2 E9E7 b .L8 |
||
606 | 223 .L15: |
||
607 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
608 | 224 .loc 1 226 3 is_stmt 1 view .LVU68 |
||
609 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
610 | 225 .loc 1 226 23 is_stmt 0 view .LVU69 |
||
611 | 226 00b4 2546 mov r5, r4 |
||
612 | 227 00b6 55F8107B ldr r7, [r5], #16 |
||
613 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
614 | 228 .loc 1 226 7 view .LVU70 |
||
615 | 229 00ba 6E46 mov r6, sp |
||
616 | 230 00bc 0FCD ldmia r5!, {r0, r1, r2, r3} |
||
617 | 231 .LVL15: |
||
618 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
619 | 232 .loc 1 226 7 view .LVU71 |
||
620 | 233 00be 0FC6 stmia r6!, {r0, r1, r2, r3} |
||
621 | 234 00c0 2B68 ldr r3, [r5] |
||
622 | 235 00c2 3360 str r3, [r6] |
||
623 | 236 00c4 231D adds r3, r4, #4 |
||
624 | 237 00c6 0ECB ldm r3, {r1, r2, r3} |
||
625 | 238 00c8 3846 mov r0, r7 |
||
626 | 239 00ca FFF7FEFF bl USB_DevInit |
||
627 | 240 .LVL16: |
||
628 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
629 | 241 .loc 1 226 6 view .LVU72 |
||
630 | 242 00ce 0546 mov r5, r0 |
||
631 | 243 00d0 20B1 cbz r0, .L10 |
||
632 | 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
633 | 244 .loc 1 228 5 is_stmt 1 view .LVU73 |
||
634 | 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
635 | 245 .loc 1 228 17 is_stmt 0 view .LVU74 |
||
636 | 246 00d2 0223 movs r3, #2 |
||
637 | 247 00d4 84F82932 strb r3, [r4, #553] |
||
638 | 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
639 | 248 .loc 1 229 5 is_stmt 1 view .LVU75 |
||
640 | 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
641 | 249 .loc 1 229 12 is_stmt 0 view .LVU76 |
||
642 | 250 00d8 0125 movs r5, #1 |
||
643 | 251 00da B1E7 b .L3 |
||
644 | 252 .L10: |
||
645 | 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_READY; |
||
646 | 253 .loc 1 232 3 is_stmt 1 view .LVU77 |
||
647 | 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->State = HAL_PCD_STATE_READY; |
||
648 | 254 .loc 1 232 21 is_stmt 0 view .LVU78 |
||
649 | 255 00dc 0023 movs r3, #0 |
||
650 | 256 00de 84F82430 strb r3, [r4, #36] |
||
651 | 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DevDisconnect(hpcd->Instance); |
||
652 | 257 .loc 1 233 3 is_stmt 1 view .LVU79 |
||
653 | 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DevDisconnect(hpcd->Instance); |
||
654 | 258 .loc 1 233 15 is_stmt 0 view .LVU80 |
||
655 | 259 00e2 0123 movs r3, #1 |
||
656 | 260 00e4 84F82932 strb r3, [r4, #553] |
||
657 | 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
658 | 261 .loc 1 234 3 is_stmt 1 view .LVU81 |
||
659 | 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
660 | 262 .loc 1 234 9 is_stmt 0 view .LVU82 |
||
19 | mjames | 661 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 12 |
16 | mjames | 662 | |
663 | |||
664 | 263 00e8 2068 ldr r0, [r4] |
||
665 | 264 00ea FFF7FEFF bl USB_DevDisconnect |
||
666 | 265 .LVL17: |
||
667 | 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
668 | 266 .loc 1 236 3 is_stmt 1 view .LVU83 |
||
669 | 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
670 | 267 .loc 1 236 10 is_stmt 0 view .LVU84 |
||
671 | 268 00ee A7E7 b .L3 |
||
672 | 269 .LVL18: |
||
673 | 270 .L11: |
||
674 | 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
675 | 271 .loc 1 136 12 view .LVU85 |
||
676 | 272 00f0 0125 movs r5, #1 |
||
677 | 273 00f2 A5E7 b .L3 |
||
678 | 274 .cfi_endproc |
||
679 | 275 .LFE65: |
||
680 | 277 .section .text.HAL_PCD_MspDeInit,"ax",%progbits |
||
681 | 278 .align 1 |
||
682 | 279 .weak HAL_PCD_MspDeInit |
||
683 | 280 .syntax unified |
||
684 | 281 .thumb |
||
685 | 282 .thumb_func |
||
686 | 283 .fpu softvfp |
||
687 | 285 HAL_PCD_MspDeInit: |
||
688 | 286 .LVL19: |
||
689 | 287 .LFB68: |
||
690 | 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
691 | 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
692 | 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief DeInitializes PCD MSP. |
||
693 | 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
694 | 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
695 | 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
696 | 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_MspDeInit(PCD_HandleTypeDef *hpcd) |
||
697 | 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
698 | 288 .loc 1 296 1 is_stmt 1 view -0 |
||
699 | 289 .cfi_startproc |
||
700 | 290 @ args = 0, pretend = 0, frame = 0 |
||
701 | 291 @ frame_needed = 0, uses_anonymous_args = 0 |
||
702 | 292 @ link register save eliminated. |
||
703 | 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
704 | 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
705 | 293 .loc 1 298 3 view .LVU87 |
||
706 | 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
707 | 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
708 | 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_MspDeInit could be implemented in the user file |
||
709 | 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
710 | 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
711 | 294 .loc 1 303 1 is_stmt 0 view .LVU88 |
||
712 | 295 0000 7047 bx lr |
||
713 | 296 .cfi_endproc |
||
714 | 297 .LFE68: |
||
715 | 299 .section .text.HAL_PCD_Start,"ax",%progbits |
||
716 | 300 .align 1 |
||
717 | 301 .global HAL_PCD_Start |
||
718 | 302 .syntax unified |
||
719 | 303 .thumb |
||
720 | 304 .thumb_func |
||
19 | mjames | 721 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 13 |
16 | mjames | 722 | |
723 | |||
724 | 305 .fpu softvfp |
||
725 | 307 HAL_PCD_Start: |
||
726 | 308 .LVL20: |
||
727 | 309 .LFB69: |
||
728 | 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
729 | 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
730 | 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
731 | 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Register a User USB PCD Callback |
||
732 | 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * To be used instead of the weak predefined callback |
||
733 | 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd USB PCD handle |
||
734 | 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param CallbackID ID of the callback to be registered |
||
735 | 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * This parameter can be one of the following values: |
||
736 | 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_SOF_CB_ID USB PCD SOF callback ID |
||
737 | 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_SETUPSTAGE_CB_ID USB PCD Setup callback ID |
||
738 | 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_RESET_CB_ID USB PCD Reset callback ID |
||
739 | 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_SUSPEND_CB_ID USB PCD Suspend callback ID |
||
740 | 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_RESUME_CB_ID USB PCD Resume callback ID |
||
741 | 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_CONNECT_CB_ID USB PCD Connect callback ID |
||
742 | 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_DISCONNECT_CB_ID OTG PCD Disconnect callback ID |
||
743 | 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_MSPINIT_CB_ID MspDeInit callback ID |
||
744 | 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_MSPDEINIT_CB_ID MspDeInit callback ID |
||
745 | 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param pCallback pointer to the Callback function |
||
746 | 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
747 | 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
748 | 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterCallback(PCD_HandleTypeDef *hpcd, HAL_PCD_CallbackIDTypeDef Callb |
||
749 | 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
750 | 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
751 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
752 | 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (pCallback == NULL) |
||
753 | 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
754 | 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
755 | 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
756 | 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
757 | 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
758 | 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
759 | 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
760 | 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
761 | 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
762 | 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
763 | 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** switch (CallbackID) |
||
764 | 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
765 | 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_SOF_CB_ID : |
||
766 | 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SOFCallback = pCallback; |
||
767 | 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
768 | 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
769 | 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_SETUPSTAGE_CB_ID : |
||
770 | 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SetupStageCallback = pCallback; |
||
771 | 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
772 | 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
773 | 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_RESET_CB_ID : |
||
774 | 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResetCallback = pCallback; |
||
775 | 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
776 | 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
777 | 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_SUSPEND_CB_ID : |
||
778 | 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SuspendCallback = pCallback; |
||
779 | 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
780 | 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 781 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 14 |
16 | mjames | 782 | |
783 | |||
784 | 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_RESUME_CB_ID : |
||
785 | 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResumeCallback = pCallback; |
||
786 | 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
787 | 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
788 | 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_CONNECT_CB_ID : |
||
789 | 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ConnectCallback = pCallback; |
||
790 | 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
791 | 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
792 | 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_DISCONNECT_CB_ID : |
||
793 | 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DisconnectCallback = pCallback; |
||
794 | 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
795 | 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
796 | 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPINIT_CB_ID : |
||
797 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspInitCallback = pCallback; |
||
798 | 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
799 | 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
800 | 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPDEINIT_CB_ID : |
||
801 | 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspDeInitCallback = pCallback; |
||
802 | 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
803 | 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
804 | 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** default : |
||
805 | 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
806 | 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
807 | 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
808 | 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
809 | 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
810 | 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
811 | 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
812 | 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else if (hpcd->State == HAL_PCD_STATE_RESET) |
||
813 | 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
814 | 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** switch (CallbackID) |
||
815 | 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
816 | 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPINIT_CB_ID : |
||
817 | 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspInitCallback = pCallback; |
||
818 | 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
819 | 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
820 | 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPDEINIT_CB_ID : |
||
821 | 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspDeInitCallback = pCallback; |
||
822 | 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
823 | 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
824 | 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** default : |
||
825 | 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
826 | 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
827 | 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
828 | 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
829 | 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
830 | 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
831 | 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
832 | 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
833 | 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
834 | 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
835 | 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
836 | 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
837 | 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
838 | 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
839 | 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
840 | 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
19 | mjames | 841 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 15 |
16 | mjames | 842 | |
843 | |||
844 | 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
845 | 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
846 | 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
847 | 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
848 | 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
849 | 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Unregister an USB PCD Callback |
||
850 | 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * USB PCD callabck is redirected to the weak predefined callback |
||
851 | 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd USB PCD handle |
||
852 | 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param CallbackID ID of the callback to be unregistered |
||
853 | 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * This parameter can be one of the following values: |
||
854 | 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_SOF_CB_ID USB PCD SOF callback ID |
||
855 | 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_SETUPSTAGE_CB_ID USB PCD Setup callback ID |
||
856 | 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_RESET_CB_ID USB PCD Reset callback ID |
||
857 | 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_SUSPEND_CB_ID USB PCD Suspend callback ID |
||
858 | 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_RESUME_CB_ID USB PCD Resume callback ID |
||
859 | 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_CONNECT_CB_ID USB PCD Connect callback ID |
||
860 | 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_DISCONNECT_CB_ID OTG PCD Disconnect callback ID |
||
861 | 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_MSPINIT_CB_ID MspDeInit callback ID |
||
862 | 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @arg @ref HAL_PCD_MSPDEINIT_CB_ID MspDeInit callback ID |
||
863 | 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
864 | 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
865 | 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterCallback(PCD_HandleTypeDef *hpcd, HAL_PCD_CallbackIDTypeDef Cal |
||
866 | 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
867 | 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
868 | 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
869 | 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
870 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
871 | 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
872 | 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Setup Legacy weak Callbacks */ |
||
873 | 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
874 | 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
875 | 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** switch (CallbackID) |
||
876 | 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
877 | 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_SOF_CB_ID : |
||
878 | 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SOFCallback = HAL_PCD_SOFCallback; |
||
879 | 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
880 | 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
881 | 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_SETUPSTAGE_CB_ID : |
||
882 | 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SetupStageCallback = HAL_PCD_SetupStageCallback; |
||
883 | 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
884 | 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
885 | 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_RESET_CB_ID : |
||
886 | 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResetCallback = HAL_PCD_ResetCallback; |
||
887 | 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
888 | 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
889 | 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_SUSPEND_CB_ID : |
||
890 | 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SuspendCallback = HAL_PCD_SuspendCallback; |
||
891 | 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
892 | 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
893 | 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_RESUME_CB_ID : |
||
894 | 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResumeCallback = HAL_PCD_ResumeCallback; |
||
895 | 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
896 | 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
897 | 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_CONNECT_CB_ID : |
||
898 | 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ConnectCallback = HAL_PCD_ConnectCallback; |
||
899 | 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
900 | 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 901 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 16 |
16 | mjames | 902 | |
903 | |||
904 | 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_DISCONNECT_CB_ID : |
||
905 | 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DisconnectCallback = HAL_PCD_DisconnectCallback; |
||
906 | 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
907 | 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
908 | 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPINIT_CB_ID : |
||
909 | 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspInitCallback = HAL_PCD_MspInit; |
||
910 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
911 | 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
912 | 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPDEINIT_CB_ID : |
||
913 | 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspDeInitCallback = HAL_PCD_MspDeInit; |
||
914 | 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
915 | 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
916 | 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** default : |
||
917 | 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
918 | 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
919 | 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
920 | 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
921 | 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
922 | 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
923 | 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
924 | 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
925 | 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else if (hpcd->State == HAL_PCD_STATE_RESET) |
||
926 | 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
927 | 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** switch (CallbackID) |
||
928 | 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
929 | 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPINIT_CB_ID : |
||
930 | 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspInitCallback = HAL_PCD_MspInit; |
||
931 | 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
932 | 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
933 | 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** case HAL_PCD_MSPDEINIT_CB_ID : |
||
934 | 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->MspDeInitCallback = HAL_PCD_MspDeInit; |
||
935 | 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
936 | 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
937 | 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** default : |
||
938 | 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
939 | 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
940 | 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
941 | 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
942 | 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
943 | 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** break; |
||
944 | 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
945 | 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
946 | 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
947 | 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
948 | 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
949 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
950 | 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
951 | 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
952 | 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
953 | 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
954 | 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
955 | 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
956 | 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
957 | 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
958 | 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
959 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
960 | 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
19 | mjames | 961 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 17 |
16 | mjames | 962 | |
963 | |||
964 | 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Register USB PCD Data OUT Stage Callback |
||
965 | 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * To be used instead of the weak HAL_PCD_DataOutStageCallback() predefined callback |
||
966 | 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
967 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param pCallback pointer to the USB PCD Data OUT Stage Callback function |
||
968 | 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
969 | 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
970 | 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterDataOutStageCallback(PCD_HandleTypeDef *hpcd, pPCD_DataOutStageCa |
||
971 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
972 | 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
973 | 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
974 | 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (pCallback == NULL) |
||
975 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
976 | 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
977 | 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
978 | 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
979 | 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
980 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
981 | 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
982 | 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
983 | 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
984 | 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
985 | 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
986 | 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
987 | 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataOutStageCallback = pCallback; |
||
988 | 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
989 | 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
990 | 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
991 | 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
992 | 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
993 | 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
994 | 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
995 | 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
996 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
997 | 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
998 | 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
999 | 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1000 | 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1001 | 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1002 | 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1003 | 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1004 | 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1005 | 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief UnRegister the USB PCD Data OUT Stage Callback |
||
1006 | 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * USB PCD Data OUT Stage Callback is redirected to the weak HAL_PCD_DataOutStageCallback( |
||
1007 | 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1008 | 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1009 | 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1010 | 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterDataOutStageCallback(PCD_HandleTypeDef *hpcd) |
||
1011 | 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1012 | 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1013 | 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1014 | 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
1015 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1016 | 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1017 | 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
1018 | 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1019 | 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataOutStageCallback = HAL_PCD_DataOutStageCallback; /* Legacy weak DataOutStageCallback |
||
1020 | 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
19 | mjames | 1021 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 18 |
16 | mjames | 1022 | |
1023 | |||
1024 | 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1025 | 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1026 | 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1027 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1028 | 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1029 | 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
1030 | 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
1031 | 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1032 | 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1033 | 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
1034 | 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1035 | 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1036 | 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1037 | 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1038 | 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1039 | 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1040 | 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Register USB PCD Data IN Stage Callback |
||
1041 | 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * To be used instead of the weak HAL_PCD_DataInStageCallback() predefined callback |
||
1042 | 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1043 | 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param pCallback pointer to the USB PCD Data IN Stage Callback function |
||
1044 | 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1045 | 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1046 | 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterDataInStageCallback(PCD_HandleTypeDef *hpcd, pPCD_DataInStageCall |
||
1047 | 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1048 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1049 | 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1050 | 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (pCallback == NULL) |
||
1051 | 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1052 | 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1053 | 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1054 | 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1055 | 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
1056 | 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1057 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1058 | 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
1059 | 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1060 | 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1061 | 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
1062 | 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1063 | 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataInStageCallback = pCallback; |
||
1064 | 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1065 | 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1066 | 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1067 | 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1068 | 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1069 | 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1070 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
1071 | 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
1072 | 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1073 | 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1074 | 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
1075 | 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1076 | 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1077 | 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1078 | 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1079 | 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1080 | 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
19 | mjames | 1081 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 19 |
16 | mjames | 1082 | |
1083 | |||
1084 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief UnRegister the USB PCD Data IN Stage Callback |
||
1085 | 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * USB PCD Data OUT Stage Callback is redirected to the weak HAL_PCD_DataInStageCallback() |
||
1086 | 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1087 | 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1088 | 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1089 | 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterDataInStageCallback(PCD_HandleTypeDef *hpcd) |
||
1090 | 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1091 | 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1092 | 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1093 | 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
1094 | 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1095 | 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1096 | 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
1097 | 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1098 | 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataInStageCallback = HAL_PCD_DataInStageCallback; /* Legacy weak DataInStageCallback */ |
||
1099 | 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1100 | 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1101 | 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1102 | 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1103 | 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1104 | 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1105 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
1106 | 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
1107 | 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1108 | 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1109 | 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
1110 | 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1111 | 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1112 | 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1113 | 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1114 | 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1115 | 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1116 | 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Register USB PCD Iso OUT incomplete Callback |
||
1117 | 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * To be used instead of the weak HAL_PCD_ISOOUTIncompleteCallback() predefined callback |
||
1118 | 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1119 | 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param pCallback pointer to the USB PCD Iso OUT incomplete Callback function |
||
1120 | 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1121 | 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1122 | 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterIsoOutIncpltCallback(PCD_HandleTypeDef *hpcd, pPCD_IsoOutIncpltCa |
||
1123 | 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1124 | 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1125 | 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1126 | 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (pCallback == NULL) |
||
1127 | 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1128 | 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1129 | 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1130 | 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1131 | 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
1132 | 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1133 | 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1134 | 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
1135 | 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1136 | 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1137 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
1138 | 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1139 | 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOOUTIncompleteCallback = pCallback; |
||
1140 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
19 | mjames | 1141 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 20 |
16 | mjames | 1142 | |
1143 | |||
1144 | 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1145 | 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1146 | 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1147 | 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1148 | 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1149 | 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
1150 | 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
1151 | 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1152 | 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1153 | 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
1154 | 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1155 | 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1156 | 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1157 | 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1158 | 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1159 | 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1160 | 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief UnRegister the USB PCD Iso OUT incomplete Callback |
||
1161 | 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * USB PCD Iso OUT incomplete Callback is redirected to the weak HAL_PCD_ISOOUTIncompleteC |
||
1162 | 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1163 | 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1164 | 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1165 | 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterIsoOutIncpltCallback(PCD_HandleTypeDef *hpcd) |
||
1166 | 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1167 | 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1168 | 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1169 | 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
1170 | 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1171 | 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1172 | 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
1173 | 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1174 | 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOOUTIncompleteCallback = HAL_PCD_ISOOUTIncompleteCallback; /* Legacy weak ISOOUTIncompl |
||
1175 | 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1176 | 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1177 | 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1178 | 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1179 | 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1180 | 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1181 | 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
1182 | 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
1183 | 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1184 | 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1185 | 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
1186 | 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1187 | 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1188 | 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1189 | 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1190 | 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1191 | 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1192 | 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Register USB PCD Iso IN incomplete Callback |
||
1193 | 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * To be used instead of the weak HAL_PCD_ISOINIncompleteCallback() predefined callback |
||
1194 | 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1195 | 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param pCallback pointer to the USB PCD Iso IN incomplete Callback function |
||
1196 | 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1197 | 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1198 | 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterIsoInIncpltCallback(PCD_HandleTypeDef *hpcd, pPCD_IsoInIncpltCall |
||
1199 | 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1200 | 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
19 | mjames | 1201 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 21 |
16 | mjames | 1202 | |
1203 | |||
1204 | 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1205 | 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (pCallback == NULL) |
||
1206 | 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1207 | 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1208 | 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1209 | 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1210 | 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
1211 | 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1212 | 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1213 | 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
1214 | 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1215 | 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1216 | 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
1217 | 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1218 | 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOINIncompleteCallback = pCallback; |
||
1219 | 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1220 | 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1221 | 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1222 | 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1223 | 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1224 | 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1225 | 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
1226 | 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
1227 | 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1228 | 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1229 | 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
1230 | 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1231 | 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1232 | 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1233 | 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1234 | 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1235 | 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1236 | 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief UnRegister the USB PCD Iso IN incomplete Callback |
||
1237 | 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * USB PCD Iso IN incomplete Callback is redirected to the weak HAL_PCD_ISOINIncompleteCal |
||
1238 | 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1239 | 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1240 | 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1241 | 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterIsoInIncpltCallback(PCD_HandleTypeDef *hpcd) |
||
1242 | 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1243 | 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1244 | 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1245 | 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process locked */ |
||
1246 | 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1247 | 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1248 | 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->State == HAL_PCD_STATE_READY) |
||
1249 | 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1250 | 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOINIncompleteCallback = HAL_PCD_ISOINIncompleteCallback; /* Legacy weak ISOINIncomplete |
||
1251 | 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1252 | 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1253 | 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1254 | 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Update the error code */ |
||
1255 | 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK; |
||
1256 | 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1257 | 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Return error status */ |
||
1258 | 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** status = HAL_ERROR; |
||
1259 | 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1260 | 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 1261 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 22 |
16 | mjames | 1262 | |
1263 | |||
1264 | 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Release Lock */ |
||
1265 | 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1266 | 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1267 | 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return status; |
||
1268 | 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1269 | 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1270 | 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1271 | 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1272 | 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1273 | 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @} |
||
1274 | 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1275 | 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1276 | 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group2 Input and Output operation functions |
||
1277 | 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Data transfers functions |
||
1278 | 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
1279 | 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim |
||
1280 | 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
1281 | 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ##### IO operation functions ##### |
||
1282 | 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
1283 | 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** [..] |
||
1284 | 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** This subsection provides a set of functions allowing to manage the PCD data |
||
1285 | 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** transfers. |
||
1286 | 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1287 | 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim |
||
1288 | 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
1289 | 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1290 | 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1291 | 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1292 | 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Start the USB device |
||
1293 | 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1294 | 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1295 | 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1296 | 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_Start(PCD_HandleTypeDef *hpcd) |
||
1297 | 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1298 | 310 .loc 1 846 1 is_stmt 1 view -0 |
||
1299 | 311 .cfi_startproc |
||
1300 | 312 @ args = 0, pretend = 0, frame = 0 |
||
1301 | 313 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1302 | 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1303 | 314 .loc 1 847 3 view .LVU90 |
||
1304 | 315 .loc 1 847 3 view .LVU91 |
||
1305 | 316 0000 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
1306 | 317 0004 012B cmp r3, #1 |
||
1307 | 318 0006 10D0 beq .L19 |
||
1308 | 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1309 | 319 .loc 1 846 1 is_stmt 0 discriminator 2 view .LVU92 |
||
1310 | 320 0008 10B5 push {r4, lr} |
||
1311 | 321 .LCFI4: |
||
1312 | 322 .cfi_def_cfa_offset 8 |
||
1313 | 323 .cfi_offset 4, -8 |
||
1314 | 324 .cfi_offset 14, -4 |
||
1315 | 325 000a 0446 mov r4, r0 |
||
1316 | 326 .loc 1 847 3 is_stmt 1 discriminator 2 view .LVU93 |
||
1317 | 327 000c 0121 movs r1, #1 |
||
1318 | 328 000e 80F82812 strb r1, [r0, #552] |
||
1319 | 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
1320 | 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCDEx_SetConnectionState(hpcd, 1U); |
||
19 | mjames | 1321 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 23 |
16 | mjames | 1322 | |
1323 | |||
1324 | 329 .loc 1 849 3 discriminator 2 view .LVU94 |
||
1325 | 330 0012 FFF7FEFF bl HAL_PCDEx_SetConnectionState |
||
1326 | 331 .LVL21: |
||
1327 | 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */ |
||
1328 | 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DevConnect(hpcd->Instance); |
||
1329 | 332 .loc 1 851 3 discriminator 2 view .LVU95 |
||
1330 | 333 .loc 1 851 9 is_stmt 0 discriminator 2 view .LVU96 |
||
1331 | 334 0016 2068 ldr r0, [r4] |
||
1332 | 335 0018 FFF7FEFF bl USB_DevConnect |
||
1333 | 336 .LVL22: |
||
1334 | 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_ENABLE(hpcd); |
||
1335 | 337 .loc 1 852 3 is_stmt 1 discriminator 2 view .LVU97 |
||
1336 | 338 001c 2068 ldr r0, [r4] |
||
1337 | 339 001e FFF7FEFF bl USB_EnableGlobalInt |
||
1338 | 340 .LVL23: |
||
1339 | 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1340 | 341 .loc 1 853 3 discriminator 2 view .LVU98 |
||
1341 | 342 .loc 1 853 3 discriminator 2 view .LVU99 |
||
1342 | 343 0022 0020 movs r0, #0 |
||
1343 | 344 0024 84F82802 strb r0, [r4, #552] |
||
1344 | 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
1345 | 345 .loc 1 854 3 discriminator 2 view .LVU100 |
||
1346 | 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1347 | 346 .loc 1 855 1 is_stmt 0 discriminator 2 view .LVU101 |
||
1348 | 347 0028 10BD pop {r4, pc} |
||
1349 | 348 .LVL24: |
||
1350 | 349 .L19: |
||
1351 | 350 .LCFI5: |
||
1352 | 351 .cfi_def_cfa_offset 0 |
||
1353 | 352 .cfi_restore 4 |
||
1354 | 353 .cfi_restore 14 |
||
1355 | 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
1356 | 354 .loc 1 847 3 view .LVU102 |
||
1357 | 355 002a 0220 movs r0, #2 |
||
1358 | 356 .LVL25: |
||
1359 | 357 .loc 1 855 1 view .LVU103 |
||
1360 | 358 002c 7047 bx lr |
||
1361 | 359 .cfi_endproc |
||
1362 | 360 .LFE69: |
||
1363 | 362 .section .text.HAL_PCD_Stop,"ax",%progbits |
||
1364 | 363 .align 1 |
||
1365 | 364 .global HAL_PCD_Stop |
||
1366 | 365 .syntax unified |
||
1367 | 366 .thumb |
||
1368 | 367 .thumb_func |
||
1369 | 368 .fpu softvfp |
||
1370 | 370 HAL_PCD_Stop: |
||
1371 | 371 .LVL26: |
||
1372 | 372 .LFB70: |
||
1373 | 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1374 | 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1375 | 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Stop the USB device. |
||
1376 | 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1377 | 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1378 | 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1379 | 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_Stop(PCD_HandleTypeDef *hpcd) |
||
1380 | 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
19 | mjames | 1381 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 24 |
16 | mjames | 1382 | |
1383 | |||
1384 | 373 .loc 1 863 1 is_stmt 1 view -0 |
||
1385 | 374 .cfi_startproc |
||
1386 | 375 @ args = 0, pretend = 0, frame = 0 |
||
1387 | 376 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1388 | 377 .loc 1 863 1 is_stmt 0 view .LVU105 |
||
1389 | 378 0000 38B5 push {r3, r4, r5, lr} |
||
1390 | 379 .LCFI6: |
||
1391 | 380 .cfi_def_cfa_offset 16 |
||
1392 | 381 .cfi_offset 3, -16 |
||
1393 | 382 .cfi_offset 4, -12 |
||
1394 | 383 .cfi_offset 5, -8 |
||
1395 | 384 .cfi_offset 14, -4 |
||
1396 | 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
1397 | 385 .loc 1 864 3 is_stmt 1 view .LVU106 |
||
1398 | 386 .loc 1 864 3 view .LVU107 |
||
1399 | 387 0002 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
1400 | 388 0006 012B cmp r3, #1 |
||
1401 | 389 0008 18D0 beq .L27 |
||
1402 | 390 000a 0446 mov r4, r0 |
||
1403 | 391 .loc 1 864 3 discriminator 2 view .LVU108 |
||
1404 | 392 000c 0123 movs r3, #1 |
||
1405 | 393 000e 80F82832 strb r3, [r0, #552] |
||
1406 | 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_DISABLE(hpcd); |
||
1407 | 394 .loc 1 865 3 discriminator 2 view .LVU109 |
||
1408 | 395 0012 0068 ldr r0, [r0] |
||
1409 | 396 .LVL27: |
||
1410 | 397 .loc 1 865 3 is_stmt 0 discriminator 2 view .LVU110 |
||
1411 | 398 0014 FFF7FEFF bl USB_DisableGlobalInt |
||
1412 | 399 .LVL28: |
||
1413 | 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1414 | 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (USB_StopDevice(hpcd->Instance) != HAL_OK) |
||
1415 | 400 .loc 1 867 3 is_stmt 1 discriminator 2 view .LVU111 |
||
1416 | 401 .loc 1 867 7 is_stmt 0 discriminator 2 view .LVU112 |
||
1417 | 402 0018 2068 ldr r0, [r4] |
||
1418 | 403 001a FFF7FEFF bl USB_StopDevice |
||
1419 | 404 .LVL29: |
||
1420 | 405 .loc 1 867 6 discriminator 2 view .LVU113 |
||
1421 | 406 001e 0546 mov r5, r0 |
||
1422 | 407 0020 28B1 cbz r0, .L26 |
||
1423 | 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1424 | 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1425 | 408 .loc 1 869 5 is_stmt 1 view .LVU114 |
||
1426 | 409 .loc 1 869 5 view .LVU115 |
||
1427 | 410 0022 0023 movs r3, #0 |
||
1428 | 411 0024 84F82832 strb r3, [r4, #552] |
||
1429 | 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
1430 | 412 .loc 1 870 5 view .LVU116 |
||
1431 | 413 .loc 1 870 12 is_stmt 0 view .LVU117 |
||
1432 | 414 0028 0125 movs r5, #1 |
||
1433 | 415 .LVL30: |
||
1434 | 416 .L25: |
||
1435 | 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1436 | 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1437 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DevDisconnect(hpcd->Instance); |
||
1438 | 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1439 | 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1440 | 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
19 | mjames | 1441 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 25 |
16 | mjames | 1442 | |
1443 | |||
1444 | 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1445 | 417 .loc 1 877 1 view .LVU118 |
||
1446 | 418 002a 2846 mov r0, r5 |
||
1447 | 419 002c 38BD pop {r3, r4, r5, pc} |
||
1448 | 420 .LVL31: |
||
1449 | 421 .L26: |
||
1450 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1451 | 422 .loc 1 873 3 is_stmt 1 view .LVU119 |
||
1452 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
1453 | 423 .loc 1 873 9 is_stmt 0 view .LVU120 |
||
1454 | 424 002e 2068 ldr r0, [r4] |
||
1455 | 425 0030 FFF7FEFF bl USB_DevDisconnect |
||
1456 | 426 .LVL32: |
||
1457 | 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1458 | 427 .loc 1 874 3 is_stmt 1 view .LVU121 |
||
1459 | 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1460 | 428 .loc 1 874 3 view .LVU122 |
||
1461 | 429 0034 0023 movs r3, #0 |
||
1462 | 430 0036 84F82832 strb r3, [r4, #552] |
||
1463 | 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1464 | 431 .loc 1 876 3 view .LVU123 |
||
1465 | 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1466 | 432 .loc 1 876 10 is_stmt 0 view .LVU124 |
||
1467 | 433 003a F6E7 b .L25 |
||
1468 | 434 .LVL33: |
||
1469 | 435 .L27: |
||
1470 | 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_DISABLE(hpcd); |
||
1471 | 436 .loc 1 864 3 view .LVU125 |
||
1472 | 437 003c 0225 movs r5, #2 |
||
1473 | 438 003e F4E7 b .L25 |
||
1474 | 439 .cfi_endproc |
||
1475 | 440 .LFE70: |
||
1476 | 442 .section .text.HAL_PCD_DeInit,"ax",%progbits |
||
1477 | 443 .align 1 |
||
1478 | 444 .global HAL_PCD_DeInit |
||
1479 | 445 .syntax unified |
||
1480 | 446 .thumb |
||
1481 | 447 .thumb_func |
||
1482 | 448 .fpu softvfp |
||
1483 | 450 HAL_PCD_DeInit: |
||
1484 | 451 .LVL34: |
||
1485 | 452 .LFB66: |
||
1486 | 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Check the PCD handle allocation */ |
||
1487 | 453 .loc 1 245 1 is_stmt 1 view -0 |
||
1488 | 454 .cfi_startproc |
||
1489 | 455 @ args = 0, pretend = 0, frame = 0 |
||
1490 | 456 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1491 | 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1492 | 457 .loc 1 247 3 view .LVU127 |
||
1493 | 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1494 | 458 .loc 1 247 6 is_stmt 0 view .LVU128 |
||
1495 | 459 0000 68B1 cbz r0, .L31 |
||
1496 | 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Check the PCD handle allocation */ |
||
1497 | 460 .loc 1 245 1 view .LVU129 |
||
1498 | 461 0002 10B5 push {r4, lr} |
||
1499 | 462 .LCFI7: |
||
1500 | 463 .cfi_def_cfa_offset 8 |
||
19 | mjames | 1501 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 26 |
16 | mjames | 1502 | |
1503 | |||
1504 | 464 .cfi_offset 4, -8 |
||
1505 | 465 .cfi_offset 14, -4 |
||
1506 | 466 0004 0446 mov r4, r0 |
||
1507 | 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1508 | 467 .loc 1 252 3 is_stmt 1 view .LVU130 |
||
1509 | 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1510 | 468 .loc 1 252 15 is_stmt 0 view .LVU131 |
||
1511 | 469 0006 0323 movs r3, #3 |
||
1512 | 470 0008 80F82932 strb r3, [r0, #553] |
||
1513 | 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1514 | 471 .loc 1 255 3 is_stmt 1 view .LVU132 |
||
1515 | 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1516 | 472 .loc 1 255 9 is_stmt 0 view .LVU133 |
||
1517 | 473 000c FFF7FEFF bl HAL_PCD_Stop |
||
1518 | 474 .LVL35: |
||
1519 | 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1520 | 475 .loc 1 267 3 is_stmt 1 view .LVU134 |
||
1521 | 476 0010 2046 mov r0, r4 |
||
1522 | 477 0012 FFF7FEFF bl HAL_PCD_MspDeInit |
||
1523 | 478 .LVL36: |
||
1524 | 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1525 | 479 .loc 1 270 3 view .LVU135 |
||
1526 | 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1527 | 480 .loc 1 270 15 is_stmt 0 view .LVU136 |
||
1528 | 481 0016 0020 movs r0, #0 |
||
1529 | 482 0018 84F82902 strb r0, [r4, #553] |
||
1530 | 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1531 | 483 .loc 1 272 3 is_stmt 1 view .LVU137 |
||
1532 | 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1533 | 484 .loc 1 273 1 is_stmt 0 view .LVU138 |
||
1534 | 485 001c 10BD pop {r4, pc} |
||
1535 | 486 .LVL37: |
||
1536 | 487 .L31: |
||
1537 | 488 .LCFI8: |
||
1538 | 489 .cfi_def_cfa_offset 0 |
||
1539 | 490 .cfi_restore 4 |
||
1540 | 491 .cfi_restore 14 |
||
1541 | 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1542 | 492 .loc 1 249 12 view .LVU139 |
||
1543 | 493 001e 0120 movs r0, #1 |
||
1544 | 494 .LVL38: |
||
1545 | 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1546 | 495 .loc 1 273 1 view .LVU140 |
||
1547 | 496 0020 7047 bx lr |
||
1548 | 497 .cfi_endproc |
||
1549 | 498 .LFE66: |
||
1550 | 500 .section .text.HAL_PCD_DataOutStageCallback,"ax",%progbits |
||
1551 | 501 .align 1 |
||
1552 | 502 .weak HAL_PCD_DataOutStageCallback |
||
1553 | 503 .syntax unified |
||
1554 | 504 .thumb |
||
1555 | 505 .thumb_func |
||
1556 | 506 .fpu softvfp |
||
1557 | 508 HAL_PCD_DataOutStageCallback: |
||
1558 | 509 .LVL39: |
||
1559 | 510 .LFB72: |
||
1560 | 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
19 | mjames | 1561 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 27 |
16 | mjames | 1562 | |
1563 | |||
1564 | 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1565 | 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Handles PCD interrupt request. |
||
1566 | 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1567 | 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1568 | 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1569 | 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) |
||
1570 | 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1571 | 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; |
||
1572 | 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t USBx_BASE = (uint32_t)USBx; |
||
1573 | 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t i, ep_intr, epint, epnum; |
||
1574 | 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t fifoemptymsk, temp; |
||
1575 | 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_EPTypeDef *ep; |
||
1576 | 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1577 | 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* ensure that we are in device mode */ |
||
1578 | 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (USB_GetMode(hpcd->Instance) == USB_OTG_MODE_DEVICE) |
||
1579 | 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1580 | 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* avoid spurious interrupt */ |
||
1581 | 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_IS_INVALID_INTERRUPT(hpcd)) |
||
1582 | 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1583 | 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return; |
||
1584 | 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1585 | 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1586 | 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_MMIS)) |
||
1587 | 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1588 | 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* incorrect mode, acknowledge the interrupt */ |
||
1589 | 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_MMIS); |
||
1590 | 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1591 | 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1592 | 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_OEPINT)) |
||
1593 | 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1594 | 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epnum = 0U; |
||
1595 | 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1596 | 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Read in the device interrupt bits */ |
||
1597 | 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep_intr = USB_ReadDevAllOutEpInterrupt(hpcd->Instance); |
||
1598 | 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1599 | 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** while (ep_intr != 0U) |
||
1600 | 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1601 | 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_intr & 0x1U) != 0U) |
||
1602 | 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1603 | 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epint = USB_ReadDevOutEPInterrupt(hpcd->Instance, (uint8_t)epnum); |
||
1604 | 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1605 | 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DOEPINT_XFRC) == USB_OTG_DOEPINT_XFRC) |
||
1606 | 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1607 | 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_XFRC); |
||
1608 | 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)PCD_EP_OutXfrComplete_int(hpcd, epnum); |
||
1609 | 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1610 | 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1611 | 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DOEPINT_STUP) == USB_OTG_DOEPINT_STUP) |
||
1612 | 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1613 | 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Class B setup phase done for previous decoded setup */ |
||
1614 | 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)PCD_EP_OutSetupPacket_int(hpcd, epnum); |
||
1615 | 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STUP); |
||
1616 | 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1617 | 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1618 | 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DOEPINT_OTEPDIS) == USB_OTG_DOEPINT_OTEPDIS) |
||
1619 | 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1620 | 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPDIS); |
||
19 | mjames | 1621 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 28 |
16 | mjames | 1622 | |
1623 | |||
1624 | 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1625 | 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1626 | 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Clear Status Phase Received interrupt */ |
||
1627 | 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR) |
||
1628 | 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1629 | 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPSPR); |
||
1630 | 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1631 | 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1632 | 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Clear OUT NAK interrupt */ |
||
1633 | 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DOEPINT_NAK) == USB_OTG_DOEPINT_NAK) |
||
1634 | 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1635 | 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_NAK); |
||
1636 | 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1637 | 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1638 | 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epnum++; |
||
1639 | 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep_intr >>= 1U; |
||
1640 | 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1641 | 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1642 | 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1643 | 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_IEPINT)) |
||
1644 | 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1645 | 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Read in the device interrupt bits */ |
||
1646 | 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep_intr = USB_ReadDevAllInEpInterrupt(hpcd->Instance); |
||
1647 | 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1648 | 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epnum = 0U; |
||
1649 | 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1650 | 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** while (ep_intr != 0U) |
||
1651 | 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1652 | 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_intr & 0x1U) != 0U) /* In ITR */ |
||
1653 | 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1654 | 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epint = USB_ReadDevInEPInterrupt(hpcd->Instance, (uint8_t)epnum); |
||
1655 | 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1656 | 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DIEPINT_XFRC) == USB_OTG_DIEPINT_XFRC) |
||
1657 | 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1658 | 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** fifoemptymsk = (uint32_t)(0x1UL << (epnum & EP_ADDR_MSK)); |
||
1659 | 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DIEPEMPMSK &= ~fifoemptymsk; |
||
1660 | 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1661 | 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_XFRC); |
||
1662 | 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1663 | 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1664 | 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataInStageCallback(hpcd, (uint8_t)epnum); |
||
1665 | 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1666 | 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DataInStageCallback(hpcd, (uint8_t)epnum); |
||
1667 | 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1668 | 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1669 | 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DIEPINT_TOC) == USB_OTG_DIEPINT_TOC) |
||
1670 | 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1671 | 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_TOC); |
||
1672 | 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1673 | 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DIEPINT_ITTXFE) == USB_OTG_DIEPINT_ITTXFE) |
||
1674 | 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1675 | 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_ITTXFE); |
||
1676 | 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1677 | 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DIEPINT_INEPNE) == USB_OTG_DIEPINT_INEPNE) |
||
1678 | 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1679 | 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_INEPNE); |
||
1680 | 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
19 | mjames | 1681 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 29 |
16 | mjames | 1682 | |
1683 | |||
1684 | 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DIEPINT_EPDISD) == USB_OTG_DIEPINT_EPDISD) |
||
1685 | 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1686 | 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_EPDISD); |
||
1687 | 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1688 | 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((epint & USB_OTG_DIEPINT_TXFE) == USB_OTG_DIEPINT_TXFE) |
||
1689 | 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1690 | 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)PCD_WriteEmptyTxFifo(hpcd, epnum); |
||
1691 | 1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1692 | 1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1693 | 1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epnum++; |
||
1694 | 1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep_intr >>= 1U; |
||
1695 | 1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1696 | 1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1697 | 1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1698 | 1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Resume Interrupt */ |
||
1699 | 1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_WKUINT)) |
||
1700 | 1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1701 | 1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Clear the Remote Wake-up Signaling */ |
||
1702 | 1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_RWUSIG; |
||
1703 | 1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1704 | 1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1705 | 1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResumeCallback(hpcd); |
||
1706 | 1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1707 | 1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_ResumeCallback(hpcd); |
||
1708 | 1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1709 | 1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1710 | 1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_WKUINT); |
||
1711 | 1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1712 | 1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1713 | 1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Suspend Interrupt */ |
||
1714 | 1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP)) |
||
1715 | 1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1716 | 1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((USBx_DEVICE->DSTS & USB_OTG_DSTS_SUSPSTS) == USB_OTG_DSTS_SUSPSTS) |
||
1717 | 1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1718 | 1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1719 | 1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SuspendCallback(hpcd); |
||
1720 | 1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1721 | 1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_SuspendCallback(hpcd); |
||
1722 | 1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1723 | 1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1724 | 1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP); |
||
1725 | 1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1726 | 1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Reset Interrupt */ |
||
1727 | 1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_USBRST)) |
||
1728 | 1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1729 | 1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_RWUSIG; |
||
1730 | 1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_FlushTxFifo(hpcd->Instance, 0x10U); |
||
1731 | 1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1732 | 1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** for (i = 0U; i < hpcd->Init.dev_endpoints; i++) |
||
1733 | 1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1734 | 1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_INEP(i)->DIEPINT = 0xFB7FU; |
||
1735 | 1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; |
||
1736 | 1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_OUTEP(i)->DOEPINT = 0xFB7FU; |
||
1737 | 1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_OUTEP(i)->DOEPCTL &= ~USB_OTG_DOEPCTL_STALL; |
||
1738 | 1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1739 | 1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DAINTMSK |= 0x10001U; |
||
1740 | 1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 1741 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 30 |
16 | mjames | 1742 | |
1743 | |||
1744 | 1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (hpcd->Init.use_dedicated_ep1 != 0U) |
||
1745 | 1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1746 | 1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DOUTEP1MSK |= USB_OTG_DOEPMSK_STUPM | |
||
1747 | 1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DOEPMSK_XFRCM | |
||
1748 | 1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DOEPMSK_EPDM; |
||
1749 | 1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1750 | 1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DINEP1MSK |= USB_OTG_DIEPMSK_TOM | |
||
1751 | 1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DIEPMSK_XFRCM | |
||
1752 | 1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DIEPMSK_EPDM; |
||
1753 | 1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1754 | 1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1755 | 1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1756 | 1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DOEPMSK |= USB_OTG_DOEPMSK_STUPM | |
||
1757 | 1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DOEPMSK_XFRCM | |
||
1758 | 1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DOEPMSK_EPDM | |
||
1759 | 1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DOEPMSK_OTEPSPRM | |
||
1760 | 1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DOEPMSK_NAKM; |
||
1761 | 1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1762 | 1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DIEPMSK |= USB_OTG_DIEPMSK_TOM | |
||
1763 | 1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DIEPMSK_XFRCM | |
||
1764 | 1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_DIEPMSK_EPDM; |
||
1765 | 1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1766 | 1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1767 | 1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Set Default Address to 0 */ |
||
1768 | 1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DCFG &= ~USB_OTG_DCFG_DAD; |
||
1769 | 1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1770 | 1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* setup EP0 to receive SETUP packets */ |
||
1771 | 1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EP0_OutStart(hpcd->Instance, (uint8_t *)hpcd->Setup); |
||
1772 | 1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1773 | 1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBRST); |
||
1774 | 1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1775 | 1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1776 | 1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Enumeration done Interrupt */ |
||
1777 | 1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_ENUMDNE)) |
||
1778 | 1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1779 | 1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_ActivateSetup(hpcd->Instance); |
||
1780 | 1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Init.speed = USB_GetDevSpeed(hpcd->Instance); |
||
1781 | 1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1782 | 1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Set USB Turnaround time */ |
||
1783 | 1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_SetTurnaroundTime(hpcd->Instance, |
||
1784 | 1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_RCC_GetHCLKFreq(), |
||
1785 | 1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (uint8_t)hpcd->Init.speed); |
||
1786 | 1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1787 | 1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1788 | 1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResetCallback(hpcd); |
||
1789 | 1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1790 | 1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_ResetCallback(hpcd); |
||
1791 | 1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1792 | 1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1793 | 1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_ENUMDNE); |
||
1794 | 1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1795 | 1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1796 | 1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle RxQLevel Interrupt */ |
||
1797 | 1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_RXFLVL)) |
||
1798 | 1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1799 | 1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_MASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL); |
||
1800 | 1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 1801 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 31 |
16 | mjames | 1802 | |
1803 | |||
1804 | 1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** temp = USBx->GRXSTSP; |
||
1805 | 1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1806 | 1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[temp & USB_OTG_GRXSTSP_EPNUM]; |
||
1807 | 1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1808 | 1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_DATA_UPDT) |
||
1809 | 1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1810 | 1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((temp & USB_OTG_GRXSTSP_BCNT) != 0U) |
||
1811 | 1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1812 | 1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_ReadPacket(USBx, ep->xfer_buff, |
||
1813 | 1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (uint16_t)((temp & USB_OTG_GRXSTSP_BCNT) >> 4)); |
||
1814 | 1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1815 | 1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; |
||
1816 | 1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; |
||
1817 | 1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1818 | 1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1819 | 1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_SETUP_UPDT) |
||
1820 | 1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1821 | 1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_ReadPacket(USBx, (uint8_t *)hpcd->Setup, 8U); |
||
1822 | 1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; |
||
1823 | 1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1824 | 1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
1825 | 1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1826 | 1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* ... */ |
||
1827 | 1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1828 | 1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_UNMASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL); |
||
1829 | 1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1830 | 1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1831 | 1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle SOF Interrupt */ |
||
1832 | 1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_SOF)) |
||
1833 | 1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1834 | 1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1835 | 1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SOFCallback(hpcd); |
||
1836 | 1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1837 | 1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_SOFCallback(hpcd); |
||
1838 | 1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1839 | 1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1840 | 1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_SOF); |
||
1841 | 1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1842 | 1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1843 | 1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Incomplete ISO IN Interrupt */ |
||
1844 | 1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR)) |
||
1845 | 1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1846 | 1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Keep application checking the corresponding Iso IN endpoint |
||
1847 | 1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** causing the incomplete Interrupt */ |
||
1848 | 1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epnum = 0U; |
||
1849 | 1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1850 | 1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1851 | 1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOINIncompleteCallback(hpcd, (uint8_t)epnum); |
||
1852 | 1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1853 | 1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_ISOINIncompleteCallback(hpcd, (uint8_t)epnum); |
||
1854 | 1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1855 | 1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1856 | 1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR); |
||
1857 | 1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1858 | 1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1859 | 1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Incomplete ISO OUT Interrupt */ |
||
1860 | 1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT)) |
||
19 | mjames | 1861 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 32 |
16 | mjames | 1862 | |
1863 | |||
1864 | 1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1865 | 1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Keep application checking the corresponding Iso OUT endpoint |
||
1866 | 1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** causing the incomplete Interrupt */ |
||
1867 | 1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epnum = 0U; |
||
1868 | 1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1869 | 1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1870 | 1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); |
||
1871 | 1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1872 | 1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); |
||
1873 | 1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1874 | 1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1875 | 1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT); |
||
1876 | 1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1877 | 1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1878 | 1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Connection event Interrupt */ |
||
1879 | 1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_SRQINT)) |
||
1880 | 1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1881 | 1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1882 | 1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ConnectCallback(hpcd); |
||
1883 | 1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1884 | 1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_ConnectCallback(hpcd); |
||
1885 | 1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1886 | 1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1887 | 1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_SRQINT); |
||
1888 | 1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1889 | 1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1890 | 1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Handle Disconnection event Interrupt */ |
||
1891 | 1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_OTGINT)) |
||
1892 | 1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1893 | 1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** temp = hpcd->Instance->GOTGINT; |
||
1894 | 1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1895 | 1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((temp & USB_OTG_GOTGINT_SEDET) == USB_OTG_GOTGINT_SEDET) |
||
1896 | 1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1897 | 1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1898 | 1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DisconnectCallback(hpcd); |
||
1899 | 1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1900 | 1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DisconnectCallback(hpcd); |
||
1901 | 1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1902 | 1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1903 | 1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->GOTGINT |= temp; |
||
1904 | 1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1905 | 1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1906 | 1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1907 | 1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */ |
||
1908 | 1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1909 | 1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
1910 | 1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
1911 | 1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief This function handles PCD interrupt request. |
||
1912 | 1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
1913 | 1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
1914 | 1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
1915 | 1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) |
||
1916 | 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1917 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_CTR)) |
||
1918 | 1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1919 | 1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* servicing of the endpoint correct transfer interrupt */ |
||
1920 | 1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* clear of the CTR flag into the sub */ |
||
19 | mjames | 1921 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 33 |
16 | mjames | 1922 | |
1923 | |||
1924 | 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)PCD_EP_ISR_Handler(hpcd); |
||
1925 | 1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1926 | 1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1927 | 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_RESET)) |
||
1928 | 1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1929 | 1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_RESET); |
||
1930 | 1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1931 | 1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1932 | 1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResetCallback(hpcd); |
||
1933 | 1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1934 | 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_ResetCallback(hpcd); |
||
1935 | 1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1936 | 1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1937 | 1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)HAL_PCD_SetAddress(hpcd, 0U); |
||
1938 | 1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1939 | 1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1940 | 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_PMAOVR)) |
||
1941 | 1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1942 | 1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_PMAOVR); |
||
1943 | 1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1944 | 1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1945 | 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_ERR)) |
||
1946 | 1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1947 | 1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_ERR); |
||
1948 | 1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1949 | 1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1950 | 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_WKUP)) |
||
1951 | 1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1952 | 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_LP_MODE); |
||
1953 | 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_FSUSP); |
||
1954 | 1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1955 | 1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1956 | 1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->ResumeCallback(hpcd); |
||
1957 | 1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1958 | 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_ResumeCallback(hpcd); |
||
1959 | 1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1960 | 1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1961 | 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_WKUP); |
||
1962 | 1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1963 | 1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1964 | 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_SUSP)) |
||
1965 | 1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1966 | 1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Force low-power mode in the macrocell */ |
||
1967 | 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->CNTR |= USB_CNTR_FSUSP; |
||
1968 | 1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1969 | 1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* clear of the ISTR bit must be done after setting of CNTR_FSUSP */ |
||
1970 | 1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_SUSP); |
||
1971 | 1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1972 | 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->CNTR |= USB_CNTR_LP_MODE; |
||
1973 | 1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1974 | 1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* WA: Clear Wakeup flag if raised with suspend signal */ |
||
1975 | 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_WKUP)) |
||
1976 | 1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1977 | 1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_WKUP); |
||
1978 | 1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1979 | 1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1980 | 1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
19 | mjames | 1981 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 34 |
16 | mjames | 1982 | |
1983 | |||
1984 | 1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SuspendCallback(hpcd); |
||
1985 | 1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1986 | 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_SuspendCallback(hpcd); |
||
1987 | 1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1988 | 1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
1989 | 1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1990 | 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_SOF)) |
||
1991 | 1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
1992 | 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_SOF); |
||
1993 | 1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
1994 | 1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
1995 | 1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SOFCallback(hpcd); |
||
1996 | 1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
1997 | 1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_SOFCallback(hpcd); |
||
1998 | 1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
1999 | 1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2000 | 1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2001 | 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_ESOF)) |
||
2002 | 1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2003 | 1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* clear ESOF flag in ISTR */ |
||
2004 | 1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_ESOF); |
||
2005 | 1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2006 | 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2007 | 1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */ |
||
2008 | 1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2009 | 1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2010 | 1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Data OUT stage callback. |
||
2011 | 1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2012 | 1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param epnum endpoint number |
||
2013 | 1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2014 | 1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2015 | 1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) |
||
2016 | 1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2017 | 511 .loc 1 1310 1 is_stmt 1 view -0 |
||
2018 | 512 .cfi_startproc |
||
2019 | 513 @ args = 0, pretend = 0, frame = 0 |
||
2020 | 514 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2021 | 515 @ link register save eliminated. |
||
2022 | 1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2023 | 1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2024 | 516 .loc 1 1312 3 view .LVU142 |
||
2025 | 1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(epnum); |
||
2026 | 517 .loc 1 1313 3 view .LVU143 |
||
2027 | 1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2028 | 1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2029 | 1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_DataOutStageCallback could be implemented in the user file |
||
2030 | 1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2031 | 1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2032 | 518 .loc 1 1318 1 is_stmt 0 view .LVU144 |
||
2033 | 519 0000 7047 bx lr |
||
2034 | 520 .cfi_endproc |
||
2035 | 521 .LFE72: |
||
2036 | 523 .section .text.HAL_PCD_DataInStageCallback,"ax",%progbits |
||
2037 | 524 .align 1 |
||
2038 | 525 .weak HAL_PCD_DataInStageCallback |
||
2039 | 526 .syntax unified |
||
2040 | 527 .thumb |
||
19 | mjames | 2041 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 35 |
16 | mjames | 2042 | |
2043 | |||
2044 | 528 .thumb_func |
||
2045 | 529 .fpu softvfp |
||
2046 | 531 HAL_PCD_DataInStageCallback: |
||
2047 | 532 .LVL40: |
||
2048 | 533 .LFB73: |
||
2049 | 1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2050 | 1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2051 | 1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Data IN stage callback |
||
2052 | 1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2053 | 1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param epnum endpoint number |
||
2054 | 1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2055 | 1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2056 | 1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) |
||
2057 | 1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2058 | 534 .loc 1 1327 1 is_stmt 1 view -0 |
||
2059 | 535 .cfi_startproc |
||
2060 | 536 @ args = 0, pretend = 0, frame = 0 |
||
2061 | 537 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2062 | 538 @ link register save eliminated. |
||
2063 | 1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2064 | 1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2065 | 539 .loc 1 1329 3 view .LVU146 |
||
2066 | 1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(epnum); |
||
2067 | 540 .loc 1 1330 3 view .LVU147 |
||
2068 | 1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2069 | 1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2070 | 1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_DataInStageCallback could be implemented in the user file |
||
2071 | 1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2072 | 1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2073 | 541 .loc 1 1335 1 is_stmt 0 view .LVU148 |
||
2074 | 542 0000 7047 bx lr |
||
2075 | 543 .cfi_endproc |
||
2076 | 544 .LFE73: |
||
2077 | 546 .section .text.HAL_PCD_SetupStageCallback,"ax",%progbits |
||
2078 | 547 .align 1 |
||
2079 | 548 .weak HAL_PCD_SetupStageCallback |
||
2080 | 549 .syntax unified |
||
2081 | 550 .thumb |
||
2082 | 551 .thumb_func |
||
2083 | 552 .fpu softvfp |
||
2084 | 554 HAL_PCD_SetupStageCallback: |
||
2085 | 555 .LVL41: |
||
2086 | 556 .LFB74: |
||
2087 | 1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2088 | 1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Setup stage callback |
||
2089 | 1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2090 | 1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2091 | 1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2092 | 1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) |
||
2093 | 1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2094 | 557 .loc 1 1342 1 is_stmt 1 view -0 |
||
2095 | 558 .cfi_startproc |
||
2096 | 559 @ args = 0, pretend = 0, frame = 0 |
||
2097 | 560 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2098 | 561 @ link register save eliminated. |
||
2099 | 1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2100 | 1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
19 | mjames | 2101 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 36 |
16 | mjames | 2102 | |
2103 | |||
2104 | 562 .loc 1 1344 3 view .LVU150 |
||
2105 | 1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2106 | 1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2107 | 1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_SetupStageCallback could be implemented in the user file |
||
2108 | 1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2109 | 1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2110 | 563 .loc 1 1349 1 is_stmt 0 view .LVU151 |
||
2111 | 564 0000 7047 bx lr |
||
2112 | 565 .cfi_endproc |
||
2113 | 566 .LFE74: |
||
2114 | 568 .section .text.HAL_PCD_SOFCallback,"ax",%progbits |
||
2115 | 569 .align 1 |
||
2116 | 570 .weak HAL_PCD_SOFCallback |
||
2117 | 571 .syntax unified |
||
2118 | 572 .thumb |
||
2119 | 573 .thumb_func |
||
2120 | 574 .fpu softvfp |
||
2121 | 576 HAL_PCD_SOFCallback: |
||
2122 | 577 .LVL42: |
||
2123 | 578 .LFB75: |
||
2124 | 1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2125 | 1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2126 | 1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief USB Start Of Frame callback. |
||
2127 | 1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2128 | 1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2129 | 1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2130 | 1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) |
||
2131 | 1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2132 | 579 .loc 1 1357 1 is_stmt 1 view -0 |
||
2133 | 580 .cfi_startproc |
||
2134 | 581 @ args = 0, pretend = 0, frame = 0 |
||
2135 | 582 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2136 | 583 @ link register save eliminated. |
||
2137 | 1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2138 | 1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2139 | 584 .loc 1 1359 3 view .LVU153 |
||
2140 | 1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2141 | 1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2142 | 1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_SOFCallback could be implemented in the user file |
||
2143 | 1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2144 | 1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2145 | 585 .loc 1 1364 1 is_stmt 0 view .LVU154 |
||
2146 | 586 0000 7047 bx lr |
||
2147 | 587 .cfi_endproc |
||
2148 | 588 .LFE75: |
||
2149 | 590 .section .text.HAL_PCD_ResetCallback,"ax",%progbits |
||
2150 | 591 .align 1 |
||
2151 | 592 .weak HAL_PCD_ResetCallback |
||
2152 | 593 .syntax unified |
||
2153 | 594 .thumb |
||
2154 | 595 .thumb_func |
||
2155 | 596 .fpu softvfp |
||
2156 | 598 HAL_PCD_ResetCallback: |
||
2157 | 599 .LVL43: |
||
2158 | 600 .LFB76: |
||
2159 | 1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2160 | 1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
19 | mjames | 2161 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 37 |
16 | mjames | 2162 | |
2163 | |||
2164 | 1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief USB Reset callback. |
||
2165 | 1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2166 | 1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2167 | 1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2168 | 1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd) |
||
2169 | 1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2170 | 601 .loc 1 1372 1 is_stmt 1 view -0 |
||
2171 | 602 .cfi_startproc |
||
2172 | 603 @ args = 0, pretend = 0, frame = 0 |
||
2173 | 604 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2174 | 605 @ link register save eliminated. |
||
2175 | 1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2176 | 1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2177 | 606 .loc 1 1374 3 view .LVU156 |
||
2178 | 1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2179 | 1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2180 | 1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_ResetCallback could be implemented in the user file |
||
2181 | 1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2182 | 1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2183 | 607 .loc 1 1379 1 is_stmt 0 view .LVU157 |
||
2184 | 608 0000 7047 bx lr |
||
2185 | 609 .cfi_endproc |
||
2186 | 610 .LFE76: |
||
2187 | 612 .section .text.HAL_PCD_SuspendCallback,"ax",%progbits |
||
2188 | 613 .align 1 |
||
2189 | 614 .weak HAL_PCD_SuspendCallback |
||
2190 | 615 .syntax unified |
||
2191 | 616 .thumb |
||
2192 | 617 .thumb_func |
||
2193 | 618 .fpu softvfp |
||
2194 | 620 HAL_PCD_SuspendCallback: |
||
2195 | 621 .LVL44: |
||
2196 | 622 .LFB77: |
||
2197 | 1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2198 | 1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2199 | 1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Suspend event callback. |
||
2200 | 1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2201 | 1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2202 | 1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2203 | 1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) |
||
2204 | 1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2205 | 623 .loc 1 1387 1 is_stmt 1 view -0 |
||
2206 | 624 .cfi_startproc |
||
2207 | 625 @ args = 0, pretend = 0, frame = 0 |
||
2208 | 626 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2209 | 627 @ link register save eliminated. |
||
2210 | 1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2211 | 1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2212 | 628 .loc 1 1389 3 view .LVU159 |
||
2213 | 1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2214 | 1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2215 | 1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_SuspendCallback could be implemented in the user file |
||
2216 | 1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2217 | 1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2218 | 629 .loc 1 1394 1 is_stmt 0 view .LVU160 |
||
2219 | 630 0000 7047 bx lr |
||
2220 | 631 .cfi_endproc |
||
19 | mjames | 2221 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 38 |
16 | mjames | 2222 | |
2223 | |||
2224 | 632 .LFE77: |
||
2225 | 634 .section .text.HAL_PCD_ResumeCallback,"ax",%progbits |
||
2226 | 635 .align 1 |
||
2227 | 636 .weak HAL_PCD_ResumeCallback |
||
2228 | 637 .syntax unified |
||
2229 | 638 .thumb |
||
2230 | 639 .thumb_func |
||
2231 | 640 .fpu softvfp |
||
2232 | 642 HAL_PCD_ResumeCallback: |
||
2233 | 643 .LVL45: |
||
2234 | 644 .LFB78: |
||
2235 | 1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2236 | 1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2237 | 1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Resume event callback. |
||
2238 | 1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2239 | 1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2240 | 1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2241 | 1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) |
||
2242 | 1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2243 | 645 .loc 1 1402 1 is_stmt 1 view -0 |
||
2244 | 646 .cfi_startproc |
||
2245 | 647 @ args = 0, pretend = 0, frame = 0 |
||
2246 | 648 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2247 | 649 @ link register save eliminated. |
||
2248 | 1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2249 | 1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2250 | 650 .loc 1 1404 3 view .LVU162 |
||
2251 | 1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2252 | 1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2253 | 1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_ResumeCallback could be implemented in the user file |
||
2254 | 1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2255 | 1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2256 | 651 .loc 1 1409 1 is_stmt 0 view .LVU163 |
||
2257 | 652 0000 7047 bx lr |
||
2258 | 653 .cfi_endproc |
||
2259 | 654 .LFE78: |
||
2260 | 656 .section .text.HAL_PCD_ISOOUTIncompleteCallback,"ax",%progbits |
||
2261 | 657 .align 1 |
||
2262 | 658 .weak HAL_PCD_ISOOUTIncompleteCallback |
||
2263 | 659 .syntax unified |
||
2264 | 660 .thumb |
||
2265 | 661 .thumb_func |
||
2266 | 662 .fpu softvfp |
||
2267 | 664 HAL_PCD_ISOOUTIncompleteCallback: |
||
2268 | 665 .LVL46: |
||
2269 | 666 .LFB79: |
||
2270 | 1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2271 | 1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2272 | 1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Incomplete ISO OUT callback. |
||
2273 | 1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2274 | 1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param epnum endpoint number |
||
2275 | 1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2276 | 1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2277 | 1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) |
||
2278 | 1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2279 | 667 .loc 1 1418 1 is_stmt 1 view -0 |
||
2280 | 668 .cfi_startproc |
||
19 | mjames | 2281 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 39 |
16 | mjames | 2282 | |
2283 | |||
2284 | 669 @ args = 0, pretend = 0, frame = 0 |
||
2285 | 670 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2286 | 671 @ link register save eliminated. |
||
2287 | 1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2288 | 1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2289 | 672 .loc 1 1420 3 view .LVU165 |
||
2290 | 1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(epnum); |
||
2291 | 673 .loc 1 1421 3 view .LVU166 |
||
2292 | 1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2293 | 1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2294 | 1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_ISOOUTIncompleteCallback could be implemented in the user file |
||
2295 | 1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2296 | 1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2297 | 674 .loc 1 1426 1 is_stmt 0 view .LVU167 |
||
2298 | 675 0000 7047 bx lr |
||
2299 | 676 .cfi_endproc |
||
2300 | 677 .LFE79: |
||
2301 | 679 .section .text.HAL_PCD_ISOINIncompleteCallback,"ax",%progbits |
||
2302 | 680 .align 1 |
||
2303 | 681 .weak HAL_PCD_ISOINIncompleteCallback |
||
2304 | 682 .syntax unified |
||
2305 | 683 .thumb |
||
2306 | 684 .thumb_func |
||
2307 | 685 .fpu softvfp |
||
2308 | 687 HAL_PCD_ISOINIncompleteCallback: |
||
2309 | 688 .LVL47: |
||
2310 | 689 .LFB80: |
||
2311 | 1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2312 | 1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2313 | 1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Incomplete ISO IN callback. |
||
2314 | 1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2315 | 1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param epnum endpoint number |
||
2316 | 1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2317 | 1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2318 | 1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) |
||
2319 | 1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2320 | 690 .loc 1 1435 1 is_stmt 1 view -0 |
||
2321 | 691 .cfi_startproc |
||
2322 | 692 @ args = 0, pretend = 0, frame = 0 |
||
2323 | 693 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2324 | 694 @ link register save eliminated. |
||
2325 | 1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2326 | 1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2327 | 695 .loc 1 1437 3 view .LVU169 |
||
2328 | 1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(epnum); |
||
2329 | 696 .loc 1 1438 3 view .LVU170 |
||
2330 | 1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2331 | 1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2332 | 1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_ISOINIncompleteCallback could be implemented in the user file |
||
2333 | 1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2334 | 1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2335 | 697 .loc 1 1443 1 is_stmt 0 view .LVU171 |
||
2336 | 698 0000 7047 bx lr |
||
2337 | 699 .cfi_endproc |
||
2338 | 700 .LFE80: |
||
2339 | 702 .section .text.HAL_PCD_ConnectCallback,"ax",%progbits |
||
2340 | 703 .align 1 |
||
19 | mjames | 2341 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 40 |
16 | mjames | 2342 | |
2343 | |||
2344 | 704 .weak HAL_PCD_ConnectCallback |
||
2345 | 705 .syntax unified |
||
2346 | 706 .thumb |
||
2347 | 707 .thumb_func |
||
2348 | 708 .fpu softvfp |
||
2349 | 710 HAL_PCD_ConnectCallback: |
||
2350 | 711 .LVL48: |
||
2351 | 712 .LFB81: |
||
2352 | 1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2353 | 1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2354 | 1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Connection event callback. |
||
2355 | 1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2356 | 1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2357 | 1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2358 | 1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) |
||
2359 | 1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2360 | 713 .loc 1 1451 1 is_stmt 1 view -0 |
||
2361 | 714 .cfi_startproc |
||
2362 | 715 @ args = 0, pretend = 0, frame = 0 |
||
2363 | 716 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2364 | 717 @ link register save eliminated. |
||
2365 | 1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
2366 | 1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2367 | 718 .loc 1 1453 3 view .LVU173 |
||
2368 | 1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2369 | 1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2370 | 1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_ConnectCallback could be implemented in the user file |
||
2371 | 1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2372 | 1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2373 | 719 .loc 1 1458 1 is_stmt 0 view .LVU174 |
||
2374 | 720 0000 7047 bx lr |
||
2375 | 721 .cfi_endproc |
||
2376 | 722 .LFE81: |
||
2377 | 724 .section .text.HAL_PCD_DisconnectCallback,"ax",%progbits |
||
2378 | 725 .align 1 |
||
2379 | 726 .weak HAL_PCD_DisconnectCallback |
||
2380 | 727 .syntax unified |
||
2381 | 728 .thumb |
||
2382 | 729 .thumb_func |
||
2383 | 730 .fpu softvfp |
||
2384 | 732 HAL_PCD_DisconnectCallback: |
||
2385 | 733 .LVL49: |
||
2386 | 734 .LFB82: |
||
2387 | 1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2388 | 1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2389 | 1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Disconnection event callback. |
||
2390 | 1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2391 | 1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval None |
||
2392 | 1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2393 | 1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) |
||
2394 | 1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2395 | 735 .loc 1 1466 1 is_stmt 1 view -0 |
||
2396 | 736 .cfi_startproc |
||
2397 | 737 @ args = 0, pretend = 0, frame = 0 |
||
2398 | 738 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2399 | 739 @ link register save eliminated. |
||
2400 | 1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Prevent unused argument(s) compilation warning */ |
||
19 | mjames | 2401 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 41 |
16 | mjames | 2402 | |
2403 | |||
2404 | 1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** UNUSED(hpcd); |
||
2405 | 740 .loc 1 1468 3 view .LVU176 |
||
2406 | 1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2407 | 1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* NOTE : This function should not be modified, when the callback is needed, |
||
2408 | 1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** the HAL_PCD_DisconnectCallback could be implemented in the user file |
||
2409 | 1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2410 | 1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2411 | 741 .loc 1 1473 1 is_stmt 0 view .LVU177 |
||
2412 | 742 0000 7047 bx lr |
||
2413 | 743 .cfi_endproc |
||
2414 | 744 .LFE82: |
||
2415 | 746 .section .text.HAL_PCD_DevConnect,"ax",%progbits |
||
2416 | 747 .align 1 |
||
2417 | 748 .global HAL_PCD_DevConnect |
||
2418 | 749 .syntax unified |
||
2419 | 750 .thumb |
||
2420 | 751 .thumb_func |
||
2421 | 752 .fpu softvfp |
||
2422 | 754 HAL_PCD_DevConnect: |
||
2423 | 755 .LVL50: |
||
2424 | 756 .LFB83: |
||
2425 | 1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2426 | 1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2427 | 1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @} |
||
2428 | 1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2429 | 1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2430 | 1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group3 Peripheral Control functions |
||
2431 | 1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief management functions |
||
2432 | 1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
2433 | 1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim |
||
2434 | 1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
2435 | 1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ##### Peripheral Control functions ##### |
||
2436 | 1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
2437 | 1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** [..] |
||
2438 | 1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** This subsection provides a set of functions allowing to control the PCD data |
||
2439 | 1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** transfers. |
||
2440 | 1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2441 | 1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim |
||
2442 | 1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
2443 | 1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2444 | 1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2445 | 1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2446 | 1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Connect the USB device |
||
2447 | 1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2448 | 1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
2449 | 1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2450 | 1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DevConnect(PCD_HandleTypeDef *hpcd) |
||
2451 | 1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2452 | 757 .loc 1 1500 1 is_stmt 1 view -0 |
||
2453 | 758 .cfi_startproc |
||
2454 | 759 @ args = 0, pretend = 0, frame = 0 |
||
2455 | 760 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2456 | 1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2457 | 761 .loc 1 1501 3 view .LVU179 |
||
2458 | 762 .loc 1 1501 3 view .LVU180 |
||
2459 | 763 0000 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
2460 | 764 0004 012B cmp r3, #1 |
||
19 | mjames | 2461 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 42 |
16 | mjames | 2462 | |
2463 | |||
2464 | 765 0006 0DD0 beq .L49 |
||
2465 | 1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2466 | 766 .loc 1 1500 1 is_stmt 0 discriminator 2 view .LVU181 |
||
2467 | 767 0008 10B5 push {r4, lr} |
||
2468 | 768 .LCFI9: |
||
2469 | 769 .cfi_def_cfa_offset 8 |
||
2470 | 770 .cfi_offset 4, -8 |
||
2471 | 771 .cfi_offset 14, -4 |
||
2472 | 772 000a 0446 mov r4, r0 |
||
2473 | 773 .loc 1 1501 3 is_stmt 1 discriminator 2 view .LVU182 |
||
2474 | 774 000c 0121 movs r1, #1 |
||
2475 | 775 000e 80F82812 strb r1, [r0, #552] |
||
2476 | 1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
2477 | 1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCDEx_SetConnectionState(hpcd, 1U); |
||
2478 | 776 .loc 1 1503 3 discriminator 2 view .LVU183 |
||
2479 | 777 0012 FFF7FEFF bl HAL_PCDEx_SetConnectionState |
||
2480 | 778 .LVL51: |
||
2481 | 1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */ |
||
2482 | 1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DevConnect(hpcd->Instance); |
||
2483 | 779 .loc 1 1505 3 discriminator 2 view .LVU184 |
||
2484 | 780 .loc 1 1505 9 is_stmt 0 discriminator 2 view .LVU185 |
||
2485 | 781 0016 2068 ldr r0, [r4] |
||
2486 | 782 0018 FFF7FEFF bl USB_DevConnect |
||
2487 | 783 .LVL52: |
||
2488 | 1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
2489 | 784 .loc 1 1506 3 is_stmt 1 discriminator 2 view .LVU186 |
||
2490 | 785 .loc 1 1506 3 discriminator 2 view .LVU187 |
||
2491 | 786 001c 0020 movs r0, #0 |
||
2492 | 787 001e 84F82802 strb r0, [r4, #552] |
||
2493 | 1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
2494 | 788 .loc 1 1507 3 discriminator 2 view .LVU188 |
||
2495 | 1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2496 | 789 .loc 1 1508 1 is_stmt 0 discriminator 2 view .LVU189 |
||
2497 | 790 0022 10BD pop {r4, pc} |
||
2498 | 791 .LVL53: |
||
2499 | 792 .L49: |
||
2500 | 793 .LCFI10: |
||
2501 | 794 .cfi_def_cfa_offset 0 |
||
2502 | 795 .cfi_restore 4 |
||
2503 | 796 .cfi_restore 14 |
||
2504 | 1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
2505 | 797 .loc 1 1501 3 view .LVU190 |
||
2506 | 798 0024 0220 movs r0, #2 |
||
2507 | 799 .LVL54: |
||
2508 | 800 .loc 1 1508 1 view .LVU191 |
||
2509 | 801 0026 7047 bx lr |
||
2510 | 802 .cfi_endproc |
||
2511 | 803 .LFE83: |
||
2512 | 805 .section .text.HAL_PCD_DevDisconnect,"ax",%progbits |
||
2513 | 806 .align 1 |
||
2514 | 807 .global HAL_PCD_DevDisconnect |
||
2515 | 808 .syntax unified |
||
2516 | 809 .thumb |
||
2517 | 810 .thumb_func |
||
2518 | 811 .fpu softvfp |
||
2519 | 813 HAL_PCD_DevDisconnect: |
||
2520 | 814 .LVL55: |
||
19 | mjames | 2521 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 43 |
16 | mjames | 2522 | |
2523 | |||
2524 | 815 .LFB84: |
||
2525 | 1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2526 | 1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2527 | 1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Disconnect the USB device. |
||
2528 | 1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2529 | 1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
2530 | 1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2531 | 1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DevDisconnect(PCD_HandleTypeDef *hpcd) |
||
2532 | 1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2533 | 816 .loc 1 1516 1 is_stmt 1 view -0 |
||
2534 | 817 .cfi_startproc |
||
2535 | 818 @ args = 0, pretend = 0, frame = 0 |
||
2536 | 819 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2537 | 1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2538 | 820 .loc 1 1517 3 view .LVU193 |
||
2539 | 821 .loc 1 1517 3 view .LVU194 |
||
2540 | 822 0000 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
2541 | 823 0004 012B cmp r3, #1 |
||
2542 | 824 0006 0ED0 beq .L56 |
||
2543 | 1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2544 | 825 .loc 1 1516 1 is_stmt 0 discriminator 2 view .LVU195 |
||
2545 | 826 0008 10B5 push {r4, lr} |
||
2546 | 827 .LCFI11: |
||
2547 | 828 .cfi_def_cfa_offset 8 |
||
2548 | 829 .cfi_offset 4, -8 |
||
2549 | 830 .cfi_offset 14, -4 |
||
2550 | 831 000a 0446 mov r4, r0 |
||
2551 | 832 .loc 1 1517 3 is_stmt 1 discriminator 2 view .LVU196 |
||
2552 | 833 000c 0123 movs r3, #1 |
||
2553 | 834 000e 80F82832 strb r3, [r0, #552] |
||
2554 | 1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
2555 | 1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCDEx_SetConnectionState(hpcd, 0U); |
||
2556 | 835 .loc 1 1519 3 discriminator 2 view .LVU197 |
||
2557 | 836 0012 0021 movs r1, #0 |
||
2558 | 837 0014 FFF7FEFF bl HAL_PCDEx_SetConnectionState |
||
2559 | 838 .LVL56: |
||
2560 | 1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */ |
||
2561 | 1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DevDisconnect(hpcd->Instance); |
||
2562 | 839 .loc 1 1521 3 discriminator 2 view .LVU198 |
||
2563 | 840 .loc 1 1521 9 is_stmt 0 discriminator 2 view .LVU199 |
||
2564 | 841 0018 2068 ldr r0, [r4] |
||
2565 | 842 001a FFF7FEFF bl USB_DevDisconnect |
||
2566 | 843 .LVL57: |
||
2567 | 1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
2568 | 844 .loc 1 1522 3 is_stmt 1 discriminator 2 view .LVU200 |
||
2569 | 845 .loc 1 1522 3 discriminator 2 view .LVU201 |
||
2570 | 846 001e 0020 movs r0, #0 |
||
2571 | 847 0020 84F82802 strb r0, [r4, #552] |
||
2572 | 1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
2573 | 848 .loc 1 1523 3 discriminator 2 view .LVU202 |
||
2574 | 1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2575 | 849 .loc 1 1524 1 is_stmt 0 discriminator 2 view .LVU203 |
||
2576 | 850 0024 10BD pop {r4, pc} |
||
2577 | 851 .LVL58: |
||
2578 | 852 .L56: |
||
2579 | 853 .LCFI12: |
||
2580 | 854 .cfi_def_cfa_offset 0 |
||
19 | mjames | 2581 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 44 |
16 | mjames | 2582 | |
2583 | |||
2584 | 855 .cfi_restore 4 |
||
2585 | 856 .cfi_restore 14 |
||
2586 | 1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
2587 | 857 .loc 1 1517 3 view .LVU204 |
||
2588 | 858 0026 0220 movs r0, #2 |
||
2589 | 859 .LVL59: |
||
2590 | 860 .loc 1 1524 1 view .LVU205 |
||
2591 | 861 0028 7047 bx lr |
||
2592 | 862 .cfi_endproc |
||
2593 | 863 .LFE84: |
||
2594 | 865 .section .text.HAL_PCD_SetAddress,"ax",%progbits |
||
2595 | 866 .align 1 |
||
2596 | 867 .global HAL_PCD_SetAddress |
||
2597 | 868 .syntax unified |
||
2598 | 869 .thumb |
||
2599 | 870 .thumb_func |
||
2600 | 871 .fpu softvfp |
||
2601 | 873 HAL_PCD_SetAddress: |
||
2602 | 874 .LVL60: |
||
2603 | 875 .LFB85: |
||
2604 | 1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2605 | 1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2606 | 1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Set the USB Device address. |
||
2607 | 1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2608 | 1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param address new device address |
||
2609 | 1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
2610 | 1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2611 | 1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_SetAddress(PCD_HandleTypeDef *hpcd, uint8_t address) |
||
2612 | 1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2613 | 876 .loc 1 1533 1 is_stmt 1 view -0 |
||
2614 | 877 .cfi_startproc |
||
2615 | 878 @ args = 0, pretend = 0, frame = 0 |
||
2616 | 879 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2617 | 1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2618 | 880 .loc 1 1534 3 view .LVU207 |
||
2619 | 881 .loc 1 1534 3 view .LVU208 |
||
2620 | 882 0000 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
2621 | 883 0004 012B cmp r3, #1 |
||
2622 | 884 0006 0DD0 beq .L63 |
||
2623 | 1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2624 | 885 .loc 1 1533 1 is_stmt 0 discriminator 2 view .LVU209 |
||
2625 | 886 0008 10B5 push {r4, lr} |
||
2626 | 887 .LCFI13: |
||
2627 | 888 .cfi_def_cfa_offset 8 |
||
2628 | 889 .cfi_offset 4, -8 |
||
2629 | 890 .cfi_offset 14, -4 |
||
2630 | 891 000a 0446 mov r4, r0 |
||
2631 | 892 .loc 1 1534 3 is_stmt 1 discriminator 2 view .LVU210 |
||
2632 | 893 000c 0123 movs r3, #1 |
||
2633 | 894 000e 80F82832 strb r3, [r0, #552] |
||
2634 | 1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->USB_Address = address; |
||
2635 | 895 .loc 1 1535 3 discriminator 2 view .LVU211 |
||
2636 | 896 .loc 1 1535 21 is_stmt 0 discriminator 2 view .LVU212 |
||
2637 | 897 0012 80F82410 strb r1, [r0, #36] |
||
2638 | 1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_SetDevAddress(hpcd->Instance, address); |
||
2639 | 898 .loc 1 1536 3 is_stmt 1 discriminator 2 view .LVU213 |
||
2640 | 899 .loc 1 1536 9 is_stmt 0 discriminator 2 view .LVU214 |
||
19 | mjames | 2641 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 45 |
16 | mjames | 2642 | |
2643 | |||
2644 | 900 0016 0068 ldr r0, [r0] |
||
2645 | 901 .LVL61: |
||
2646 | 902 .loc 1 1536 9 discriminator 2 view .LVU215 |
||
2647 | 903 0018 FFF7FEFF bl USB_SetDevAddress |
||
2648 | 904 .LVL62: |
||
2649 | 1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
2650 | 905 .loc 1 1537 3 is_stmt 1 discriminator 2 view .LVU216 |
||
2651 | 906 .loc 1 1537 3 discriminator 2 view .LVU217 |
||
2652 | 907 001c 0020 movs r0, #0 |
||
2653 | 908 001e 84F82802 strb r0, [r4, #552] |
||
2654 | 1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
2655 | 909 .loc 1 1538 3 discriminator 2 view .LVU218 |
||
2656 | 1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2657 | 910 .loc 1 1539 1 is_stmt 0 discriminator 2 view .LVU219 |
||
2658 | 911 0022 10BD pop {r4, pc} |
||
2659 | 912 .LVL63: |
||
2660 | 913 .L63: |
||
2661 | 914 .LCFI14: |
||
2662 | 915 .cfi_def_cfa_offset 0 |
||
2663 | 916 .cfi_restore 4 |
||
2664 | 917 .cfi_restore 14 |
||
2665 | 1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->USB_Address = address; |
||
2666 | 918 .loc 1 1534 3 view .LVU220 |
||
2667 | 919 0024 0220 movs r0, #2 |
||
2668 | 920 .LVL64: |
||
2669 | 921 .loc 1 1539 1 view .LVU221 |
||
2670 | 922 0026 7047 bx lr |
||
2671 | 923 .cfi_endproc |
||
2672 | 924 .LFE85: |
||
2673 | 926 .section .text.HAL_PCD_EP_Open,"ax",%progbits |
||
2674 | 927 .align 1 |
||
2675 | 928 .global HAL_PCD_EP_Open |
||
2676 | 929 .syntax unified |
||
2677 | 930 .thumb |
||
2678 | 931 .thumb_func |
||
2679 | 932 .fpu softvfp |
||
2680 | 934 HAL_PCD_EP_Open: |
||
2681 | 935 .LVL65: |
||
2682 | 936 .LFB86: |
||
2683 | 1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2684 | 1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Open and configure an endpoint. |
||
2685 | 1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2686 | 1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
2687 | 1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_mps endpoint max packet size |
||
2688 | 1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_type endpoint type |
||
2689 | 1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
2690 | 1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2691 | 1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_ |
||
2692 | 1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2693 | 937 .loc 1 1549 1 is_stmt 1 view -0 |
||
2694 | 938 .cfi_startproc |
||
2695 | 939 @ args = 0, pretend = 0, frame = 0 |
||
2696 | 940 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2697 | 941 .loc 1 1549 1 is_stmt 0 view .LVU223 |
||
2698 | 942 0000 70B5 push {r4, r5, r6, lr} |
||
2699 | 943 .LCFI15: |
||
2700 | 944 .cfi_def_cfa_offset 16 |
||
19 | mjames | 2701 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 46 |
16 | mjames | 2702 | |
2703 | |||
2704 | 945 .cfi_offset 4, -16 |
||
2705 | 946 .cfi_offset 5, -12 |
||
2706 | 947 .cfi_offset 6, -8 |
||
2707 | 948 .cfi_offset 14, -4 |
||
2708 | 1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef ret = HAL_OK; |
||
2709 | 949 .loc 1 1550 3 is_stmt 1 view .LVU224 |
||
2710 | 950 .LVL66: |
||
2711 | 1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
2712 | 951 .loc 1 1551 3 view .LVU225 |
||
2713 | 1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2714 | 1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & 0x80U) == 0x80U) |
||
2715 | 952 .loc 1 1553 3 view .LVU226 |
||
2716 | 953 .loc 1 1553 6 is_stmt 0 view .LVU227 |
||
2717 | 954 0002 11F0800F tst r1, #128 |
||
2718 | 955 0006 23D1 bne .L76 |
||
2719 | 1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2720 | 1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; |
||
2721 | 1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2722 | 1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2723 | 1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
2724 | 1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2725 | 1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; |
||
2726 | 956 .loc 1 1560 5 is_stmt 1 view .LVU228 |
||
2727 | 957 .loc 1 1560 32 is_stmt 0 view .LVU229 |
||
2728 | 958 0008 01F00705 and r5, r1, #7 |
||
2729 | 959 .loc 1 1560 8 view .LVU230 |
||
2730 | 960 000c 6D01 lsls r5, r5, #5 |
||
2731 | 961 000e 05F59474 add r4, r5, #296 |
||
2732 | 962 0012 0444 add r4, r4, r0 |
||
2733 | 963 .LVL67: |
||
2734 | 1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
2735 | 964 .loc 1 1561 5 is_stmt 1 view .LVU231 |
||
2736 | 965 .loc 1 1561 15 is_stmt 0 view .LVU232 |
||
2737 | 966 0014 0544 add r5, r5, r0 |
||
2738 | 967 0016 0026 movs r6, #0 |
||
2739 | 968 0018 85F82961 strb r6, [r5, #297] |
||
2740 | 969 .L70: |
||
2741 | 1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2742 | 1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2743 | 1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
2744 | 970 .loc 1 1564 3 is_stmt 1 view .LVU233 |
||
2745 | 971 .loc 1 1564 21 is_stmt 0 view .LVU234 |
||
2746 | 972 001c 01F00701 and r1, r1, #7 |
||
2747 | 973 .LVL68: |
||
2748 | 974 .loc 1 1564 11 view .LVU235 |
||
2749 | 975 0020 2170 strb r1, [r4] |
||
2750 | 1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->maxpacket = ep_mps; |
||
2751 | 976 .loc 1 1565 3 is_stmt 1 view .LVU236 |
||
2752 | 977 .loc 1 1565 17 is_stmt 0 view .LVU237 |
||
2753 | 978 0022 2261 str r2, [r4, #16] |
||
2754 | 1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->type = ep_type; |
||
2755 | 979 .loc 1 1566 3 is_stmt 1 view .LVU238 |
||
2756 | 980 .loc 1 1566 12 is_stmt 0 view .LVU239 |
||
2757 | 981 0024 E370 strb r3, [r4, #3] |
||
2758 | 1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2759 | 1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (ep->is_in != 0U) |
||
2760 | 982 .loc 1 1568 3 is_stmt 1 view .LVU240 |
||
19 | mjames | 2761 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 47 |
16 | mjames | 2762 | |
2763 | |||
2764 | 983 .loc 1 1568 9 is_stmt 0 view .LVU241 |
||
2765 | 984 0026 6278 ldrb r2, [r4, #1] @ zero_extendqisi2 |
||
2766 | 985 .LVL69: |
||
2767 | 986 .loc 1 1568 6 view .LVU242 |
||
2768 | 987 0028 02B1 cbz r2, .L71 |
||
2769 | 1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2770 | 1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Assign a Tx FIFO */ |
||
2771 | 1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->tx_fifo_num = ep->num; |
||
2772 | 988 .loc 1 1571 5 is_stmt 1 view .LVU243 |
||
2773 | 989 .loc 1 1571 21 is_stmt 0 view .LVU244 |
||
2774 | 990 002a E181 strh r1, [r4, #14] @ movhi |
||
2775 | 991 .L71: |
||
2776 | 1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2777 | 1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Set initial data PID. */ |
||
2778 | 1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (ep_type == EP_TYPE_BULK) |
||
2779 | 992 .loc 1 1574 3 is_stmt 1 view .LVU245 |
||
2780 | 993 .loc 1 1574 6 is_stmt 0 view .LVU246 |
||
2781 | 994 002c 022B cmp r3, #2 |
||
2782 | 995 002e 1AD0 beq .L77 |
||
2783 | 996 .LVL70: |
||
2784 | 997 .L72: |
||
2785 | 1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2786 | 1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->data_pid_start = 0U; |
||
2787 | 1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2788 | 1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2789 | 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2790 | 998 .loc 1 1579 3 is_stmt 1 view .LVU247 |
||
2791 | 999 .loc 1 1579 3 view .LVU248 |
||
2792 | 1000 0030 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
2793 | 1001 0034 012B cmp r3, #1 |
||
2794 | 1002 0036 19D0 beq .L74 |
||
2795 | 1003 0038 0546 mov r5, r0 |
||
2796 | 1004 .loc 1 1579 3 discriminator 2 view .LVU249 |
||
2797 | 1005 003a 0123 movs r3, #1 |
||
2798 | 1006 003c 80F82832 strb r3, [r0, #552] |
||
2799 | 1007 .LVL71: |
||
2800 | 1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_ActivateEndpoint(hpcd->Instance, ep); |
||
2801 | 1008 .loc 1 1580 3 discriminator 2 view .LVU250 |
||
2802 | 1009 .loc 1 1580 9 is_stmt 0 discriminator 2 view .LVU251 |
||
2803 | 1010 0040 2146 mov r1, r4 |
||
2804 | 1011 0042 0068 ldr r0, [r0] |
||
2805 | 1012 .LVL72: |
||
2806 | 1013 .loc 1 1580 9 discriminator 2 view .LVU252 |
||
2807 | 1014 0044 FFF7FEFF bl USB_ActivateEndpoint |
||
2808 | 1015 .LVL73: |
||
2809 | 1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
2810 | 1016 .loc 1 1581 3 is_stmt 1 discriminator 2 view .LVU253 |
||
2811 | 1017 .loc 1 1581 3 discriminator 2 view .LVU254 |
||
2812 | 1018 0048 0020 movs r0, #0 |
||
2813 | 1019 004a 85F82802 strb r0, [r5, #552] |
||
2814 | 1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2815 | 1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return ret; |
||
2816 | 1020 .loc 1 1583 3 discriminator 2 view .LVU255 |
||
2817 | 1021 .LVL74: |
||
2818 | 1022 .L73: |
||
2819 | 1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2820 | 1023 .loc 1 1584 1 is_stmt 0 view .LVU256 |
||
19 | mjames | 2821 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 48 |
16 | mjames | 2822 | |
2823 | |||
2824 | 1024 004e 70BD pop {r4, r5, r6, pc} |
||
2825 | 1025 .LVL75: |
||
2826 | 1026 .L76: |
||
2827 | 1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2828 | 1027 .loc 1 1555 5 is_stmt 1 view .LVU257 |
||
2829 | 1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2830 | 1028 .loc 1 1555 31 is_stmt 0 view .LVU258 |
||
2831 | 1029 0050 01F00705 and r5, r1, #7 |
||
2832 | 1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2833 | 1030 .loc 1 1555 8 view .LVU259 |
||
2834 | 1031 0054 6D01 lsls r5, r5, #5 |
||
2835 | 1032 0056 05F12804 add r4, r5, #40 |
||
2836 | 1033 005a 0444 add r4, r4, r0 |
||
2837 | 1034 .LVL76: |
||
2838 | 1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2839 | 1035 .loc 1 1556 5 is_stmt 1 view .LVU260 |
||
2840 | 1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2841 | 1036 .loc 1 1556 15 is_stmt 0 view .LVU261 |
||
2842 | 1037 005c 0544 add r5, r5, r0 |
||
2843 | 1038 005e 0126 movs r6, #1 |
||
2844 | 1039 0060 85F82960 strb r6, [r5, #41] |
||
2845 | 1040 0064 DAE7 b .L70 |
||
2846 | 1041 .LVL77: |
||
2847 | 1042 .L77: |
||
2848 | 1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2849 | 1043 .loc 1 1576 5 is_stmt 1 view .LVU262 |
||
2850 | 1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2851 | 1044 .loc 1 1576 24 is_stmt 0 view .LVU263 |
||
2852 | 1045 0066 0023 movs r3, #0 |
||
2853 | 1046 .LVL78: |
||
2854 | 1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2855 | 1047 .loc 1 1576 24 view .LVU264 |
||
2856 | 1048 0068 2371 strb r3, [r4, #4] |
||
2857 | 1049 006a E1E7 b .L72 |
||
2858 | 1050 .L74: |
||
2859 | 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_ActivateEndpoint(hpcd->Instance, ep); |
||
2860 | 1051 .loc 1 1579 3 view .LVU265 |
||
2861 | 1052 006c 0220 movs r0, #2 |
||
2862 | 1053 .LVL79: |
||
2863 | 1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_ActivateEndpoint(hpcd->Instance, ep); |
||
2864 | 1054 .loc 1 1579 3 view .LVU266 |
||
2865 | 1055 006e EEE7 b .L73 |
||
2866 | 1056 .cfi_endproc |
||
2867 | 1057 .LFE86: |
||
2868 | 1059 .section .text.HAL_PCD_EP_Close,"ax",%progbits |
||
2869 | 1060 .align 1 |
||
2870 | 1061 .global HAL_PCD_EP_Close |
||
2871 | 1062 .syntax unified |
||
2872 | 1063 .thumb |
||
2873 | 1064 .thumb_func |
||
2874 | 1065 .fpu softvfp |
||
2875 | 1067 HAL_PCD_EP_Close: |
||
2876 | 1068 .LVL80: |
||
2877 | 1069 .LFB87: |
||
2878 | 1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2879 | 1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
2880 | 1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Deactivate an endpoint. |
||
19 | mjames | 2881 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 49 |
16 | mjames | 2882 | |
2883 | |||
2884 | 1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
2885 | 1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
2886 | 1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
2887 | 1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
2888 | 1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) |
||
2889 | 1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2890 | 1070 .loc 1 1593 1 is_stmt 1 view -0 |
||
2891 | 1071 .cfi_startproc |
||
2892 | 1072 @ args = 0, pretend = 0, frame = 0 |
||
2893 | 1073 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2894 | 1074 .loc 1 1593 1 is_stmt 0 view .LVU268 |
||
2895 | 1075 0000 10B5 push {r4, lr} |
||
2896 | 1076 .LCFI16: |
||
2897 | 1077 .cfi_def_cfa_offset 8 |
||
2898 | 1078 .cfi_offset 4, -8 |
||
2899 | 1079 .cfi_offset 14, -4 |
||
2900 | 1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
2901 | 1080 .loc 1 1594 3 is_stmt 1 view .LVU269 |
||
2902 | 1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2903 | 1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & 0x80U) == 0x80U) |
||
2904 | 1081 .loc 1 1596 3 view .LVU270 |
||
2905 | 1082 .loc 1 1596 6 is_stmt 0 view .LVU271 |
||
2906 | 1083 0002 11F0800F tst r1, #128 |
||
2907 | 1084 0006 1CD1 bne .L84 |
||
2908 | 1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2909 | 1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; |
||
2910 | 1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2911 | 1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2912 | 1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
2913 | 1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
2914 | 1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; |
||
2915 | 1085 .loc 1 1603 5 is_stmt 1 view .LVU272 |
||
2916 | 1086 .loc 1 1603 32 is_stmt 0 view .LVU273 |
||
2917 | 1087 0008 01F00703 and r3, r1, #7 |
||
2918 | 1088 .loc 1 1603 8 view .LVU274 |
||
2919 | 1089 000c 5B01 lsls r3, r3, #5 |
||
2920 | 1090 000e 03F59472 add r2, r3, #296 |
||
2921 | 1091 0012 0244 add r2, r2, r0 |
||
2922 | 1092 .LVL81: |
||
2923 | 1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
2924 | 1093 .loc 1 1604 5 is_stmt 1 view .LVU275 |
||
2925 | 1094 .loc 1 1604 15 is_stmt 0 view .LVU276 |
||
2926 | 1095 0014 0344 add r3, r3, r0 |
||
2927 | 1096 0016 0024 movs r4, #0 |
||
2928 | 1097 0018 83F82941 strb r4, [r3, #297] |
||
2929 | 1098 .L80: |
||
2930 | 1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2931 | 1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
2932 | 1099 .loc 1 1606 3 is_stmt 1 view .LVU277 |
||
2933 | 1100 .loc 1 1606 23 is_stmt 0 view .LVU278 |
||
2934 | 1101 001c 01F00703 and r3, r1, #7 |
||
2935 | 1102 .loc 1 1606 13 view .LVU279 |
||
2936 | 1103 0020 1370 strb r3, [r2] |
||
2937 | 1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
2938 | 1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
2939 | 1104 .loc 1 1608 3 is_stmt 1 view .LVU280 |
||
2940 | 1105 .loc 1 1608 3 view .LVU281 |
||
19 | mjames | 2941 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 50 |
16 | mjames | 2942 | |
2943 | |||
2944 | 1106 0022 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
2945 | 1107 0026 012B cmp r3, #1 |
||
2946 | 1108 0028 16D0 beq .L82 |
||
2947 | 1109 .loc 1 1608 3 is_stmt 0 view .LVU282 |
||
2948 | 1110 002a 0446 mov r4, r0 |
||
2949 | 1111 .loc 1 1608 3 is_stmt 1 discriminator 2 view .LVU283 |
||
2950 | 1112 002c 0123 movs r3, #1 |
||
2951 | 1113 002e 80F82832 strb r3, [r0, #552] |
||
2952 | 1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DeactivateEndpoint(hpcd->Instance, ep); |
||
2953 | 1114 .loc 1 1609 3 discriminator 2 view .LVU284 |
||
2954 | 1115 .loc 1 1609 9 is_stmt 0 discriminator 2 view .LVU285 |
||
2955 | 1116 0032 1146 mov r1, r2 |
||
2956 | 1117 .LVL82: |
||
2957 | 1118 .loc 1 1609 9 discriminator 2 view .LVU286 |
||
2958 | 1119 0034 0068 ldr r0, [r0] |
||
2959 | 1120 .LVL83: |
||
2960 | 1121 .loc 1 1609 9 discriminator 2 view .LVU287 |
||
2961 | 1122 0036 FFF7FEFF bl USB_DeactivateEndpoint |
||
2962 | 1123 .LVL84: |
||
2963 | 1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
2964 | 1124 .loc 1 1610 3 is_stmt 1 discriminator 2 view .LVU288 |
||
2965 | 1125 .loc 1 1610 3 discriminator 2 view .LVU289 |
||
2966 | 1126 003a 0020 movs r0, #0 |
||
2967 | 1127 003c 84F82802 strb r0, [r4, #552] |
||
2968 | 1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
2969 | 1128 .loc 1 1611 3 discriminator 2 view .LVU290 |
||
2970 | 1129 .LVL85: |
||
2971 | 1130 .L81: |
||
2972 | 1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2973 | 1131 .loc 1 1612 1 is_stmt 0 view .LVU291 |
||
2974 | 1132 0040 10BD pop {r4, pc} |
||
2975 | 1133 .LVL86: |
||
2976 | 1134 .L84: |
||
2977 | 1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2978 | 1135 .loc 1 1598 5 is_stmt 1 view .LVU292 |
||
2979 | 1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2980 | 1136 .loc 1 1598 31 is_stmt 0 view .LVU293 |
||
2981 | 1137 0042 01F00703 and r3, r1, #7 |
||
2982 | 1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
2983 | 1138 .loc 1 1598 8 view .LVU294 |
||
2984 | 1139 0046 5B01 lsls r3, r3, #5 |
||
2985 | 1140 0048 03F12802 add r2, r3, #40 |
||
2986 | 1141 004c 0244 add r2, r2, r0 |
||
2987 | 1142 .LVL87: |
||
2988 | 1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2989 | 1143 .loc 1 1599 5 is_stmt 1 view .LVU295 |
||
2990 | 1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
2991 | 1144 .loc 1 1599 15 is_stmt 0 view .LVU296 |
||
2992 | 1145 004e 0344 add r3, r3, r0 |
||
2993 | 1146 0050 0124 movs r4, #1 |
||
2994 | 1147 0052 83F82940 strb r4, [r3, #41] |
||
2995 | 1148 0056 E1E7 b .L80 |
||
2996 | 1149 .L82: |
||
2997 | 1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DeactivateEndpoint(hpcd->Instance, ep); |
||
2998 | 1150 .loc 1 1608 3 view .LVU297 |
||
2999 | 1151 0058 0220 movs r0, #2 |
||
3000 | 1152 .LVL88: |
||
19 | mjames | 3001 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 51 |
16 | mjames | 3002 | |
3003 | |||
3004 | 1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_DeactivateEndpoint(hpcd->Instance, ep); |
||
3005 | 1153 .loc 1 1608 3 view .LVU298 |
||
3006 | 1154 005a F1E7 b .L81 |
||
3007 | 1155 .cfi_endproc |
||
3008 | 1156 .LFE87: |
||
3009 | 1158 .section .text.HAL_PCD_EP_Receive,"ax",%progbits |
||
3010 | 1159 .align 1 |
||
3011 | 1160 .global HAL_PCD_EP_Receive |
||
3012 | 1161 .syntax unified |
||
3013 | 1162 .thumb |
||
3014 | 1163 .thumb_func |
||
3015 | 1164 .fpu softvfp |
||
3016 | 1166 HAL_PCD_EP_Receive: |
||
3017 | 1167 .LVL89: |
||
3018 | 1168 .LFB88: |
||
3019 | 1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3020 | 1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3021 | 1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3022 | 1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Receive an amount of data. |
||
3023 | 1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3024 | 1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
3025 | 1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param pBuf pointer to the reception buffer |
||
3026 | 1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param len amount of data to be received |
||
3027 | 1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3028 | 1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3029 | 1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint3 |
||
3030 | 1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3031 | 1169 .loc 1 1624 1 is_stmt 1 view -0 |
||
3032 | 1170 .cfi_startproc |
||
3033 | 1171 @ args = 0, pretend = 0, frame = 0 |
||
3034 | 1172 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3035 | 1173 .loc 1 1624 1 is_stmt 0 view .LVU300 |
||
3036 | 1174 0000 70B5 push {r4, r5, r6, lr} |
||
3037 | 1175 .LCFI17: |
||
3038 | 1176 .cfi_def_cfa_offset 16 |
||
3039 | 1177 .cfi_offset 4, -16 |
||
3040 | 1178 .cfi_offset 5, -12 |
||
3041 | 1179 .cfi_offset 6, -8 |
||
3042 | 1180 .cfi_offset 14, -4 |
||
3043 | 1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
3044 | 1181 .loc 1 1625 3 is_stmt 1 view .LVU301 |
||
3045 | 1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3046 | 1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; |
||
3047 | 1182 .loc 1 1627 3 view .LVU302 |
||
3048 | 1183 0002 01F00705 and r5, r1, #7 |
||
3049 | 1184 .loc 1 1627 6 is_stmt 0 view .LVU303 |
||
3050 | 1185 0006 6C01 lsls r4, r5, #5 |
||
3051 | 1186 0008 04F59471 add r1, r4, #296 |
||
3052 | 1187 .LVL90: |
||
3053 | 1188 .loc 1 1627 6 view .LVU304 |
||
3054 | 1189 000c 0144 add r1, r1, r0 |
||
3055 | 1190 .LVL91: |
||
3056 | 1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3057 | 1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /*setup and start the Xfer */ |
||
3058 | 1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff = pBuf; |
||
3059 | 1191 .loc 1 1630 3 is_stmt 1 view .LVU305 |
||
3060 | 1192 .loc 1 1630 17 is_stmt 0 view .LVU306 |
||
19 | mjames | 3061 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 52 |
16 | mjames | 3062 | |
3063 | |||
3064 | 1193 000e 0444 add r4, r4, r0 |
||
3065 | 1194 0010 C4F83C21 str r2, [r4, #316] |
||
3066 | 1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_len = len; |
||
3067 | 1195 .loc 1 1631 3 is_stmt 1 view .LVU307 |
||
3068 | 1196 .loc 1 1631 16 is_stmt 0 view .LVU308 |
||
3069 | 1197 0014 05F10A02 add r2, r5, #10 |
||
3070 | 1198 .LVL92: |
||
3071 | 1199 .loc 1 1631 16 view .LVU309 |
||
3072 | 1200 0018 5201 lsls r2, r2, #5 |
||
3073 | 1201 001a 8618 adds r6, r0, r2 |
||
3074 | 1202 001c 8350 str r3, [r0, r2] |
||
3075 | 1203 .LVL93: |
||
3076 | 1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count = 0U; |
||
3077 | 1204 .loc 1 1632 3 is_stmt 1 view .LVU310 |
||
3078 | 1205 .loc 1 1632 18 is_stmt 0 view .LVU311 |
||
3079 | 1206 001e 0023 movs r3, #0 |
||
3080 | 1207 .LVL94: |
||
3081 | 1208 .loc 1 1632 18 view .LVU312 |
||
3082 | 1209 0020 7360 str r3, [r6, #4] |
||
3083 | 1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
3084 | 1210 .loc 1 1633 3 is_stmt 1 view .LVU313 |
||
3085 | 1211 .loc 1 1633 13 is_stmt 0 view .LVU314 |
||
3086 | 1212 0022 84F82931 strb r3, [r4, #297] |
||
3087 | 1213 .LVL95: |
||
3088 | 1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
3089 | 1214 .loc 1 1634 3 is_stmt 1 view .LVU315 |
||
3090 | 1215 .loc 1 1634 11 is_stmt 0 view .LVU316 |
||
3091 | 1216 0026 84F82851 strb r5, [r4, #296] |
||
3092 | 1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3093 | 1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & EP_ADDR_MSK) == 0U) |
||
3094 | 1217 .loc 1 1636 3 is_stmt 1 view .LVU317 |
||
3095 | 1218 .loc 1 1636 6 is_stmt 0 view .LVU318 |
||
3096 | 1219 002a 25B9 cbnz r5, .L86 |
||
3097 | 1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3098 | 1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EP0StartXfer(hpcd->Instance, ep); |
||
3099 | 1220 .loc 1 1638 5 is_stmt 1 view .LVU319 |
||
3100 | 1221 .loc 1 1638 11 is_stmt 0 view .LVU320 |
||
3101 | 1222 002c 0068 ldr r0, [r0] |
||
3102 | 1223 .LVL96: |
||
3103 | 1224 .loc 1 1638 11 view .LVU321 |
||
3104 | 1225 002e FFF7FEFF bl USB_EPStartXfer |
||
3105 | 1226 .LVL97: |
||
3106 | 1227 .L87: |
||
3107 | 1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3108 | 1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3109 | 1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3110 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPStartXfer(hpcd->Instance, ep); |
||
3111 | 1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3112 | 1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3113 | 1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3114 | 1228 .loc 1 1645 3 is_stmt 1 view .LVU322 |
||
3115 | 1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3116 | 1229 .loc 1 1646 1 is_stmt 0 view .LVU323 |
||
3117 | 1230 0032 0020 movs r0, #0 |
||
3118 | 1231 0034 70BD pop {r4, r5, r6, pc} |
||
3119 | 1232 .LVL98: |
||
3120 | 1233 .L86: |
||
19 | mjames | 3121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 53 |
16 | mjames | 3122 | |
3123 | |||
3124 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3125 | 1234 .loc 1 1642 5 is_stmt 1 view .LVU324 |
||
3126 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3127 | 1235 .loc 1 1642 11 is_stmt 0 view .LVU325 |
||
3128 | 1236 0036 0068 ldr r0, [r0] |
||
3129 | 1237 .LVL99: |
||
3130 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3131 | 1238 .loc 1 1642 11 view .LVU326 |
||
3132 | 1239 0038 FFF7FEFF bl USB_EPStartXfer |
||
3133 | 1240 .LVL100: |
||
3134 | 1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3135 | 1241 .loc 1 1642 11 view .LVU327 |
||
3136 | 1242 003c F9E7 b .L87 |
||
3137 | 1243 .cfi_endproc |
||
3138 | 1244 .LFE88: |
||
3139 | 1246 .section .text.HAL_PCD_EP_GetRxCount,"ax",%progbits |
||
3140 | 1247 .align 1 |
||
3141 | 1248 .global HAL_PCD_EP_GetRxCount |
||
3142 | 1249 .syntax unified |
||
3143 | 1250 .thumb |
||
3144 | 1251 .thumb_func |
||
3145 | 1252 .fpu softvfp |
||
3146 | 1254 HAL_PCD_EP_GetRxCount: |
||
3147 | 1255 .LVL101: |
||
3148 | 1256 .LFB89: |
||
3149 | 1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3150 | 1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3151 | 1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Get Received Data Size |
||
3152 | 1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3153 | 1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
3154 | 1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval Data Size |
||
3155 | 1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3156 | 1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) |
||
3157 | 1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3158 | 1257 .loc 1 1655 1 is_stmt 1 view -0 |
||
3159 | 1258 .cfi_startproc |
||
3160 | 1259 @ args = 0, pretend = 0, frame = 0 |
||
3161 | 1260 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3162 | 1261 @ link register save eliminated. |
||
3163 | 1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return hpcd->OUT_ep[ep_addr & EP_ADDR_MSK].xfer_count; |
||
3164 | 1262 .loc 1 1656 3 view .LVU329 |
||
3165 | 1263 .loc 1 1656 31 is_stmt 0 view .LVU330 |
||
3166 | 1264 0000 01F00701 and r1, r1, #7 |
||
3167 | 1265 .LVL102: |
||
3168 | 1266 .loc 1 1656 45 view .LVU331 |
||
3169 | 1267 0004 0A31 adds r1, r1, #10 |
||
3170 | 1268 0006 00EB4111 add r1, r0, r1, lsl #5 |
||
3171 | 1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3172 | 1269 .loc 1 1657 1 view .LVU332 |
||
3173 | 1270 000a 4868 ldr r0, [r1, #4] |
||
3174 | 1271 .LVL103: |
||
3175 | 1272 .loc 1 1657 1 view .LVU333 |
||
3176 | 1273 000c 7047 bx lr |
||
3177 | 1274 .cfi_endproc |
||
3178 | 1275 .LFE89: |
||
3179 | 1277 .section .text.HAL_PCD_EP_Transmit,"ax",%progbits |
||
3180 | 1278 .align 1 |
||
19 | mjames | 3181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 54 |
16 | mjames | 3182 | |
3183 | |||
3184 | 1279 .global HAL_PCD_EP_Transmit |
||
3185 | 1280 .syntax unified |
||
3186 | 1281 .thumb |
||
3187 | 1282 .thumb_func |
||
3188 | 1283 .fpu softvfp |
||
3189 | 1285 HAL_PCD_EP_Transmit: |
||
3190 | 1286 .LVL104: |
||
3191 | 1287 .LFB90: |
||
3192 | 1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3193 | 1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Send an amount of data |
||
3194 | 1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3195 | 1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
3196 | 1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param pBuf pointer to the transmission buffer |
||
3197 | 1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param len amount of data to be sent |
||
3198 | 1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3199 | 1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3200 | 1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint |
||
3201 | 1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3202 | 1288 .loc 1 1667 1 is_stmt 1 view -0 |
||
3203 | 1289 .cfi_startproc |
||
3204 | 1290 @ args = 0, pretend = 0, frame = 0 |
||
3205 | 1291 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3206 | 1292 .loc 1 1667 1 is_stmt 0 view .LVU335 |
||
3207 | 1293 0000 70B5 push {r4, r5, r6, lr} |
||
3208 | 1294 .LCFI18: |
||
3209 | 1295 .cfi_def_cfa_offset 16 |
||
3210 | 1296 .cfi_offset 4, -16 |
||
3211 | 1297 .cfi_offset 5, -12 |
||
3212 | 1298 .cfi_offset 6, -8 |
||
3213 | 1299 .cfi_offset 14, -4 |
||
3214 | 1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
3215 | 1300 .loc 1 1668 3 is_stmt 1 view .LVU336 |
||
3216 | 1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3217 | 1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; |
||
3218 | 1301 .loc 1 1670 3 view .LVU337 |
||
3219 | 1302 0002 01F00705 and r5, r1, #7 |
||
3220 | 1303 .loc 1 1670 6 is_stmt 0 view .LVU338 |
||
3221 | 1304 0006 6C01 lsls r4, r5, #5 |
||
3222 | 1305 0008 04F12801 add r1, r4, #40 |
||
3223 | 1306 .LVL105: |
||
3224 | 1307 .loc 1 1670 6 view .LVU339 |
||
3225 | 1308 000c 0144 add r1, r1, r0 |
||
3226 | 1309 .LVL106: |
||
3227 | 1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3228 | 1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /*setup and start the Xfer */ |
||
3229 | 1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff = pBuf; |
||
3230 | 1310 .loc 1 1673 3 is_stmt 1 view .LVU340 |
||
3231 | 1311 .loc 1 1673 17 is_stmt 0 view .LVU341 |
||
3232 | 1312 000e 0444 add r4, r4, r0 |
||
3233 | 1313 0010 E263 str r2, [r4, #60] |
||
3234 | 1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_len = len; |
||
3235 | 1314 .loc 1 1674 3 is_stmt 1 view .LVU342 |
||
3236 | 1315 .loc 1 1674 16 is_stmt 0 view .LVU343 |
||
3237 | 1316 0012 AA1C adds r2, r5, #2 |
||
3238 | 1317 .LVL107: |
||
3239 | 1318 .loc 1 1674 16 view .LVU344 |
||
3240 | 1319 0014 5201 lsls r2, r2, #5 |
||
19 | mjames | 3241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 55 |
16 | mjames | 3242 | |
3243 | |||
3244 | 1320 0016 8618 adds r6, r0, r2 |
||
3245 | 1321 0018 8350 str r3, [r0, r2] |
||
3246 | 1322 .LVL108: |
||
3247 | 1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count = 0U; |
||
3248 | 1323 .loc 1 1675 3 is_stmt 1 view .LVU345 |
||
3249 | 1324 .loc 1 1675 18 is_stmt 0 view .LVU346 |
||
3250 | 1325 001a 0023 movs r3, #0 |
||
3251 | 1326 .LVL109: |
||
3252 | 1327 .loc 1 1675 18 view .LVU347 |
||
3253 | 1328 001c 7360 str r3, [r6, #4] |
||
3254 | 1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
3255 | 1329 .loc 1 1676 3 is_stmt 1 view .LVU348 |
||
3256 | 1330 .loc 1 1676 13 is_stmt 0 view .LVU349 |
||
3257 | 1331 001e 0123 movs r3, #1 |
||
3258 | 1332 0020 84F82930 strb r3, [r4, #41] |
||
3259 | 1333 .LVL110: |
||
3260 | 1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
3261 | 1334 .loc 1 1677 3 is_stmt 1 view .LVU350 |
||
3262 | 1335 .loc 1 1677 11 is_stmt 0 view .LVU351 |
||
3263 | 1336 0024 84F82850 strb r5, [r4, #40] |
||
3264 | 1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3265 | 1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & EP_ADDR_MSK) == 0U) |
||
3266 | 1337 .loc 1 1679 3 is_stmt 1 view .LVU352 |
||
3267 | 1338 .loc 1 1679 6 is_stmt 0 view .LVU353 |
||
3268 | 1339 0028 25B9 cbnz r5, .L91 |
||
3269 | 1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3270 | 1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EP0StartXfer(hpcd->Instance, ep); |
||
3271 | 1340 .loc 1 1681 5 is_stmt 1 view .LVU354 |
||
3272 | 1341 .loc 1 1681 11 is_stmt 0 view .LVU355 |
||
3273 | 1342 002a 0068 ldr r0, [r0] |
||
3274 | 1343 .LVL111: |
||
3275 | 1344 .loc 1 1681 11 view .LVU356 |
||
3276 | 1345 002c FFF7FEFF bl USB_EPStartXfer |
||
3277 | 1346 .LVL112: |
||
3278 | 1347 .L92: |
||
3279 | 1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3280 | 1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3281 | 1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3282 | 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPStartXfer(hpcd->Instance, ep); |
||
3283 | 1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3284 | 1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3285 | 1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3286 | 1348 .loc 1 1688 3 is_stmt 1 view .LVU357 |
||
3287 | 1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3288 | 1349 .loc 1 1689 1 is_stmt 0 view .LVU358 |
||
3289 | 1350 0030 0020 movs r0, #0 |
||
3290 | 1351 0032 70BD pop {r4, r5, r6, pc} |
||
3291 | 1352 .LVL113: |
||
3292 | 1353 .L91: |
||
3293 | 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3294 | 1354 .loc 1 1685 5 is_stmt 1 view .LVU359 |
||
3295 | 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3296 | 1355 .loc 1 1685 11 is_stmt 0 view .LVU360 |
||
3297 | 1356 0034 0068 ldr r0, [r0] |
||
3298 | 1357 .LVL114: |
||
3299 | 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3300 | 1358 .loc 1 1685 11 view .LVU361 |
||
19 | mjames | 3301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 56 |
16 | mjames | 3302 | |
3303 | |||
3304 | 1359 0036 FFF7FEFF bl USB_EPStartXfer |
||
3305 | 1360 .LVL115: |
||
3306 | 1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3307 | 1361 .loc 1 1685 11 view .LVU362 |
||
3308 | 1362 003a F9E7 b .L92 |
||
3309 | 1363 .cfi_endproc |
||
3310 | 1364 .LFE90: |
||
3311 | 1366 .section .text.PCD_EP_ISR_Handler,"ax",%progbits |
||
3312 | 1367 .align 1 |
||
3313 | 1368 .syntax unified |
||
3314 | 1369 .thumb |
||
3315 | 1370 .thumb_func |
||
3316 | 1371 .fpu softvfp |
||
3317 | 1373 PCD_EP_ISR_Handler: |
||
3318 | 1374 .LVL116: |
||
3319 | 1375 .LFB97: |
||
3320 | 1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3321 | 1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3322 | 1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Set a STALL condition over an endpoint |
||
3323 | 1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3324 | 1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
3325 | 1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3326 | 1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3327 | 1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) |
||
3328 | 1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3329 | 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
3330 | 1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3331 | 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (((uint32_t)ep_addr & EP_ADDR_MSK) > hpcd->Init.dev_endpoints) |
||
3332 | 1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3333 | 1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
3334 | 1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3335 | 1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3336 | 1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((0x80U & ep_addr) == 0x80U) |
||
3337 | 1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3338 | 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; |
||
3339 | 1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
3340 | 1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3341 | 1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3342 | 1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3343 | 1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[ep_addr]; |
||
3344 | 1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
3345 | 1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3346 | 1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3347 | 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_stall = 1U; |
||
3348 | 1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
3349 | 1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3350 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
3351 | 1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3352 | 1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPSetStall(hpcd->Instance, ep); |
||
3353 | 1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & EP_ADDR_MSK) == 0U) |
||
3354 | 1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3355 | 1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EP0_OutStart(hpcd->Instance, (uint8_t *)hpcd->Setup); |
||
3356 | 1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3357 | 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
3358 | 1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3359 | 1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3360 | 1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
19 | mjames | 3361 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 57 |
16 | mjames | 3362 | |
3363 | |||
3364 | 1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3365 | 1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3366 | 1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Clear a STALL condition over in an endpoint |
||
3367 | 1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3368 | 1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
3369 | 1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3370 | 1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3371 | 1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) |
||
3372 | 1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3373 | 1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
3374 | 1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3375 | 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (((uint32_t)ep_addr & 0x0FU) > hpcd->Init.dev_endpoints) |
||
3376 | 1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3377 | 1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
3378 | 1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3379 | 1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3380 | 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((0x80U & ep_addr) == 0x80U) |
||
3381 | 1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3382 | 1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; |
||
3383 | 1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
3384 | 1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3385 | 1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3386 | 1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3387 | 1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; |
||
3388 | 1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
3389 | 1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3390 | 1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3391 | 1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_stall = 0U; |
||
3392 | 1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
3393 | 1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3394 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
3395 | 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPClearStall(hpcd->Instance, ep); |
||
3396 | 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
3397 | 1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3398 | 1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3399 | 1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3400 | 1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3401 | 1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3402 | 1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Flush an endpoint |
||
3403 | 1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3404 | 1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param ep_addr endpoint address |
||
3405 | 1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3406 | 1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3407 | 1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_Flush(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) |
||
3408 | 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3409 | 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
3410 | 1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3411 | 1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & 0x80U) == 0x80U) |
||
3412 | 1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3413 | 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_FlushTxFifo(hpcd->Instance, (uint32_t)ep_addr & EP_ADDR_MSK); |
||
3414 | 1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3415 | 1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3416 | 1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3417 | 1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_FlushRxFifo(hpcd->Instance); |
||
3418 | 1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3419 | 1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3420 | 1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
19 | mjames | 3421 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 58 |
16 | mjames | 3422 | |
3423 | |||
3424 | 1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3425 | 1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3426 | 1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3427 | 1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3428 | 1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3429 | 1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Activate remote wakeup signalling |
||
3430 | 1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3431 | 1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3432 | 1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3433 | 1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_ActivateRemoteWakeup(PCD_HandleTypeDef *hpcd) |
||
3434 | 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3435 | 1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return (USB_ActivateRemoteWakeup(hpcd->Instance)); |
||
3436 | 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3437 | 1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3438 | 1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3439 | 1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief De-activate remote wakeup signalling. |
||
3440 | 1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3441 | 1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3442 | 1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3443 | 1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DeActivateRemoteWakeup(PCD_HandleTypeDef *hpcd) |
||
3444 | 1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3445 | 1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return (USB_DeActivateRemoteWakeup(hpcd->Instance)); |
||
3446 | 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3447 | 1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3448 | 1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3449 | 1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @} |
||
3450 | 1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3451 | 1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3452 | 1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group4 Peripheral State functions |
||
3453 | 1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Peripheral State functions |
||
3454 | 1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * |
||
3455 | 1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim |
||
3456 | 1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
3457 | 1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ##### Peripheral State functions ##### |
||
3458 | 1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** =============================================================================== |
||
3459 | 1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** [..] |
||
3460 | 1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** This subsection permits to get in run-time the status of the peripheral |
||
3461 | 1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** and the data flow. |
||
3462 | 1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3463 | 1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim |
||
3464 | 1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
3465 | 1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3466 | 1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3467 | 1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3468 | 1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Return the PCD handle state. |
||
3469 | 1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3470 | 1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL state |
||
3471 | 1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3472 | 1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd) |
||
3473 | 1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3474 | 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return hpcd->State; |
||
3475 | 1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3476 | 1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3477 | 1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3478 | 1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @} |
||
3479 | 1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3480 | 1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 3481 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 59 |
16 | mjames | 3482 | |
3483 | |||
3484 | 1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3485 | 1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @} |
||
3486 | 1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3487 | 1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3488 | 1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private functions ---------------------------------------------------------*/ |
||
3489 | 1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @addtogroup PCD_Private_Functions |
||
3490 | 1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @{ |
||
3491 | 1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3492 | 1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS) |
||
3493 | 1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3494 | 1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief Check FIFO for the next packet to be loaded. |
||
3495 | 1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3496 | 1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param epnum endpoint number |
||
3497 | 1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3498 | 1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3499 | 1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_WriteEmptyTxFifo(PCD_HandleTypeDef *hpcd, uint32_t epnum) |
||
3500 | 1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3501 | 1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; |
||
3502 | 1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t USBx_BASE = (uint32_t)USBx; |
||
3503 | 1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_EPTypeDef *ep; |
||
3504 | 1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t len; |
||
3505 | 1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t len32b; |
||
3506 | 1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t fifoemptymsk; |
||
3507 | 1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3508 | 1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[epnum]; |
||
3509 | 1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3510 | 1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (ep->xfer_count > ep->xfer_len) |
||
3511 | 1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3512 | 1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_ERROR; |
||
3513 | 1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3514 | 1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3515 | 1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** len = ep->xfer_len - ep->xfer_count; |
||
3516 | 1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3517 | 1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (len > ep->maxpacket) |
||
3518 | 1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3519 | 1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** len = ep->maxpacket; |
||
3520 | 1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3521 | 1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3522 | 1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** len32b = (len + 3U) / 4U; |
||
3523 | 1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3524 | 1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && |
||
3525 | 1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (ep->xfer_count < ep->xfer_len) && (ep->xfer_len != 0U)) |
||
3526 | 1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3527 | 1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Write the FIFO */ |
||
3528 | 1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** len = ep->xfer_len - ep->xfer_count; |
||
3529 | 1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3530 | 1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (len > ep->maxpacket) |
||
3531 | 1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3532 | 1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** len = ep->maxpacket; |
||
3533 | 1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3534 | 1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** len32b = (len + 3U) / 4U; |
||
3535 | 1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3536 | 1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_WritePacket(USBx, ep->xfer_buff, (uint8_t)epnum, (uint16_t)len); |
||
3537 | 1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3538 | 1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += len; |
||
3539 | 1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count += len; |
||
3540 | 1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
19 | mjames | 3541 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 60 |
16 | mjames | 3542 | |
3543 | |||
3544 | 1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3545 | 1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (ep->xfer_len <= ep->xfer_count) |
||
3546 | 1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3547 | 1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** fifoemptymsk = (uint32_t)(0x1UL << (epnum & EP_ADDR_MSK)); |
||
3548 | 1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USBx_DEVICE->DIEPEMPMSK &= ~fifoemptymsk; |
||
3549 | 1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3550 | 1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3551 | 1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3552 | 1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3553 | 1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3554 | 1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3555 | 1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3556 | 1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief process EP OUT transfer complete interrupt. |
||
3557 | 1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3558 | 1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param epnum endpoint number |
||
3559 | 1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3560 | 1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3561 | 1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutXfrComplete_int(PCD_HandleTypeDef *hpcd, uint32_t epnum) |
||
3562 | 1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3563 | 1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; |
||
3564 | 1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t USBx_BASE = (uint32_t)USBx; |
||
3565 | 1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t gSNPSiD = *(__IO uint32_t *)(&USBx->CID + 0x1U); |
||
3566 | 1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t DoepintReg = USBx_OUTEP(epnum)->DOEPINT; |
||
3567 | 1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3568 | 1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (gSNPSiD == USB_OTG_CORE_ID_310A) |
||
3569 | 1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3570 | 1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* StupPktRcvd = 1 this is a setup packet */ |
||
3571 | 1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX) |
||
3572 | 1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3573 | 1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX); |
||
3574 | 1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3575 | 1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3576 | 1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3577 | 1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((DoepintReg & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR) |
||
3578 | 1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3579 | 1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPSPR); |
||
3580 | 1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3581 | 1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3582 | 1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
3583 | 1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); |
||
3584 | 1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
3585 | 1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum); |
||
3586 | 1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
3587 | 1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3588 | 1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3589 | 1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3590 | 1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3591 | 1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
3592 | 1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); |
||
3593 | 1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
3594 | 1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum); |
||
3595 | 1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
3596 | 1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3597 | 1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3598 | 1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3599 | 1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3600 | 1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 3601 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 61 |
16 | mjames | 3602 | |
3603 | |||
3604 | 1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3605 | 1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3606 | 1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief process EP OUT setup packet received interrupt. |
||
3607 | 1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3608 | 1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param epnum endpoint number |
||
3609 | 1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3610 | 1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3611 | 1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int(PCD_HandleTypeDef *hpcd, uint32_t epnum) |
||
3612 | 1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3613 | 1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; |
||
3614 | 1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t USBx_BASE = (uint32_t)USBx; |
||
3615 | 1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t gSNPSiD = *(__IO uint32_t *)(&USBx->CID + 0x1U); |
||
3616 | 1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t DoepintReg = USBx_OUTEP(epnum)->DOEPINT; |
||
3617 | 1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3618 | 1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3619 | 1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((gSNPSiD == USB_OTG_CORE_ID_310A) && |
||
3620 | 1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX)) |
||
3621 | 1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3622 | 1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX); |
||
3623 | 1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3624 | 1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3625 | 1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Inform the upper layer that a setup packet is available */ |
||
3626 | 1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
3627 | 1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SetupStageCallback(hpcd); |
||
3628 | 1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
3629 | 1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_SetupStageCallback(hpcd); |
||
3630 | 1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
3631 | 1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3632 | 1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
3633 | 1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3634 | 1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */ |
||
3635 | 1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3636 | 1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) |
||
3637 | 1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** |
||
3638 | 1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @brief This function handles PCD Endpoint interrupt request. |
||
3639 | 1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @param hpcd PCD handle |
||
3640 | 1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** * @retval HAL status |
||
3641 | 1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** */ |
||
3642 | 1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) |
||
3643 | 1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3644 | 1376 .loc 1 1998 1 is_stmt 1 view -0 |
||
3645 | 1377 .cfi_startproc |
||
3646 | 1378 @ args = 0, pretend = 0, frame = 0 |
||
3647 | 1379 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3648 | 1380 .loc 1 1998 1 is_stmt 0 view .LVU364 |
||
3649 | 1381 0000 F8B5 push {r3, r4, r5, r6, r7, lr} |
||
3650 | 1382 .LCFI19: |
||
3651 | 1383 .cfi_def_cfa_offset 24 |
||
3652 | 1384 .cfi_offset 3, -24 |
||
3653 | 1385 .cfi_offset 4, -20 |
||
3654 | 1386 .cfi_offset 5, -16 |
||
3655 | 1387 .cfi_offset 6, -12 |
||
3656 | 1388 .cfi_offset 7, -8 |
||
3657 | 1389 .cfi_offset 14, -4 |
||
3658 | 1390 0002 0446 mov r4, r0 |
||
3659 | 1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
3660 | 1391 .loc 1 1999 3 is_stmt 1 view .LVU365 |
||
19 | mjames | 3661 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 62 |
16 | mjames | 3662 | |
3663 | |||
3664 | 2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint16_t count; |
||
3665 | 1392 .loc 1 2000 3 view .LVU366 |
||
3666 | 2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint16_t wIstr; |
||
3667 | 1393 .loc 1 2001 3 view .LVU367 |
||
3668 | 2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint16_t wEPVal; |
||
3669 | 1394 .loc 1 2002 3 view .LVU368 |
||
3670 | 2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint8_t epindex; |
||
3671 | 1395 .loc 1 2003 3 view .LVU369 |
||
3672 | 2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3673 | 2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* stay in loop while pending interrupts */ |
||
3674 | 2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** while ((hpcd->Instance->ISTR & USB_ISTR_CTR) != 0U) |
||
3675 | 1396 .loc 1 2006 3 view .LVU370 |
||
3676 | 1397 .loc 1 2006 9 is_stmt 0 view .LVU371 |
||
3677 | 1398 0004 A8E0 b .L95 |
||
3678 | 1399 .LVL117: |
||
3679 | 1400 .L118: |
||
3680 | 2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3681 | 2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** wIstr = hpcd->Instance->ISTR; |
||
3682 | 2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* extract highest priority endpoint number */ |
||
3683 | 2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** epindex = (uint8_t)(wIstr & USB_ISTR_EP_ID); |
||
3684 | 2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3685 | 2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (epindex == 0U) |
||
3686 | 2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3687 | 2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Decode and service control endpoint interrupt */ |
||
3688 | 2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3689 | 2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DIR bit = origin of the interrupt */ |
||
3690 | 2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((wIstr & USB_ISTR_DIR) == 0U) |
||
3691 | 2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3692 | 2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DIR = 0 */ |
||
3693 | 2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3694 | 2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DIR = 0 => IN int */ |
||
3695 | 2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DIR = 0 implies that (EP_CTR_TX = 1) always */ |
||
3696 | 2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_CLEAR_TX_EP_CTR(hpcd->Instance, PCD_ENDP0); |
||
3697 | 1401 .loc 1 2023 9 is_stmt 1 view .LVU372 |
||
3698 | 1402 .LBB2: |
||
3699 | 1403 .loc 1 2023 9 view .LVU373 |
||
3700 | 1404 .loc 1 2023 9 view .LVU374 |
||
3701 | 1405 0006 0388 ldrh r3, [r0] |
||
3702 | 1406 .LVL118: |
||
3703 | 1407 .loc 1 2023 9 is_stmt 0 view .LVU375 |
||
3704 | 1408 0008 9BB2 uxth r3, r3 |
||
3705 | 1409 000a 23F4E143 bic r3, r3, #28800 |
||
3706 | 1410 000e 23F07003 bic r3, r3, #112 |
||
3707 | 1411 .LVL119: |
||
3708 | 1412 .loc 1 2023 9 is_stmt 1 view .LVU376 |
||
3709 | 1413 0012 6FEA4343 mvn r3, r3, lsl #17 |
||
3710 | 1414 .LVL120: |
||
3711 | 1415 .loc 1 2023 9 is_stmt 0 view .LVU377 |
||
3712 | 1416 0016 6FEA5343 mvn r3, r3, lsr #17 |
||
3713 | 1417 001a 9BB2 uxth r3, r3 |
||
3714 | 1418 001c 0380 strh r3, [r0] @ movhi |
||
3715 | 1419 .LBE2: |
||
3716 | 2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[0]; |
||
3717 | 1420 .loc 1 2024 9 is_stmt 1 view .LVU378 |
||
3718 | 1421 .LVL121: |
||
3719 | 2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3720 | 2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count = PCD_GET_EP_TX_CNT(hpcd->Instance, ep->num); |
||
19 | mjames | 3721 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 63 |
16 | mjames | 3722 | |
3723 | |||
3724 | 1422 .loc 1 2026 9 view .LVU379 |
||
3725 | 1423 .loc 1 2026 26 is_stmt 0 view .LVU380 |
||
3726 | 1424 001e 2268 ldr r2, [r4] |
||
3727 | 1425 0020 B2F85030 ldrh r3, [r2, #80] |
||
3728 | 1426 0024 94F82810 ldrb r1, [r4, #40] @ zero_extendqisi2 |
||
3729 | 1427 0028 03EBC103 add r3, r3, r1, lsl #3 |
||
3730 | 1428 002c 0233 adds r3, r3, #2 |
||
3731 | 1429 002e 02EB4303 add r3, r2, r3, lsl #1 |
||
3732 | 1430 0032 B3F80034 ldrh r3, [r3, #1024] |
||
3733 | 1431 0036 C3F30903 ubfx r3, r3, #0, #10 |
||
3734 | 1432 .loc 1 2026 24 view .LVU381 |
||
3735 | 1433 003a 6364 str r3, [r4, #68] |
||
3736 | 2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += ep->xfer_count; |
||
3737 | 1434 .loc 1 2027 9 is_stmt 1 view .LVU382 |
||
3738 | 1435 .loc 1 2027 23 is_stmt 0 view .LVU383 |
||
3739 | 1436 003c E26B ldr r2, [r4, #60] |
||
3740 | 1437 003e 1344 add r3, r3, r2 |
||
3741 | 1438 0040 E363 str r3, [r4, #60] |
||
3742 | 2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3743 | 2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* TX COMPLETE */ |
||
3744 | 2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
3745 | 2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataInStageCallback(hpcd, 0U); |
||
3746 | 2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
3747 | 2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DataInStageCallback(hpcd, 0U); |
||
3748 | 1439 .loc 1 2033 9 is_stmt 1 view .LVU384 |
||
3749 | 1440 0042 0021 movs r1, #0 |
||
3750 | 1441 0044 2046 mov r0, r4 |
||
3751 | 1442 0046 FFF7FEFF bl HAL_PCD_DataInStageCallback |
||
3752 | 1443 .LVL122: |
||
3753 | 2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
3754 | 2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3755 | 2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((hpcd->USB_Address > 0U) && (ep->xfer_len == 0U)) |
||
3756 | 1444 .loc 1 2036 9 view .LVU385 |
||
3757 | 1445 .loc 1 2036 18 is_stmt 0 view .LVU386 |
||
3758 | 1446 004a 94F82430 ldrb r3, [r4, #36] @ zero_extendqisi2 |
||
3759 | 1447 .loc 1 2036 12 view .LVU387 |
||
3760 | 1448 004e 002B cmp r3, #0 |
||
3761 | 1449 0050 00F08280 beq .L95 |
||
3762 | 1450 .loc 1 2036 44 discriminator 1 view .LVU388 |
||
3763 | 1451 0054 236C ldr r3, [r4, #64] |
||
3764 | 1452 .loc 1 2036 38 discriminator 1 view .LVU389 |
||
3765 | 1453 0056 002B cmp r3, #0 |
||
3766 | 1454 0058 7ED1 bne .L95 |
||
3767 | 2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3768 | 2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->DADDR = ((uint16_t)hpcd->USB_Address | USB_DADDR_EF); |
||
3769 | 1455 .loc 1 2038 11 is_stmt 1 view .LVU390 |
||
3770 | 1456 .loc 1 2038 50 is_stmt 0 view .LVU391 |
||
3771 | 1457 005a 94F82430 ldrb r3, [r4, #36] @ zero_extendqisi2 |
||
3772 | 1458 .loc 1 2038 15 view .LVU392 |
||
3773 | 1459 005e 2268 ldr r2, [r4] |
||
3774 | 1460 .loc 1 2038 33 view .LVU393 |
||
3775 | 1461 0060 43F08003 orr r3, r3, #128 |
||
3776 | 1462 0064 A2F84C30 strh r3, [r2, #76] @ movhi |
||
3777 | 2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->USB_Address = 0U; |
||
3778 | 1463 .loc 1 2039 11 is_stmt 1 view .LVU394 |
||
3779 | 1464 .loc 1 2039 29 is_stmt 0 view .LVU395 |
||
3780 | 1465 0068 0023 movs r3, #0 |
||
19 | mjames | 3781 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 64 |
16 | mjames | 3782 | |
3783 | |||
3784 | 1466 006a 84F82430 strb r3, [r4, #36] |
||
3785 | 1467 006e 73E0 b .L95 |
||
3786 | 1468 .LVL123: |
||
3787 | 1469 .L119: |
||
3788 | 2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3789 | 2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3790 | 2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3791 | 2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3792 | 2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DIR = 1 */ |
||
3793 | 2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3794 | 2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DIR = 1 & CTR_RX => SETUP or OUT int */ |
||
3795 | 2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* DIR = 1 & (CTR_TX | CTR_RX) => 2 int pending */ |
||
3796 | 2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[0]; |
||
3797 | 2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** wEPVal = PCD_GET_ENDPOINT(hpcd->Instance, PCD_ENDP0); |
||
3798 | 2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3799 | 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((wEPVal & USB_EP_SETUP) != 0U) |
||
3800 | 2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3801 | 2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Get SETUP Packet*/ |
||
3802 | 2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); |
||
3803 | 1470 .loc 1 2054 11 is_stmt 1 view .LVU396 |
||
3804 | 1471 .loc 1 2054 28 is_stmt 0 view .LVU397 |
||
3805 | 1472 0070 B0F85030 ldrh r3, [r0, #80] |
||
3806 | 1473 .LVL124: |
||
3807 | 1474 .loc 1 2054 28 view .LVU398 |
||
3808 | 1475 0074 94F82821 ldrb r2, [r4, #296] @ zero_extendqisi2 |
||
3809 | 1476 0078 03EBC203 add r3, r3, r2, lsl #3 |
||
3810 | 1477 007c 0633 adds r3, r3, #6 |
||
3811 | 1478 007e 00EB4303 add r3, r0, r3, lsl #1 |
||
3812 | 1479 0082 B3F80034 ldrh r3, [r3, #1024] |
||
3813 | 1480 0086 C3F30903 ubfx r3, r3, #0, #10 |
||
3814 | 1481 .loc 1 2054 26 view .LVU399 |
||
3815 | 1482 008a C4F84431 str r3, [r4, #324] |
||
3816 | 2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3817 | 2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_ReadPMA(hpcd->Instance, (uint8_t *)hpcd->Setup, |
||
3818 | 1483 .loc 1 2056 11 is_stmt 1 view .LVU400 |
||
3819 | 1484 008e B4F82E21 ldrh r2, [r4, #302] |
||
3820 | 1485 0092 04F50C71 add r1, r4, #560 |
||
3821 | 1486 0096 FFF7FEFF bl USB_ReadPMA |
||
3822 | 1487 .LVL125: |
||
3823 | 2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->pmaadress, (uint16_t)ep->xfer_count); |
||
3824 | 2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3825 | 2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* SETUP bit kept frozen while CTR_RX = 1*/ |
||
3826 | 2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_CLEAR_RX_EP_CTR(hpcd->Instance, PCD_ENDP0); |
||
3827 | 1488 .loc 1 2060 11 view .LVU401 |
||
3828 | 1489 .LBB3: |
||
3829 | 1490 .loc 1 2060 11 view .LVU402 |
||
3830 | 1491 .loc 1 2060 11 view .LVU403 |
||
3831 | 1492 009a 2268 ldr r2, [r4] |
||
3832 | 1493 009c 1388 ldrh r3, [r2] |
||
3833 | 1494 009e 23F07003 bic r3, r3, #112 |
||
3834 | 1495 00a2 1B05 lsls r3, r3, #20 |
||
3835 | 1496 00a4 1B0D lsrs r3, r3, #20 |
||
3836 | 1497 .LVL126: |
||
3837 | 1498 .loc 1 2060 11 view .LVU404 |
||
3838 | 1499 00a6 43F08003 orr r3, r3, #128 |
||
3839 | 1500 .LVL127: |
||
3840 | 1501 .loc 1 2060 11 is_stmt 0 view .LVU405 |
||
19 | mjames | 3841 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 65 |
16 | mjames | 3842 | |
3843 | |||
3844 | 1502 00aa 1380 strh r3, [r2] @ movhi |
||
3845 | 1503 .LBE3: |
||
3846 | 2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3847 | 2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process SETUP Packet*/ |
||
3848 | 2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
3849 | 2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->SetupStageCallback(hpcd); |
||
3850 | 2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
3851 | 2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_SetupStageCallback(hpcd); |
||
3852 | 1504 .loc 1 2066 11 is_stmt 1 view .LVU406 |
||
3853 | 1505 00ac 2046 mov r0, r4 |
||
3854 | 1506 00ae FFF7FEFF bl HAL_PCD_SetupStageCallback |
||
3855 | 1507 .LVL128: |
||
3856 | 1508 00b2 51E0 b .L95 |
||
3857 | 1509 .LVL129: |
||
3858 | 1510 .L101: |
||
3859 | 1511 .LBB4: |
||
3860 | 1512 .LBB5: |
||
3861 | 2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
3862 | 2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3863 | 2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3864 | 2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else if ((wEPVal & USB_EP_CTR_RX) != 0U) |
||
3865 | 2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3866 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_CLEAR_RX_EP_CTR(hpcd->Instance, PCD_ENDP0); |
||
3867 | 2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3868 | 2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Get Control Data OUT Packet*/ |
||
3869 | 2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); |
||
3870 | 2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3871 | 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep->xfer_count != 0U) && (ep->xfer_buff != 0U)) |
||
3872 | 2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3873 | 2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_ReadPMA(hpcd->Instance, ep->xfer_buff, |
||
3874 | 2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->pmaadress, (uint16_t)ep->xfer_count); |
||
3875 | 2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3876 | 2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += ep->xfer_count; |
||
3877 | 2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3878 | 2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Process Control Data OUT Packet*/ |
||
3879 | 2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
3880 | 2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataOutStageCallback(hpcd, 0U); |
||
3881 | 2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
3882 | 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DataOutStageCallback(hpcd, 0U); |
||
3883 | 2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
3884 | 2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3885 | 2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3886 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_CNT(hpcd->Instance, PCD_ENDP0, ep->maxpacket); |
||
3887 | 1513 .loc 1 2092 11 discriminator 2 view .LVU407 |
||
3888 | 1514 00b4 3E2A cmp r2, #62 |
||
3889 | 1515 00b6 09D8 bhi .L103 |
||
3890 | 1516 .loc 1 2092 11 discriminator 3 view .LVU408 |
||
3891 | 1517 .loc 1 2092 11 discriminator 3 view .LVU409 |
||
3892 | 1518 00b8 5108 lsrs r1, r2, #1 |
||
3893 | 1519 .LVL130: |
||
3894 | 1520 .loc 1 2092 11 discriminator 3 view .LVU410 |
||
3895 | 1521 00ba 12F0010F tst r2, #1 |
||
3896 | 1522 00be 00D0 beq .L104 |
||
3897 | 1523 .loc 1 2092 11 discriminator 5 view .LVU411 |
||
3898 | 1524 00c0 0131 adds r1, r1, #1 |
||
3899 | 1525 .LVL131: |
||
3900 | 1526 .L104: |
||
19 | mjames | 3901 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 66 |
16 | mjames | 3902 | |
3903 | |||
3904 | 1527 .loc 1 2092 11 discriminator 7 view .LVU412 |
||
3905 | 1528 00c2 8902 lsls r1, r1, #10 |
||
3906 | 1529 .LVL132: |
||
3907 | 1530 .loc 1 2092 11 is_stmt 0 discriminator 7 view .LVU413 |
||
3908 | 1531 00c4 89B2 uxth r1, r1 |
||
3909 | 1532 00c6 A3F80C14 strh r1, [r3, #1036] @ movhi |
||
3910 | 1533 00ca A1E0 b .L102 |
||
3911 | 1534 .L103: |
||
3912 | 1535 .loc 1 2092 11 is_stmt 1 discriminator 4 view .LVU414 |
||
3913 | 1536 .loc 1 2092 11 discriminator 4 view .LVU415 |
||
3914 | 1537 00cc 5109 lsrs r1, r2, #5 |
||
3915 | 1538 .LVL133: |
||
3916 | 1539 .loc 1 2092 11 discriminator 4 view .LVU416 |
||
3917 | 1540 00ce 12F01F0F tst r2, #31 |
||
3918 | 1541 00d2 00D1 bne .L105 |
||
3919 | 1542 .loc 1 2092 11 discriminator 8 view .LVU417 |
||
3920 | 1543 00d4 0139 subs r1, r1, #1 |
||
3921 | 1544 .LVL134: |
||
3922 | 1545 .L105: |
||
3923 | 1546 .loc 1 2092 11 discriminator 10 view .LVU418 |
||
3924 | 1547 00d6 6FEAC162 mvn r2, r1, lsl #27 |
||
3925 | 1548 00da 6FEA5242 mvn r2, r2, lsr #17 |
||
3926 | 1549 00de 92B2 uxth r2, r2 |
||
3927 | 1550 00e0 A3F80C24 strh r2, [r3, #1036] @ movhi |
||
3928 | 1551 00e4 94E0 b .L102 |
||
3929 | 1552 .LVL135: |
||
3930 | 1553 .L96: |
||
3931 | 1554 .loc 1 2092 11 is_stmt 0 discriminator 10 view .LVU419 |
||
3932 | 1555 .LBE5: |
||
3933 | 1556 .LBE4: |
||
3934 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
3935 | 2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3936 | 2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3937 | 2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3938 | 2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3939 | 2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3940 | 2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Decode and service non control endpoints interrupt */ |
||
3941 | 2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
3942 | 2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* process related endpoint register */ |
||
3943 | 2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** wEPVal = PCD_GET_ENDPOINT(hpcd->Instance, epindex); |
||
3944 | 1557 .loc 1 2102 7 is_stmt 1 view .LVU420 |
||
3945 | 1558 .loc 1 2102 14 is_stmt 0 view .LVU421 |
||
3946 | 1559 00e6 30F82560 ldrh r6, [r0, r5, lsl #2] |
||
3947 | 1560 00ea B6B2 uxth r6, r6 |
||
3948 | 1561 .LVL136: |
||
3949 | 2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((wEPVal & USB_EP_CTR_RX) != 0U) |
||
3950 | 1562 .loc 1 2103 7 is_stmt 1 view .LVU422 |
||
3951 | 1563 .loc 1 2103 10 is_stmt 0 view .LVU423 |
||
3952 | 1564 00ec 16F4004F tst r6, #32768 |
||
3953 | 1565 00f0 40F09D80 bne .L116 |
||
3954 | 1566 .LVL137: |
||
3955 | 1567 .L106: |
||
3956 | 2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3957 | 2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* clear int flag */ |
||
3958 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_CLEAR_RX_EP_CTR(hpcd->Instance, epindex); |
||
3959 | 2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[epindex]; |
||
3960 | 2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
19 | mjames | 3961 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 67 |
16 | mjames | 3962 | |
3963 | |||
3964 | 2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* OUT double Buffering*/ |
||
3965 | 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (ep->doublebuffer == 0U) |
||
3966 | 2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3967 | 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num); |
||
3968 | 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
3969 | 2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3970 | 2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); |
||
3971 | 2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3972 | 2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3973 | 2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3974 | 2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3975 | 2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((PCD_GET_ENDPOINT(hpcd->Instance, ep->num) & USB_EP_DTOG_RX) != 0U) |
||
3976 | 2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3977 | 2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /*read from endpoint BUF0Addr buffer*/ |
||
3978 | 2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); |
||
3979 | 2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
3980 | 2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3981 | 2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count); |
||
3982 | 2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3983 | 2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3984 | 2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
3985 | 2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3986 | 2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /*read from endpoint BUF1Addr buffer*/ |
||
3987 | 2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); |
||
3988 | 2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
3989 | 2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
3990 | 2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr1, count); |
||
3991 | 2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3992 | 2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3993 | 2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* free EP OUT Buffer */ |
||
3994 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_FreeUserBuffer(hpcd->Instance, ep->num, 0U); |
||
3995 | 2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
3996 | 2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /*multi-packet on the NON control OUT endpoint*/ |
||
3997 | 2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count += count; |
||
3998 | 2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += count; |
||
3999 | 2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4000 | 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep->xfer_len == 0U) || (count < ep->maxpacket)) |
||
4001 | 2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4002 | 2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* RX COMPLETE */ |
||
4003 | 2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
4004 | 2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataOutStageCallback(hpcd, ep->num); |
||
4005 | 2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
4006 | 2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DataOutStageCallback(hpcd, ep->num); |
||
4007 | 2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
4008 | 2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4009 | 2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
4010 | 2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4011 | 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)HAL_PCD_EP_Receive(hpcd, ep->num, ep->xfer_buff, ep->xfer_len); |
||
4012 | 2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4013 | 2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4014 | 2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } /* if((wEPVal & EP_CTR_RX) */ |
||
4015 | 2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4016 | 2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((wEPVal & USB_EP_CTR_TX) != 0U) |
||
4017 | 1568 .loc 1 2161 7 is_stmt 1 view .LVU424 |
||
4018 | 1569 .loc 1 2161 10 is_stmt 0 view .LVU425 |
||
4019 | 1570 00f4 16F0800F tst r6, #128 |
||
4020 | 1571 00f8 2ED0 beq .L95 |
||
19 | mjames | 4021 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 68 |
16 | mjames | 4022 | |
4023 | |||
4024 | 2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4025 | 2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->IN_ep[epindex]; |
||
4026 | 1572 .loc 1 2163 9 is_stmt 1 view .LVU426 |
||
4027 | 1573 .LVL138: |
||
4028 | 2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4029 | 2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* clear int flag */ |
||
4030 | 2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_CLEAR_TX_EP_CTR(hpcd->Instance, epindex); |
||
4031 | 1574 .loc 1 2166 9 view .LVU427 |
||
4032 | 1575 .LBB7: |
||
4033 | 1576 .loc 1 2166 9 view .LVU428 |
||
4034 | 1577 .loc 1 2166 9 view .LVU429 |
||
4035 | 1578 00fa 2268 ldr r2, [r4] |
||
4036 | 1579 00fc 32F82530 ldrh r3, [r2, r5, lsl #2] |
||
4037 | 1580 0100 9BB2 uxth r3, r3 |
||
4038 | 1581 0102 23F4E143 bic r3, r3, #28800 |
||
4039 | 1582 0106 23F07003 bic r3, r3, #112 |
||
4040 | 1583 .LVL139: |
||
4041 | 1584 .loc 1 2166 9 view .LVU430 |
||
4042 | 1585 010a 6FEA4343 mvn r3, r3, lsl #17 |
||
4043 | 1586 .LVL140: |
||
4044 | 1587 .loc 1 2166 9 is_stmt 0 view .LVU431 |
||
4045 | 1588 010e 6FEA5343 mvn r3, r3, lsr #17 |
||
4046 | 1589 0112 9BB2 uxth r3, r3 |
||
4047 | 1590 0114 22F82530 strh r3, [r2, r5, lsl #2] @ movhi |
||
4048 | 1591 .LBE7: |
||
4049 | 2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4050 | 2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /*multi-packet on the NON control IN endpoint*/ |
||
4051 | 2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_count = PCD_GET_EP_TX_CNT(hpcd->Instance, ep->num); |
||
4052 | 1592 .loc 1 2169 9 is_stmt 1 view .LVU432 |
||
4053 | 1593 .loc 1 2169 26 is_stmt 0 view .LVU433 |
||
4054 | 1594 0118 2268 ldr r2, [r4] |
||
4055 | 1595 011a B2F85030 ldrh r3, [r2, #80] |
||
4056 | 1596 011e 04EB4510 add r0, r4, r5, lsl #5 |
||
4057 | 1597 0122 90F82810 ldrb r1, [r0, #40] @ zero_extendqisi2 |
||
4058 | 1598 0126 03EBC103 add r3, r3, r1, lsl #3 |
||
4059 | 1599 012a 0233 adds r3, r3, #2 |
||
4060 | 1600 012c 02EB4303 add r3, r2, r3, lsl #1 |
||
4061 | 1601 0130 B3F80024 ldrh r2, [r3, #1024] |
||
4062 | 1602 0134 C2F30902 ubfx r2, r2, #0, #10 |
||
4063 | 1603 .loc 1 2169 24 view .LVU434 |
||
4064 | 1604 0138 AB1C adds r3, r5, #2 |
||
4065 | 1605 013a 5B01 lsls r3, r3, #5 |
||
4066 | 1606 013c E118 adds r1, r4, r3 |
||
4067 | 1607 013e 4A60 str r2, [r1, #4] |
||
4068 | 2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += ep->xfer_count; |
||
4069 | 1608 .loc 1 2170 9 is_stmt 1 view .LVU435 |
||
4070 | 1609 .loc 1 2170 23 is_stmt 0 view .LVU436 |
||
4071 | 1610 0140 C16B ldr r1, [r0, #60] |
||
4072 | 1611 0142 0A44 add r2, r2, r1 |
||
4073 | 1612 0144 C263 str r2, [r0, #60] |
||
4074 | 2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4075 | 2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Zero Length Packet? */ |
||
4076 | 2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (ep->xfer_len == 0U) |
||
4077 | 1613 .loc 1 2173 9 is_stmt 1 view .LVU437 |
||
4078 | 1614 .loc 1 2173 15 is_stmt 0 view .LVU438 |
||
4079 | 1615 0146 E358 ldr r3, [r4, r3] |
||
4080 | 1616 .loc 1 2173 12 view .LVU439 |
||
19 | mjames | 4081 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 69 |
16 | mjames | 4082 | |
4083 | |||
4084 | 1617 0148 002B cmp r3, #0 |
||
4085 | 1618 014a 40F00781 bne .L113 |
||
4086 | 2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4087 | 2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* TX COMPLETE */ |
||
4088 | 2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) |
||
4089 | 2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->DataInStageCallback(hpcd, ep->num); |
||
4090 | 2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else |
||
4091 | 2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_PCD_DataInStageCallback(hpcd, ep->num); |
||
4092 | 1619 .loc 1 2179 11 is_stmt 1 view .LVU440 |
||
4093 | 1620 014e 90F82810 ldrb r1, [r0, #40] @ zero_extendqisi2 |
||
4094 | 1621 0152 2046 mov r0, r4 |
||
4095 | 1622 0154 FFF7FEFF bl HAL_PCD_DataInStageCallback |
||
4096 | 1623 .LVL141: |
||
4097 | 1624 .L95: |
||
4098 | 2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4099 | 1625 .loc 1 2006 15 is_stmt 0 view .LVU441 |
||
4100 | 1626 0158 2068 ldr r0, [r4] |
||
4101 | 2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4102 | 1627 .loc 1 2006 25 view .LVU442 |
||
4103 | 1628 015a B0F84430 ldrh r3, [r0, #68] |
||
4104 | 2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4105 | 1629 .loc 1 2006 9 view .LVU443 |
||
4106 | 1630 015e 13F4004F tst r3, #32768 |
||
4107 | 1631 0162 00F00381 beq .L117 |
||
4108 | 2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* extract highest priority endpoint number */ |
||
4109 | 1632 .loc 1 2008 5 is_stmt 1 view .LVU444 |
||
4110 | 2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* extract highest priority endpoint number */ |
||
4111 | 1633 .loc 1 2008 11 is_stmt 0 view .LVU445 |
||
4112 | 1634 0166 B0F84430 ldrh r3, [r0, #68] |
||
4113 | 1635 016a 9BB2 uxth r3, r3 |
||
4114 | 1636 .LVL142: |
||
4115 | 2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4116 | 1637 .loc 1 2010 5 is_stmt 1 view .LVU446 |
||
4117 | 2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4118 | 1638 .loc 1 2012 5 view .LVU447 |
||
4119 | 2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4120 | 1639 .loc 1 2012 8 is_stmt 0 view .LVU448 |
||
4121 | 1640 016c 13F00F05 ands r5, r3, #15 |
||
4122 | 1641 0170 B9D1 bne .L96 |
||
4123 | 2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4124 | 1642 .loc 1 2017 7 is_stmt 1 view .LVU449 |
||
4125 | 2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4126 | 1643 .loc 1 2017 10 is_stmt 0 view .LVU450 |
||
4127 | 1644 0172 13F0100F tst r3, #16 |
||
4128 | 1645 0176 3FF446AF beq .L118 |
||
4129 | 2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** wEPVal = PCD_GET_ENDPOINT(hpcd->Instance, PCD_ENDP0); |
||
4130 | 1646 .loc 1 2048 9 is_stmt 1 view .LVU451 |
||
4131 | 1647 .LVL143: |
||
4132 | 2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4133 | 1648 .loc 1 2049 9 view .LVU452 |
||
4134 | 2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4135 | 1649 .loc 1 2049 16 is_stmt 0 view .LVU453 |
||
4136 | 1650 017a 0388 ldrh r3, [r0] |
||
4137 | 1651 .LVL144: |
||
4138 | 2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4139 | 1652 .loc 1 2049 16 view .LVU454 |
||
4140 | 1653 017c 9BB2 uxth r3, r3 |
||
19 | mjames | 4141 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 70 |
16 | mjames | 4142 | |
4143 | |||
4144 | 1654 .LVL145: |
||
4145 | 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4146 | 1655 .loc 1 2051 9 is_stmt 1 view .LVU455 |
||
4147 | 2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4148 | 1656 .loc 1 2051 12 is_stmt 0 view .LVU456 |
||
4149 | 1657 017e 13F4006F tst r3, #2048 |
||
4150 | 1658 0182 7FF475AF bne .L119 |
||
4151 | 2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4152 | 1659 .loc 1 2070 14 is_stmt 1 view .LVU457 |
||
4153 | 2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4154 | 1660 .loc 1 2070 17 is_stmt 0 view .LVU458 |
||
4155 | 1661 0186 13F4004F tst r3, #32768 |
||
4156 | 1662 018a E5D0 beq .L95 |
||
4157 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4158 | 1663 .loc 1 2072 11 is_stmt 1 view .LVU459 |
||
4159 | 1664 .LBB8: |
||
4160 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4161 | 1665 .loc 1 2072 11 view .LVU460 |
||
4162 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4163 | 1666 .loc 1 2072 11 view .LVU461 |
||
4164 | 1667 018c 0388 ldrh r3, [r0] |
||
4165 | 1668 .LVL146: |
||
4166 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4167 | 1669 .loc 1 2072 11 is_stmt 0 view .LVU462 |
||
4168 | 1670 018e 23F07003 bic r3, r3, #112 |
||
4169 | 1671 0192 1B05 lsls r3, r3, #20 |
||
4170 | 1672 0194 1B0D lsrs r3, r3, #20 |
||
4171 | 1673 .LVL147: |
||
4172 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4173 | 1674 .loc 1 2072 11 is_stmt 1 view .LVU463 |
||
4174 | 1675 0196 43F08003 orr r3, r3, #128 |
||
4175 | 1676 .LVL148: |
||
4176 | 2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4177 | 1677 .loc 1 2072 11 is_stmt 0 view .LVU464 |
||
4178 | 1678 019a 0380 strh r3, [r0] @ movhi |
||
4179 | 1679 .LBE8: |
||
4180 | 2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4181 | 1680 .loc 1 2075 11 is_stmt 1 view .LVU465 |
||
4182 | 2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4183 | 1681 .loc 1 2075 28 is_stmt 0 view .LVU466 |
||
4184 | 1682 019c 2068 ldr r0, [r4] |
||
4185 | 1683 019e B0F85030 ldrh r3, [r0, #80] |
||
4186 | 1684 01a2 94F82821 ldrb r2, [r4, #296] @ zero_extendqisi2 |
||
4187 | 1685 01a6 03EBC203 add r3, r3, r2, lsl #3 |
||
4188 | 1686 01aa 0633 adds r3, r3, #6 |
||
4189 | 1687 01ac 00EB4303 add r3, r0, r3, lsl #1 |
||
4190 | 1688 01b0 B3F80034 ldrh r3, [r3, #1024] |
||
4191 | 1689 01b4 C3F30903 ubfx r3, r3, #0, #10 |
||
4192 | 2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4193 | 1690 .loc 1 2075 26 view .LVU467 |
||
4194 | 1691 01b8 C4F84431 str r3, [r4, #324] |
||
4195 | 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4196 | 1692 .loc 1 2077 11 is_stmt 1 view .LVU468 |
||
4197 | 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4198 | 1693 .loc 1 2077 14 is_stmt 0 view .LVU469 |
||
4199 | 1694 01bc 8BB1 cbz r3, .L100 |
||
4200 | 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
19 | mjames | 4201 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 71 |
16 | mjames | 4202 | |
4203 | |||
4204 | 1695 .loc 1 2077 44 discriminator 1 view .LVU470 |
||
4205 | 1696 01be D4F83C11 ldr r1, [r4, #316] |
||
4206 | 2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4207 | 1697 .loc 1 2077 38 discriminator 1 view .LVU471 |
||
4208 | 1698 01c2 71B1 cbz r1, .L100 |
||
4209 | 2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->pmaadress, (uint16_t)ep->xfer_count); |
||
4210 | 1699 .loc 1 2079 13 is_stmt 1 view .LVU472 |
||
4211 | 1700 01c4 B4F82E21 ldrh r2, [r4, #302] |
||
4212 | 1701 01c8 FFF7FEFF bl USB_ReadPMA |
||
4213 | 1702 .LVL149: |
||
4214 | 2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4215 | 1703 .loc 1 2082 13 view .LVU473 |
||
4216 | 2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4217 | 1704 .loc 1 2082 32 is_stmt 0 view .LVU474 |
||
4218 | 1705 01cc D4F84421 ldr r2, [r4, #324] |
||
4219 | 2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4220 | 1706 .loc 1 2082 27 view .LVU475 |
||
4221 | 1707 01d0 D4F83C31 ldr r3, [r4, #316] |
||
4222 | 1708 01d4 1344 add r3, r3, r2 |
||
4223 | 1709 01d6 C4F83C31 str r3, [r4, #316] |
||
4224 | 2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
4225 | 1710 .loc 1 2088 13 is_stmt 1 view .LVU476 |
||
4226 | 1711 01da 0021 movs r1, #0 |
||
4227 | 1712 01dc 2046 mov r0, r4 |
||
4228 | 1713 01de FFF7FEFF bl HAL_PCD_DataOutStageCallback |
||
4229 | 1714 .LVL150: |
||
4230 | 1715 .L100: |
||
4231 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4232 | 1716 .loc 1 2092 11 view .LVU477 |
||
4233 | 1717 .LBB9: |
||
4234 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4235 | 1718 .loc 1 2092 11 view .LVU478 |
||
4236 | 1719 01e2 2368 ldr r3, [r4] |
||
4237 | 1720 .LVL151: |
||
4238 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4239 | 1721 .loc 1 2092 11 view .LVU479 |
||
4240 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4241 | 1722 .loc 1 2092 11 view .LVU480 |
||
4242 | 1723 01e4 B3F85020 ldrh r2, [r3, #80] |
||
4243 | 1724 01e8 1344 add r3, r3, r2 |
||
4244 | 1725 .LVL152: |
||
4245 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4246 | 1726 .loc 1 2092 11 view .LVU481 |
||
4247 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4248 | 1727 .loc 1 2092 11 view .LVU482 |
||
4249 | 1728 .LBB6: |
||
4250 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4251 | 1729 .loc 1 2092 11 view .LVU483 |
||
4252 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4253 | 1730 .loc 1 2092 11 view .LVU484 |
||
4254 | 1731 01ea D4F83821 ldr r2, [r4, #312] |
||
4255 | 1732 01ee 002A cmp r2, #0 |
||
4256 | 1733 01f0 7FF460AF bne .L101 |
||
4257 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4258 | 1734 .loc 1 2092 11 discriminator 1 view .LVU485 |
||
4259 | 1735 01f4 B3F80C24 ldrh r2, [r3, #1036] |
||
4260 | 1736 01f8 92B2 uxth r2, r2 |
||
19 | mjames | 4261 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 72 |
16 | mjames | 4262 | |
4263 | |||
4264 | 1737 01fa 22F4F842 bic r2, r2, #31744 |
||
4265 | 1738 01fe 92B2 uxth r2, r2 |
||
4266 | 1739 0200 A3F80C24 strh r2, [r3, #1036] @ movhi |
||
4267 | 2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); |
||
4268 | 1740 .loc 1 2092 11 discriminator 1 view .LVU486 |
||
4269 | 1741 0204 B3F80C24 ldrh r2, [r3, #1036] |
||
4270 | 1742 0208 42F40042 orr r2, r2, #32768 |
||
4271 | 1743 020c A3F80C24 strh r2, [r3, #1036] @ movhi |
||
4272 | 1744 .L102: |
||
4273 | 1745 .LBE6: |
||
4274 | 1746 .LBE9: |
||
4275 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4276 | 1747 .loc 1 2093 11 view .LVU487 |
||
4277 | 1748 .LBB10: |
||
4278 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4279 | 1749 .loc 1 2093 11 view .LVU488 |
||
4280 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4281 | 1750 .loc 1 2093 11 view .LVU489 |
||
4282 | 1751 0210 2268 ldr r2, [r4] |
||
4283 | 1752 0212 1388 ldrh r3, [r2] |
||
4284 | 1753 .LVL153: |
||
4285 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4286 | 1754 .loc 1 2093 11 is_stmt 0 view .LVU490 |
||
4287 | 1755 0214 9BB2 uxth r3, r3 |
||
4288 | 1756 0216 23F48043 bic r3, r3, #16384 |
||
4289 | 1757 021a 23F07003 bic r3, r3, #112 |
||
4290 | 1758 .LVL154: |
||
4291 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4292 | 1759 .loc 1 2093 11 is_stmt 1 view .LVU491 |
||
4293 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4294 | 1760 .loc 1 2093 11 view .LVU492 |
||
4295 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4296 | 1761 .loc 1 2093 11 view .LVU493 |
||
4297 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4298 | 1762 .loc 1 2093 11 view .LVU494 |
||
4299 | 1763 021e 83F44053 eor r3, r3, #12288 |
||
4300 | 1764 .LVL155: |
||
4301 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4302 | 1765 .loc 1 2093 11 view .LVU495 |
||
4303 | 1766 0222 43F40043 orr r3, r3, #32768 |
||
4304 | 1767 .LVL156: |
||
4305 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4306 | 1768 .loc 1 2093 11 is_stmt 0 view .LVU496 |
||
4307 | 1769 0226 43F08003 orr r3, r3, #128 |
||
4308 | 1770 022a 1380 strh r3, [r2] @ movhi |
||
4309 | 1771 022c 94E7 b .L95 |
||
4310 | 1772 .LVL157: |
||
4311 | 1773 .L116: |
||
4312 | 2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4313 | 1774 .loc 1 2093 11 view .LVU497 |
||
4314 | 1775 .LBE10: |
||
4315 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[epindex]; |
||
4316 | 1776 .loc 1 2106 9 is_stmt 1 view .LVU498 |
||
4317 | 1777 .LBB11: |
||
4318 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[epindex]; |
||
4319 | 1778 .loc 1 2106 9 view .LVU499 |
||
4320 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[epindex]; |
||
19 | mjames | 4321 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 73 |
16 | mjames | 4322 | |
4323 | |||
4324 | 1779 .loc 1 2106 9 view .LVU500 |
||
4325 | 1780 022e 30F82530 ldrh r3, [r0, r5, lsl #2] |
||
4326 | 1781 .LVL158: |
||
4327 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[epindex]; |
||
4328 | 1782 .loc 1 2106 9 is_stmt 0 view .LVU501 |
||
4329 | 1783 0232 23F07003 bic r3, r3, #112 |
||
4330 | 1784 0236 1B05 lsls r3, r3, #20 |
||
4331 | 1785 0238 1B0D lsrs r3, r3, #20 |
||
4332 | 1786 .LVL159: |
||
4333 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[epindex]; |
||
4334 | 1787 .loc 1 2106 9 is_stmt 1 view .LVU502 |
||
4335 | 1788 023a 43F08003 orr r3, r3, #128 |
||
4336 | 1789 .LVL160: |
||
4337 | 2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep = &hpcd->OUT_ep[epindex]; |
||
4338 | 1790 .loc 1 2106 9 is_stmt 0 view .LVU503 |
||
4339 | 1791 023e 20F82530 strh r3, [r0, r5, lsl #2] @ movhi |
||
4340 | 1792 .LBE11: |
||
4341 | 2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4342 | 1793 .loc 1 2107 9 is_stmt 1 view .LVU504 |
||
4343 | 1794 .LVL161: |
||
4344 | 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4345 | 1795 .loc 1 2110 9 view .LVU505 |
||
4346 | 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4347 | 1796 .loc 1 2110 15 is_stmt 0 view .LVU506 |
||
4348 | 1797 0242 04EB4513 add r3, r4, r5, lsl #5 |
||
4349 | 1798 0246 93F83431 ldrb r3, [r3, #308] @ zero_extendqisi2 |
||
4350 | 2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4351 | 1799 .loc 1 2110 12 view .LVU507 |
||
4352 | 1800 024a D3B9 cbnz r3, .L107 |
||
4353 | 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4354 | 1801 .loc 1 2112 11 is_stmt 1 view .LVU508 |
||
4355 | 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4356 | 1802 .loc 1 2112 29 is_stmt 0 view .LVU509 |
||
4357 | 1803 024c 2068 ldr r0, [r4] |
||
4358 | 1804 024e B0F85030 ldrh r3, [r0, #80] |
||
4359 | 1805 0252 04EB4512 add r2, r4, r5, lsl #5 |
||
4360 | 1806 0256 92F82821 ldrb r2, [r2, #296] @ zero_extendqisi2 |
||
4361 | 1807 025a 03EBC203 add r3, r3, r2, lsl #3 |
||
4362 | 1808 025e 0633 adds r3, r3, #6 |
||
4363 | 1809 0260 00EB4303 add r3, r0, r3, lsl #1 |
||
4364 | 1810 0264 B3F80074 ldrh r7, [r3, #1024] |
||
4365 | 2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4366 | 1811 .loc 1 2112 17 view .LVU510 |
||
4367 | 1812 0268 C7F30907 ubfx r7, r7, #0, #10 |
||
4368 | 1813 .LVL162: |
||
4369 | 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4370 | 1814 .loc 1 2113 11 is_stmt 1 view .LVU511 |
||
4371 | 2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4372 | 1815 .loc 1 2113 14 is_stmt 0 view .LVU512 |
||
4373 | 1816 026c 8FB3 cbz r7, .L108 |
||
4374 | 2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4375 | 1817 .loc 1 2115 13 is_stmt 1 view .LVU513 |
||
4376 | 1818 026e 04EB4511 add r1, r4, r5, lsl #5 |
||
4377 | 1819 0272 3B46 mov r3, r7 |
||
4378 | 1820 0274 B1F82E21 ldrh r2, [r1, #302] |
||
4379 | 1821 0278 D1F83C11 ldr r1, [r1, #316] |
||
4380 | 1822 027c FFF7FEFF bl USB_ReadPMA |
||
19 | mjames | 4381 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 74 |
16 | mjames | 4382 | |
4383 | |||
4384 | 1823 .LVL163: |
||
4385 | 1824 0280 27E0 b .L108 |
||
4386 | 1825 .LVL164: |
||
4387 | 1826 .L107: |
||
4388 | 2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4389 | 1827 .loc 1 2120 11 view .LVU514 |
||
4390 | 2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4391 | 1828 .loc 1 2120 16 is_stmt 0 view .LVU515 |
||
4392 | 1829 0282 2068 ldr r0, [r4] |
||
4393 | 1830 0284 04EB4513 add r3, r4, r5, lsl #5 |
||
4394 | 1831 0288 93F82821 ldrb r2, [r3, #296] @ zero_extendqisi2 |
||
4395 | 1832 028c 30F82230 ldrh r3, [r0, r2, lsl #2] |
||
4396 | 2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4397 | 1833 .loc 1 2120 14 view .LVU516 |
||
4398 | 1834 0290 13F4804F tst r3, #16384 |
||
4399 | 1835 0294 43D0 beq .L109 |
||
4400 | 2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4401 | 1836 .loc 1 2123 13 is_stmt 1 view .LVU517 |
||
4402 | 2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4403 | 1837 .loc 1 2123 31 is_stmt 0 view .LVU518 |
||
4404 | 1838 0296 B0F85030 ldrh r3, [r0, #80] |
||
4405 | 1839 029a 03EBC203 add r3, r3, r2, lsl #3 |
||
4406 | 1840 029e 0233 adds r3, r3, #2 |
||
4407 | 1841 02a0 00EB4303 add r3, r0, r3, lsl #1 |
||
4408 | 1842 02a4 B3F80074 ldrh r7, [r3, #1024] |
||
4409 | 2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4410 | 1843 .loc 1 2123 19 view .LVU519 |
||
4411 | 1844 02a8 C7F30907 ubfx r7, r7, #0, #10 |
||
4412 | 1845 .LVL165: |
||
4413 | 2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4414 | 1846 .loc 1 2124 13 is_stmt 1 view .LVU520 |
||
4415 | 2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4416 | 1847 .loc 1 2124 16 is_stmt 0 view .LVU521 |
||
4417 | 1848 02ac 6FBB cbnz r7, .L120 |
||
4418 | 1849 .L110: |
||
4419 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4420 | 1850 .loc 1 2139 11 is_stmt 1 discriminator 1 view .LVU522 |
||
4421 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4422 | 1851 .loc 1 2139 11 discriminator 1 view .LVU523 |
||
4423 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4424 | 1852 .loc 1 2139 11 discriminator 1 view .LVU524 |
||
4425 | 1853 .LBB12: |
||
4426 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4427 | 1854 .loc 1 2139 11 discriminator 1 view .LVU525 |
||
4428 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4429 | 1855 .loc 1 2139 11 discriminator 1 view .LVU526 |
||
4430 | 1856 02ae 2268 ldr r2, [r4] |
||
4431 | 1857 02b0 04EB4513 add r3, r4, r5, lsl #5 |
||
4432 | 1858 02b4 93F82811 ldrb r1, [r3, #296] @ zero_extendqisi2 |
||
4433 | 1859 02b8 32F82130 ldrh r3, [r2, r1, lsl #2] |
||
4434 | 1860 02bc 9BB2 uxth r3, r3 |
||
4435 | 1861 02be 23F4E043 bic r3, r3, #28672 |
||
4436 | 1862 02c2 23F07003 bic r3, r3, #112 |
||
4437 | 1863 .LVL166: |
||
4438 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4439 | 1864 .loc 1 2139 11 discriminator 1 view .LVU527 |
||
4440 | 1865 02c6 43F40043 orr r3, r3, #32768 |
||
19 | mjames | 4441 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 75 |
16 | mjames | 4442 | |
4443 | |||
4444 | 1866 .LVL167: |
||
4445 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4446 | 1867 .loc 1 2139 11 is_stmt 0 discriminator 1 view .LVU528 |
||
4447 | 1868 02ca 43F0C003 orr r3, r3, #192 |
||
4448 | 1869 02ce 22F82130 strh r3, [r2, r1, lsl #2] @ movhi |
||
4449 | 1870 .L108: |
||
4450 | 2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4451 | 1871 .loc 1 2139 11 discriminator 1 view .LVU529 |
||
4452 | 1872 .LBE12: |
||
4453 | 2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += count; |
||
4454 | 1873 .loc 1 2142 9 is_stmt 1 view .LVU530 |
||
4455 | 2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->xfer_buff += count; |
||
4456 | 1874 .loc 1 2142 24 is_stmt 0 view .LVU531 |
||
4457 | 1875 02d2 05F10A03 add r3, r5, #10 |
||
4458 | 1876 02d6 5B01 lsls r3, r3, #5 |
||
4459 | 1877 02d8 E118 adds r1, r4, r3 |
||
4460 | 1878 02da 4A68 ldr r2, [r1, #4] |
||
4461 | 1879 02dc 3A44 add r2, r2, r7 |
||
4462 | 1880 02de 4A60 str r2, [r1, #4] |
||
4463 | 2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4464 | 1881 .loc 1 2143 9 is_stmt 1 view .LVU532 |
||
4465 | 2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4466 | 1882 .loc 1 2143 23 is_stmt 0 view .LVU533 |
||
4467 | 1883 02e0 04EB4511 add r1, r4, r5, lsl #5 |
||
4468 | 1884 02e4 D1F83C21 ldr r2, [r1, #316] |
||
4469 | 1885 02e8 3A44 add r2, r2, r7 |
||
4470 | 1886 02ea C1F83C21 str r2, [r1, #316] |
||
4471 | 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4472 | 1887 .loc 1 2145 9 is_stmt 1 view .LVU534 |
||
4473 | 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4474 | 1888 .loc 1 2145 16 is_stmt 0 view .LVU535 |
||
4475 | 1889 02ee E358 ldr r3, [r4, r3] |
||
4476 | 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4477 | 1890 .loc 1 2145 12 view .LVU536 |
||
4478 | 1891 02f0 1BB1 cbz r3, .L111 |
||
4479 | 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4480 | 1892 .loc 1 2145 48 discriminator 1 view .LVU537 |
||
4481 | 1893 02f2 D1F83811 ldr r1, [r1, #312] |
||
4482 | 2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4483 | 1894 .loc 1 2145 34 discriminator 1 view .LVU538 |
||
4484 | 1895 02f6 8F42 cmp r7, r1 |
||
4485 | 1896 02f8 28D2 bcs .L112 |
||
4486 | 1897 .L111: |
||
4487 | 2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
4488 | 1898 .loc 1 2151 11 is_stmt 1 view .LVU539 |
||
4489 | 1899 02fa 04EB4513 add r3, r4, r5, lsl #5 |
||
4490 | 1900 02fe 93F82811 ldrb r1, [r3, #296] @ zero_extendqisi2 |
||
4491 | 1901 0302 2046 mov r0, r4 |
||
4492 | 1902 0304 FFF7FEFF bl HAL_PCD_DataOutStageCallback |
||
4493 | 1903 .LVL168: |
||
4494 | 1904 0308 F4E6 b .L106 |
||
4495 | 1905 .L120: |
||
4496 | 2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4497 | 1906 .loc 1 2126 15 view .LVU540 |
||
4498 | 1907 030a 04EB4511 add r1, r4, r5, lsl #5 |
||
4499 | 1908 030e 3B46 mov r3, r7 |
||
4500 | 1909 0310 B1F83021 ldrh r2, [r1, #304] |
||
19 | mjames | 4501 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 76 |
16 | mjames | 4502 | |
4503 | |||
4504 | 1910 0314 D1F83C11 ldr r1, [r1, #316] |
||
4505 | 1911 0318 FFF7FEFF bl USB_ReadPMA |
||
4506 | 1912 .LVL169: |
||
4507 | 1913 031c C7E7 b .L110 |
||
4508 | 1914 .LVL170: |
||
4509 | 1915 .L109: |
||
4510 | 2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4511 | 1916 .loc 1 2132 13 view .LVU541 |
||
4512 | 2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4513 | 1917 .loc 1 2132 31 is_stmt 0 view .LVU542 |
||
4514 | 1918 031e B0F85030 ldrh r3, [r0, #80] |
||
4515 | 1919 0322 03EBC203 add r3, r3, r2, lsl #3 |
||
4516 | 1920 0326 0633 adds r3, r3, #6 |
||
4517 | 1921 0328 00EB4303 add r3, r0, r3, lsl #1 |
||
4518 | 1922 032c B3F80074 ldrh r7, [r3, #1024] |
||
4519 | 2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (count != 0U) |
||
4520 | 1923 .loc 1 2132 19 view .LVU543 |
||
4521 | 1924 0330 C7F30907 ubfx r7, r7, #0, #10 |
||
4522 | 1925 .LVL171: |
||
4523 | 2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4524 | 1926 .loc 1 2133 13 is_stmt 1 view .LVU544 |
||
4525 | 2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4526 | 1927 .loc 1 2133 16 is_stmt 0 view .LVU545 |
||
4527 | 1928 0334 002F cmp r7, #0 |
||
4528 | 1929 0336 BAD0 beq .L110 |
||
4529 | 2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4530 | 1930 .loc 1 2135 15 is_stmt 1 view .LVU546 |
||
4531 | 1931 0338 04EB4511 add r1, r4, r5, lsl #5 |
||
4532 | 1932 033c 3B46 mov r3, r7 |
||
4533 | 1933 033e B1F83221 ldrh r2, [r1, #306] |
||
4534 | 1934 0342 D1F83C11 ldr r1, [r1, #316] |
||
4535 | 1935 0346 FFF7FEFF bl USB_ReadPMA |
||
4536 | 1936 .LVL172: |
||
4537 | 1937 034a B0E7 b .L110 |
||
4538 | 1938 .L112: |
||
4539 | 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4540 | 1939 .loc 1 2156 11 view .LVU547 |
||
4541 | 2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4542 | 1940 .loc 1 2156 17 is_stmt 0 view .LVU548 |
||
4543 | 1941 034c 04EB4511 add r1, r4, r5, lsl #5 |
||
4544 | 1942 0350 91F82811 ldrb r1, [r1, #296] @ zero_extendqisi2 |
||
4545 | 1943 0354 2046 mov r0, r4 |
||
4546 | 1944 0356 FFF7FEFF bl HAL_PCD_EP_Receive |
||
4547 | 1945 .LVL173: |
||
4548 | 1946 035a CBE6 b .L106 |
||
4549 | 1947 .LVL174: |
||
4550 | 1948 .L113: |
||
4551 | 2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
4552 | 2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4553 | 2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** else |
||
4554 | 2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4555 | 2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)HAL_PCD_EP_Transmit(hpcd, ep->num, ep->xfer_buff, ep->xfer_len); |
||
4556 | 1949 .loc 1 2184 11 is_stmt 1 view .LVU549 |
||
4557 | 1950 .loc 1 2184 17 is_stmt 0 view .LVU550 |
||
4558 | 1951 035c 04EB4515 add r5, r4, r5, lsl #5 |
||
4559 | 1952 .LVL175: |
||
4560 | 1953 .loc 1 2184 17 view .LVU551 |
||
19 | mjames | 4561 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 77 |
16 | mjames | 4562 | |
4563 | |||
4564 | 1954 0360 95F82810 ldrb r1, [r5, #40] @ zero_extendqisi2 |
||
4565 | 1955 0364 2046 mov r0, r4 |
||
4566 | 1956 0366 FFF7FEFF bl HAL_PCD_EP_Transmit |
||
4567 | 1957 .LVL176: |
||
4568 | 1958 036a F5E6 b .L95 |
||
4569 | 1959 .LVL177: |
||
4570 | 1960 .L117: |
||
4571 | 2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4572 | 2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4573 | 2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4574 | 2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4575 | 2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return HAL_OK; |
||
4576 | 1961 .loc 1 2189 3 is_stmt 1 view .LVU552 |
||
4577 | 2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4578 | 1962 .loc 1 2190 1 is_stmt 0 view .LVU553 |
||
4579 | 1963 036c 0020 movs r0, #0 |
||
4580 | 1964 036e F8BD pop {r3, r4, r5, r6, r7, pc} |
||
4581 | 1965 .loc 1 2190 1 view .LVU554 |
||
4582 | 1966 .cfi_endproc |
||
4583 | 1967 .LFE97: |
||
4584 | 1969 .section .text.HAL_PCD_IRQHandler,"ax",%progbits |
||
4585 | 1970 .align 1 |
||
4586 | 1971 .global HAL_PCD_IRQHandler |
||
4587 | 1972 .syntax unified |
||
4588 | 1973 .thumb |
||
4589 | 1974 .thumb_func |
||
4590 | 1975 .fpu softvfp |
||
4591 | 1977 HAL_PCD_IRQHandler: |
||
4592 | 1978 .LVL178: |
||
4593 | 1979 .LFB71: |
||
4594 | 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_CTR)) |
||
4595 | 1980 .loc 1 1216 1 is_stmt 1 view -0 |
||
4596 | 1981 .cfi_startproc |
||
4597 | 1982 @ args = 0, pretend = 0, frame = 0 |
||
4598 | 1983 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4599 | 1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_CTR)) |
||
4600 | 1984 .loc 1 1216 1 is_stmt 0 view .LVU556 |
||
4601 | 1985 0000 10B5 push {r4, lr} |
||
4602 | 1986 .LCFI20: |
||
4603 | 1987 .cfi_def_cfa_offset 8 |
||
4604 | 1988 .cfi_offset 4, -8 |
||
4605 | 1989 .cfi_offset 14, -4 |
||
4606 | 1990 0002 0446 mov r4, r0 |
||
4607 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4608 | 1991 .loc 1 1217 3 is_stmt 1 view .LVU557 |
||
4609 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4610 | 1992 .loc 1 1217 7 is_stmt 0 view .LVU558 |
||
4611 | 1993 0004 0068 ldr r0, [r0] |
||
4612 | 1994 .LVL179: |
||
4613 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4614 | 1995 .loc 1 1217 7 view .LVU559 |
||
4615 | 1996 0006 FFF7FEFF bl USB_ReadInterrupts |
||
4616 | 1997 .LVL180: |
||
4617 | 1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4618 | 1998 .loc 1 1217 6 view .LVU560 |
||
4619 | 1999 000a 10F4004F tst r0, #32768 |
||
4620 | 2000 000e 45D1 bne .L132 |
||
19 | mjames | 4621 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 78 |
16 | mjames | 4622 | |
4623 | |||
4624 | 2001 .L122: |
||
4625 | 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4626 | 2002 .loc 1 1224 3 is_stmt 1 view .LVU561 |
||
4627 | 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4628 | 2003 .loc 1 1224 7 is_stmt 0 view .LVU562 |
||
4629 | 2004 0010 2068 ldr r0, [r4] |
||
4630 | 2005 0012 FFF7FEFF bl USB_ReadInterrupts |
||
4631 | 2006 .LVL181: |
||
4632 | 1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4633 | 2007 .loc 1 1224 6 view .LVU563 |
||
4634 | 2008 0016 10F4806F tst r0, #1024 |
||
4635 | 2009 001a 43D1 bne .L133 |
||
4636 | 2010 .L123: |
||
4637 | 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4638 | 2011 .loc 1 1237 3 is_stmt 1 view .LVU564 |
||
4639 | 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4640 | 2012 .loc 1 1237 7 is_stmt 0 view .LVU565 |
||
4641 | 2013 001c 2068 ldr r0, [r4] |
||
4642 | 2014 001e FFF7FEFF bl USB_ReadInterrupts |
||
4643 | 2015 .LVL182: |
||
4644 | 1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4645 | 2016 .loc 1 1237 6 view .LVU566 |
||
4646 | 2017 0022 10F4804F tst r0, #16384 |
||
4647 | 2018 0026 08D0 beq .L124 |
||
4648 | 1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4649 | 2019 .loc 1 1239 5 is_stmt 1 view .LVU567 |
||
4650 | 2020 0028 2268 ldr r2, [r4] |
||
4651 | 2021 002a B2F84430 ldrh r3, [r2, #68] |
||
4652 | 2022 002e 9BB2 uxth r3, r3 |
||
4653 | 2023 0030 23F48043 bic r3, r3, #16384 |
||
4654 | 2024 0034 9BB2 uxth r3, r3 |
||
4655 | 2025 0036 A2F84430 strh r3, [r2, #68] @ movhi |
||
4656 | 2026 .L124: |
||
4657 | 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4658 | 2027 .loc 1 1242 3 view .LVU568 |
||
4659 | 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4660 | 2028 .loc 1 1242 7 is_stmt 0 view .LVU569 |
||
4661 | 2029 003a 2068 ldr r0, [r4] |
||
4662 | 2030 003c FFF7FEFF bl USB_ReadInterrupts |
||
4663 | 2031 .LVL183: |
||
4664 | 1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4665 | 2032 .loc 1 1242 6 view .LVU570 |
||
4666 | 2033 0040 10F4005F tst r0, #8192 |
||
4667 | 2034 0044 08D0 beq .L125 |
||
4668 | 1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4669 | 2035 .loc 1 1244 5 is_stmt 1 view .LVU571 |
||
4670 | 2036 0046 2268 ldr r2, [r4] |
||
4671 | 2037 0048 B2F84430 ldrh r3, [r2, #68] |
||
4672 | 2038 004c 9BB2 uxth r3, r3 |
||
4673 | 2039 004e 23F40053 bic r3, r3, #8192 |
||
4674 | 2040 0052 9BB2 uxth r3, r3 |
||
4675 | 2041 0054 A2F84430 strh r3, [r2, #68] @ movhi |
||
4676 | 2042 .L125: |
||
4677 | 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4678 | 2043 .loc 1 1247 3 view .LVU572 |
||
4679 | 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4680 | 2044 .loc 1 1247 7 is_stmt 0 view .LVU573 |
||
19 | mjames | 4681 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 79 |
16 | mjames | 4682 | |
4683 | |||
4684 | 2045 0058 2068 ldr r0, [r4] |
||
4685 | 2046 005a FFF7FEFF bl USB_ReadInterrupts |
||
4686 | 2047 .LVL184: |
||
4687 | 1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4688 | 2048 .loc 1 1247 6 view .LVU574 |
||
4689 | 2049 005e 10F4805F tst r0, #4096 |
||
4690 | 2050 0062 30D1 bne .L134 |
||
4691 | 2051 .L126: |
||
4692 | 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4693 | 2052 .loc 1 1261 3 is_stmt 1 view .LVU575 |
||
4694 | 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4695 | 2053 .loc 1 1261 7 is_stmt 0 view .LVU576 |
||
4696 | 2054 0064 2068 ldr r0, [r4] |
||
4697 | 2055 0066 FFF7FEFF bl USB_ReadInterrupts |
||
4698 | 2056 .LVL185: |
||
4699 | 1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4700 | 2057 .loc 1 1261 6 view .LVU577 |
||
4701 | 2058 006a 10F4006F tst r0, #2048 |
||
4702 | 2059 006e 49D1 bne .L135 |
||
4703 | 2060 .L127: |
||
4704 | 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4705 | 2061 .loc 1 1284 3 is_stmt 1 view .LVU578 |
||
4706 | 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4707 | 2062 .loc 1 1284 7 is_stmt 0 view .LVU579 |
||
4708 | 2063 0070 2068 ldr r0, [r4] |
||
4709 | 2064 0072 FFF7FEFF bl USB_ReadInterrupts |
||
4710 | 2065 .LVL186: |
||
4711 | 1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4712 | 2066 .loc 1 1284 6 view .LVU580 |
||
4713 | 2067 0076 10F4007F tst r0, #512 |
||
4714 | 2068 007a 6DD1 bne .L136 |
||
4715 | 2069 .L129: |
||
4716 | 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4717 | 2070 .loc 1 1295 3 is_stmt 1 view .LVU581 |
||
4718 | 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4719 | 2071 .loc 1 1295 7 is_stmt 0 view .LVU582 |
||
4720 | 2072 007c 2068 ldr r0, [r4] |
||
4721 | 2073 007e FFF7FEFF bl USB_ReadInterrupts |
||
4722 | 2074 .LVL187: |
||
4723 | 1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4724 | 2075 .loc 1 1295 6 view .LVU583 |
||
4725 | 2076 0082 10F4807F tst r0, #256 |
||
4726 | 2077 0086 08D0 beq .L121 |
||
4727 | 1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4728 | 2078 .loc 1 1298 5 is_stmt 1 view .LVU584 |
||
4729 | 2079 0088 2268 ldr r2, [r4] |
||
4730 | 2080 008a B2F84430 ldrh r3, [r2, #68] |
||
4731 | 2081 008e 9BB2 uxth r3, r3 |
||
4732 | 2082 0090 23F48073 bic r3, r3, #256 |
||
4733 | 2083 0094 9BB2 uxth r3, r3 |
||
4734 | 2084 0096 A2F84430 strh r3, [r2, #68] @ movhi |
||
4735 | 2085 .L121: |
||
4736 | 1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */ |
||
4737 | 2086 .loc 1 1300 1 is_stmt 0 view .LVU585 |
||
4738 | 2087 009a 10BD pop {r4, pc} |
||
4739 | 2088 .LVL188: |
||
4740 | 2089 .L132: |
||
19 | mjames | 4741 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 80 |
16 | mjames | 4742 | |
4743 | |||
4744 | 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4745 | 2090 .loc 1 1221 5 is_stmt 1 view .LVU586 |
||
4746 | 1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4747 | 2091 .loc 1 1221 11 is_stmt 0 view .LVU587 |
||
4748 | 2092 009c 2046 mov r0, r4 |
||
4749 | 2093 009e FFF7FEFF bl PCD_EP_ISR_Handler |
||
4750 | 2094 .LVL189: |
||
4751 | 2095 00a2 B5E7 b .L122 |
||
4752 | 2096 .L133: |
||
4753 | 1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4754 | 2097 .loc 1 1226 5 is_stmt 1 view .LVU588 |
||
4755 | 2098 00a4 2268 ldr r2, [r4] |
||
4756 | 2099 00a6 B2F84430 ldrh r3, [r2, #68] |
||
4757 | 2100 00aa 9BB2 uxth r3, r3 |
||
4758 | 2101 00ac 23F48063 bic r3, r3, #1024 |
||
4759 | 2102 00b0 9BB2 uxth r3, r3 |
||
4760 | 2103 00b2 A2F84430 strh r3, [r2, #68] @ movhi |
||
4761 | 1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
4762 | 2104 .loc 1 1231 5 view .LVU589 |
||
4763 | 2105 00b6 2046 mov r0, r4 |
||
4764 | 2106 00b8 FFF7FEFF bl HAL_PCD_ResetCallback |
||
4765 | 2107 .LVL190: |
||
4766 | 1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4767 | 2108 .loc 1 1234 5 view .LVU590 |
||
4768 | 1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4769 | 2109 .loc 1 1234 11 is_stmt 0 view .LVU591 |
||
4770 | 2110 00bc 0021 movs r1, #0 |
||
4771 | 2111 00be 2046 mov r0, r4 |
||
4772 | 2112 00c0 FFF7FEFF bl HAL_PCD_SetAddress |
||
4773 | 2113 .LVL191: |
||
4774 | 2114 00c4 AAE7 b .L123 |
||
4775 | 2115 .L134: |
||
4776 | 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_FSUSP); |
||
4777 | 2116 .loc 1 1249 5 is_stmt 1 view .LVU592 |
||
4778 | 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_FSUSP); |
||
4779 | 2117 .loc 1 1249 9 is_stmt 0 view .LVU593 |
||
4780 | 2118 00c6 2268 ldr r2, [r4] |
||
4781 | 1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_FSUSP); |
||
4782 | 2119 .loc 1 1249 26 view .LVU594 |
||
4783 | 2120 00c8 B2F84030 ldrh r3, [r2, #64] |
||
4784 | 2121 00cc 9BB2 uxth r3, r3 |
||
4785 | 2122 00ce 23F00403 bic r3, r3, #4 |
||
4786 | 2123 00d2 9BB2 uxth r3, r3 |
||
4787 | 2124 00d4 A2F84030 strh r3, [r2, #64] @ movhi |
||
4788 | 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4789 | 2125 .loc 1 1250 5 is_stmt 1 view .LVU595 |
||
4790 | 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4791 | 2126 .loc 1 1250 9 is_stmt 0 view .LVU596 |
||
4792 | 2127 00d8 2268 ldr r2, [r4] |
||
4793 | 1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4794 | 2128 .loc 1 1250 26 view .LVU597 |
||
4795 | 2129 00da B2F84030 ldrh r3, [r2, #64] |
||
4796 | 2130 00de 9BB2 uxth r3, r3 |
||
4797 | 2131 00e0 23F00803 bic r3, r3, #8 |
||
4798 | 2132 00e4 9BB2 uxth r3, r3 |
||
4799 | 2133 00e6 A2F84030 strh r3, [r2, #64] @ movhi |
||
4800 | 1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
19 | mjames | 4801 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 81 |
16 | mjames | 4802 | |
4803 | |||
4804 | 2134 .loc 1 1255 5 is_stmt 1 view .LVU598 |
||
4805 | 2135 00ea 2046 mov r0, r4 |
||
4806 | 2136 00ec FFF7FEFF bl HAL_PCD_ResumeCallback |
||
4807 | 2137 .LVL192: |
||
4808 | 1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4809 | 2138 .loc 1 1258 5 view .LVU599 |
||
4810 | 2139 00f0 2268 ldr r2, [r4] |
||
4811 | 2140 00f2 B2F84430 ldrh r3, [r2, #68] |
||
4812 | 2141 00f6 9BB2 uxth r3, r3 |
||
4813 | 2142 00f8 23F48053 bic r3, r3, #4096 |
||
4814 | 2143 00fc 9BB2 uxth r3, r3 |
||
4815 | 2144 00fe A2F84430 strh r3, [r2, #68] @ movhi |
||
4816 | 2145 0102 AFE7 b .L126 |
||
4817 | 2146 .L135: |
||
4818 | 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4819 | 2147 .loc 1 1264 5 view .LVU600 |
||
4820 | 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4821 | 2148 .loc 1 1264 9 is_stmt 0 view .LVU601 |
||
4822 | 2149 0104 2268 ldr r2, [r4] |
||
4823 | 1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4824 | 2150 .loc 1 1264 26 view .LVU602 |
||
4825 | 2151 0106 B2F84030 ldrh r3, [r2, #64] |
||
4826 | 2152 010a 43F00803 orr r3, r3, #8 |
||
4827 | 2153 010e A2F84030 strh r3, [r2, #64] @ movhi |
||
4828 | 1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4829 | 2154 .loc 1 1267 5 is_stmt 1 view .LVU603 |
||
4830 | 2155 0112 2268 ldr r2, [r4] |
||
4831 | 2156 0114 B2F84430 ldrh r3, [r2, #68] |
||
4832 | 2157 0118 9BB2 uxth r3, r3 |
||
4833 | 2158 011a 23F40063 bic r3, r3, #2048 |
||
4834 | 2159 011e 9BB2 uxth r3, r3 |
||
4835 | 2160 0120 A2F84430 strh r3, [r2, #68] @ movhi |
||
4836 | 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4837 | 2161 .loc 1 1269 5 view .LVU604 |
||
4838 | 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4839 | 2162 .loc 1 1269 9 is_stmt 0 view .LVU605 |
||
4840 | 2163 0124 2268 ldr r2, [r4] |
||
4841 | 1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4842 | 2164 .loc 1 1269 26 view .LVU606 |
||
4843 | 2165 0126 B2F84030 ldrh r3, [r2, #64] |
||
4844 | 2166 012a 43F00403 orr r3, r3, #4 |
||
4845 | 2167 012e A2F84030 strh r3, [r2, #64] @ movhi |
||
4846 | 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4847 | 2168 .loc 1 1272 5 is_stmt 1 view .LVU607 |
||
4848 | 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4849 | 2169 .loc 1 1272 9 is_stmt 0 view .LVU608 |
||
4850 | 2170 0132 2068 ldr r0, [r4] |
||
4851 | 2171 0134 FFF7FEFF bl USB_ReadInterrupts |
||
4852 | 2172 .LVL193: |
||
4853 | 1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4854 | 2173 .loc 1 1272 8 view .LVU609 |
||
4855 | 2174 0138 10F4805F tst r0, #4096 |
||
4856 | 2175 013c 08D0 beq .L128 |
||
4857 | 1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4858 | 2176 .loc 1 1274 8 is_stmt 1 view .LVU610 |
||
4859 | 2177 013e 2268 ldr r2, [r4] |
||
4860 | 2178 0140 B2F84430 ldrh r3, [r2, #68] |
||
19 | mjames | 4861 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 82 |
16 | mjames | 4862 | |
4863 | |||
4864 | 2179 0144 9BB2 uxth r3, r3 |
||
4865 | 2180 0146 23F48053 bic r3, r3, #4096 |
||
4866 | 2181 014a 9BB2 uxth r3, r3 |
||
4867 | 2182 014c A2F84430 strh r3, [r2, #68] @ movhi |
||
4868 | 2183 .L128: |
||
4869 | 1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
4870 | 2184 .loc 1 1280 5 view .LVU611 |
||
4871 | 2185 0150 2046 mov r0, r4 |
||
4872 | 2186 0152 FFF7FEFF bl HAL_PCD_SuspendCallback |
||
4873 | 2187 .LVL194: |
||
4874 | 2188 0156 8BE7 b .L127 |
||
4875 | 2189 .L136: |
||
4876 | 1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4877 | 2190 .loc 1 1286 5 view .LVU612 |
||
4878 | 2191 0158 2268 ldr r2, [r4] |
||
4879 | 2192 015a B2F84430 ldrh r3, [r2, #68] |
||
4880 | 2193 015e 9BB2 uxth r3, r3 |
||
4881 | 2194 0160 23F40073 bic r3, r3, #512 |
||
4882 | 2195 0164 9BB2 uxth r3, r3 |
||
4883 | 2196 0166 A2F84430 strh r3, [r2, #68] @ movhi |
||
4884 | 1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ |
||
4885 | 2197 .loc 1 1291 5 view .LVU613 |
||
4886 | 2198 016a 2046 mov r0, r4 |
||
4887 | 2199 016c FFF7FEFF bl HAL_PCD_SOFCallback |
||
4888 | 2200 .LVL195: |
||
4889 | 2201 0170 84E7 b .L129 |
||
4890 | 2202 .cfi_endproc |
||
4891 | 2203 .LFE71: |
||
4892 | 2205 .section .text.HAL_PCD_EP_SetStall,"ax",%progbits |
||
4893 | 2206 .align 1 |
||
4894 | 2207 .global HAL_PCD_EP_SetStall |
||
4895 | 2208 .syntax unified |
||
4896 | 2209 .thumb |
||
4897 | 2210 .thumb_func |
||
4898 | 2211 .fpu softvfp |
||
4899 | 2213 HAL_PCD_EP_SetStall: |
||
4900 | 2214 .LVL196: |
||
4901 | 2215 .LFB91: |
||
4902 | 1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
4903 | 2216 .loc 1 1698 1 view -0 |
||
4904 | 2217 .cfi_startproc |
||
4905 | 2218 @ args = 0, pretend = 0, frame = 0 |
||
4906 | 2219 @ frame_needed = 0, uses_anonymous_args = 0 |
||
4907 | 1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
4908 | 2220 .loc 1 1698 1 is_stmt 0 view .LVU615 |
||
4909 | 2221 0000 38B5 push {r3, r4, r5, lr} |
||
4910 | 2222 .LCFI21: |
||
4911 | 2223 .cfi_def_cfa_offset 16 |
||
4912 | 2224 .cfi_offset 3, -16 |
||
4913 | 2225 .cfi_offset 4, -12 |
||
4914 | 2226 .cfi_offset 5, -8 |
||
4915 | 2227 .cfi_offset 14, -4 |
||
4916 | 1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4917 | 2228 .loc 1 1699 3 is_stmt 1 view .LVU616 |
||
4918 | 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4919 | 2229 .loc 1 1701 3 view .LVU617 |
||
4920 | 2230 0002 01F00705 and r5, r1, #7 |
||
19 | mjames | 4921 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 83 |
16 | mjames | 4922 | |
4923 | |||
4924 | 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4925 | 2231 .loc 1 1701 53 is_stmt 0 view .LVU618 |
||
4926 | 2232 0006 4368 ldr r3, [r0, #4] |
||
4927 | 1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4928 | 2233 .loc 1 1701 6 view .LVU619 |
||
4929 | 2234 0008 9D42 cmp r5, r3 |
||
4930 | 2235 000a 2CD8 bhi .L142 |
||
4931 | 1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4932 | 2236 .loc 1 1706 3 is_stmt 1 view .LVU620 |
||
4933 | 1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4934 | 2237 .loc 1 1706 6 is_stmt 0 view .LVU621 |
||
4935 | 2238 000c 11F0800F tst r1, #128 |
||
4936 | 2239 0010 1AD1 bne .L145 |
||
4937 | 1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
4938 | 2240 .loc 1 1713 5 is_stmt 1 view .LVU622 |
||
4939 | 1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
4940 | 2241 .loc 1 1713 8 is_stmt 0 view .LVU623 |
||
4941 | 2242 0012 4B01 lsls r3, r1, #5 |
||
4942 | 2243 0014 03F59471 add r1, r3, #296 |
||
4943 | 2244 .LVL197: |
||
4944 | 1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
4945 | 2245 .loc 1 1713 8 view .LVU624 |
||
4946 | 2246 0018 0144 add r1, r1, r0 |
||
4947 | 2247 .LVL198: |
||
4948 | 1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4949 | 2248 .loc 1 1714 5 is_stmt 1 view .LVU625 |
||
4950 | 1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
4951 | 2249 .loc 1 1714 15 is_stmt 0 view .LVU626 |
||
4952 | 2250 001a 0344 add r3, r3, r0 |
||
4953 | 2251 001c 0022 movs r2, #0 |
||
4954 | 2252 001e 83F82921 strb r2, [r3, #297] |
||
4955 | 2253 .L140: |
||
4956 | 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
4957 | 2254 .loc 1 1717 3 is_stmt 1 view .LVU627 |
||
4958 | 1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
4959 | 2255 .loc 1 1717 16 is_stmt 0 view .LVU628 |
||
4960 | 2256 0022 0123 movs r3, #1 |
||
4961 | 2257 0024 8B70 strb r3, [r1, #2] |
||
4962 | 1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4963 | 2258 .loc 1 1718 3 is_stmt 1 view .LVU629 |
||
4964 | 1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4965 | 2259 .loc 1 1718 11 is_stmt 0 view .LVU630 |
||
4966 | 2260 0026 0D70 strb r5, [r1] |
||
4967 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4968 | 2261 .loc 1 1720 3 is_stmt 1 view .LVU631 |
||
4969 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4970 | 2262 .loc 1 1720 3 view .LVU632 |
||
4971 | 2263 0028 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
4972 | 2264 002c 012B cmp r3, #1 |
||
4973 | 2265 002e 1CD0 beq .L143 |
||
4974 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4975 | 2266 .loc 1 1720 3 is_stmt 0 view .LVU633 |
||
4976 | 2267 0030 0446 mov r4, r0 |
||
4977 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
4978 | 2268 .loc 1 1720 3 is_stmt 1 discriminator 2 view .LVU634 |
||
4979 | 2269 0032 0123 movs r3, #1 |
||
4980 | 2270 0034 80F82832 strb r3, [r0, #552] |
||
19 | mjames | 4981 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 84 |
16 | mjames | 4982 | |
4983 | |||
4984 | 1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & EP_ADDR_MSK) == 0U) |
||
4985 | 2271 .loc 1 1722 3 discriminator 2 view .LVU635 |
||
4986 | 1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & EP_ADDR_MSK) == 0U) |
||
4987 | 2272 .loc 1 1722 9 is_stmt 0 discriminator 2 view .LVU636 |
||
4988 | 2273 0038 0068 ldr r0, [r0] |
||
4989 | 2274 .LVL199: |
||
4990 | 1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** if ((ep_addr & EP_ADDR_MSK) == 0U) |
||
4991 | 2275 .loc 1 1722 9 discriminator 2 view .LVU637 |
||
4992 | 2276 003a FFF7FEFF bl USB_EPSetStall |
||
4993 | 2277 .LVL200: |
||
4994 | 1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4995 | 2278 .loc 1 1723 3 is_stmt 1 discriminator 2 view .LVU638 |
||
4996 | 1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
4997 | 2279 .loc 1 1723 6 is_stmt 0 discriminator 2 view .LVU639 |
||
4998 | 2280 003e 65B1 cbz r5, .L146 |
||
4999 | 2281 .L141: |
||
5000 | 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5001 | 2282 .loc 1 1727 3 is_stmt 1 view .LVU640 |
||
5002 | 1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5003 | 2283 .loc 1 1727 3 view .LVU641 |
||
5004 | 2284 0040 0020 movs r0, #0 |
||
5005 | 2285 0042 84F82802 strb r0, [r4, #552] |
||
5006 | 1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5007 | 2286 .loc 1 1729 3 view .LVU642 |
||
5008 | 2287 .LVL201: |
||
5009 | 2288 .L138: |
||
5010 | 1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5011 | 2289 .loc 1 1730 1 is_stmt 0 view .LVU643 |
||
5012 | 2290 0046 38BD pop {r3, r4, r5, pc} |
||
5013 | 2291 .LVL202: |
||
5014 | 2292 .L145: |
||
5015 | 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
5016 | 2293 .loc 1 1708 5 is_stmt 1 view .LVU644 |
||
5017 | 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
5018 | 2294 .loc 1 1708 8 is_stmt 0 view .LVU645 |
||
5019 | 2295 0048 6B01 lsls r3, r5, #5 |
||
5020 | 2296 004a 03F12801 add r1, r3, #40 |
||
5021 | 2297 .LVL203: |
||
5022 | 1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
5023 | 2298 .loc 1 1708 8 view .LVU646 |
||
5024 | 2299 004e 0144 add r1, r1, r0 |
||
5025 | 2300 .LVL204: |
||
5026 | 1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5027 | 2301 .loc 1 1709 5 is_stmt 1 view .LVU647 |
||
5028 | 1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5029 | 2302 .loc 1 1709 15 is_stmt 0 view .LVU648 |
||
5030 | 2303 0050 0344 add r3, r3, r0 |
||
5031 | 2304 0052 0122 movs r2, #1 |
||
5032 | 2305 0054 83F82920 strb r2, [r3, #41] |
||
5033 | 2306 0058 E3E7 b .L140 |
||
5034 | 2307 .LVL205: |
||
5035 | 2308 .L146: |
||
5036 | 1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5037 | 2309 .loc 1 1725 5 is_stmt 1 view .LVU649 |
||
5038 | 1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5039 | 2310 .loc 1 1725 11 is_stmt 0 view .LVU650 |
||
5040 | 2311 005a 04F50C71 add r1, r4, #560 |
||
19 | mjames | 5041 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 85 |
16 | mjames | 5042 | |
5043 | |||
5044 | 2312 005e 2068 ldr r0, [r4] |
||
5045 | 2313 0060 FFF7FEFF bl USB_EP0_OutStart |
||
5046 | 2314 .LVL206: |
||
5047 | 2315 0064 ECE7 b .L141 |
||
5048 | 2316 .LVL207: |
||
5049 | 2317 .L142: |
||
5050 | 1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5051 | 2318 .loc 1 1703 12 view .LVU651 |
||
5052 | 2319 0066 0120 movs r0, #1 |
||
5053 | 2320 .LVL208: |
||
5054 | 1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5055 | 2321 .loc 1 1703 12 view .LVU652 |
||
5056 | 2322 0068 EDE7 b .L138 |
||
5057 | 2323 .LVL209: |
||
5058 | 2324 .L143: |
||
5059 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5060 | 2325 .loc 1 1720 3 view .LVU653 |
||
5061 | 2326 006a 0220 movs r0, #2 |
||
5062 | 2327 .LVL210: |
||
5063 | 1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5064 | 2328 .loc 1 1720 3 view .LVU654 |
||
5065 | 2329 006c EBE7 b .L138 |
||
5066 | 2330 .cfi_endproc |
||
5067 | 2331 .LFE91: |
||
5068 | 2333 .section .text.HAL_PCD_EP_ClrStall,"ax",%progbits |
||
5069 | 2334 .align 1 |
||
5070 | 2335 .global HAL_PCD_EP_ClrStall |
||
5071 | 2336 .syntax unified |
||
5072 | 2337 .thumb |
||
5073 | 2338 .thumb_func |
||
5074 | 2339 .fpu softvfp |
||
5075 | 2341 HAL_PCD_EP_ClrStall: |
||
5076 | 2342 .LVL211: |
||
5077 | 2343 .LFB92: |
||
5078 | 1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
5079 | 2344 .loc 1 1739 1 is_stmt 1 view -0 |
||
5080 | 2345 .cfi_startproc |
||
5081 | 2346 @ args = 0, pretend = 0, frame = 0 |
||
5082 | 2347 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5083 | 1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5084 | 2348 .loc 1 1740 3 view .LVU656 |
||
5085 | 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5086 | 2349 .loc 1 1742 3 view .LVU657 |
||
5087 | 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5088 | 2350 .loc 1 1742 26 is_stmt 0 view .LVU658 |
||
5089 | 2351 0000 01F00F02 and r2, r1, #15 |
||
5090 | 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5091 | 2352 .loc 1 1742 47 view .LVU659 |
||
5092 | 2353 0004 4368 ldr r3, [r0, #4] |
||
5093 | 1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5094 | 2354 .loc 1 1742 6 view .LVU660 |
||
5095 | 2355 0006 9A42 cmp r2, r3 |
||
5096 | 2356 0008 2DD8 bhi .L151 |
||
5097 | 1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_EPTypeDef *ep; |
||
5098 | 2357 .loc 1 1739 1 view .LVU661 |
||
5099 | 2358 000a 10B5 push {r4, lr} |
||
5100 | 2359 .LCFI22: |
||
19 | mjames | 5101 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 86 |
16 | mjames | 5102 | |
5103 | |||
5104 | 2360 .cfi_def_cfa_offset 8 |
||
5105 | 2361 .cfi_offset 4, -8 |
||
5106 | 2362 .cfi_offset 14, -4 |
||
5107 | 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5108 | 2363 .loc 1 1747 3 is_stmt 1 view .LVU662 |
||
5109 | 1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5110 | 2364 .loc 1 1747 6 is_stmt 0 view .LVU663 |
||
5111 | 2365 000c 11F0800F tst r1, #128 |
||
5112 | 2366 0010 1ED1 bne .L157 |
||
5113 | 1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
5114 | 2367 .loc 1 1754 5 is_stmt 1 view .LVU664 |
||
5115 | 1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
5116 | 2368 .loc 1 1754 32 is_stmt 0 view .LVU665 |
||
5117 | 2369 0012 01F00703 and r3, r1, #7 |
||
5118 | 1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 0U; |
||
5119 | 2370 .loc 1 1754 8 view .LVU666 |
||
5120 | 2371 0016 5B01 lsls r3, r3, #5 |
||
5121 | 2372 0018 03F59472 add r2, r3, #296 |
||
5122 | 2373 001c 0244 add r2, r2, r0 |
||
5123 | 2374 .LVL212: |
||
5124 | 1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5125 | 2375 .loc 1 1755 5 is_stmt 1 view .LVU667 |
||
5126 | 1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5127 | 2376 .loc 1 1755 15 is_stmt 0 view .LVU668 |
||
5128 | 2377 001e 0344 add r3, r3, r0 |
||
5129 | 2378 0020 0024 movs r4, #0 |
||
5130 | 2379 0022 83F82941 strb r4, [r3, #297] |
||
5131 | 2380 .L150: |
||
5132 | 1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
5133 | 2381 .loc 1 1758 3 is_stmt 1 view .LVU669 |
||
5134 | 1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->num = ep_addr & EP_ADDR_MSK; |
||
5135 | 2382 .loc 1 1758 16 is_stmt 0 view .LVU670 |
||
5136 | 2383 0026 0023 movs r3, #0 |
||
5137 | 2384 0028 9370 strb r3, [r2, #2] |
||
5138 | 1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5139 | 2385 .loc 1 1759 3 is_stmt 1 view .LVU671 |
||
5140 | 1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5141 | 2386 .loc 1 1759 21 is_stmt 0 view .LVU672 |
||
5142 | 2387 002a 01F00703 and r3, r1, #7 |
||
5143 | 1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5144 | 2388 .loc 1 1759 11 view .LVU673 |
||
5145 | 2389 002e 1370 strb r3, [r2] |
||
5146 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPClearStall(hpcd->Instance, ep); |
||
5147 | 2390 .loc 1 1761 3 is_stmt 1 view .LVU674 |
||
5148 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPClearStall(hpcd->Instance, ep); |
||
5149 | 2391 .loc 1 1761 3 view .LVU675 |
||
5150 | 2392 0030 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
5151 | 2393 0034 012B cmp r3, #1 |
||
5152 | 2394 0036 18D0 beq .L152 |
||
5153 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPClearStall(hpcd->Instance, ep); |
||
5154 | 2395 .loc 1 1761 3 is_stmt 0 view .LVU676 |
||
5155 | 2396 0038 0446 mov r4, r0 |
||
5156 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPClearStall(hpcd->Instance, ep); |
||
5157 | 2397 .loc 1 1761 3 is_stmt 1 discriminator 2 view .LVU677 |
||
5158 | 2398 003a 0123 movs r3, #1 |
||
5159 | 2399 003c 80F82832 strb r3, [r0, #552] |
||
5160 | 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
19 | mjames | 5161 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 87 |
16 | mjames | 5162 | |
5163 | |||
5164 | 2400 .loc 1 1762 3 discriminator 2 view .LVU678 |
||
5165 | 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
5166 | 2401 .loc 1 1762 9 is_stmt 0 discriminator 2 view .LVU679 |
||
5167 | 2402 0040 1146 mov r1, r2 |
||
5168 | 2403 .LVL213: |
||
5169 | 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
5170 | 2404 .loc 1 1762 9 discriminator 2 view .LVU680 |
||
5171 | 2405 0042 0068 ldr r0, [r0] |
||
5172 | 2406 .LVL214: |
||
5173 | 1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_UNLOCK(hpcd); |
||
5174 | 2407 .loc 1 1762 9 discriminator 2 view .LVU681 |
||
5175 | 2408 0044 FFF7FEFF bl USB_EPClearStall |
||
5176 | 2409 .LVL215: |
||
5177 | 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5178 | 2410 .loc 1 1763 3 is_stmt 1 discriminator 2 view .LVU682 |
||
5179 | 1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5180 | 2411 .loc 1 1763 3 discriminator 2 view .LVU683 |
||
5181 | 2412 0048 0020 movs r0, #0 |
||
5182 | 2413 004a 84F82802 strb r0, [r4, #552] |
||
5183 | 1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5184 | 2414 .loc 1 1765 3 discriminator 2 view .LVU684 |
||
5185 | 2415 .LVL216: |
||
5186 | 2416 .L148: |
||
5187 | 1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5188 | 2417 .loc 1 1766 1 is_stmt 0 view .LVU685 |
||
5189 | 2418 004e 10BD pop {r4, pc} |
||
5190 | 2419 .LVL217: |
||
5191 | 2420 .L157: |
||
5192 | 1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
5193 | 2421 .loc 1 1749 5 is_stmt 1 view .LVU686 |
||
5194 | 1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
5195 | 2422 .loc 1 1749 31 is_stmt 0 view .LVU687 |
||
5196 | 2423 0050 01F00703 and r3, r1, #7 |
||
5197 | 1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** ep->is_in = 1U; |
||
5198 | 2424 .loc 1 1749 8 view .LVU688 |
||
5199 | 2425 0054 5B01 lsls r3, r3, #5 |
||
5200 | 2426 0056 03F12802 add r2, r3, #40 |
||
5201 | 2427 005a 0244 add r2, r2, r0 |
||
5202 | 2428 .LVL218: |
||
5203 | 1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5204 | 2429 .loc 1 1750 5 is_stmt 1 view .LVU689 |
||
5205 | 1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5206 | 2430 .loc 1 1750 15 is_stmt 0 view .LVU690 |
||
5207 | 2431 005c 0344 add r3, r3, r0 |
||
5208 | 2432 005e 0124 movs r4, #1 |
||
5209 | 2433 0060 83F82940 strb r4, [r3, #41] |
||
5210 | 2434 0064 DFE7 b .L150 |
||
5211 | 2435 .LVL219: |
||
5212 | 2436 .L151: |
||
5213 | 2437 .LCFI23: |
||
5214 | 2438 .cfi_def_cfa_offset 0 |
||
5215 | 2439 .cfi_restore 4 |
||
5216 | 2440 .cfi_restore 14 |
||
5217 | 1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5218 | 2441 .loc 1 1744 12 view .LVU691 |
||
5219 | 2442 0066 0120 movs r0, #1 |
||
5220 | 2443 .LVL220: |
||
19 | mjames | 5221 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 88 |
16 | mjames | 5222 | |
5223 | |||
5224 | 1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5225 | 2444 .loc 1 1766 1 view .LVU692 |
||
5226 | 2445 0068 7047 bx lr |
||
5227 | 2446 .LVL221: |
||
5228 | 2447 .L152: |
||
5229 | 2448 .LCFI24: |
||
5230 | 2449 .cfi_def_cfa_offset 8 |
||
5231 | 2450 .cfi_offset 4, -8 |
||
5232 | 2451 .cfi_offset 14, -4 |
||
5233 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPClearStall(hpcd->Instance, ep); |
||
5234 | 2452 .loc 1 1761 3 view .LVU693 |
||
5235 | 2453 006a 0220 movs r0, #2 |
||
5236 | 2454 .LVL222: |
||
5237 | 1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** (void)USB_EPClearStall(hpcd->Instance, ep); |
||
5238 | 2455 .loc 1 1761 3 view .LVU694 |
||
5239 | 2456 006c EFE7 b .L148 |
||
5240 | 2457 .cfi_endproc |
||
5241 | 2458 .LFE92: |
||
5242 | 2460 .section .text.HAL_PCD_EP_Flush,"ax",%progbits |
||
5243 | 2461 .align 1 |
||
5244 | 2462 .global HAL_PCD_EP_Flush |
||
5245 | 2463 .syntax unified |
||
5246 | 2464 .thumb |
||
5247 | 2465 .thumb_func |
||
5248 | 2466 .fpu softvfp |
||
5249 | 2468 HAL_PCD_EP_Flush: |
||
5250 | 2469 .LVL223: |
||
5251 | 2470 .LFB93: |
||
5252 | 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
5253 | 2471 .loc 1 1775 1 is_stmt 1 view -0 |
||
5254 | 2472 .cfi_startproc |
||
5255 | 2473 @ args = 0, pretend = 0, frame = 0 |
||
5256 | 2474 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5257 | 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5258 | 2475 .loc 1 1776 3 view .LVU696 |
||
5259 | 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5260 | 2476 .loc 1 1776 3 view .LVU697 |
||
5261 | 2477 0000 90F82832 ldrb r3, [r0, #552] @ zero_extendqisi2 |
||
5262 | 2478 0004 012B cmp r3, #1 |
||
5263 | 2479 0006 14D0 beq .L162 |
||
5264 | 1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __HAL_LOCK(hpcd); |
||
5265 | 2480 .loc 1 1775 1 is_stmt 0 discriminator 2 view .LVU698 |
||
5266 | 2481 0008 10B5 push {r4, lr} |
||
5267 | 2482 .LCFI25: |
||
5268 | 2483 .cfi_def_cfa_offset 8 |
||
5269 | 2484 .cfi_offset 4, -8 |
||
5270 | 2485 .cfi_offset 14, -4 |
||
5271 | 2486 000a 0446 mov r4, r0 |
||
5272 | 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5273 | 2487 .loc 1 1776 3 is_stmt 1 discriminator 2 view .LVU699 |
||
5274 | 2488 000c 0123 movs r3, #1 |
||
5275 | 2489 000e 80F82832 strb r3, [r0, #552] |
||
5276 | 1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5277 | 2490 .loc 1 1778 3 discriminator 2 view .LVU700 |
||
5278 | 1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** { |
||
5279 | 2491 .loc 1 1778 6 is_stmt 0 discriminator 2 view .LVU701 |
||
5280 | 2492 0012 11F0800F tst r1, #128 |
||
19 | mjames | 5281 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 89 |
16 | mjames | 5282 | |
5283 | |||
5284 | 2493 0016 06D1 bne .L167 |
||
5285 | 1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5286 | 2494 .loc 1 1784 5 is_stmt 1 view .LVU702 |
||
5287 | 1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5288 | 2495 .loc 1 1784 11 is_stmt 0 view .LVU703 |
||
5289 | 2496 0018 0068 ldr r0, [r0] |
||
5290 | 2497 .LVL224: |
||
5291 | 1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5292 | 2498 .loc 1 1784 11 view .LVU704 |
||
5293 | 2499 001a FFF7FEFF bl USB_FlushRxFifo |
||
5294 | 2500 .LVL225: |
||
5295 | 2501 .L161: |
||
5296 | 1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5297 | 2502 .loc 1 1787 3 is_stmt 1 view .LVU705 |
||
5298 | 1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5299 | 2503 .loc 1 1787 3 view .LVU706 |
||
5300 | 2504 001e 0020 movs r0, #0 |
||
5301 | 2505 0020 84F82802 strb r0, [r4, #552] |
||
5302 | 1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5303 | 2506 .loc 1 1789 3 view .LVU707 |
||
5304 | 1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5305 | 2507 .loc 1 1790 1 is_stmt 0 view .LVU708 |
||
5306 | 2508 0024 10BD pop {r4, pc} |
||
5307 | 2509 .LVL226: |
||
5308 | 2510 .L167: |
||
5309 | 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5310 | 2511 .loc 1 1780 5 is_stmt 1 view .LVU709 |
||
5311 | 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5312 | 2512 .loc 1 1780 11 is_stmt 0 view .LVU710 |
||
5313 | 2513 0026 01F00701 and r1, r1, #7 |
||
5314 | 2514 .LVL227: |
||
5315 | 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5316 | 2515 .loc 1 1780 11 view .LVU711 |
||
5317 | 2516 002a 0068 ldr r0, [r0] |
||
5318 | 2517 .LVL228: |
||
5319 | 1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5320 | 2518 .loc 1 1780 11 view .LVU712 |
||
5321 | 2519 002c FFF7FEFF bl USB_FlushTxFifo |
||
5322 | 2520 .LVL229: |
||
5323 | 2521 0030 F5E7 b .L161 |
||
5324 | 2522 .LVL230: |
||
5325 | 2523 .L162: |
||
5326 | 2524 .LCFI26: |
||
5327 | 2525 .cfi_def_cfa_offset 0 |
||
5328 | 2526 .cfi_restore 4 |
||
5329 | 2527 .cfi_restore 14 |
||
5330 | 1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5331 | 2528 .loc 1 1776 3 view .LVU713 |
||
5332 | 2529 0032 0220 movs r0, #2 |
||
5333 | 2530 .LVL231: |
||
5334 | 1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5335 | 2531 .loc 1 1790 1 view .LVU714 |
||
5336 | 2532 0034 7047 bx lr |
||
5337 | 2533 .cfi_endproc |
||
5338 | 2534 .LFE93: |
||
5339 | 2536 .section .text.HAL_PCD_ActivateRemoteWakeup,"ax",%progbits |
||
5340 | 2537 .align 1 |
||
19 | mjames | 5341 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 90 |
16 | mjames | 5342 | |
5343 | |||
5344 | 2538 .global HAL_PCD_ActivateRemoteWakeup |
||
5345 | 2539 .syntax unified |
||
5346 | 2540 .thumb |
||
5347 | 2541 .thumb_func |
||
5348 | 2542 .fpu softvfp |
||
5349 | 2544 HAL_PCD_ActivateRemoteWakeup: |
||
5350 | 2545 .LVL232: |
||
5351 | 2546 .LFB94: |
||
5352 | 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return (USB_ActivateRemoteWakeup(hpcd->Instance)); |
||
5353 | 2547 .loc 1 1798 1 is_stmt 1 view -0 |
||
5354 | 2548 .cfi_startproc |
||
5355 | 2549 @ args = 0, pretend = 0, frame = 0 |
||
5356 | 2550 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5357 | 1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return (USB_ActivateRemoteWakeup(hpcd->Instance)); |
||
5358 | 2551 .loc 1 1798 1 is_stmt 0 view .LVU716 |
||
5359 | 2552 0000 08B5 push {r3, lr} |
||
5360 | 2553 .LCFI27: |
||
5361 | 2554 .cfi_def_cfa_offset 8 |
||
5362 | 2555 .cfi_offset 3, -8 |
||
5363 | 2556 .cfi_offset 14, -4 |
||
5364 | 1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5365 | 2557 .loc 1 1799 3 is_stmt 1 view .LVU717 |
||
5366 | 1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5367 | 2558 .loc 1 1799 11 is_stmt 0 view .LVU718 |
||
5368 | 2559 0002 0068 ldr r0, [r0] |
||
5369 | 2560 .LVL233: |
||
5370 | 1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5371 | 2561 .loc 1 1799 11 view .LVU719 |
||
5372 | 2562 0004 FFF7FEFF bl USB_ActivateRemoteWakeup |
||
5373 | 2563 .LVL234: |
||
5374 | 1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5375 | 2564 .loc 1 1800 1 view .LVU720 |
||
5376 | 2565 0008 08BD pop {r3, pc} |
||
5377 | 2566 .cfi_endproc |
||
5378 | 2567 .LFE94: |
||
5379 | 2569 .section .text.HAL_PCD_DeActivateRemoteWakeup,"ax",%progbits |
||
5380 | 2570 .align 1 |
||
5381 | 2571 .global HAL_PCD_DeActivateRemoteWakeup |
||
5382 | 2572 .syntax unified |
||
5383 | 2573 .thumb |
||
5384 | 2574 .thumb_func |
||
5385 | 2575 .fpu softvfp |
||
5386 | 2577 HAL_PCD_DeActivateRemoteWakeup: |
||
5387 | 2578 .LVL235: |
||
5388 | 2579 .LFB95: |
||
5389 | 1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return (USB_DeActivateRemoteWakeup(hpcd->Instance)); |
||
5390 | 2580 .loc 1 1808 1 is_stmt 1 view -0 |
||
5391 | 2581 .cfi_startproc |
||
5392 | 2582 @ args = 0, pretend = 0, frame = 0 |
||
5393 | 2583 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5394 | 1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return (USB_DeActivateRemoteWakeup(hpcd->Instance)); |
||
5395 | 2584 .loc 1 1808 1 is_stmt 0 view .LVU722 |
||
5396 | 2585 0000 08B5 push {r3, lr} |
||
5397 | 2586 .LCFI28: |
||
5398 | 2587 .cfi_def_cfa_offset 8 |
||
5399 | 2588 .cfi_offset 3, -8 |
||
5400 | 2589 .cfi_offset 14, -4 |
||
19 | mjames | 5401 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 91 |
16 | mjames | 5402 | |
5403 | |||
5404 | 1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5405 | 2590 .loc 1 1809 3 is_stmt 1 view .LVU723 |
||
5406 | 1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5407 | 2591 .loc 1 1809 11 is_stmt 0 view .LVU724 |
||
5408 | 2592 0002 0068 ldr r0, [r0] |
||
5409 | 2593 .LVL236: |
||
5410 | 1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5411 | 2594 .loc 1 1809 11 view .LVU725 |
||
5412 | 2595 0004 FFF7FEFF bl USB_DeActivateRemoteWakeup |
||
5413 | 2596 .LVL237: |
||
5414 | 1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5415 | 2597 .loc 1 1810 1 view .LVU726 |
||
5416 | 2598 0008 08BD pop {r3, pc} |
||
5417 | 2599 .cfi_endproc |
||
5418 | 2600 .LFE95: |
||
5419 | 2602 .section .text.HAL_PCD_GetState,"ax",%progbits |
||
5420 | 2603 .align 1 |
||
5421 | 2604 .global HAL_PCD_GetState |
||
5422 | 2605 .syntax unified |
||
5423 | 2606 .thumb |
||
5424 | 2607 .thumb_func |
||
5425 | 2608 .fpu softvfp |
||
5426 | 2610 HAL_PCD_GetState: |
||
5427 | 2611 .LVL238: |
||
5428 | 2612 .LFB96: |
||
5429 | 1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** return hpcd->State; |
||
5430 | 2613 .loc 1 1837 1 is_stmt 1 view -0 |
||
5431 | 2614 .cfi_startproc |
||
5432 | 2615 @ args = 0, pretend = 0, frame = 0 |
||
5433 | 2616 @ frame_needed = 0, uses_anonymous_args = 0 |
||
5434 | 2617 @ link register save eliminated. |
||
5435 | 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5436 | 2618 .loc 1 1838 3 view .LVU728 |
||
5437 | 1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** } |
||
5438 | 2619 .loc 1 1838 14 is_stmt 0 view .LVU729 |
||
5439 | 2620 0000 90F82902 ldrb r0, [r0, #553] @ zero_extendqisi2 |
||
5440 | 2621 .LVL239: |
||
5441 | 1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** |
||
5442 | 2622 .loc 1 1839 1 view .LVU730 |
||
5443 | 2623 0004 7047 bx lr |
||
5444 | 2624 .cfi_endproc |
||
5445 | 2625 .LFE96: |
||
5446 | 2627 .text |
||
5447 | 2628 .Letext0: |
||
5448 | 2629 .file 2 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
5449 | 2630 .file 3 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
5450 | 2631 .file 4 "Drivers/CMSIS/Include/core_cm3.h" |
||
5451 | 2632 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h" |
||
5452 | 2633 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" |
||
5453 | 2634 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h" |
||
5454 | 2635 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h" |
||
5455 | 2636 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h" |
||
5456 | 2637 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h" |
||
5457 | 2638 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h" |
||
19 | mjames | 5458 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 92 |
16 | mjames | 5459 | |
5460 | |||
5461 | DEFINED SYMBOLS |
||
5462 | *ABS*:0000000000000000 stm32f1xx_hal_pcd.c |
||
19 | mjames | 5463 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:16 .text.HAL_PCD_MspInit:0000000000000000 $t |
5464 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:24 .text.HAL_PCD_MspInit:0000000000000000 HAL_PCD_MspInit |
||
5465 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:40 .text.HAL_PCD_Init:0000000000000000 $t |
||
5466 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:47 .text.HAL_PCD_Init:0000000000000000 HAL_PCD_Init |
||
5467 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:278 .text.HAL_PCD_MspDeInit:0000000000000000 $t |
||
5468 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:285 .text.HAL_PCD_MspDeInit:0000000000000000 HAL_PCD_MspDeInit |
||
5469 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:300 .text.HAL_PCD_Start:0000000000000000 $t |
||
5470 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:307 .text.HAL_PCD_Start:0000000000000000 HAL_PCD_Start |
||
5471 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:363 .text.HAL_PCD_Stop:0000000000000000 $t |
||
5472 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:370 .text.HAL_PCD_Stop:0000000000000000 HAL_PCD_Stop |
||
5473 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:443 .text.HAL_PCD_DeInit:0000000000000000 $t |
||
5474 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:450 .text.HAL_PCD_DeInit:0000000000000000 HAL_PCD_DeInit |
||
5475 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:501 .text.HAL_PCD_DataOutStageCallback:0000000000000000 $t |
||
5476 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:508 .text.HAL_PCD_DataOutStageCallback:0000000000000000 HAL_PCD_DataOutStageCallback |
||
5477 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:524 .text.HAL_PCD_DataInStageCallback:0000000000000000 $t |
||
5478 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:531 .text.HAL_PCD_DataInStageCallback:0000000000000000 HAL_PCD_DataInStageCallback |
||
5479 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:547 .text.HAL_PCD_SetupStageCallback:0000000000000000 $t |
||
5480 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:554 .text.HAL_PCD_SetupStageCallback:0000000000000000 HAL_PCD_SetupStageCallback |
||
5481 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:569 .text.HAL_PCD_SOFCallback:0000000000000000 $t |
||
5482 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:576 .text.HAL_PCD_SOFCallback:0000000000000000 HAL_PCD_SOFCallback |
||
5483 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:591 .text.HAL_PCD_ResetCallback:0000000000000000 $t |
||
5484 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:598 .text.HAL_PCD_ResetCallback:0000000000000000 HAL_PCD_ResetCallback |
||
5485 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:613 .text.HAL_PCD_SuspendCallback:0000000000000000 $t |
||
5486 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:620 .text.HAL_PCD_SuspendCallback:0000000000000000 HAL_PCD_SuspendCallback |
||
5487 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:635 .text.HAL_PCD_ResumeCallback:0000000000000000 $t |
||
5488 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:642 .text.HAL_PCD_ResumeCallback:0000000000000000 HAL_PCD_ResumeCallback |
||
5489 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:657 .text.HAL_PCD_ISOOUTIncompleteCallback:0000000000000000 $t |
||
5490 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:664 .text.HAL_PCD_ISOOUTIncompleteCallback:0000000000000000 HAL_PCD_ISOOUTIncompleteCallback |
||
5491 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:680 .text.HAL_PCD_ISOINIncompleteCallback:0000000000000000 $t |
||
5492 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:687 .text.HAL_PCD_ISOINIncompleteCallback:0000000000000000 HAL_PCD_ISOINIncompleteCallback |
||
5493 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:703 .text.HAL_PCD_ConnectCallback:0000000000000000 $t |
||
5494 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:710 .text.HAL_PCD_ConnectCallback:0000000000000000 HAL_PCD_ConnectCallback |
||
5495 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:725 .text.HAL_PCD_DisconnectCallback:0000000000000000 $t |
||
5496 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:732 .text.HAL_PCD_DisconnectCallback:0000000000000000 HAL_PCD_DisconnectCallback |
||
5497 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:747 .text.HAL_PCD_DevConnect:0000000000000000 $t |
||
5498 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:754 .text.HAL_PCD_DevConnect:0000000000000000 HAL_PCD_DevConnect |
||
5499 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:806 .text.HAL_PCD_DevDisconnect:0000000000000000 $t |
||
5500 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:813 .text.HAL_PCD_DevDisconnect:0000000000000000 HAL_PCD_DevDisconnect |
||
5501 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:866 .text.HAL_PCD_SetAddress:0000000000000000 $t |
||
5502 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:873 .text.HAL_PCD_SetAddress:0000000000000000 HAL_PCD_SetAddress |
||
5503 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:927 .text.HAL_PCD_EP_Open:0000000000000000 $t |
||
5504 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:934 .text.HAL_PCD_EP_Open:0000000000000000 HAL_PCD_EP_Open |
||
5505 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1060 .text.HAL_PCD_EP_Close:0000000000000000 $t |
||
5506 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1067 .text.HAL_PCD_EP_Close:0000000000000000 HAL_PCD_EP_Close |
||
5507 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1159 .text.HAL_PCD_EP_Receive:0000000000000000 $t |
||
5508 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1166 .text.HAL_PCD_EP_Receive:0000000000000000 HAL_PCD_EP_Receive |
||
5509 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1247 .text.HAL_PCD_EP_GetRxCount:0000000000000000 $t |
||
5510 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1254 .text.HAL_PCD_EP_GetRxCount:0000000000000000 HAL_PCD_EP_GetRxCount |
||
5511 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1278 .text.HAL_PCD_EP_Transmit:0000000000000000 $t |
||
5512 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1285 .text.HAL_PCD_EP_Transmit:0000000000000000 HAL_PCD_EP_Transmit |
||
5513 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1367 .text.PCD_EP_ISR_Handler:0000000000000000 $t |
||
5514 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1373 .text.PCD_EP_ISR_Handler:0000000000000000 PCD_EP_ISR_Handler |
||
5515 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1970 .text.HAL_PCD_IRQHandler:0000000000000000 $t |
||
5516 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:1977 .text.HAL_PCD_IRQHandler:0000000000000000 HAL_PCD_IRQHandler |
||
5517 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2206 .text.HAL_PCD_EP_SetStall:0000000000000000 $t |
||
5518 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s page 93 |
||
16 | mjames | 5519 | |
5520 | |||
19 | mjames | 5521 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2213 .text.HAL_PCD_EP_SetStall:0000000000000000 HAL_PCD_EP_SetStall |
5522 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2334 .text.HAL_PCD_EP_ClrStall:0000000000000000 $t |
||
5523 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2341 .text.HAL_PCD_EP_ClrStall:0000000000000000 HAL_PCD_EP_ClrStall |
||
5524 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2461 .text.HAL_PCD_EP_Flush:0000000000000000 $t |
||
5525 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2468 .text.HAL_PCD_EP_Flush:0000000000000000 HAL_PCD_EP_Flush |
||
5526 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2537 .text.HAL_PCD_ActivateRemoteWakeup:0000000000000000 $t |
||
5527 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2544 .text.HAL_PCD_ActivateRemoteWakeup:0000000000000000 HAL_PCD_ActivateRemoteWakeup |
||
5528 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2570 .text.HAL_PCD_DeActivateRemoteWakeup:0000000000000000 $t |
||
5529 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2577 .text.HAL_PCD_DeActivateRemoteWakeup:0000000000000000 HAL_PCD_DeActivateRemoteWakeup |
||
5530 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2603 .text.HAL_PCD_GetState:0000000000000000 $t |
||
5531 | C:\Users\mike\AppData\Local\Temp\ccwSrLYb.s:2610 .text.HAL_PCD_GetState:0000000000000000 HAL_PCD_GetState |
||
16 | mjames | 5532 | |
5533 | UNDEFINED SYMBOLS |
||
5534 | USB_DisableGlobalInt |
||
5535 | USB_CoreInit |
||
5536 | USB_SetCurrentMode |
||
5537 | USB_DevInit |
||
5538 | USB_DevDisconnect |
||
5539 | HAL_PCDEx_SetConnectionState |
||
5540 | USB_DevConnect |
||
5541 | USB_EnableGlobalInt |
||
5542 | USB_StopDevice |
||
5543 | USB_SetDevAddress |
||
5544 | USB_ActivateEndpoint |
||
5545 | USB_DeactivateEndpoint |
||
5546 | USB_EPStartXfer |
||
5547 | USB_ReadPMA |
||
5548 | USB_ReadInterrupts |
||
5549 | USB_EPSetStall |
||
5550 | USB_EP0_OutStart |
||
5551 | USB_EPClearStall |
||
5552 | USB_FlushRxFifo |
||
5553 | USB_FlushTxFifo |
||
5554 | USB_ActivateRemoteWakeup |
||
5555 | USB_DeActivateRemoteWakeup |