Subversion Repositories dashGPS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16 mjames 1
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 1
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_ex.c"
15
  12              		.text
16
  13              	.Ltext0:
17
  14              		.cfi_sections	.debug_frame
18
  15              		.section	.text.HAL_PCDEx_PMAConfig,"ax",%progbits
19
  16              		.align	1
20
  17              		.global	HAL_PCDEx_PMAConfig
21
  18              		.arch armv7-m
22
  19              		.syntax unified
23
  20              		.thumb
24
  21              		.thumb_func
25
  22              		.fpu softvfp
26
  24              	HAL_PCDEx_PMAConfig:
27
  25              	.LVL0:
28
  26              	.LFB65:
29
  27              		.file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c"
30
   1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /**
31
   2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   ******************************************************************************
32
   3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @file    stm32f1xx_hal_pcd_ex.c
33
   4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @author  MCD Application Team
34
   5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief   PCD Extended HAL module driver.
35
   6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *          This file provides firmware functions to manage the following
36
   7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *          functionalities of the USB Peripheral Controller:
37
   8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *           + Extended features functions
38
   9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *
39
  10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   ******************************************************************************
40
  11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @attention
41
  12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *
42
  13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
43
  14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * All rights reserved.</center></h2>
44
  15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *
45
  16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * This software component is licensed by ST under BSD 3-Clause license,
46
  17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * the "License"; You may not use this file except in compliance with the
47
  18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * License. You may obtain a copy of the License at:
48
  19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                        opensource.org/licenses/BSD-3-Clause
49
  20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *
50
  21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   ******************************************************************************
51
  22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
52
  23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
53
  24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /* Includes ------------------------------------------------------------------*/
54
  25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** #include "stm32f1xx_hal.h"
55
  26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
56
  27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
57
  28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @{
58
  29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
59
  30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
60
  31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /** @defgroup PCDEx PCDEx
61
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 2
62
 
63
 
64
  32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief PCD Extended HAL module driver
65
  33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @{
66
  34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
67
  35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
68
  36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** #ifdef HAL_PCD_MODULE_ENABLED
69
  37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
70
  38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** #if defined (USB) || defined (USB_OTG_FS)
71
  39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /* Private types -------------------------------------------------------------*/
72
  40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /* Private variables ---------------------------------------------------------*/
73
  41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /* Private constants ---------------------------------------------------------*/
74
  42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /* Private macros ------------------------------------------------------------*/
75
  43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /* Private functions ---------------------------------------------------------*/
76
  44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /* Exported functions --------------------------------------------------------*/
77
  45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
78
  46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /** @defgroup PCDEx_Exported_Functions PCDEx Exported Functions
79
  47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @{
80
  48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
81
  49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
82
  50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /** @defgroup PCDEx_Exported_Functions_Group1 Peripheral Control functions
83
  51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief    PCDEx control functions
84
  52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****  *
85
  53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** @verbatim
86
  54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****  ===============================================================================
87
  55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****                  ##### Extended features functions #####
88
  56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****  ===============================================================================
89
  57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     [..]  This section provides functions allowing to:
90
  58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****       (+) Update FIFO configuration
91
  59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
92
  60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** @endverbatim
93
  61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @{
94
  62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
95
  63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** #if defined (USB_OTG_FS)
96
  64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /**
97
  65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief  Set Tx FIFO
98
  66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  hpcd PCD handle
99
  67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  fifo The number of Tx fifo
100
  68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  size Fifo size
101
  69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @retval HAL status
102
  70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
103
  71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size)
104
  72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** {
105
  73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   uint8_t i;
106
  74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   uint32_t Tx_Offset;
107
  75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
108
  76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /*  TXn min size = 16 words. (n  : Transmit FIFO index)
109
  77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****       When a TxFIFO is not used, the Configuration should be as follows:
110
  78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****           case 1 :  n > m    and Txn is not used    (n,m  : Transmit FIFO indexes)
111
  79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****          --> Txm can use the space allocated for Txn.
112
  80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****          case2  :  n < m    and Txn is not used    (n,m  : Transmit FIFO indexes)
113
  81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****          --> Txn should be configured with the minimum space of 16 words
114
  82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****      The FIFO is used optimally when used TxFIFOs are allocated in the top
115
  83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****          of the FIFO.Ex: use EP1 and EP2 as IN instead of EP1 and EP3 as IN ones.
116
  84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****      When DMA is used 3n * FIFO locations should be reserved for internal DMA registers */
117
  85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
118
  86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   Tx_Offset = hpcd->Instance->GRXFSIZ;
119
  87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
120
  88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   if (fifo == 0U)
121
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 3
122
 
123
 
124
  89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   {
125
  90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     hpcd->Instance->DIEPTXF0_HNPTXFSIZ = ((uint32_t)size << 16) | Tx_Offset;
126
  91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
127
  92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   else
128
  93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   {
129
  94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     Tx_Offset += (hpcd->Instance->DIEPTXF0_HNPTXFSIZ) >> 16;
130
  95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     for (i = 0U; i < (fifo - 1U); i++)
131
  96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     {
132
  97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****       Tx_Offset += (hpcd->Instance->DIEPTXF[i] >> 16);
133
  98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     }
134
  99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
135
 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Multiply Tx_Size by 2 to get higher performance */
136
 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     hpcd->Instance->DIEPTXF[fifo - 1U] = ((uint32_t)size << 16) | Tx_Offset;
137
 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
138
 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
139
 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   return HAL_OK;
140
 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** }
141
 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
142
 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /**
143
 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief  Set Rx FIFO
144
 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  hpcd PCD handle
145
 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  size Size of Rx fifo
146
 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @retval HAL status
147
 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
148
 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size)
149
 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** {
150
 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   hpcd->Instance->GRXFSIZ = size;
151
 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
152
 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   return HAL_OK;
153
 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** }
154
 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** #endif /* defined (USB_OTG_FS) */
155
 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** #if defined (USB)
156
 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /**
157
 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief  Configure PMA for EP
158
 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  hpcd  Device instance
159
 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  ep_addr endpoint address
160
 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  ep_kind endpoint Kind
161
 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                  USB_SNG_BUF: Single Buffer used
162
 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                  USB_DBL_BUF: Double Buffer used
163
 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  pmaadress: EP address in The PMA: In case of single buffer endpoint
164
 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                   this parameter is 16-bit value providing the address
165
 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                   in PMA allocated to endpoint.
166
 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                   In case of double buffer endpoint this parameter
167
 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                   is a 32-bit value providing the endpoint buffer 0 address
168
 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                   in the LSB part of 32-bit value and endpoint buffer 1 address
169
 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *                   in the MSB part of 32-bit value.
170
 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @retval HAL status
171
 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
172
 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
173
 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** HAL_StatusTypeDef  HAL_PCDEx_PMAConfig(PCD_HandleTypeDef *hpcd,
174
 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****                                        uint16_t ep_addr,
175
 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****                                        uint16_t ep_kind,
176
 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****                                        uint32_t pmaadress)
177
 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** {
178
  28              		.loc 1 142 1 view -0
179
  29              		.cfi_startproc
180
  30              		@ args = 0, pretend = 0, frame = 0
181
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 4
182
 
183
 
184
  31              		@ frame_needed = 0, uses_anonymous_args = 0
185
  32              		@ link register save eliminated.
186
 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   PCD_EPTypeDef *ep;
187
  33              		.loc 1 143 3 view .LVU1
188
 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
189
 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* initialize ep structure*/
190
 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   if ((0x80U & ep_addr) == 0x80U)
191
  34              		.loc 1 146 3 view .LVU2
192
  35              		.loc 1 146 6 is_stmt 0 view .LVU3
193
  36 0000 11F0800F 		tst	r1, #128
194
  37 0004 09D0     		beq	.L2
195
 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   {
196
 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK];
197
  38              		.loc 1 148 5 is_stmt 1 view .LVU4
198
  39              		.loc 1 148 31 is_stmt 0 view .LVU5
199
  40 0006 01F00701 		and	r1, r1, #7
200
  41              	.LVL1:
201
  42              		.loc 1 148 8 view .LVU6
202
  43 000a 4901     		lsls	r1, r1, #5
203
  44 000c 2831     		adds	r1, r1, #40
204
  45 000e 0144     		add	r1, r1, r0
205
  46              	.LVL2:
206
  47              	.L3:
207
 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
208
 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   else
209
 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   {
210
 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep = &hpcd->OUT_ep[ep_addr];
211
 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
212
 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
213
 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* Here we check if the endpoint is single or double Buffer*/
214
 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   if (ep_kind == PCD_SNG_BUF)
215
  48              		.loc 1 156 3 is_stmt 1 view .LVU7
216
  49              		.loc 1 156 6 is_stmt 0 view .LVU8
217
  50 0010 42B9     		cbnz	r2, .L4
218
 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   {
219
 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Single Buffer */
220
 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep->doublebuffer = 0U;
221
  51              		.loc 1 159 5 is_stmt 1 view .LVU9
222
  52              		.loc 1 159 22 is_stmt 0 view .LVU10
223
  53 0012 0A73     		strb	r2, [r1, #12]
224
 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Configure the PMA */
225
 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep->pmaadress = (uint16_t)pmaadress;
226
  54              		.loc 1 161 5 is_stmt 1 view .LVU11
227
  55              		.loc 1 161 19 is_stmt 0 view .LVU12
228
  56 0014 CB80     		strh	r3, [r1, #6]	@ movhi
229
  57              	.LVL3:
230
  58              	.L5:
231
 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
232
 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   else /* USB_DBL_BUF */
233
 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   {
234
 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Double Buffer Endpoint */
235
 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep->doublebuffer = 1U;
236
 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Configure the PMA */
237
 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep->pmaaddr0 = (uint16_t)(pmaadress & 0xFFFFU);
238
 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep->pmaaddr1 = (uint16_t)((pmaadress & 0xFFFF0000U) >> 16);
239
 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
240
 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
241
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 5
242
 
243
 
244
 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   return HAL_OK;
245
  59              		.loc 1 172 3 is_stmt 1 view .LVU13
246
 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** }
247
  60              		.loc 1 173 1 is_stmt 0 view .LVU14
248
  61 0016 0020     		movs	r0, #0
249
  62              	.LVL4:
250
  63              		.loc 1 173 1 view .LVU15
251
  64 0018 7047     		bx	lr
252
  65              	.LVL5:
253
  66              	.L2:
254
 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
255
  67              		.loc 1 152 5 is_stmt 1 view .LVU16
256
 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
257
  68              		.loc 1 152 8 is_stmt 0 view .LVU17
258
  69 001a 4901     		lsls	r1, r1, #5
259
  70              	.LVL6:
260
 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
261
  71              		.loc 1 152 8 view .LVU18
262
  72 001c 01F59471 		add	r1, r1, #296
263
  73 0020 0144     		add	r1, r1, r0
264
  74              	.LVL7:
265
 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
266
  75              		.loc 1 152 8 view .LVU19
267
  76 0022 F5E7     		b	.L3
268
  77              	.L4:
269
 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Configure the PMA */
270
  78              		.loc 1 166 5 is_stmt 1 view .LVU20
271
 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Configure the PMA */
272
  79              		.loc 1 166 22 is_stmt 0 view .LVU21
273
  80 0024 0122     		movs	r2, #1
274
  81              	.LVL8:
275
 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     /* Configure the PMA */
276
  82              		.loc 1 166 22 view .LVU22
277
  83 0026 0A73     		strb	r2, [r1, #12]
278
 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep->pmaaddr1 = (uint16_t)((pmaadress & 0xFFFF0000U) >> 16);
279
  84              		.loc 1 168 5 is_stmt 1 view .LVU23
280
 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****     ep->pmaaddr1 = (uint16_t)((pmaadress & 0xFFFF0000U) >> 16);
281
  85              		.loc 1 168 18 is_stmt 0 view .LVU24
282
  86 0028 0B81     		strh	r3, [r1, #8]	@ movhi
283
 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
284
  87              		.loc 1 169 5 is_stmt 1 view .LVU25
285
 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
286
  88              		.loc 1 169 20 is_stmt 0 view .LVU26
287
  89 002a 1B0C     		lsrs	r3, r3, #16
288
  90              	.LVL9:
289
 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   }
290
  91              		.loc 1 169 18 view .LVU27
291
  92 002c 4B81     		strh	r3, [r1, #10]	@ movhi
292
  93 002e F2E7     		b	.L5
293
  94              		.cfi_endproc
294
  95              	.LFE65:
295
  97              		.section	.text.HAL_PCDEx_SetConnectionState,"ax",%progbits
296
  98              		.align	1
297
  99              		.weak	HAL_PCDEx_SetConnectionState
298
 100              		.syntax unified
299
 101              		.thumb
300
 102              		.thumb_func
301
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 6
302
 
303
 
304
 103              		.fpu softvfp
305
 105              	HAL_PCDEx_SetConnectionState:
306
 106              	.LVL10:
307
 107              	.LFB66:
308
 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
309
 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /**
310
 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief  Software Device Connection,
311
 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *         this function is not required by USB OTG FS peripheral, it is used
312
 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   *         only by USB Device FS peripheral.
313
 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  hpcd: PCD handle
314
 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  state: connection state (0 : disconnected / 1: connected)
315
 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @retval None
316
 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
317
 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** __weak void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state)
318
 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** {
319
 108              		.loc 1 184 1 is_stmt 1 view -0
320
 109              		.cfi_startproc
321
 110              		@ args = 0, pretend = 0, frame = 0
322
 111              		@ frame_needed = 0, uses_anonymous_args = 0
323
 112              		@ link register save eliminated.
324
 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* Prevent unused argument(s) compilation warning */
325
 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   UNUSED(hpcd);
326
 113              		.loc 1 186 3 view .LVU29
327
 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   UNUSED(state);
328
 114              		.loc 1 187 3 view .LVU30
329
 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* NOTE : This function Should not be modified, when the callback is needed,
330
 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****             the HAL_PCDEx_SetConnectionState could be implemented in the user file
331
 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****    */
332
 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** }
333
 115              		.loc 1 191 1 is_stmt 0 view .LVU31
334
 116 0000 7047     		bx	lr
335
 117              		.cfi_endproc
336
 118              	.LFE66:
337
 120              		.section	.text.HAL_PCDEx_LPM_Callback,"ax",%progbits
338
 121              		.align	1
339
 122              		.weak	HAL_PCDEx_LPM_Callback
340
 123              		.syntax unified
341
 124              		.thumb
342
 125              		.thumb_func
343
 126              		.fpu softvfp
344
 128              	HAL_PCDEx_LPM_Callback:
345
 129              	.LVL11:
346
 130              	.LFB67:
347
 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** #endif /* defined (USB) */
348
 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
349
 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /**
350
 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief  Send LPM message to user layer callback.
351
 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  hpcd PCD handle
352
 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  msg LPM message
353
 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @retval HAL status
354
 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
355
 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** __weak void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg)
356
 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** {
357
 131              		.loc 1 201 1 is_stmt 1 view -0
358
 132              		.cfi_startproc
359
 133              		@ args = 0, pretend = 0, frame = 0
360
 134              		@ frame_needed = 0, uses_anonymous_args = 0
361
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 7
362
 
363
 
364
 135              		@ link register save eliminated.
365
 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* Prevent unused argument(s) compilation warning */
366
 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   UNUSED(hpcd);
367
 136              		.loc 1 203 3 view .LVU33
368
 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   UNUSED(msg);
369
 137              		.loc 1 204 3 view .LVU34
370
 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
371
 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* NOTE : This function should not be modified, when the callback is needed,
372
 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****             the HAL_PCDEx_LPM_Callback could be implemented in the user file
373
 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****    */
374
 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** }
375
 138              		.loc 1 209 1 is_stmt 0 view .LVU35
376
 139 0000 7047     		bx	lr
377
 140              		.cfi_endproc
378
 141              	.LFE67:
379
 143              		.section	.text.HAL_PCDEx_BCD_Callback,"ax",%progbits
380
 144              		.align	1
381
 145              		.weak	HAL_PCDEx_BCD_Callback
382
 146              		.syntax unified
383
 147              		.thumb
384
 148              		.thumb_func
385
 149              		.fpu softvfp
386
 151              	HAL_PCDEx_BCD_Callback:
387
 152              	.LVL12:
388
 153              	.LFB68:
389
 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
390
 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** /**
391
 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @brief  Send BatteryCharging message to user layer callback.
392
 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  hpcd PCD handle
393
 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @param  msg LPM message
394
 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   * @retval HAL status
395
 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   */
396
 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** __weak void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg)
397
 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** {
398
 154              		.loc 1 218 1 is_stmt 1 view -0
399
 155              		.cfi_startproc
400
 156              		@ args = 0, pretend = 0, frame = 0
401
 157              		@ frame_needed = 0, uses_anonymous_args = 0
402
 158              		@ link register save eliminated.
403
 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* Prevent unused argument(s) compilation warning */
404
 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   UNUSED(hpcd);
405
 159              		.loc 1 220 3 view .LVU37
406
 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   UNUSED(msg);
407
 160              		.loc 1 221 3 view .LVU38
408
 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** 
409
 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****   /* NOTE : This function should not be modified, when the callback is needed,
410
 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****             the HAL_PCDEx_BCD_Callback could be implemented in the user file
411
 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c ****    */
412
 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c **** }
413
 161              		.loc 1 226 1 is_stmt 0 view .LVU39
414
 162 0000 7047     		bx	lr
415
 163              		.cfi_endproc
416
 164              	.LFE68:
417
 166              		.text
418
 167              	.Letext0:
419
 168              		.file 2 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
420
 169              		.file 3 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7
421
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 8
422
 
423
 
424
 170              		.file 4 "Drivers/CMSIS/Include/core_cm3.h"
425
 171              		.file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
426
 172              		.file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h"
427
 173              		.file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
428
 174              		.file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h"
429
 175              		.file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h"
430
 176              		.file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
431
ARM GAS  C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s 			page 9
432
 
433
 
434
DEFINED SYMBOLS
435
                            *ABS*:0000000000000000 stm32f1xx_hal_pcd_ex.c
436
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:16     .text.HAL_PCDEx_PMAConfig:0000000000000000 $t
437
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:24     .text.HAL_PCDEx_PMAConfig:0000000000000000 HAL_PCDEx_PMAConfig
438
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:98     .text.HAL_PCDEx_SetConnectionState:0000000000000000 $t
439
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:105    .text.HAL_PCDEx_SetConnectionState:0000000000000000 HAL_PCDEx_SetConnectionState
440
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:121    .text.HAL_PCDEx_LPM_Callback:0000000000000000 $t
441
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:128    .text.HAL_PCDEx_LPM_Callback:0000000000000000 HAL_PCDEx_LPM_Callback
442
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:144    .text.HAL_PCDEx_BCD_Callback:0000000000000000 $t
443
C:\Users\mike\AppData\Local\Temp\cc9K5NEC.s:151    .text.HAL_PCDEx_BCD_Callback:0000000000000000 HAL_PCDEx_BCD_Callback
444
 
445
NO UNDEFINED SYMBOLS