ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 1


   1              		.cpu cortex-m3
   2              		.eabi_attribute 20, 1
   3              		.eabi_attribute 21, 1
   4              		.eabi_attribute 23, 3
   5              		.eabi_attribute 24, 1
   6              		.eabi_attribute 25, 1
   7              		.eabi_attribute 26, 1
   8              		.eabi_attribute 30, 1
   9              		.eabi_attribute 34, 1
  10              		.eabi_attribute 18, 4
  11              		.file	"stm32f1xx_hal_pcd.c"
  12              		.text
  13              	.Ltext0:
  14              		.cfi_sections	.debug_frame
  15              		.section	.text.HAL_PCD_MspInit,"ax",%progbits
  16              		.align	1
  17              		.weak	HAL_PCD_MspInit
  18              		.syntax unified
  19              		.thumb
  20              		.thumb_func
  21              		.fpu softvfp
  23              	HAL_PCD_MspInit:
  24              	.LFB67:
  25              		.file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c"
   1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
   2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ******************************************************************************
   3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @file    stm32f1xx_hal_pcd.c
   4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @author  MCD Application Team
   5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief   PCD HAL module driver.
   6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          This file provides firmware functions to manage the following
   7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          functionalities of the USB Peripheral Controller:
   8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *           + Initialization and de-initialization functions
   9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *           + IO operation functions
  10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *           + Peripheral Control functions
  11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *           + Peripheral State functions
  12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *
  13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   @verbatim
  14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ==============================================================================
  15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                     ##### How to use this driver #####
  16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ==============================================================================
  17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     [..]
  18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       The PCD HAL driver can be used as follows:
  19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****      (#) Declare a PCD_HandleTypeDef handle structure, for example:
  21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          PCD_HandleTypeDef  hpcd;
  22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****      (#) Fill parameters of Init structure in HCD handle
  24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****      (#) Call HAL_PCD_Init() API to initialize the PCD peripheral (Core, Device core, ...)
  26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****      (#) Initialize the PCD low level resources through the HAL_PCD_MspInit() API:
  28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          (##) Enable the PCD/USB Low Level interface clock using
  29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****               (+++) __HAL_RCC_USB_CLK_ENABLE(); For USB Device only FS peripheral
  30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          (##) Initialize the related GPIO clocks
  32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          (##) Configure PCD pin-out
  33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          (##) Configure PCD NVIC interrupt
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 2


  34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****      (#)Associate the Upper USB device stack to the HAL PCD Driver:
  36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          (##) hpcd.pData = pdev;
  37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****      (#)Enable PCD transmission and reception:
  39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          (##) HAL_PCD_Start();
  40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   @endverbatim
  42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ******************************************************************************
  43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @attention
  44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *
  45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
  46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * All rights reserved.</center></h2>
  47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *
  48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * This software component is licensed by ST under BSD 3-Clause license,
  49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * the "License"; You may not use this file except in compliance with the
  50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * License. You may obtain a copy of the License at:
  51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *                        opensource.org/licenses/BSD-3-Clause
  52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *
  53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ******************************************************************************
  54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
  55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Includes ------------------------------------------------------------------*/
  57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #include "stm32f1xx_hal.h"
  58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @addtogroup STM32F1xx_HAL_Driver
  60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
  61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
  62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD PCD
  64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief PCD HAL module driver
  65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
  66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
  67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #ifdef HAL_PCD_MODULE_ENABLED
  69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB) || defined (USB_OTG_FS)
  71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private types -------------------------------------------------------------*/
  73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private variables ---------------------------------------------------------*/
  74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private constants ---------------------------------------------------------*/
  75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private macros ------------------------------------------------------------*/
  76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Private_Macros PCD Private Macros
  77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
  78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
  79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #define PCD_MIN(a, b)  (((a) < (b)) ? (a) : (b))
  80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #define PCD_MAX(a, b)  (((a) > (b)) ? (a) : (b))
  81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
  82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @}
  83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
  84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private functions prototypes ----------------------------------------------*/
  86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Private_Functions PCD Private Functions
  87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
  88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
  89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
  90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_WriteEmptyTxFifo(PCD_HandleTypeDef *hpcd, uint32_t epnum);
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 3


  91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutXfrComplete_int(PCD_HandleTypeDef *hpcd, uint32_t epnum);
  92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int(PCD_HandleTypeDef *hpcd, uint32_t epnum);
  93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */
  94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB)
  96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd);
  97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */
  98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
  99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @}
 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Exported functions --------------------------------------------------------*/
 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions PCD Exported Functions
 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group1 Initialization and de-initialization functions
 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *  @brief    Initialization and Configuration functions
 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *
 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim
 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             ##### Initialization and de-initialization functions #####
 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     [..]  This section provides functions allowing to:
 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim
 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Initializes the PCD according to the specified
 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         parameters in the PCD_InitTypeDef and initialize the associated handle.
 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_Init(PCD_HandleTypeDef *hpcd)
 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USB_OTG_GlobalTypeDef *USBx;
 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */
 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint8_t i;
 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Check the PCD handle allocation */
 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd == NULL)
 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Check the parameters */
 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   assert_param(IS_PCD_ALL_INSTANCE(hpcd->Instance));
 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USBx = hpcd->Instance;
 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */
 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_RESET)
 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 4


 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Allocate lock resource and initialize it */
 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->Lock = HAL_UNLOCKED;
 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->SOFCallback = HAL_PCD_SOFCallback;
 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->SetupStageCallback = HAL_PCD_SetupStageCallback;
 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ResetCallback = HAL_PCD_ResetCallback;
 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->SuspendCallback = HAL_PCD_SuspendCallback;
 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ResumeCallback = HAL_PCD_ResumeCallback;
 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ConnectCallback = HAL_PCD_ConnectCallback;
 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DisconnectCallback = HAL_PCD_DisconnectCallback;
 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DataOutStageCallback = HAL_PCD_DataOutStageCallback;
 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DataInStageCallback = HAL_PCD_DataInStageCallback;
 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ISOOUTIncompleteCallback = HAL_PCD_ISOOUTIncompleteCallback;
 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ISOINIncompleteCallback = HAL_PCD_ISOINIncompleteCallback;
 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (hpcd->MspInitCallback == NULL)
 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->MspInitCallback = HAL_PCD_MspInit;
 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Init the low level hardware */
 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->MspInitCallback(hpcd);
 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Init the low level hardware : GPIO, CLOCK, NVIC... */
 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     HAL_PCD_MspInit(hpcd);
 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* (USE_HAL_PCD_REGISTER_CALLBACKS) */
 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->State = HAL_PCD_STATE_BUSY;
 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Disable DMA mode for FS instance */
 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((USBx->CID & (0x1U << 8)) == 0U)
 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->Init.dma_enable = 0U;
 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */
 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Disable the Interrupts */
 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_PCD_DISABLE(hpcd);
 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /*Init the Core (common init.) */
 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (USB_CoreInit(hpcd->Instance, hpcd->Init) != HAL_OK)
 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->State = HAL_PCD_STATE_ERROR;
 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Force Device Mode*/
 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_SetCurrentMode(hpcd->Instance, USB_DEVICE_MODE);
 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Init endpoints structures */
 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   for (i = 0U; i < hpcd->Init.dev_endpoints; i++)
 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Init ep structure */
 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].is_in = 1U;
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 5


 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].num = i;
 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].tx_fifo_num = i;
 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Control until ep is activated */
 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].type = EP_TYPE_CTRL;
 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].maxpacket = 0U;
 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].xfer_buff = 0U;
 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].xfer_len = 0U;
 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   for (i = 0U; i < hpcd->Init.dev_endpoints; i++)
 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].is_in = 0U;
 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].num = i;
 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Control until ep is activated */
 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].type = EP_TYPE_CTRL;
 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].maxpacket = 0U;
 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].xfer_buff = 0U;
 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].xfer_len = 0U;
 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Init Device */
 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (USB_DevInit(hpcd->Instance, hpcd->Init) != HAL_OK)
 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->State = HAL_PCD_STATE_ERROR;
 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->USB_Address = 0U;
 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->State = HAL_PCD_STATE_READY;
 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DevDisconnect(hpcd->Instance);
 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  DeInitializes the PCD peripheral.
 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DeInit(PCD_HandleTypeDef *hpcd)
 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Check the PCD handle allocation */
 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd == NULL)
 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->State = HAL_PCD_STATE_BUSY;
 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Stop Device */
 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)HAL_PCD_Stop(hpcd);
 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->MspDeInitCallback == NULL)
 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->MspDeInitCallback = HAL_PCD_MspDeInit; /* Legacy weak MspDeInit  */
 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 6


 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* DeInit the low level hardware */
 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->MspDeInitCallback(hpcd);
 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* DeInit the low level hardware: CLOCK, NVIC.*/
 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_PCD_MspDeInit(hpcd);
 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->State = HAL_PCD_STATE_RESET;
 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Initializes the PCD MSP.
 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_MspInit(PCD_HandleTypeDef *hpcd)
 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
  26              		.loc 1 281 0
  27              		.cfi_startproc
  28              		@ args = 0, pretend = 0, frame = 0
  29              		@ frame_needed = 0, uses_anonymous_args = 0
  30              		@ link register save eliminated.
  31              	.LVL0:
  32 0000 7047     		bx	lr
  33              		.cfi_endproc
  34              	.LFE67:
  36              		.section	.text.HAL_PCD_Init,"ax",%progbits
  37              		.align	1
  38              		.global	HAL_PCD_Init
  39              		.syntax unified
  40              		.thumb
  41              		.thumb_func
  42              		.fpu softvfp
  44              	HAL_PCD_Init:
  45              	.LFB65:
 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
  46              		.loc 1 127 0
  47              		.cfi_startproc
  48              		@ args = 0, pretend = 0, frame = 0
  49              		@ frame_needed = 0, uses_anonymous_args = 0
  50              	.LVL1:
 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
  51              		.loc 1 127 0
  52 0000 F0B5     		push	{r4, r5, r6, r7, lr}
  53              	.LCFI0:
  54              		.cfi_def_cfa_offset 20
  55              		.cfi_offset 4, -20
  56              		.cfi_offset 5, -16
  57              		.cfi_offset 6, -12
  58              		.cfi_offset 7, -8
  59              		.cfi_offset 14, -4
  60 0002 87B0     		sub	sp, sp, #28
  61              	.LCFI1:
  62              		.cfi_def_cfa_offset 48
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 7


 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
  63              		.loc 1 134 0
  64 0004 0028     		cmp	r0, #0
  65 0006 73D0     		beq	.L11
  66 0008 0446     		mov	r4, r0
 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
  67              		.loc 1 146 0
  68 000a 90F82932 		ldrb	r3, [r0, #553]	@ zero_extendqisi2
  69 000e D3B1     		cbz	r3, .L13
  70              	.LVL2:
  71              	.L4:
 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  72              		.loc 1 177 0
  73 0010 0323     		movs	r3, #3
  74 0012 84F82932 		strb	r3, [r4, #553]
 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
  75              		.loc 1 188 0
  76 0016 2068     		ldr	r0, [r4]
  77 0018 FFF7FEFF 		bl	USB_DisableGlobalInt
  78              	.LVL3:
 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
  79              		.loc 1 191 0
  80 001c 2546     		mov	r5, r4
  81 001e 55F8107B 		ldr	r7, [r5], #16
  82 0022 6E46     		mov	r6, sp
  83 0024 0FCD     		ldmia	r5!, {r0, r1, r2, r3}
  84 0026 0FC6     		stmia	r6!, {r0, r1, r2, r3}
  85 0028 2B68     		ldr	r3, [r5]
  86 002a 3360     		str	r3, [r6]
  87 002c 231D     		adds	r3, r4, #4
  88 002e 0ECB     		ldm	r3, {r1, r2, r3}
  89 0030 3846     		mov	r0, r7
  90 0032 FFF7FEFF 		bl	USB_CoreInit
  91              	.LVL4:
  92 0036 58B1     		cbz	r0, .L5
 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
  93              		.loc 1 193 0
  94 0038 0223     		movs	r3, #2
  95 003a 84F82932 		strb	r3, [r4, #553]
 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
  96              		.loc 1 194 0
  97 003e 0125     		movs	r5, #1
  98              	.LVL5:
  99              	.L3:
 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 100              		.loc 1 237 0
 101 0040 2846     		mov	r0, r5
 102 0042 07B0     		add	sp, sp, #28
 103              	.LCFI2:
 104              		.cfi_remember_state
 105              		.cfi_def_cfa_offset 20
 106              		@ sp needed
 107 0044 F0BD     		pop	{r4, r5, r6, r7, pc}
 108              	.LVL6:
 109              	.L13:
 110              	.LCFI3:
 111              		.cfi_restore_state
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 8


 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 112              		.loc 1 149 0
 113 0046 80F82832 		strb	r3, [r0, #552]
 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* (USE_HAL_PCD_REGISTER_CALLBACKS) */
 114              		.loc 1 173 0
 115 004a FFF7FEFF 		bl	HAL_PCD_MspInit
 116              	.LVL7:
 117 004e DFE7     		b	.L4
 118              	.L5:
 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 119              		.loc 1 198 0
 120 0050 0021     		movs	r1, #0
 121 0052 2068     		ldr	r0, [r4]
 122 0054 FFF7FEFF 		bl	USB_SetCurrentMode
 123              	.LVL8:
 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 124              		.loc 1 201 0
 125 0058 0023     		movs	r3, #0
 126 005a 11E0     		b	.L6
 127              	.LVL9:
 128              	.L7:
 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].num = i;
 129              		.loc 1 204 0 discriminator 3
 130 005c 04EB4312 		add	r2, r4, r3, lsl #5
 131 0060 0121     		movs	r1, #1
 132 0062 82F82910 		strb	r1, [r2, #41]
 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].tx_fifo_num = i;
 133              		.loc 1 205 0 discriminator 3
 134 0066 82F82830 		strb	r3, [r2, #40]
 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Control until ep is activated */
 135              		.loc 1 206 0 discriminator 3
 136 006a D386     		strh	r3, [r2, #54]	@ movhi
 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].maxpacket = 0U;
 137              		.loc 1 208 0 discriminator 3
 138 006c 0021     		movs	r1, #0
 139 006e 82F82B10 		strb	r1, [r2, #43]
 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].xfer_buff = 0U;
 140              		.loc 1 209 0 discriminator 3
 141 0072 9163     		str	r1, [r2, #56]
 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->IN_ep[i].xfer_len = 0U;
 142              		.loc 1 210 0 discriminator 3
 143 0074 D163     		str	r1, [r2, #60]
 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 144              		.loc 1 211 0 discriminator 3
 145 0076 9A1C     		adds	r2, r3, #2
 146 0078 5201     		lsls	r2, r2, #5
 147 007a A150     		str	r1, [r4, r2]
 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 148              		.loc 1 201 0 discriminator 3
 149 007c 0133     		adds	r3, r3, #1
 150              	.LVL10:
 151 007e DBB2     		uxtb	r3, r3
 152              	.LVL11:
 153              	.L6:
 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 154              		.loc 1 201 0 is_stmt 0 discriminator 1
 155 0080 6068     		ldr	r0, [r4, #4]
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 9


 156 0082 8342     		cmp	r3, r0
 157 0084 EAD3     		bcc	.L7
 158 0086 0023     		movs	r3, #0
 159              	.LVL12:
 160 0088 12E0     		b	.L8
 161              	.LVL13:
 162              	.L9:
 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].num = i;
 163              		.loc 1 216 0 is_stmt 1 discriminator 3
 164 008a 04EB4311 		add	r1, r4, r3, lsl #5
 165 008e 0022     		movs	r2, #0
 166 0090 81F82921 		strb	r2, [r1, #297]
 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Control until ep is activated */
 167              		.loc 1 217 0 discriminator 3
 168 0094 81F82831 		strb	r3, [r1, #296]
 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].maxpacket = 0U;
 169              		.loc 1 219 0 discriminator 3
 170 0098 81F82B21 		strb	r2, [r1, #299]
 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].xfer_buff = 0U;
 171              		.loc 1 220 0 discriminator 3
 172 009c C1F83821 		str	r2, [r1, #312]
 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->OUT_ep[i].xfer_len = 0U;
 173              		.loc 1 221 0 discriminator 3
 174 00a0 C1F83C21 		str	r2, [r1, #316]
 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 175              		.loc 1 222 0 discriminator 3
 176 00a4 03F10A01 		add	r1, r3, #10
 177 00a8 4901     		lsls	r1, r1, #5
 178 00aa 6250     		str	r2, [r4, r1]
 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 179              		.loc 1 214 0 discriminator 3
 180 00ac 0133     		adds	r3, r3, #1
 181              	.LVL14:
 182 00ae DBB2     		uxtb	r3, r3
 183              	.LVL15:
 184              	.L8:
 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 185              		.loc 1 214 0 is_stmt 0 discriminator 1
 186 00b0 9842     		cmp	r0, r3
 187 00b2 EAD8     		bhi	.L9
 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 188              		.loc 1 226 0 is_stmt 1
 189 00b4 2546     		mov	r5, r4
 190 00b6 55F8107B 		ldr	r7, [r5], #16
 191 00ba 6E46     		mov	r6, sp
 192 00bc 0FCD     		ldmia	r5!, {r0, r1, r2, r3}
 193              	.LVL16:
 194 00be 0FC6     		stmia	r6!, {r0, r1, r2, r3}
 195 00c0 2B68     		ldr	r3, [r5]
 196 00c2 3360     		str	r3, [r6]
 197 00c4 231D     		adds	r3, r4, #4
 198 00c6 0ECB     		ldm	r3, {r1, r2, r3}
 199 00c8 3846     		mov	r0, r7
 200 00ca FFF7FEFF 		bl	USB_DevInit
 201              	.LVL17:
 202 00ce 0546     		mov	r5, r0
 203 00d0 20B1     		cbz	r0, .L10
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 10


 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 204              		.loc 1 228 0
 205 00d2 0223     		movs	r3, #2
 206 00d4 84F82932 		strb	r3, [r4, #553]
 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 207              		.loc 1 229 0
 208 00d8 0125     		movs	r5, #1
 209 00da B1E7     		b	.L3
 210              	.L10:
 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->State = HAL_PCD_STATE_READY;
 211              		.loc 1 232 0
 212 00dc 0023     		movs	r3, #0
 213 00de 84F82430 		strb	r3, [r4, #36]
 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DevDisconnect(hpcd->Instance);
 214              		.loc 1 233 0
 215 00e2 0123     		movs	r3, #1
 216 00e4 84F82932 		strb	r3, [r4, #553]
 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 217              		.loc 1 234 0
 218 00e8 2068     		ldr	r0, [r4]
 219 00ea FFF7FEFF 		bl	USB_DevDisconnect
 220              	.LVL18:
 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 221              		.loc 1 236 0
 222 00ee A7E7     		b	.L3
 223              	.LVL19:
 224              	.L11:
 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 225              		.loc 1 136 0
 226 00f0 0125     		movs	r5, #1
 227 00f2 A5E7     		b	.L3
 228              		.cfi_endproc
 229              	.LFE65:
 231              		.section	.text.HAL_PCD_MspDeInit,"ax",%progbits
 232              		.align	1
 233              		.weak	HAL_PCD_MspDeInit
 234              		.syntax unified
 235              		.thumb
 236              		.thumb_func
 237              		.fpu softvfp
 239              	HAL_PCD_MspDeInit:
 240              	.LFB68:
 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_MspInit could be implemented in the user file
 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  DeInitializes PCD MSP.
 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_MspDeInit(PCD_HandleTypeDef *hpcd)
 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 11


 241              		.loc 1 296 0
 242              		.cfi_startproc
 243              		@ args = 0, pretend = 0, frame = 0
 244              		@ frame_needed = 0, uses_anonymous_args = 0
 245              		@ link register save eliminated.
 246              	.LVL20:
 247 0000 7047     		bx	lr
 248              		.cfi_endproc
 249              	.LFE68:
 251              		.section	.text.HAL_PCD_Start,"ax",%progbits
 252              		.align	1
 253              		.global	HAL_PCD_Start
 254              		.syntax unified
 255              		.thumb
 256              		.thumb_func
 257              		.fpu softvfp
 259              	HAL_PCD_Start:
 260              	.LFB69:
 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_MspDeInit could be implemented in the user file
 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Register a User USB PCD Callback
 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         To be used instead of the weak predefined callback
 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd USB PCD handle
 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  CallbackID ID of the callback to be registered
 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         This parameter can be one of the following values:
 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_SOF_CB_ID USB PCD SOF callback ID
 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_SETUPSTAGE_CB_ID USB PCD Setup callback ID
 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_RESET_CB_ID USB PCD Reset callback ID
 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_SUSPEND_CB_ID USB PCD Suspend callback ID
 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_RESUME_CB_ID USB PCD Resume callback ID
 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_CONNECT_CB_ID USB PCD Connect callback ID
 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_DISCONNECT_CB_ID OTG PCD Disconnect callback ID
 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_MSPINIT_CB_ID MspDeInit callback ID
 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_MSPDEINIT_CB_ID MspDeInit callback ID
 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  pCallback pointer to the Callback function
 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterCallback(PCD_HandleTypeDef *hpcd, HAL_PCD_CallbackIDTypeDef Callb
 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (pCallback == NULL)
 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 12


 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     switch (CallbackID)
 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_SOF_CB_ID :
 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->SOFCallback = pCallback;
 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_SETUPSTAGE_CB_ID :
 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->SetupStageCallback = pCallback;
 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_RESET_CB_ID :
 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ResetCallback = pCallback;
 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_SUSPEND_CB_ID :
 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->SuspendCallback = pCallback;
 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_RESUME_CB_ID :
 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ResumeCallback = pCallback;
 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_CONNECT_CB_ID :
 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ConnectCallback = pCallback;
 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_DISCONNECT_CB_ID :
 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->DisconnectCallback = pCallback;
 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPINIT_CB_ID :
 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspInitCallback = pCallback;
 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPDEINIT_CB_ID :
 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspDeInitCallback = pCallback;
 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       default :
 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Update the error code */
 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Return error status */
 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         status =  HAL_ERROR;
 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else if (hpcd->State == HAL_PCD_STATE_RESET)
 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     switch (CallbackID)
 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPINIT_CB_ID :
 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspInitCallback = pCallback;
 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 13


 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPDEINIT_CB_ID :
 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspDeInitCallback = pCallback;
 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       default :
 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Update the error code */
 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Return error status */
 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         status =  HAL_ERROR;
 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Unregister an USB PCD Callback
 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         USB PCD callabck is redirected to the weak predefined callback
 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd USB PCD handle
 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  CallbackID ID of the callback to be unregistered
 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         This parameter can be one of the following values:
 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_SOF_CB_ID USB PCD SOF callback ID
 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_SETUPSTAGE_CB_ID USB PCD Setup callback ID
 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_RESET_CB_ID USB PCD Reset callback ID
 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_SUSPEND_CB_ID USB PCD Suspend callback ID
 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_RESUME_CB_ID USB PCD Resume callback ID
 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_CONNECT_CB_ID USB PCD Connect callback ID
 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_DISCONNECT_CB_ID OTG PCD Disconnect callback ID
 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_MSPINIT_CB_ID MspDeInit callback ID
 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *          @arg @ref HAL_PCD_MSPDEINIT_CB_ID MspDeInit callback ID
 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterCallback(PCD_HandleTypeDef *hpcd, HAL_PCD_CallbackIDTypeDef Cal
 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Setup Legacy weak Callbacks  */
 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     switch (CallbackID)
 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_SOF_CB_ID :
 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->SOFCallback = HAL_PCD_SOFCallback;
 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 14


 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_SETUPSTAGE_CB_ID :
 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->SetupStageCallback = HAL_PCD_SetupStageCallback;
 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_RESET_CB_ID :
 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ResetCallback = HAL_PCD_ResetCallback;
 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_SUSPEND_CB_ID :
 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->SuspendCallback = HAL_PCD_SuspendCallback;
 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_RESUME_CB_ID :
 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ResumeCallback = HAL_PCD_ResumeCallback;
 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_CONNECT_CB_ID :
 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ConnectCallback = HAL_PCD_ConnectCallback;
 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_DISCONNECT_CB_ID :
 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->DisconnectCallback = HAL_PCD_DisconnectCallback;
 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPINIT_CB_ID :
 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspInitCallback = HAL_PCD_MspInit;
 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPDEINIT_CB_ID :
 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspDeInitCallback = HAL_PCD_MspDeInit;
 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       default :
 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Update the error code */
 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Return error status */
 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         status =  HAL_ERROR;
 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else if (hpcd->State == HAL_PCD_STATE_RESET)
 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     switch (CallbackID)
 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPINIT_CB_ID :
 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspInitCallback = HAL_PCD_MspInit;
 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       case HAL_PCD_MSPDEINIT_CB_ID :
 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->MspDeInitCallback = HAL_PCD_MspDeInit;
 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       default :
 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Update the error code */
 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 15


 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Return error status */
 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         status =  HAL_ERROR;
 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         break;
 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Register USB PCD Data OUT Stage Callback
 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         To be used instead of the weak HAL_PCD_DataOutStageCallback() predefined callback
 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  pCallback pointer to the USB PCD Data OUT Stage Callback function
 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterDataOutStageCallback(PCD_HandleTypeDef *hpcd, pPCD_DataOutStageCa
 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (pCallback == NULL)
 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DataOutStageCallback = pCallback;
 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 16


 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  UnRegister the USB PCD Data OUT Stage Callback
 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         USB PCD Data OUT Stage Callback is redirected to the weak HAL_PCD_DataOutStageCallback(
 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterDataOutStageCallback(PCD_HandleTypeDef *hpcd)
 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DataOutStageCallback = HAL_PCD_DataOutStageCallback; /* Legacy weak DataOutStageCallback 
 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Register USB PCD Data IN Stage Callback
 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         To be used instead of the weak HAL_PCD_DataInStageCallback() predefined callback
 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  pCallback pointer to the USB PCD Data IN Stage Callback function
 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterDataInStageCallback(PCD_HandleTypeDef *hpcd, pPCD_DataInStageCall
 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (pCallback == NULL)
 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 17


 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DataInStageCallback = pCallback;
 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  UnRegister the USB PCD Data IN Stage Callback
 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         USB PCD Data OUT Stage Callback is redirected to the weak HAL_PCD_DataInStageCallback()
 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterDataInStageCallback(PCD_HandleTypeDef *hpcd)
 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DataInStageCallback = HAL_PCD_DataInStageCallback; /* Legacy weak DataInStageCallback  */
 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Register USB PCD Iso OUT incomplete Callback
 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         To be used instead of the weak HAL_PCD_ISOOUTIncompleteCallback() predefined callback
 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  pCallback pointer to the USB PCD Iso OUT incomplete Callback function
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 18


 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterIsoOutIncpltCallback(PCD_HandleTypeDef *hpcd, pPCD_IsoOutIncpltCa
 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (pCallback == NULL)
 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ISOOUTIncompleteCallback = pCallback;
 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  UnRegister the USB PCD Iso OUT incomplete Callback
 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         USB PCD Iso OUT incomplete Callback is redirected to the weak HAL_PCD_ISOOUTIncompleteC
 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterIsoOutIncpltCallback(PCD_HandleTypeDef *hpcd)
 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ISOOUTIncompleteCallback = HAL_PCD_ISOOUTIncompleteCallback; /* Legacy weak ISOOUTIncompl
 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 19


 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Register USB PCD Iso IN incomplete Callback
 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         To be used instead of the weak HAL_PCD_ISOINIncompleteCallback() predefined callback
 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  pCallback pointer to the USB PCD Iso IN incomplete Callback function
 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_RegisterIsoInIncpltCallback(PCD_HandleTypeDef *hpcd, pPCD_IsoInIncpltCall
 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (pCallback == NULL)
 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ISOINIncompleteCallback = pCallback;
 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  UnRegister the USB PCD Iso IN incomplete Callback
 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   *         USB PCD Iso IN incomplete Callback is redirected to the weak HAL_PCD_ISOINIncompleteCal
 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 20


 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_UnRegisterIsoInIncpltCallback(PCD_HandleTypeDef *hpcd)
 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef status = HAL_OK;
 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Process locked */
 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (hpcd->State == HAL_PCD_STATE_READY)
 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ISOINIncompleteCallback = HAL_PCD_ISOINIncompleteCallback; /* Legacy weak ISOINIncomplete
 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Update the error code */
 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ErrorCode |= HAL_PCD_ERROR_INVALID_CALLBACK;
 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Return error status */
 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     status =  HAL_ERROR;
 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Release Lock */
 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return status;
 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @}
 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group2 Input and Output operation functions
 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *  @brief   Data transfers functions
 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *
 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim
 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                       ##### IO operation functions #####
 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     [..]
 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     This subsection provides a set of functions allowing to manage the PCD data
 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     transfers.
 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim
 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Start the USB device
 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_Start(PCD_HandleTypeDef *hpcd)
 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 261              		.loc 1 846 0
 262              		.cfi_startproc
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 21


 263              		@ args = 0, pretend = 0, frame = 0
 264              		@ frame_needed = 0, uses_anonymous_args = 0
 265              	.LVL21:
 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 266              		.loc 1 847 0
 267 0000 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 268 0004 012B     		cmp	r3, #1
 269 0006 01D1     		bne	.L22
 270 0008 0220     		movs	r0, #2
 271              	.LVL22:
 272 000a 7047     		bx	lr
 273              	.LVL23:
 274              	.L22:
 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 275              		.loc 1 846 0 discriminator 2
 276 000c 10B5     		push	{r4, lr}
 277              	.LCFI4:
 278              		.cfi_def_cfa_offset 8
 279              		.cfi_offset 4, -8
 280              		.cfi_offset 14, -4
 281 000e 0446     		mov	r4, r0
 282              		.loc 1 847 0 discriminator 2
 283 0010 0121     		movs	r1, #1
 284 0012 80F82812 		strb	r1, [r0, #552]
 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB)
 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_PCDEx_SetConnectionState(hpcd, 1U);
 285              		.loc 1 849 0 discriminator 2
 286 0016 FFF7FEFF 		bl	HAL_PCDEx_SetConnectionState
 287              	.LVL24:
 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */
 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DevConnect(hpcd->Instance);
 288              		.loc 1 851 0 discriminator 2
 289 001a 2068     		ldr	r0, [r4]
 290 001c FFF7FEFF 		bl	USB_DevConnect
 291              	.LVL25:
 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_PCD_ENABLE(hpcd);
 292              		.loc 1 852 0 discriminator 2
 293 0020 2068     		ldr	r0, [r4]
 294 0022 FFF7FEFF 		bl	USB_EnableGlobalInt
 295              	.LVL26:
 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 296              		.loc 1 853 0 discriminator 2
 297 0026 0020     		movs	r0, #0
 298 0028 84F82802 		strb	r0, [r4, #552]
 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 299              		.loc 1 854 0 discriminator 2
 300 002c 10BD     		pop	{r4, pc}
 301              		.cfi_endproc
 302              	.LFE69:
 304              		.section	.text.HAL_PCD_Stop,"ax",%progbits
 305              		.align	1
 306              		.global	HAL_PCD_Stop
 307              		.syntax unified
 308              		.thumb
 309              		.thumb_func
 310              		.fpu softvfp
 312              	HAL_PCD_Stop:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 22


 313              	.LFB70:
 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Stop the USB device.
 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_Stop(PCD_HandleTypeDef *hpcd)
 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 314              		.loc 1 863 0
 315              		.cfi_startproc
 316              		@ args = 0, pretend = 0, frame = 0
 317              		@ frame_needed = 0, uses_anonymous_args = 0
 318              	.LVL27:
 319 0000 38B5     		push	{r3, r4, r5, lr}
 320              	.LCFI5:
 321              		.cfi_def_cfa_offset 16
 322              		.cfi_offset 3, -16
 323              		.cfi_offset 4, -12
 324              		.cfi_offset 5, -8
 325              		.cfi_offset 14, -4
 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 326              		.loc 1 864 0
 327 0002 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 328 0006 012B     		cmp	r3, #1
 329 0008 02D1     		bne	.L28
 330 000a 0225     		movs	r5, #2
 331              	.LVL28:
 332              	.L24:
 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_PCD_DISABLE(hpcd);
 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (USB_StopDevice(hpcd->Instance) != HAL_OK)
 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_UNLOCK(hpcd);
 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DevDisconnect(hpcd->Instance);
 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 333              		.loc 1 877 0
 334 000c 2846     		mov	r0, r5
 335 000e 38BD     		pop	{r3, r4, r5, pc}
 336              	.LVL29:
 337              	.L28:
 338 0010 0446     		mov	r4, r0
 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 339              		.loc 1 864 0 discriminator 2
 340 0012 0123     		movs	r3, #1
 341 0014 80F82832 		strb	r3, [r0, #552]
 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_PCD_DISABLE(hpcd);
 342              		.loc 1 865 0 discriminator 2
 343 0018 0068     		ldr	r0, [r0]
 344              	.LVL30:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 23


 345 001a FFF7FEFF 		bl	USB_DisableGlobalInt
 346              	.LVL31:
 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 347              		.loc 1 867 0 discriminator 2
 348 001e 2068     		ldr	r0, [r4]
 349 0020 FFF7FEFF 		bl	USB_StopDevice
 350              	.LVL32:
 351 0024 0546     		mov	r5, r0
 352 0026 20B1     		cbz	r0, .L25
 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
 353              		.loc 1 869 0
 354 0028 0023     		movs	r3, #0
 355 002a 84F82832 		strb	r3, [r4, #552]
 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 356              		.loc 1 870 0
 357 002e 0125     		movs	r5, #1
 358 0030 ECE7     		b	.L24
 359              	.L25:
 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 360              		.loc 1 873 0
 361 0032 2068     		ldr	r0, [r4]
 362 0034 FFF7FEFF 		bl	USB_DevDisconnect
 363              	.LVL33:
 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 364              		.loc 1 874 0
 365 0038 0023     		movs	r3, #0
 366 003a 84F82832 		strb	r3, [r4, #552]
 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 367              		.loc 1 876 0
 368 003e E5E7     		b	.L24
 369              		.cfi_endproc
 370              	.LFE70:
 372              		.section	.text.HAL_PCD_DeInit,"ax",%progbits
 373              		.align	1
 374              		.global	HAL_PCD_DeInit
 375              		.syntax unified
 376              		.thumb
 377              		.thumb_func
 378              		.fpu softvfp
 380              	HAL_PCD_DeInit:
 381              	.LFB66:
 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Check the PCD handle allocation */
 382              		.loc 1 245 0
 383              		.cfi_startproc
 384              		@ args = 0, pretend = 0, frame = 0
 385              		@ frame_needed = 0, uses_anonymous_args = 0
 386              	.LVL34:
 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 387              		.loc 1 247 0
 388 0000 68B1     		cbz	r0, .L31
 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Check the PCD handle allocation */
 389              		.loc 1 245 0
 390 0002 10B5     		push	{r4, lr}
 391              	.LCFI6:
 392              		.cfi_def_cfa_offset 8
 393              		.cfi_offset 4, -8
 394              		.cfi_offset 14, -4
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 24


 395 0004 0446     		mov	r4, r0
 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 396              		.loc 1 252 0
 397 0006 0323     		movs	r3, #3
 398 0008 80F82932 		strb	r3, [r0, #553]
 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 399              		.loc 1 255 0
 400 000c FFF7FEFF 		bl	HAL_PCD_Stop
 401              	.LVL35:
 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 402              		.loc 1 267 0
 403 0010 2046     		mov	r0, r4
 404 0012 FFF7FEFF 		bl	HAL_PCD_MspDeInit
 405              	.LVL36:
 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 406              		.loc 1 270 0
 407 0016 0020     		movs	r0, #0
 408 0018 84F82902 		strb	r0, [r4, #553]
 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 409              		.loc 1 272 0
 410 001c 10BD     		pop	{r4, pc}
 411              	.LVL37:
 412              	.L31:
 413              	.LCFI7:
 414              		.cfi_def_cfa_offset 0
 415              		.cfi_restore 4
 416              		.cfi_restore 14
 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 417              		.loc 1 249 0
 418 001e 0120     		movs	r0, #1
 419              	.LVL38:
 420 0020 7047     		bx	lr
 421              		.cfi_endproc
 422              	.LFE66:
 424              		.section	.text.HAL_PCD_DataOutStageCallback,"ax",%progbits
 425              		.align	1
 426              		.weak	HAL_PCD_DataOutStageCallback
 427              		.syntax unified
 428              		.thumb
 429              		.thumb_func
 430              		.fpu softvfp
 432              	HAL_PCD_DataOutStageCallback:
 433              	.LFB72:
 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Handles PCD interrupt request.
 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd)
 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t USBx_BASE = (uint32_t)USBx;
 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t i, ep_intr, epint, epnum;
 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t fifoemptymsk, temp;
 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USB_OTG_EPTypeDef *ep;
 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 25


 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* ensure that we are in device mode */
 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (USB_GetMode(hpcd->Instance) == USB_OTG_MODE_DEVICE)
 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* avoid spurious interrupt */
 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_IS_INVALID_INTERRUPT(hpcd))
 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       return;
 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_MMIS))
 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* incorrect mode, acknowledge the interrupt */
 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_MMIS);
 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_OEPINT))
 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       epnum = 0U;
 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Read in the device interrupt bits */
 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       ep_intr = USB_ReadDevAllOutEpInterrupt(hpcd->Instance);
 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       while (ep_intr != 0U)
 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if ((ep_intr & 0x1U) != 0U)
 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           epint = USB_ReadDevOutEPInterrupt(hpcd->Instance, (uint8_t)epnum);
 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DOEPINT_XFRC) == USB_OTG_DOEPINT_XFRC)
 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_XFRC);
 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             (void)PCD_EP_OutXfrComplete_int(hpcd, epnum);
 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DOEPINT_STUP) == USB_OTG_DOEPINT_STUP)
 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             /* Class B setup phase done for previous decoded setup */
 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             (void)PCD_EP_OutSetupPacket_int(hpcd, epnum);
 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STUP);
 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DOEPINT_OTEPDIS) == USB_OTG_DOEPINT_OTEPDIS)
 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPDIS);
 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* Clear Status Phase Received interrupt */
 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR)
 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPSPR);
 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* Clear OUT NAK interrupt */
 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DOEPINT_NAK) == USB_OTG_DOEPINT_NAK)
 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_NAK);
 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 26


 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         epnum++;
 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep_intr >>= 1U;
 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_IEPINT))
 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Read in the device interrupt bits */
 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       ep_intr = USB_ReadDevAllInEpInterrupt(hpcd->Instance);
 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       epnum = 0U;
 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       while (ep_intr != 0U)
 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if ((ep_intr & 0x1U) != 0U) /* In ITR */
 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           epint = USB_ReadDevInEPInterrupt(hpcd->Instance, (uint8_t)epnum);
 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DIEPINT_XFRC) == USB_OTG_DIEPINT_XFRC)
 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             fifoemptymsk = (uint32_t)(0x1UL << (epnum & EP_ADDR_MSK));
 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             USBx_DEVICE->DIEPEMPMSK &= ~fifoemptymsk;
 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_XFRC);
 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             hpcd->DataInStageCallback(hpcd, (uint8_t)epnum);
 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             HAL_PCD_DataInStageCallback(hpcd, (uint8_t)epnum);
 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DIEPINT_TOC) == USB_OTG_DIEPINT_TOC)
 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_TOC);
 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DIEPINT_ITTXFE) == USB_OTG_DIEPINT_ITTXFE)
 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_ITTXFE);
 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DIEPINT_INEPNE) == USB_OTG_DIEPINT_INEPNE)
 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_INEPNE);
 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DIEPINT_EPDISD) == USB_OTG_DIEPINT_EPDISD)
 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_EPDISD);
 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((epint & USB_OTG_DIEPINT_TXFE) == USB_OTG_DIEPINT_TXFE)
 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             (void)PCD_WriteEmptyTxFifo(hpcd, epnum);
1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         epnum++;
1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep_intr >>= 1U;
1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 27


1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Resume Interrupt */
1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_WKUINT))
1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Clear the Remote Wake-up Signaling */
1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_RWUSIG;
1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->ResumeCallback(hpcd);
1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       HAL_PCD_ResumeCallback(hpcd);
1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_WKUINT);
1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Suspend Interrupt */
1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP))
1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if ((USBx_DEVICE->DSTS & USB_OTG_DSTS_SUSPSTS) == USB_OTG_DSTS_SUSPSTS)
1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->SuspendCallback(hpcd);
1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         HAL_PCD_SuspendCallback(hpcd);
1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP);
1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Reset Interrupt */
1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_USBRST))
1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_RWUSIG;
1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       (void)USB_FlushTxFifo(hpcd->Instance, 0x10U);
1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       for (i = 0U; i < hpcd->Init.dev_endpoints; i++)
1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_INEP(i)->DIEPINT = 0xFB7FU;
1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL;
1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_OUTEP(i)->DOEPINT = 0xFB7FU;
1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_OUTEP(i)->DOEPCTL &= ~USB_OTG_DOEPCTL_STALL;
1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       USBx_DEVICE->DAINTMSK |= 0x10001U;
1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if (hpcd->Init.use_dedicated_ep1 != 0U)
1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_DEVICE->DOUTEP1MSK |= USB_OTG_DOEPMSK_STUPM |
1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                    USB_OTG_DOEPMSK_XFRCM |
1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                    USB_OTG_DOEPMSK_EPDM;
1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_DEVICE->DINEP1MSK |= USB_OTG_DIEPMSK_TOM |
1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                   USB_OTG_DIEPMSK_XFRCM |
1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                   USB_OTG_DIEPMSK_EPDM;
1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       else
1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_DEVICE->DOEPMSK |= USB_OTG_DOEPMSK_STUPM |
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 28


1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                 USB_OTG_DOEPMSK_XFRCM |
1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                 USB_OTG_DOEPMSK_EPDM |
1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                 USB_OTG_DOEPMSK_OTEPSPRM |
1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                 USB_OTG_DOEPMSK_NAKM;
1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         USBx_DEVICE->DIEPMSK |= USB_OTG_DIEPMSK_TOM |
1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                 USB_OTG_DIEPMSK_XFRCM |
1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                 USB_OTG_DIEPMSK_EPDM;
1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Set Default Address to 0 */
1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       USBx_DEVICE->DCFG &= ~USB_OTG_DCFG_DAD;
1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* setup EP0 to receive SETUP packets */
1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       (void)USB_EP0_OutStart(hpcd->Instance, (uint8_t *)hpcd->Setup);
1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBRST);
1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Enumeration done Interrupt */
1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_ENUMDNE))
1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       (void)USB_ActivateSetup(hpcd->Instance);
1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->Init.speed = USB_GetDevSpeed(hpcd->Instance);
1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Set USB Turnaround time */
1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       (void)USB_SetTurnaroundTime(hpcd->Instance,
1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                   HAL_RCC_GetHCLKFreq(),
1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                   (uint8_t)hpcd->Init.speed);
1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->ResetCallback(hpcd);
1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       HAL_PCD_ResetCallback(hpcd);
1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_ENUMDNE);
1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle RxQLevel Interrupt */
1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_RXFLVL))
1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       USB_MASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL);
1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       temp = USBx->GRXSTSP;
1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       ep = &hpcd->OUT_ep[temp & USB_OTG_GRXSTSP_EPNUM];
1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) ==  STS_DATA_UPDT)
1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if ((temp & USB_OTG_GRXSTSP_BCNT) != 0U)
1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           (void)USB_ReadPacket(USBx, ep->xfer_buff,
1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                                (uint16_t)((temp & USB_OTG_GRXSTSP_BCNT) >> 4));
1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           ep->xfer_buff += (temp & USB_OTG_GRXSTSP_BCNT) >> 4;
1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4;
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 29


1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       else if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) ==  STS_SETUP_UPDT)
1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         (void)USB_ReadPacket(USBx, (uint8_t *)hpcd->Setup, 8U);
1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4;
1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       else
1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* ... */
1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       USB_UNMASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL);
1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle SOF Interrupt */
1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_SOF))
1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->SOFCallback(hpcd);
1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       HAL_PCD_SOFCallback(hpcd);
1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_SOF);
1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Incomplete ISO IN Interrupt */
1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR))
1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Keep application checking the corresponding Iso IN endpoint
1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       causing the incomplete Interrupt */
1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       epnum = 0U;
1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->ISOINIncompleteCallback(hpcd, (uint8_t)epnum);
1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       HAL_PCD_ISOINIncompleteCallback(hpcd, (uint8_t)epnum);
1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR);
1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Incomplete ISO OUT Interrupt */
1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT))
1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Keep application checking the corresponding Iso OUT endpoint
1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       causing the incomplete Interrupt */
1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       epnum = 0U;
1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum);
1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       HAL_PCD_ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum);
1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT);
1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 30


1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Connection event Interrupt */
1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_SRQINT))
1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->ConnectCallback(hpcd);
1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       HAL_PCD_ConnectCallback(hpcd);
1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_SRQINT);
1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Handle Disconnection event Interrupt */
1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_OTGINT))
1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       temp = hpcd->Instance->GOTGINT;
1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if ((temp & USB_OTG_GOTGINT_SEDET) == USB_OTG_GOTGINT_SEDET)
1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->DisconnectCallback(hpcd);
1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         HAL_PCD_DisconnectCallback(hpcd);
1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->Instance->GOTGINT |= temp;
1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */
1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB)
1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  This function handles PCD interrupt request.
1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd)
1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_CTR))
1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* servicing of the endpoint correct transfer interrupt */
1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* clear of the CTR flag into the sub */
1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)PCD_EP_ISR_Handler(hpcd);
1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_RESET))
1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_RESET);
1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ResetCallback(hpcd);
1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     HAL_PCD_ResetCallback(hpcd);
1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 31


1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)HAL_PCD_SetAddress(hpcd, 0U);
1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_PMAOVR))
1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_PMAOVR);
1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_ERR))
1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_ERR);
1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_WKUP))
1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_LP_MODE);
1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_FSUSP);
1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->ResumeCallback(hpcd);
1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     HAL_PCD_ResumeCallback(hpcd);
1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_WKUP);
1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_SUSP))
1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Force low-power mode in the macrocell */
1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->Instance->CNTR |= USB_CNTR_FSUSP;
1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* clear of the ISTR bit must be done after setting of CNTR_FSUSP */
1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_SUSP);
1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->Instance->CNTR |= USB_CNTR_LP_MODE;
1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* WA: Clear Wakeup flag if raised with suspend signal */
1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_WKUP))
1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****        __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_WKUP);
1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->SuspendCallback(hpcd);
1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     HAL_PCD_SuspendCallback(hpcd);
1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_SOF))
1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_SOF);
1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->SOFCallback(hpcd);
1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 32


1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     HAL_PCD_SOFCallback(hpcd);
1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_ESOF))
1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* clear ESOF flag in ISTR */
1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_ESOF);
1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */
1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Data OUT stage callback.
1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  epnum endpoint number
1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 434              		.loc 1 1310 0
 435              		.cfi_startproc
 436              		@ args = 0, pretend = 0, frame = 0
 437              		@ frame_needed = 0, uses_anonymous_args = 0
 438              		@ link register save eliminated.
 439              	.LVL39:
 440 0000 7047     		bx	lr
 441              		.cfi_endproc
 442              	.LFE72:
 444              		.section	.text.HAL_PCD_DataInStageCallback,"ax",%progbits
 445              		.align	1
 446              		.weak	HAL_PCD_DataInStageCallback
 447              		.syntax unified
 448              		.thumb
 449              		.thumb_func
 450              		.fpu softvfp
 452              	HAL_PCD_DataInStageCallback:
 453              	.LFB73:
1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(epnum);
1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_DataOutStageCallback could be implemented in the user file
1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Data IN stage callback
1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  epnum endpoint number
1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 454              		.loc 1 1327 0
 455              		.cfi_startproc
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 33


 456              		@ args = 0, pretend = 0, frame = 0
 457              		@ frame_needed = 0, uses_anonymous_args = 0
 458              		@ link register save eliminated.
 459              	.LVL40:
 460 0000 7047     		bx	lr
 461              		.cfi_endproc
 462              	.LFE73:
 464              		.section	.text.HAL_PCD_SetupStageCallback,"ax",%progbits
 465              		.align	1
 466              		.weak	HAL_PCD_SetupStageCallback
 467              		.syntax unified
 468              		.thumb
 469              		.thumb_func
 470              		.fpu softvfp
 472              	HAL_PCD_SetupStageCallback:
 473              	.LFB74:
1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(epnum);
1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_DataInStageCallback could be implemented in the user file
1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Setup stage callback
1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd)
1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 474              		.loc 1 1342 0
 475              		.cfi_startproc
 476              		@ args = 0, pretend = 0, frame = 0
 477              		@ frame_needed = 0, uses_anonymous_args = 0
 478              		@ link register save eliminated.
 479              	.LVL41:
 480 0000 7047     		bx	lr
 481              		.cfi_endproc
 482              	.LFE74:
 484              		.section	.text.HAL_PCD_SOFCallback,"ax",%progbits
 485              		.align	1
 486              		.weak	HAL_PCD_SOFCallback
 487              		.syntax unified
 488              		.thumb
 489              		.thumb_func
 490              		.fpu softvfp
 492              	HAL_PCD_SOFCallback:
 493              	.LFB75:
1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_SetupStageCallback could be implemented in the user file
1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 34


1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  USB Start Of Frame callback.
1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd)
1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 494              		.loc 1 1357 0
 495              		.cfi_startproc
 496              		@ args = 0, pretend = 0, frame = 0
 497              		@ frame_needed = 0, uses_anonymous_args = 0
 498              		@ link register save eliminated.
 499              	.LVL42:
 500 0000 7047     		bx	lr
 501              		.cfi_endproc
 502              	.LFE75:
 504              		.section	.text.HAL_PCD_ResetCallback,"ax",%progbits
 505              		.align	1
 506              		.weak	HAL_PCD_ResetCallback
 507              		.syntax unified
 508              		.thumb
 509              		.thumb_func
 510              		.fpu softvfp
 512              	HAL_PCD_ResetCallback:
 513              	.LFB76:
1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_SOFCallback could be implemented in the user file
1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  USB Reset callback.
1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd)
1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 514              		.loc 1 1372 0
 515              		.cfi_startproc
 516              		@ args = 0, pretend = 0, frame = 0
 517              		@ frame_needed = 0, uses_anonymous_args = 0
 518              		@ link register save eliminated.
 519              	.LVL43:
 520 0000 7047     		bx	lr
 521              		.cfi_endproc
 522              	.LFE76:
 524              		.section	.text.HAL_PCD_SuspendCallback,"ax",%progbits
 525              		.align	1
 526              		.weak	HAL_PCD_SuspendCallback
 527              		.syntax unified
 528              		.thumb
 529              		.thumb_func
 530              		.fpu softvfp
 532              	HAL_PCD_SuspendCallback:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 35


 533              	.LFB77:
1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_ResetCallback could be implemented in the user file
1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Suspend event callback.
1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd)
1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 534              		.loc 1 1387 0
 535              		.cfi_startproc
 536              		@ args = 0, pretend = 0, frame = 0
 537              		@ frame_needed = 0, uses_anonymous_args = 0
 538              		@ link register save eliminated.
 539              	.LVL44:
 540 0000 7047     		bx	lr
 541              		.cfi_endproc
 542              	.LFE77:
 544              		.section	.text.HAL_PCD_ResumeCallback,"ax",%progbits
 545              		.align	1
 546              		.weak	HAL_PCD_ResumeCallback
 547              		.syntax unified
 548              		.thumb
 549              		.thumb_func
 550              		.fpu softvfp
 552              	HAL_PCD_ResumeCallback:
 553              	.LFB78:
1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_SuspendCallback could be implemented in the user file
1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Resume event callback.
1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd)
1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 554              		.loc 1 1402 0
 555              		.cfi_startproc
 556              		@ args = 0, pretend = 0, frame = 0
 557              		@ frame_needed = 0, uses_anonymous_args = 0
 558              		@ link register save eliminated.
 559              	.LVL45:
 560 0000 7047     		bx	lr
 561              		.cfi_endproc
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 36


 562              	.LFE78:
 564              		.section	.text.HAL_PCD_ISOOUTIncompleteCallback,"ax",%progbits
 565              		.align	1
 566              		.weak	HAL_PCD_ISOOUTIncompleteCallback
 567              		.syntax unified
 568              		.thumb
 569              		.thumb_func
 570              		.fpu softvfp
 572              	HAL_PCD_ISOOUTIncompleteCallback:
 573              	.LFB79:
1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_ResumeCallback could be implemented in the user file
1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Incomplete ISO OUT callback.
1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  epnum endpoint number
1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 574              		.loc 1 1418 0
 575              		.cfi_startproc
 576              		@ args = 0, pretend = 0, frame = 0
 577              		@ frame_needed = 0, uses_anonymous_args = 0
 578              		@ link register save eliminated.
 579              	.LVL46:
 580 0000 7047     		bx	lr
 581              		.cfi_endproc
 582              	.LFE79:
 584              		.section	.text.HAL_PCD_ISOINIncompleteCallback,"ax",%progbits
 585              		.align	1
 586              		.weak	HAL_PCD_ISOINIncompleteCallback
 587              		.syntax unified
 588              		.thumb
 589              		.thumb_func
 590              		.fpu softvfp
 592              	HAL_PCD_ISOINIncompleteCallback:
 593              	.LFB80:
1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(epnum);
1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_ISOOUTIncompleteCallback could be implemented in the user file
1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Incomplete ISO IN callback.
1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  epnum endpoint number
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 37


1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 594              		.loc 1 1435 0
 595              		.cfi_startproc
 596              		@ args = 0, pretend = 0, frame = 0
 597              		@ frame_needed = 0, uses_anonymous_args = 0
 598              		@ link register save eliminated.
 599              	.LVL47:
 600 0000 7047     		bx	lr
 601              		.cfi_endproc
 602              	.LFE80:
 604              		.section	.text.HAL_PCD_ConnectCallback,"ax",%progbits
 605              		.align	1
 606              		.weak	HAL_PCD_ConnectCallback
 607              		.syntax unified
 608              		.thumb
 609              		.thumb_func
 610              		.fpu softvfp
 612              	HAL_PCD_ConnectCallback:
 613              	.LFB81:
1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(epnum);
1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_ISOINIncompleteCallback could be implemented in the user file
1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Connection event callback.
1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd)
1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 614              		.loc 1 1451 0
 615              		.cfi_startproc
 616              		@ args = 0, pretend = 0, frame = 0
 617              		@ frame_needed = 0, uses_anonymous_args = 0
 618              		@ link register save eliminated.
 619              	.LVL48:
 620 0000 7047     		bx	lr
 621              		.cfi_endproc
 622              	.LFE81:
 624              		.section	.text.HAL_PCD_DisconnectCallback,"ax",%progbits
 625              		.align	1
 626              		.weak	HAL_PCD_DisconnectCallback
 627              		.syntax unified
 628              		.thumb
 629              		.thumb_func
 630              		.fpu softvfp
 632              	HAL_PCD_DisconnectCallback:
 633              	.LFB82:
1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 38


1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_ConnectCallback could be implemented in the user file
1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Disconnection event callback.
1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval None
1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** __weak void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd)
1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 634              		.loc 1 1466 0
 635              		.cfi_startproc
 636              		@ args = 0, pretend = 0, frame = 0
 637              		@ frame_needed = 0, uses_anonymous_args = 0
 638              		@ link register save eliminated.
 639              	.LVL49:
 640 0000 7047     		bx	lr
 641              		.cfi_endproc
 642              	.LFE82:
 644              		.section	.text.HAL_PCD_DevConnect,"ax",%progbits
 645              		.align	1
 646              		.global	HAL_PCD_DevConnect
 647              		.syntax unified
 648              		.thumb
 649              		.thumb_func
 650              		.fpu softvfp
 652              	HAL_PCD_DevConnect:
 653              	.LFB83:
1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Prevent unused argument(s) compilation warning */
1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   UNUSED(hpcd);
1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* NOTE : This function should not be modified, when the callback is needed,
1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             the HAL_PCD_DisconnectCallback could be implemented in the user file
1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****    */
1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @}
1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group3 Peripheral Control functions
1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *  @brief   management functions
1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *
1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim
1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                       ##### Peripheral Control functions #####
1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     [..]
1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     This subsection provides a set of functions allowing to control the PCD data
1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     transfers.
1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim
1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 39


1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Connect the USB device
1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DevConnect(PCD_HandleTypeDef *hpcd)
1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 654              		.loc 1 1500 0
 655              		.cfi_startproc
 656              		@ args = 0, pretend = 0, frame = 0
 657              		@ frame_needed = 0, uses_anonymous_args = 0
 658              	.LVL50:
1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 659              		.loc 1 1501 0
 660 0000 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 661 0004 012B     		cmp	r3, #1
 662 0006 01D1     		bne	.L54
 663 0008 0220     		movs	r0, #2
 664              	.LVL51:
 665 000a 7047     		bx	lr
 666              	.LVL52:
 667              	.L54:
1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 668              		.loc 1 1500 0 discriminator 2
 669 000c 10B5     		push	{r4, lr}
 670              	.LCFI8:
 671              		.cfi_def_cfa_offset 8
 672              		.cfi_offset 4, -8
 673              		.cfi_offset 14, -4
 674 000e 0446     		mov	r4, r0
 675              		.loc 1 1501 0 discriminator 2
 676 0010 0121     		movs	r1, #1
 677 0012 80F82812 		strb	r1, [r0, #552]
1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB)
1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_PCDEx_SetConnectionState(hpcd, 1U);
 678              		.loc 1 1503 0 discriminator 2
 679 0016 FFF7FEFF 		bl	HAL_PCDEx_SetConnectionState
 680              	.LVL53:
1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */
1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DevConnect(hpcd->Instance);
 681              		.loc 1 1505 0 discriminator 2
 682 001a 2068     		ldr	r0, [r4]
 683 001c FFF7FEFF 		bl	USB_DevConnect
 684              	.LVL54:
1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 685              		.loc 1 1506 0 discriminator 2
 686 0020 0020     		movs	r0, #0
 687 0022 84F82802 		strb	r0, [r4, #552]
1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 688              		.loc 1 1507 0 discriminator 2
 689 0026 10BD     		pop	{r4, pc}
 690              		.cfi_endproc
 691              	.LFE83:
 693              		.section	.text.HAL_PCD_DevDisconnect,"ax",%progbits
 694              		.align	1
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 40


 695              		.global	HAL_PCD_DevDisconnect
 696              		.syntax unified
 697              		.thumb
 698              		.thumb_func
 699              		.fpu softvfp
 701              	HAL_PCD_DevDisconnect:
 702              	.LFB84:
1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Disconnect the USB device.
1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DevDisconnect(PCD_HandleTypeDef *hpcd)
1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 703              		.loc 1 1516 0
 704              		.cfi_startproc
 705              		@ args = 0, pretend = 0, frame = 0
 706              		@ frame_needed = 0, uses_anonymous_args = 0
 707              	.LVL55:
1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 708              		.loc 1 1517 0
 709 0000 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 710 0004 012B     		cmp	r3, #1
 711 0006 01D1     		bne	.L62
 712 0008 0220     		movs	r0, #2
 713              	.LVL56:
 714 000a 7047     		bx	lr
 715              	.LVL57:
 716              	.L62:
1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 717              		.loc 1 1516 0 discriminator 2
 718 000c 10B5     		push	{r4, lr}
 719              	.LCFI9:
 720              		.cfi_def_cfa_offset 8
 721              		.cfi_offset 4, -8
 722              		.cfi_offset 14, -4
 723 000e 0446     		mov	r4, r0
 724              		.loc 1 1517 0 discriminator 2
 725 0010 0123     		movs	r3, #1
 726 0012 80F82832 		strb	r3, [r0, #552]
1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB)
1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_PCDEx_SetConnectionState(hpcd, 0U);
 727              		.loc 1 1519 0 discriminator 2
 728 0016 0021     		movs	r1, #0
 729 0018 FFF7FEFF 		bl	HAL_PCDEx_SetConnectionState
 730              	.LVL58:
1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB) */
1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DevDisconnect(hpcd->Instance);
 731              		.loc 1 1521 0 discriminator 2
 732 001c 2068     		ldr	r0, [r4]
 733 001e FFF7FEFF 		bl	USB_DevDisconnect
 734              	.LVL59:
1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 735              		.loc 1 1522 0 discriminator 2
 736 0022 0020     		movs	r0, #0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 41


 737 0024 84F82802 		strb	r0, [r4, #552]
1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 738              		.loc 1 1523 0 discriminator 2
 739 0028 10BD     		pop	{r4, pc}
 740              		.cfi_endproc
 741              	.LFE84:
 743              		.section	.text.HAL_PCD_SetAddress,"ax",%progbits
 744              		.align	1
 745              		.global	HAL_PCD_SetAddress
 746              		.syntax unified
 747              		.thumb
 748              		.thumb_func
 749              		.fpu softvfp
 751              	HAL_PCD_SetAddress:
 752              	.LFB85:
1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Set the USB Device address.
1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  address new device address
1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_SetAddress(PCD_HandleTypeDef *hpcd, uint8_t address)
1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 753              		.loc 1 1533 0
 754              		.cfi_startproc
 755              		@ args = 0, pretend = 0, frame = 0
 756              		@ frame_needed = 0, uses_anonymous_args = 0
 757              	.LVL60:
1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 758              		.loc 1 1534 0
 759 0000 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 760 0004 012B     		cmp	r3, #1
 761 0006 01D1     		bne	.L70
 762 0008 0220     		movs	r0, #2
 763              	.LVL61:
 764 000a 7047     		bx	lr
 765              	.LVL62:
 766              	.L70:
1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 767              		.loc 1 1533 0 discriminator 2
 768 000c 10B5     		push	{r4, lr}
 769              	.LCFI10:
 770              		.cfi_def_cfa_offset 8
 771              		.cfi_offset 4, -8
 772              		.cfi_offset 14, -4
 773 000e 0446     		mov	r4, r0
 774              		.loc 1 1534 0 discriminator 2
 775 0010 0123     		movs	r3, #1
 776 0012 80F82832 		strb	r3, [r0, #552]
1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->USB_Address = address;
 777              		.loc 1 1535 0 discriminator 2
 778 0016 80F82410 		strb	r1, [r0, #36]
1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_SetDevAddress(hpcd->Instance, address);
 779              		.loc 1 1536 0 discriminator 2
 780 001a 0068     		ldr	r0, [r0]
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 42


 781              	.LVL63:
 782 001c FFF7FEFF 		bl	USB_SetDevAddress
 783              	.LVL64:
1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 784              		.loc 1 1537 0 discriminator 2
 785 0020 0020     		movs	r0, #0
 786 0022 84F82802 		strb	r0, [r4, #552]
1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 787              		.loc 1 1538 0 discriminator 2
 788 0026 10BD     		pop	{r4, pc}
 789              		.cfi_endproc
 790              	.LFE85:
 792              		.section	.text.HAL_PCD_EP_Open,"ax",%progbits
 793              		.align	1
 794              		.global	HAL_PCD_EP_Open
 795              		.syntax unified
 796              		.thumb
 797              		.thumb_func
 798              		.fpu softvfp
 800              	HAL_PCD_EP_Open:
 801              	.LFB86:
1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Open and configure an endpoint.
1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_mps endpoint max packet size
1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_type endpoint type
1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
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_
1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 802              		.loc 1 1549 0
 803              		.cfi_startproc
 804              		@ args = 0, pretend = 0, frame = 0
 805              		@ frame_needed = 0, uses_anonymous_args = 0
 806              	.LVL65:
 807 0000 70B5     		push	{r4, r5, r6, lr}
 808              	.LCFI11:
 809              		.cfi_def_cfa_offset 16
 810              		.cfi_offset 4, -16
 811              		.cfi_offset 5, -12
 812              		.cfi_offset 6, -8
 813              		.cfi_offset 14, -4
 814              	.LVL66:
1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_StatusTypeDef  ret = HAL_OK;
1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((ep_addr & 0x80U) == 0x80U)
 815              		.loc 1 1553 0
 816 0002 11F0800F 		tst	r1, #128
 817 0006 19D1     		bne	.L79
1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK];
1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 43


1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK];
 818              		.loc 1 1560 0
 819 0008 01F00705 		and	r5, r1, #7
 820 000c 6D01     		lsls	r5, r5, #5
 821 000e 05F59474 		add	r4, r5, #296
 822 0012 0444     		add	r4, r4, r0
 823              	.LVL67:
1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 0U;
 824              		.loc 1 1561 0
 825 0014 0544     		add	r5, r5, r0
 826 0016 0026     		movs	r6, #0
 827 0018 85F82961 		strb	r6, [r5, #297]
 828              	.L73:
1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num = ep_addr & EP_ADDR_MSK;
 829              		.loc 1 1564 0
 830 001c 01F00701 		and	r1, r1, #7
 831              	.LVL68:
 832 0020 2170     		strb	r1, [r4]
1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->maxpacket = ep_mps;
 833              		.loc 1 1565 0
 834 0022 2261     		str	r2, [r4, #16]
1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->type = ep_type;
 835              		.loc 1 1566 0
 836 0024 E370     		strb	r3, [r4, #3]
1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (ep->is_in != 0U)
 837              		.loc 1 1568 0
 838 0026 6278     		ldrb	r2, [r4, #1]	@ zero_extendqisi2
 839              	.LVL69:
 840 0028 02B1     		cbz	r2, .L74
1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Assign a Tx FIFO */
1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->tx_fifo_num = ep->num;
 841              		.loc 1 1571 0
 842 002a E181     		strh	r1, [r4, #14]	@ movhi
 843              	.L74:
1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Set initial data PID. */
1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (ep_type == EP_TYPE_BULK)
 844              		.loc 1 1574 0
 845 002c 022B     		cmp	r3, #2
 846 002e 10D0     		beq	.L80
 847              	.LVL70:
 848              	.L75:
1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->data_pid_start = 0U;
1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 849              		.loc 1 1579 0
 850 0030 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 851 0034 012B     		cmp	r3, #1
 852 0036 0FD1     		bne	.L81
 853 0038 0220     		movs	r0, #2
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 44


 854              	.LVL71:
1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_ActivateEndpoint(hpcd->Instance, ep);
1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return ret;
1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 855              		.loc 1 1584 0
 856 003a 70BD     		pop	{r4, r5, r6, pc}
 857              	.LVL72:
 858              	.L79:
1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
 859              		.loc 1 1555 0
 860 003c 01F00705 		and	r5, r1, #7
 861 0040 6D01     		lsls	r5, r5, #5
 862 0042 05F12804 		add	r4, r5, #40
 863 0046 0444     		add	r4, r4, r0
 864              	.LVL73:
1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 865              		.loc 1 1556 0
 866 0048 0544     		add	r5, r5, r0
 867 004a 0126     		movs	r6, #1
 868 004c 85F82960 		strb	r6, [r5, #41]
 869 0050 E4E7     		b	.L73
 870              	.LVL74:
 871              	.L80:
1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 872              		.loc 1 1576 0
 873 0052 0023     		movs	r3, #0
 874              	.LVL75:
 875 0054 2371     		strb	r3, [r4, #4]
 876 0056 EBE7     		b	.L75
 877              	.L81:
 878 0058 0546     		mov	r5, r0
1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_ActivateEndpoint(hpcd->Instance, ep);
 879              		.loc 1 1579 0 discriminator 2
 880 005a 0123     		movs	r3, #1
 881 005c 80F82832 		strb	r3, [r0, #552]
 882              	.LVL76:
1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 883              		.loc 1 1580 0 discriminator 2
 884 0060 2146     		mov	r1, r4
 885 0062 0068     		ldr	r0, [r0]
 886              	.LVL77:
 887 0064 FFF7FEFF 		bl	USB_ActivateEndpoint
 888              	.LVL78:
1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 889              		.loc 1 1581 0 discriminator 2
 890 0068 0020     		movs	r0, #0
 891 006a 85F82802 		strb	r0, [r5, #552]
1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 892              		.loc 1 1583 0 discriminator 2
 893 006e 70BD     		pop	{r4, r5, r6, pc}
 894              		.cfi_endproc
 895              	.LFE86:
 897              		.section	.text.HAL_PCD_EP_Close,"ax",%progbits
 898              		.align	1
 899              		.global	HAL_PCD_EP_Close
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 45


 900              		.syntax unified
 901              		.thumb
 902              		.thumb_func
 903              		.fpu softvfp
 905              	HAL_PCD_EP_Close:
 906              	.LFB87:
1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Deactivate an endpoint.
1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr)
1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 907              		.loc 1 1593 0
 908              		.cfi_startproc
 909              		@ args = 0, pretend = 0, frame = 0
 910              		@ frame_needed = 0, uses_anonymous_args = 0
 911              	.LVL79:
 912 0000 10B5     		push	{r4, lr}
 913              	.LCFI12:
 914              		.cfi_def_cfa_offset 8
 915              		.cfi_offset 4, -8
 916              		.cfi_offset 14, -4
1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((ep_addr & 0x80U) == 0x80U)
 917              		.loc 1 1596 0
 918 0002 11F0800F 		tst	r1, #128
 919 0006 12D1     		bne	.L88
1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK];
1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK];
 920              		.loc 1 1603 0
 921 0008 01F00703 		and	r3, r1, #7
 922 000c 5B01     		lsls	r3, r3, #5
 923 000e 03F59472 		add	r2, r3, #296
 924 0012 0244     		add	r2, r2, r0
 925              	.LVL80:
1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 0U;
 926              		.loc 1 1604 0
 927 0014 0344     		add	r3, r3, r0
 928 0016 0024     		movs	r4, #0
 929 0018 83F82941 		strb	r4, [r3, #297]
 930              	.L84:
1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num   = ep_addr & EP_ADDR_MSK;
 931              		.loc 1 1606 0
 932 001c 01F00703 		and	r3, r1, #7
 933 0020 1370     		strb	r3, [r2]
1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 46


 934              		.loc 1 1608 0
 935 0022 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 936 0026 012B     		cmp	r3, #1
 937 0028 0CD1     		bne	.L89
 938 002a 0220     		movs	r0, #2
 939              	.LVL81:
1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DeactivateEndpoint(hpcd->Instance, ep);
1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 940              		.loc 1 1612 0
 941 002c 10BD     		pop	{r4, pc}
 942              	.LVL82:
 943              	.L88:
1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
 944              		.loc 1 1598 0
 945 002e 01F00703 		and	r3, r1, #7
 946 0032 5B01     		lsls	r3, r3, #5
 947 0034 03F12802 		add	r2, r3, #40
 948 0038 0244     		add	r2, r2, r0
 949              	.LVL83:
1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 950              		.loc 1 1599 0
 951 003a 0344     		add	r3, r3, r0
 952 003c 0124     		movs	r4, #1
 953 003e 83F82940 		strb	r4, [r3, #41]
 954 0042 EBE7     		b	.L84
 955              	.L89:
 956 0044 0446     		mov	r4, r0
1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_DeactivateEndpoint(hpcd->Instance, ep);
 957              		.loc 1 1608 0 discriminator 2
 958 0046 0123     		movs	r3, #1
 959 0048 80F82832 		strb	r3, [r0, #552]
1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 960              		.loc 1 1609 0 discriminator 2
 961 004c 1146     		mov	r1, r2
 962              	.LVL84:
 963 004e 0068     		ldr	r0, [r0]
 964              	.LVL85:
 965 0050 FFF7FEFF 		bl	USB_DeactivateEndpoint
 966              	.LVL86:
1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
 967              		.loc 1 1610 0 discriminator 2
 968 0054 0020     		movs	r0, #0
 969 0056 84F82802 		strb	r0, [r4, #552]
1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 970              		.loc 1 1611 0 discriminator 2
 971 005a 10BD     		pop	{r4, pc}
 972              		.cfi_endproc
 973              	.LFE87:
 975              		.section	.text.HAL_PCD_EP_Receive,"ax",%progbits
 976              		.align	1
 977              		.global	HAL_PCD_EP_Receive
 978              		.syntax unified
 979              		.thumb
 980              		.thumb_func
 981              		.fpu softvfp
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 47


 983              	HAL_PCD_EP_Receive:
 984              	.LFB88:
1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Receive an amount of data.
1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  pBuf pointer to the reception buffer
1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  len amount of data to be received
1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
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
1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 985              		.loc 1 1624 0
 986              		.cfi_startproc
 987              		@ args = 0, pretend = 0, frame = 0
 988              		@ frame_needed = 0, uses_anonymous_args = 0
 989              	.LVL87:
 990 0000 70B5     		push	{r4, r5, r6, lr}
 991              	.LCFI13:
 992              		.cfi_def_cfa_offset 16
 993              		.cfi_offset 4, -16
 994              		.cfi_offset 5, -12
 995              		.cfi_offset 6, -8
 996              		.cfi_offset 14, -4
 997 0002 01F00705 		and	r5, r1, #7
1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK];
 998              		.loc 1 1627 0
 999 0006 6C01     		lsls	r4, r5, #5
 1000 0008 04F59471 		add	r1, r4, #296
 1001              	.LVL88:
 1002 000c 0144     		add	r1, r1, r0
 1003              	.LVL89:
1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /*setup and start the Xfer */
1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->xfer_buff = pBuf;
 1004              		.loc 1 1630 0
 1005 000e 0444     		add	r4, r4, r0
 1006 0010 C4F83C21 		str	r2, [r4, #316]
1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->xfer_len = len;
 1007              		.loc 1 1631 0
 1008 0014 05F10A02 		add	r2, r5, #10
 1009              	.LVL90:
 1010 0018 5201     		lsls	r2, r2, #5
 1011 001a 8618     		adds	r6, r0, r2
 1012 001c 8350     		str	r3, [r0, r2]
 1013              	.LVL91:
1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->xfer_count = 0U;
 1014              		.loc 1 1632 0
 1015 001e 0023     		movs	r3, #0
 1016              	.LVL92:
 1017 0020 7360     		str	r3, [r6, #4]
1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->is_in = 0U;
 1018              		.loc 1 1633 0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 48


 1019 0022 84F82931 		strb	r3, [r4, #297]
 1020              	.LVL93:
1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num = ep_addr & EP_ADDR_MSK;
 1021              		.loc 1 1634 0
 1022 0026 84F82851 		strb	r5, [r4, #296]
1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((ep_addr & EP_ADDR_MSK) == 0U)
 1023              		.loc 1 1636 0
 1024 002a 25B1     		cbz	r5, .L94
1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_EP0StartXfer(hpcd->Instance, ep);
1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_EPStartXfer(hpcd->Instance, ep);
 1025              		.loc 1 1642 0
 1026 002c 0068     		ldr	r0, [r0]
 1027              	.LVL94:
 1028 002e FFF7FEFF 		bl	USB_EPStartXfer
 1029              	.LVL95:
 1030              	.L92:
1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 1031              		.loc 1 1646 0
 1032 0032 0020     		movs	r0, #0
 1033 0034 70BD     		pop	{r4, r5, r6, pc}
 1034              	.LVL96:
 1035              	.L94:
1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1036              		.loc 1 1638 0
 1037 0036 0068     		ldr	r0, [r0]
 1038              	.LVL97:
 1039 0038 FFF7FEFF 		bl	USB_EPStartXfer
 1040              	.LVL98:
 1041 003c F9E7     		b	.L92
 1042              		.cfi_endproc
 1043              	.LFE88:
 1045              		.section	.text.HAL_PCD_EP_GetRxCount,"ax",%progbits
 1046              		.align	1
 1047              		.global	HAL_PCD_EP_GetRxCount
 1048              		.syntax unified
 1049              		.thumb
 1050              		.thumb_func
 1051              		.fpu softvfp
 1053              	HAL_PCD_EP_GetRxCount:
 1054              	.LFB89:
1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Get Received Data Size
1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval Data Size
1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr)
1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 49


 1055              		.loc 1 1655 0
 1056              		.cfi_startproc
 1057              		@ args = 0, pretend = 0, frame = 0
 1058              		@ frame_needed = 0, uses_anonymous_args = 0
 1059              		@ link register save eliminated.
 1060              	.LVL99:
1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return hpcd->OUT_ep[ep_addr & EP_ADDR_MSK].xfer_count;
 1061              		.loc 1 1656 0
 1062 0000 01F00701 		and	r1, r1, #7
 1063              	.LVL100:
 1064 0004 0A31     		adds	r1, r1, #10
 1065 0006 00EB4111 		add	r1, r0, r1, lsl #5
1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 1066              		.loc 1 1657 0
 1067 000a 4868     		ldr	r0, [r1, #4]
 1068              	.LVL101:
 1069 000c 7047     		bx	lr
 1070              		.cfi_endproc
 1071              	.LFE89:
 1073              		.section	.text.HAL_PCD_EP_Transmit,"ax",%progbits
 1074              		.align	1
 1075              		.global	HAL_PCD_EP_Transmit
 1076              		.syntax unified
 1077              		.thumb
 1078              		.thumb_func
 1079              		.fpu softvfp
 1081              	HAL_PCD_EP_Transmit:
 1082              	.LFB90:
1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Send an amount of data
1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  pBuf pointer to the transmission buffer
1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  len amount of data to be sent
1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
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
1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 1083              		.loc 1 1667 0
 1084              		.cfi_startproc
 1085              		@ args = 0, pretend = 0, frame = 0
 1086              		@ frame_needed = 0, uses_anonymous_args = 0
 1087              	.LVL102:
 1088 0000 70B5     		push	{r4, r5, r6, lr}
 1089              	.LCFI14:
 1090              		.cfi_def_cfa_offset 16
 1091              		.cfi_offset 4, -16
 1092              		.cfi_offset 5, -12
 1093              		.cfi_offset 6, -8
 1094              		.cfi_offset 14, -4
 1095 0002 01F00705 		and	r5, r1, #7
1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK];
 1096              		.loc 1 1670 0
 1097 0006 6C01     		lsls	r4, r5, #5
 1098 0008 04F12801 		add	r1, r4, #40
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 50


 1099              	.LVL103:
 1100 000c 0144     		add	r1, r1, r0
 1101              	.LVL104:
1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /*setup and start the Xfer */
1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->xfer_buff = pBuf;
 1102              		.loc 1 1673 0
 1103 000e 0444     		add	r4, r4, r0
 1104 0010 E263     		str	r2, [r4, #60]
1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->xfer_len = len;
 1105              		.loc 1 1674 0
 1106 0012 AA1C     		adds	r2, r5, #2
 1107              	.LVL105:
 1108 0014 5201     		lsls	r2, r2, #5
 1109 0016 8618     		adds	r6, r0, r2
 1110 0018 8350     		str	r3, [r0, r2]
 1111              	.LVL106:
1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->xfer_count = 0U;
 1112              		.loc 1 1675 0
 1113 001a 0023     		movs	r3, #0
 1114              	.LVL107:
 1115 001c 7360     		str	r3, [r6, #4]
1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->is_in = 1U;
 1116              		.loc 1 1676 0
 1117 001e 0123     		movs	r3, #1
 1118 0020 84F82930 		strb	r3, [r4, #41]
 1119              	.LVL108:
1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num = ep_addr & EP_ADDR_MSK;
 1120              		.loc 1 1677 0
 1121 0024 84F82850 		strb	r5, [r4, #40]
1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((ep_addr & EP_ADDR_MSK) == 0U)
 1122              		.loc 1 1679 0
 1123 0028 25B1     		cbz	r5, .L100
1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_EP0StartXfer(hpcd->Instance, ep);
1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_EPStartXfer(hpcd->Instance, ep);
 1124              		.loc 1 1685 0
 1125 002a 0068     		ldr	r0, [r0]
 1126              	.LVL109:
 1127 002c FFF7FEFF 		bl	USB_EPStartXfer
 1128              	.LVL110:
 1129              	.L98:
1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 1130              		.loc 1 1689 0
 1131 0030 0020     		movs	r0, #0
 1132 0032 70BD     		pop	{r4, r5, r6, pc}
 1133              	.LVL111:
 1134              	.L100:
1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1135              		.loc 1 1681 0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 51


 1136 0034 0068     		ldr	r0, [r0]
 1137              	.LVL112:
 1138 0036 FFF7FEFF 		bl	USB_EPStartXfer
 1139              	.LVL113:
 1140 003a F9E7     		b	.L98
 1141              		.cfi_endproc
 1142              	.LFE90:
 1144              		.section	.text.PCD_EP_ISR_Handler,"ax",%progbits
 1145              		.align	1
 1146              		.syntax unified
 1147              		.thumb
 1148              		.thumb_func
 1149              		.fpu softvfp
 1151              	PCD_EP_ISR_Handler:
 1152              	.LFB97:
1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Set a STALL condition over an endpoint
1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr)
1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (((uint32_t)ep_addr & EP_ADDR_MSK) > hpcd->Init.dev_endpoints)
1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((0x80U & ep_addr) == 0x80U)
1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK];
1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->OUT_ep[ep_addr];
1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 0U;
1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->is_stall = 1U;
1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num = ep_addr & EP_ADDR_MSK;
1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_EPSetStall(hpcd->Instance, ep);
1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((ep_addr & EP_ADDR_MSK) == 0U)
1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_EP0_OutStart(hpcd->Instance, (uint8_t *)hpcd->Setup);
1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 52


1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Clear a STALL condition over in an endpoint
1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr)
1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (((uint32_t)ep_addr & 0x0FU) > hpcd->Init.dev_endpoints)
1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((0x80U & ep_addr) == 0x80U)
1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK];
1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK];
1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 0U;
1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->is_stall = 0U;
1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num = ep_addr & EP_ADDR_MSK;
1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_EPClearStall(hpcd->Instance, ep);
1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Flush an endpoint
1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  ep_addr endpoint address
1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_EP_Flush(PCD_HandleTypeDef *hpcd, uint8_t ep_addr)
1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((ep_addr & 0x80U) == 0x80U)
1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_FlushTxFifo(hpcd->Instance, (uint32_t)ep_addr & EP_ADDR_MSK);
1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_FlushRxFifo(hpcd->Instance);
1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 53


1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Activate remote wakeup signalling
1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_ActivateRemoteWakeup(PCD_HandleTypeDef *hpcd)
1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return (USB_ActivateRemoteWakeup(hpcd->Instance));
1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  De-activate remote wakeup signalling.
1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** HAL_StatusTypeDef HAL_PCD_DeActivateRemoteWakeup(PCD_HandleTypeDef *hpcd)
1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return (USB_DeActivateRemoteWakeup(hpcd->Instance));
1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @}
1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @defgroup PCD_Exported_Functions_Group4 Peripheral State functions
1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *  @brief   Peripheral State functions
1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  *
1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @verbatim
1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                       ##### Peripheral State functions #####
1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****  ===============================================================================
1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     [..]
1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     This subsection permits to get in run-time the status of the peripheral
1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     and the data flow.
1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** @endverbatim
1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Return the PCD handle state.
1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL state
1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd)
1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return hpcd->State;
1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @}
1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 54


1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @}
1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /* Private functions ---------------------------------------------------------*/
1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /** @addtogroup PCD_Private_Functions
1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @{
1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB_OTG_FS)
1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  Check FIFO for the next packet to be loaded.
1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  epnum endpoint number
1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_WriteEmptyTxFifo(PCD_HandleTypeDef *hpcd, uint32_t epnum)
1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t USBx_BASE = (uint32_t)USBx;
1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USB_OTG_EPTypeDef *ep;
1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t len;
1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t len32b;
1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t fifoemptymsk;
1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep = &hpcd->IN_ep[epnum];
1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (ep->xfer_count > ep->xfer_len)
1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     return HAL_ERROR;
1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   len = ep->xfer_len - ep->xfer_count;
1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (len > ep->maxpacket)
1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     len = ep->maxpacket;
1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   len32b = (len + 3U) / 4U;
1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) &&
1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****          (ep->xfer_count < ep->xfer_len) && (ep->xfer_len != 0U))
1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* Write the FIFO */
1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     len = ep->xfer_len - ep->xfer_count;
1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (len > ep->maxpacket)
1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       len = ep->maxpacket;
1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     len32b = (len + 3U) / 4U;
1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     (void)USB_WritePacket(USBx, ep->xfer_buff, (uint8_t)epnum, (uint16_t)len);
1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->xfer_buff  += len;
1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->xfer_count += len;
1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 55


1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (ep->xfer_len <= ep->xfer_count)
1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     fifoemptymsk = (uint32_t)(0x1UL << (epnum & EP_ADDR_MSK));
1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     USBx_DEVICE->DIEPEMPMSK &= ~fifoemptymsk;
1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  process EP OUT transfer complete interrupt.
1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  epnum endpoint number
1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutXfrComplete_int(PCD_HandleTypeDef *hpcd, uint32_t epnum)
1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t USBx_BASE = (uint32_t)USBx;
1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t gSNPSiD = *(__IO uint32_t *)(&USBx->CID + 0x1U);
1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t DoepintReg = USBx_OUTEP(epnum)->DOEPINT;
1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (gSNPSiD == USB_OTG_CORE_ID_310A)
1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* StupPktRcvd = 1 this is a setup packet */
1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX)
1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX);
1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     else
1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if ((DoepintReg & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR)
1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPSPR);
1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum);
1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum);
1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   else
1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum);
1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum);
1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 56


1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  process EP OUT setup packet received interrupt.
1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  epnum endpoint number
1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int(PCD_HandleTypeDef *hpcd, uint32_t epnum)
1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t USBx_BASE = (uint32_t)USBx;
1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t gSNPSiD = *(__IO uint32_t *)(&USBx->CID + 0x1U);
1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint32_t DoepintReg = USBx_OUTEP(epnum)->DOEPINT;
1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((gSNPSiD == USB_OTG_CORE_ID_310A) &&
1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX))
1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX);
1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* Inform the upper layer that a setup packet is available */
1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   hpcd->SetupStageCallback(hpcd);
1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   HAL_PCD_SetupStageCallback(hpcd);
1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* defined (USB_OTG_FS) */
1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if defined (USB)
1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** /**
1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @brief  This function handles PCD Endpoint interrupt request.
1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @param  hpcd PCD handle
1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   * @retval HAL status
1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   */
1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd)
1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** {
 1153              		.loc 1 1998 0
 1154              		.cfi_startproc
 1155              		@ args = 0, pretend = 0, frame = 0
 1156              		@ frame_needed = 0, uses_anonymous_args = 0
 1157              	.LVL114:
 1158 0000 F8B5     		push	{r3, r4, r5, r6, r7, lr}
 1159              	.LCFI15:
 1160              		.cfi_def_cfa_offset 24
 1161              		.cfi_offset 3, -24
 1162              		.cfi_offset 4, -20
 1163              		.cfi_offset 5, -16
 1164              		.cfi_offset 6, -12
 1165              		.cfi_offset 7, -8
 1166              		.cfi_offset 14, -4
 1167 0002 0446     		mov	r4, r0
1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint16_t count;
2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint16_t wIstr;
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 57


2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint16_t wEPVal;
2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   uint8_t epindex;
2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   /* stay in loop while pending interrupts */
2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   while ((hpcd->Instance->ISTR & USB_ISTR_CTR) != 0U)
 1168              		.loc 1 2006 0
 1169 0004 ACE0     		b	.L102
 1170              	.LVL115:
 1171              	.L125:
 1172              	.LBB2:
2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     wIstr = hpcd->Instance->ISTR;
2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* extract highest priority endpoint number */
2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     epindex = (uint8_t)(wIstr & USB_ISTR_EP_ID);
2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     if (epindex == 0U)
2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Decode and service control endpoint interrupt */
2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* DIR bit = origin of the interrupt */
2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if ((wIstr & USB_ISTR_DIR) == 0U)
2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* DIR = 0 */
2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* DIR = 0      => IN  int */
2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* DIR = 0 implies that (EP_CTR_TX = 1) always  */
2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         PCD_CLEAR_TX_EP_CTR(hpcd->Instance, PCD_ENDP0);
 1173              		.loc 1 2023 0
 1174 0006 0388     		ldrh	r3, [r0]
 1175              	.LVL116:
 1176 0008 9BB2     		uxth	r3, r3
 1177 000a 23F4E143 		bic	r3, r3, #28800
 1178 000e 23F07003 		bic	r3, r3, #112
 1179              	.LVL117:
 1180 0012 6FEA4343 		mvn	r3, r3, lsl #17
 1181              	.LVL118:
 1182 0016 6FEA5343 		mvn	r3, r3, lsr #17
 1183 001a 9BB2     		uxth	r3, r3
 1184 001c 0380     		strh	r3, [r0]	@ movhi
 1185              	.LVL119:
 1186              	.LBE2:
2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep = &hpcd->IN_ep[0];
2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_count = PCD_GET_EP_TX_CNT(hpcd->Instance, ep->num);
 1187              		.loc 1 2026 0
 1188 001e 2268     		ldr	r2, [r4]
 1189 0020 B2F85030 		ldrh	r3, [r2, #80]
 1190 0024 9BB2     		uxth	r3, r3
 1191 0026 94F82810 		ldrb	r1, [r4, #40]	@ zero_extendqisi2
 1192 002a 03EBC103 		add	r3, r3, r1, lsl #3
 1193 002e 0233     		adds	r3, r3, #2
 1194 0030 02EB4303 		add	r3, r2, r3, lsl #1
 1195 0034 B3F80034 		ldrh	r3, [r3, #1024]
 1196 0038 C3F30903 		ubfx	r3, r3, #0, #10
 1197 003c 6364     		str	r3, [r4, #68]
2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_buff += ep->xfer_count;
 1198              		.loc 1 2027 0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 58


 1199 003e E26B     		ldr	r2, [r4, #60]
 1200 0040 1344     		add	r3, r3, r2
 1201 0042 E363     		str	r3, [r4, #60]
2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* TX COMPLETE */
2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         hpcd->DataInStageCallback(hpcd, 0U);
2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         HAL_PCD_DataInStageCallback(hpcd, 0U);
 1202              		.loc 1 2033 0
 1203 0044 0021     		movs	r1, #0
 1204 0046 2046     		mov	r0, r4
 1205 0048 FFF7FEFF 		bl	HAL_PCD_DataInStageCallback
 1206              	.LVL120:
2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if ((hpcd->USB_Address > 0U) && (ep->xfer_len == 0U))
 1207              		.loc 1 2036 0
 1208 004c 94F82430 		ldrb	r3, [r4, #36]	@ zero_extendqisi2
 1209 0050 002B     		cmp	r3, #0
 1210 0052 00F08580 		beq	.L102
 1211              		.loc 1 2036 0 is_stmt 0 discriminator 1
 1212 0056 236C     		ldr	r3, [r4, #64]
 1213 0058 002B     		cmp	r3, #0
 1214 005a 40F08180 		bne	.L102
2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           hpcd->Instance->DADDR = ((uint16_t)hpcd->USB_Address | USB_DADDR_EF);
 1215              		.loc 1 2038 0 is_stmt 1
 1216 005e 2268     		ldr	r2, [r4]
 1217 0060 94F82430 		ldrb	r3, [r4, #36]	@ zero_extendqisi2
 1218 0064 43F08003 		orr	r3, r3, #128
 1219 0068 A2F84C30 		strh	r3, [r2, #76]	@ movhi
2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           hpcd->USB_Address = 0U;
 1220              		.loc 1 2039 0
 1221 006c 0023     		movs	r3, #0
 1222 006e 84F82430 		strb	r3, [r4, #36]
 1223 0072 75E0     		b	.L102
 1224              	.LVL121:
 1225              	.L126:
2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       else
2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* DIR = 1 */
2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* DIR = 1 & CTR_RX       => SETUP or OUT int */
2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* DIR = 1 & (CTR_TX | CTR_RX) => 2 int pending */
2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep = &hpcd->OUT_ep[0];
2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         wEPVal = PCD_GET_ENDPOINT(hpcd->Instance, PCD_ENDP0);
2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if ((wEPVal & USB_EP_SETUP) != 0U)
2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* Get SETUP Packet*/
2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           ep->xfer_count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num);
 1226              		.loc 1 2054 0
 1227 0074 B0F85030 		ldrh	r3, [r0, #80]
 1228              	.LVL122:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 59


 1229 0078 9BB2     		uxth	r3, r3
 1230 007a 94F82821 		ldrb	r2, [r4, #296]	@ zero_extendqisi2
 1231 007e 03EBC203 		add	r3, r3, r2, lsl #3
 1232 0082 0633     		adds	r3, r3, #6
 1233 0084 00EB4303 		add	r3, r0, r3, lsl #1
 1234 0088 B3F80034 		ldrh	r3, [r3, #1024]
 1235 008c C3F30903 		ubfx	r3, r3, #0, #10
 1236 0090 C4F84431 		str	r3, [r4, #324]
2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           USB_ReadPMA(hpcd->Instance, (uint8_t *)hpcd->Setup,
 1237              		.loc 1 2056 0
 1238 0094 B4F82E21 		ldrh	r2, [r4, #302]
 1239 0098 04F50C71 		add	r1, r4, #560
 1240 009c FFF7FEFF 		bl	USB_ReadPMA
 1241              	.LVL123:
 1242              	.LBB3:
2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                       ep->pmaadress, (uint16_t)ep->xfer_count);
2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* SETUP bit kept frozen while CTR_RX = 1*/
2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           PCD_CLEAR_RX_EP_CTR(hpcd->Instance, PCD_ENDP0);
 1243              		.loc 1 2060 0
 1244 00a0 2268     		ldr	r2, [r4]
 1245 00a2 1388     		ldrh	r3, [r2]
 1246 00a4 23F07003 		bic	r3, r3, #112
 1247 00a8 1B05     		lsls	r3, r3, #20
 1248 00aa 1B0D     		lsrs	r3, r3, #20
 1249              	.LVL124:
 1250 00ac 43F08003 		orr	r3, r3, #128
 1251              	.LVL125:
 1252 00b0 1380     		strh	r3, [r2]	@ movhi
 1253              	.LBE3:
2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* Process SETUP Packet*/
2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           hpcd->SetupStageCallback(hpcd);
2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           HAL_PCD_SetupStageCallback(hpcd);
 1254              		.loc 1 2066 0
 1255 00b2 2046     		mov	r0, r4
 1256 00b4 FFF7FEFF 		bl	HAL_PCD_SetupStageCallback
 1257              	.LVL126:
 1258 00b8 52E0     		b	.L102
 1259              	.LVL127:
 1260              	.L108:
 1261              	.LBB4:
 1262              	.LBB5:
2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         else if ((wEPVal & USB_EP_CTR_RX) != 0U)
2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           PCD_CLEAR_RX_EP_CTR(hpcd->Instance, PCD_ENDP0);
2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* Get Control Data OUT Packet*/
2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           ep->xfer_count = PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num);
2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((ep->xfer_count != 0U) && (ep->xfer_buff != 0U))
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 60


2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             USB_ReadPMA(hpcd->Instance, ep->xfer_buff,
2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                         ep->pmaadress, (uint16_t)ep->xfer_count);
2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             ep->xfer_buff += ep->xfer_count;
2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             /* Process Control Data OUT Packet*/
2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             hpcd->DataOutStageCallback(hpcd, 0U);
2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             HAL_PCD_DataOutStageCallback(hpcd, 0U);
2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           PCD_SET_EP_RX_CNT(hpcd->Instance, PCD_ENDP0, ep->maxpacket);
 1263              		.loc 1 2092 0 discriminator 2
 1264 00ba 3E2A     		cmp	r2, #62
 1265 00bc 09D8     		bhi	.L110
 1266              		.loc 1 2092 0 is_stmt 0 discriminator 3
 1267 00be 5108     		lsrs	r1, r2, #1
 1268              	.LVL128:
 1269 00c0 12F0010F 		tst	r2, #1
 1270 00c4 00D0     		beq	.L111
 1271              		.loc 1 2092 0 discriminator 5
 1272 00c6 0131     		adds	r1, r1, #1
 1273              	.LVL129:
 1274              	.L111:
 1275              		.loc 1 2092 0 discriminator 7
 1276 00c8 8A02     		lsls	r2, r1, #10
 1277 00ca 92B2     		uxth	r2, r2
 1278 00cc A3F80C24 		strh	r2, [r3, #1036]	@ movhi
 1279 00d0 A7E0     		b	.L109
 1280              	.LVL130:
 1281              	.L110:
 1282              		.loc 1 2092 0 discriminator 4
 1283 00d2 5109     		lsrs	r1, r2, #5
 1284              	.LVL131:
 1285 00d4 12F01F0F 		tst	r2, #31
 1286 00d8 00D1     		bne	.L112
 1287              		.loc 1 2092 0 discriminator 8
 1288 00da 0139     		subs	r1, r1, #1
 1289              	.LVL132:
 1290              	.L112:
 1291              		.loc 1 2092 0 discriminator 10
 1292 00dc 6FEAC162 		mvn	r2, r1, lsl #27
 1293 00e0 6FEA5242 		mvn	r2, r2, lsr #17
 1294 00e4 92B2     		uxth	r2, r2
 1295 00e6 A3F80C24 		strh	r2, [r3, #1036]	@ movhi
 1296 00ea 9AE0     		b	.L109
 1297              	.LVL133:
 1298              	.L103:
 1299              	.LBE5:
 1300              	.LBE4:
2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID);
2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 61


2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     else
2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* Decode and service non control endpoints interrupt  */
2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       /* process related endpoint register */
2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       wEPVal = PCD_GET_ENDPOINT(hpcd->Instance, epindex);
 1301              		.loc 1 2102 0 is_stmt 1
 1302 00ec 30F82560 		ldrh	r6, [r0, r5, lsl #2]
 1303 00f0 B6B2     		uxth	r6, r6
 1304              	.LVL134:
2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if ((wEPVal & USB_EP_CTR_RX) != 0U)
 1305              		.loc 1 2103 0
 1306 00f2 16F4004F 		tst	r6, #32768
 1307 00f6 40F0A380 		bne	.L123
 1308              	.LVL135:
 1309              	.L113:
2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* clear int flag */
2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         PCD_CLEAR_RX_EP_CTR(hpcd->Instance, epindex);
2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep = &hpcd->OUT_ep[epindex];
2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* OUT double Buffering*/
2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if (ep->doublebuffer == 0U)
2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           count = (uint16_t)PCD_GET_EP_RX_CNT(hpcd->Instance, ep->num);
2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if (count != 0U)
2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count);
2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         else
2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if ((PCD_GET_ENDPOINT(hpcd->Instance, ep->num) & USB_EP_DTOG_RX) != 0U)
2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             /*read from endpoint BUF0Addr buffer*/
2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             count = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num);
2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             if (count != 0U)
2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             {
2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****               USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr0, count);
2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             }
2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           else
2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             /*read from endpoint BUF1Addr buffer*/
2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             count = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num);
2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             if (count != 0U)
2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             {
2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****               USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaaddr1, count);
2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             }
2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* free EP OUT Buffer */
2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           PCD_FreeUserBuffer(hpcd->Instance, ep->num, 0U);
2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /*multi-packet on the NON control OUT endpoint*/
2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_count += count;
2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_buff += count;
2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 62


2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if ((ep->xfer_len == 0U) || (count < ep->maxpacket))
2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* RX COMPLETE */
2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           hpcd->DataOutStageCallback(hpcd, ep->num);
2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           HAL_PCD_DataOutStageCallback(hpcd, ep->num);
2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         else
2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           (void)HAL_PCD_EP_Receive(hpcd, ep->num, ep->xfer_buff, ep->xfer_len);
2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       } /* if((wEPVal & EP_CTR_RX) */
2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       if ((wEPVal & USB_EP_CTR_TX) != 0U)
 1310              		.loc 1 2161 0
 1311 00fa 16F0800F 		tst	r6, #128
 1312 00fe 2FD0     		beq	.L102
 1313              	.LVL136:
 1314              	.LBB7:
2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep = &hpcd->IN_ep[epindex];
2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* clear int flag */
2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         PCD_CLEAR_TX_EP_CTR(hpcd->Instance, epindex);
 1315              		.loc 1 2166 0
 1316 0100 2268     		ldr	r2, [r4]
 1317 0102 32F82530 		ldrh	r3, [r2, r5, lsl #2]
 1318 0106 9BB2     		uxth	r3, r3
 1319 0108 23F4E143 		bic	r3, r3, #28800
 1320 010c 23F07003 		bic	r3, r3, #112
 1321              	.LVL137:
 1322 0110 6FEA4343 		mvn	r3, r3, lsl #17
 1323              	.LVL138:
 1324 0114 6FEA5343 		mvn	r3, r3, lsr #17
 1325 0118 9BB2     		uxth	r3, r3
 1326 011a 22F82530 		strh	r3, [r2, r5, lsl #2]	@ movhi
 1327              	.LBE7:
2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /*multi-packet on the NON control IN endpoint*/
2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_count = PCD_GET_EP_TX_CNT(hpcd->Instance, ep->num);
 1328              		.loc 1 2169 0
 1329 011e 2268     		ldr	r2, [r4]
 1330 0120 B2F85030 		ldrh	r3, [r2, #80]
 1331 0124 9BB2     		uxth	r3, r3
 1332 0126 04EB4510 		add	r0, r4, r5, lsl #5
 1333 012a 90F82810 		ldrb	r1, [r0, #40]	@ zero_extendqisi2
 1334 012e 03EBC103 		add	r3, r3, r1, lsl #3
 1335 0132 0233     		adds	r3, r3, #2
 1336 0134 02EB4303 		add	r3, r2, r3, lsl #1
 1337 0138 B3F80024 		ldrh	r2, [r3, #1024]
 1338 013c C2F30902 		ubfx	r2, r2, #0, #10
 1339 0140 AB1C     		adds	r3, r5, #2
 1340 0142 5B01     		lsls	r3, r3, #5
 1341 0144 E118     		adds	r1, r4, r3
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 63


 1342 0146 4A60     		str	r2, [r1, #4]
2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_buff += ep->xfer_count;
 1343              		.loc 1 2170 0
 1344 0148 C16B     		ldr	r1, [r0, #60]
 1345 014a 0A44     		add	r2, r2, r1
 1346 014c C263     		str	r2, [r0, #60]
2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         /* Zero Length Packet? */
2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         if (ep->xfer_len == 0U)
 1347              		.loc 1 2173 0
 1348 014e E358     		ldr	r3, [r4, r3]
 1349 0150 002B     		cmp	r3, #0
 1350 0152 40F00F81 		bne	.L120
2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           /* TX COMPLETE */
2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           hpcd->DataInStageCallback(hpcd, ep->num);
2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #else
2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           HAL_PCD_DataInStageCallback(hpcd, ep->num);
 1351              		.loc 1 2179 0
 1352 0156 90F82810 		ldrb	r1, [r0, #40]	@ zero_extendqisi2
 1353 015a 2046     		mov	r0, r4
 1354 015c FFF7FEFF 		bl	HAL_PCD_DataInStageCallback
 1355              	.LVL139:
 1356              	.L102:
2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1357              		.loc 1 2006 0
 1358 0160 2068     		ldr	r0, [r4]
 1359 0162 B0F84430 		ldrh	r3, [r0, #68]
 1360 0166 13F4004F 		tst	r3, #32768
 1361 016a 00F00B81 		beq	.L124
2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     /* extract highest priority endpoint number */
 1362              		.loc 1 2008 0
 1363 016e B0F84430 		ldrh	r3, [r0, #68]
 1364 0172 9BB2     		uxth	r3, r3
 1365              	.LVL140:
2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 1366              		.loc 1 2012 0
 1367 0174 13F00F05 		ands	r5, r3, #15
 1368 0178 B8D1     		bne	.L103
2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       {
 1369              		.loc 1 2017 0
 1370 017a 13F0100F 		tst	r3, #16
 1371 017e 3FF442AF 		beq	.L125
 1372              	.LVL141:
2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1373              		.loc 1 2049 0
 1374 0182 0388     		ldrh	r3, [r0]
 1375              	.LVL142:
 1376 0184 9BB2     		uxth	r3, r3
 1377              	.LVL143:
2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
 1378              		.loc 1 2051 0
 1379 0186 13F4006F 		tst	r3, #2048
 1380 018a 7FF473AF 		bne	.L126
2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
 1381              		.loc 1 2070 0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 64


 1382 018e 13F4004F 		tst	r3, #32768
 1383 0192 E5D0     		beq	.L102
 1384              	.LBB8:
2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1385              		.loc 1 2072 0
 1386 0194 0388     		ldrh	r3, [r0]
 1387              	.LVL144:
 1388 0196 23F07003 		bic	r3, r3, #112
 1389 019a 1B05     		lsls	r3, r3, #20
 1390 019c 1B0D     		lsrs	r3, r3, #20
 1391              	.LVL145:
 1392 019e 43F08003 		orr	r3, r3, #128
 1393              	.LVL146:
 1394 01a2 0380     		strh	r3, [r0]	@ movhi
 1395              	.LBE8:
2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1396              		.loc 1 2075 0
 1397 01a4 2068     		ldr	r0, [r4]
 1398 01a6 B0F85030 		ldrh	r3, [r0, #80]
 1399 01aa 9BB2     		uxth	r3, r3
 1400 01ac 94F82821 		ldrb	r2, [r4, #296]	@ zero_extendqisi2
 1401 01b0 03EBC203 		add	r3, r3, r2, lsl #3
 1402 01b4 0633     		adds	r3, r3, #6
 1403 01b6 00EB4303 		add	r3, r0, r3, lsl #1
 1404 01ba B3F80034 		ldrh	r3, [r3, #1024]
 1405 01be C3F30903 		ubfx	r3, r3, #0, #10
 1406 01c2 C4F84431 		str	r3, [r4, #324]
2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 1407              		.loc 1 2077 0
 1408 01c6 8BB1     		cbz	r3, .L107
2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 1409              		.loc 1 2077 0 is_stmt 0 discriminator 1
 1410 01c8 D4F83C11 		ldr	r1, [r4, #316]
 1411 01cc 71B1     		cbz	r1, .L107
2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****                         ep->pmaadress, (uint16_t)ep->xfer_count);
 1412              		.loc 1 2079 0 is_stmt 1
 1413 01ce B4F82E21 		ldrh	r2, [r4, #302]
 1414 01d2 FFF7FEFF 		bl	USB_ReadPMA
 1415              	.LVL147:
2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1416              		.loc 1 2082 0
 1417 01d6 D4F84421 		ldr	r2, [r4, #324]
 1418 01da D4F83C31 		ldr	r3, [r4, #316]
 1419 01de 1344     		add	r3, r3, r2
 1420 01e0 C4F83C31 		str	r3, [r4, #316]
2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 1421              		.loc 1 2088 0
 1422 01e4 0021     		movs	r1, #0
 1423 01e6 2046     		mov	r0, r4
 1424 01e8 FFF7FEFF 		bl	HAL_PCD_DataOutStageCallback
 1425              	.LVL148:
 1426              	.L107:
 1427              	.LBB9:
2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID);
 1428              		.loc 1 2092 0
 1429 01ec 2268     		ldr	r2, [r4]
 1430              	.LVL149:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 65


 1431 01ee B2F85030 		ldrh	r3, [r2, #80]
 1432 01f2 9BB2     		uxth	r3, r3
 1433 01f4 1344     		add	r3, r3, r2
 1434              	.LVL150:
 1435              	.LBB6:
 1436 01f6 D4F83821 		ldr	r2, [r4, #312]
 1437 01fa 002A     		cmp	r2, #0
 1438 01fc 7FF45DAF 		bne	.L108
2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID);
 1439              		.loc 1 2092 0 is_stmt 0 discriminator 1
 1440 0200 B3F80C24 		ldrh	r2, [r3, #1036]
 1441 0204 92B2     		uxth	r2, r2
 1442 0206 22F4F842 		bic	r2, r2, #31744
 1443 020a 92B2     		uxth	r2, r2
 1444 020c A3F80C24 		strh	r2, [r3, #1036]	@ movhi
 1445 0210 B3F80C24 		ldrh	r2, [r3, #1036]
 1446 0214 6FEA4242 		mvn	r2, r2, lsl #17
 1447 0218 6FEA5242 		mvn	r2, r2, lsr #17
 1448 021c 92B2     		uxth	r2, r2
 1449 021e A3F80C24 		strh	r2, [r3, #1036]	@ movhi
 1450              	.L109:
 1451              	.LBE6:
 1452              	.LBE9:
 1453              	.LBB10:
2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
 1454              		.loc 1 2093 0 is_stmt 1
 1455 0222 2268     		ldr	r2, [r4]
 1456 0224 1388     		ldrh	r3, [r2]
 1457              	.LVL151:
 1458 0226 9BB2     		uxth	r3, r3
 1459 0228 23F48043 		bic	r3, r3, #16384
 1460 022c 23F07003 		bic	r3, r3, #112
 1461              	.LVL152:
 1462 0230 83F44053 		eor	r3, r3, #12288
 1463              	.LVL153:
 1464 0234 43F40043 		orr	r3, r3, #32768
 1465              	.LVL154:
 1466 0238 43F08003 		orr	r3, r3, #128
 1467 023c 1380     		strh	r3, [r2]	@ movhi
 1468 023e 8FE7     		b	.L102
 1469              	.LVL155:
 1470              	.L123:
 1471              	.LBE10:
 1472              	.LBB11:
2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep = &hpcd->OUT_ep[epindex];
 1473              		.loc 1 2106 0
 1474 0240 30F82530 		ldrh	r3, [r0, r5, lsl #2]
 1475              	.LVL156:
 1476 0244 23F07003 		bic	r3, r3, #112
 1477 0248 1B05     		lsls	r3, r3, #20
 1478 024a 1B0D     		lsrs	r3, r3, #20
 1479              	.LVL157:
 1480 024c 43F08003 		orr	r3, r3, #128
 1481              	.LVL158:
 1482 0250 20F82530 		strh	r3, [r0, r5, lsl #2]	@ movhi
 1483              	.LVL159:
 1484              	.LBE11:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 66


2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
 1485              		.loc 1 2110 0
 1486 0254 04EB4513 		add	r3, r4, r5, lsl #5
 1487 0258 93F83431 		ldrb	r3, [r3, #308]	@ zero_extendqisi2
 1488 025c DBB9     		cbnz	r3, .L114
2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           if (count != 0U)
 1489              		.loc 1 2112 0
 1490 025e 2068     		ldr	r0, [r4]
 1491 0260 B0F85030 		ldrh	r3, [r0, #80]
 1492 0264 9BB2     		uxth	r3, r3
 1493 0266 04EB4512 		add	r2, r4, r5, lsl #5
 1494 026a 92F82821 		ldrb	r2, [r2, #296]	@ zero_extendqisi2
 1495 026e 03EBC203 		add	r3, r3, r2, lsl #3
 1496 0272 0633     		adds	r3, r3, #6
 1497 0274 00EB4303 		add	r3, r0, r3, lsl #1
 1498 0278 B3F80074 		ldrh	r7, [r3, #1024]
 1499 027c C7F30907 		ubfx	r7, r7, #0, #10
 1500              	.LVL160:
2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 1501              		.loc 1 2113 0
 1502 0280 97B3     		cbz	r7, .L115
2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           }
 1503              		.loc 1 2115 0
 1504 0282 04EB4511 		add	r1, r4, r5, lsl #5
 1505 0286 3B46     		mov	r3, r7
 1506 0288 B1F82E21 		ldrh	r2, [r1, #302]
 1507 028c D1F83C11 		ldr	r1, [r1, #316]
 1508 0290 FFF7FEFF 		bl	USB_ReadPMA
 1509              	.LVL161:
 1510 0294 28E0     		b	.L115
 1511              	.LVL162:
 1512              	.L114:
2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           {
 1513              		.loc 1 2120 0
 1514 0296 2068     		ldr	r0, [r4]
 1515 0298 04EB4513 		add	r3, r4, r5, lsl #5
 1516 029c 93F82821 		ldrb	r2, [r3, #296]	@ zero_extendqisi2
 1517 02a0 30F82230 		ldrh	r3, [r0, r2, lsl #2]
 1518 02a4 13F4804F 		tst	r3, #16384
 1519 02a8 44D0     		beq	.L116
2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             if (count != 0U)
 1520              		.loc 1 2123 0
 1521 02aa B0F85030 		ldrh	r3, [r0, #80]
 1522 02ae 9BB2     		uxth	r3, r3
 1523 02b0 03EBC203 		add	r3, r3, r2, lsl #3
 1524 02b4 0233     		adds	r3, r3, #2
 1525 02b6 00EB4303 		add	r3, r0, r3, lsl #1
 1526 02ba B3F80074 		ldrh	r7, [r3, #1024]
 1527 02be C7F30907 		ubfx	r7, r7, #0, #10
 1528              	.LVL163:
2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             {
 1529              		.loc 1 2124 0
 1530 02c2 6FBB     		cbnz	r7, .L127
 1531              	.L117:
 1532              	.LBB12:
2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
 1533              		.loc 1 2139 0 discriminator 1
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 67


 1534 02c4 2268     		ldr	r2, [r4]
 1535 02c6 04EB4513 		add	r3, r4, r5, lsl #5
 1536 02ca 93F82811 		ldrb	r1, [r3, #296]	@ zero_extendqisi2
 1537 02ce 32F82130 		ldrh	r3, [r2, r1, lsl #2]
 1538 02d2 9BB2     		uxth	r3, r3
 1539 02d4 23F4E043 		bic	r3, r3, #28672
 1540 02d8 23F07003 		bic	r3, r3, #112
 1541              	.LVL164:
 1542 02dc 43F40043 		orr	r3, r3, #32768
 1543              	.LVL165:
 1544 02e0 43F0C003 		orr	r3, r3, #192
 1545 02e4 22F82130 		strh	r3, [r2, r1, lsl #2]	@ movhi
 1546              	.L115:
 1547              	.LBE12:
2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         ep->xfer_buff += count;
 1548              		.loc 1 2142 0
 1549 02e8 05F10A03 		add	r3, r5, #10
 1550 02ec 5B01     		lsls	r3, r3, #5
 1551 02ee E118     		adds	r1, r4, r3
 1552 02f0 4A68     		ldr	r2, [r1, #4]
 1553 02f2 3A44     		add	r2, r2, r7
 1554 02f4 4A60     		str	r2, [r1, #4]
2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1555              		.loc 1 2143 0
 1556 02f6 04EB4511 		add	r1, r4, r5, lsl #5
 1557 02fa D1F83C21 		ldr	r2, [r1, #316]
 1558 02fe 3A44     		add	r2, r2, r7
 1559 0300 C1F83C21 		str	r2, [r1, #316]
2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
 1560              		.loc 1 2145 0
 1561 0304 E358     		ldr	r3, [r4, r3]
 1562 0306 1BB1     		cbz	r3, .L118
2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
 1563              		.loc 1 2145 0 is_stmt 0 discriminator 1
 1564 0308 D1F83811 		ldr	r1, [r1, #312]
 1565 030c 8F42     		cmp	r7, r1
 1566 030e 29D2     		bcs	.L119
 1567              	.L118:
2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 1568              		.loc 1 2151 0 is_stmt 1
 1569 0310 04EB4513 		add	r3, r4, r5, lsl #5
 1570 0314 93F82811 		ldrb	r1, [r3, #296]	@ zero_extendqisi2
 1571 0318 2046     		mov	r0, r4
 1572 031a FFF7FEFF 		bl	HAL_PCD_DataOutStageCallback
 1573              	.LVL166:
 1574 031e ECE6     		b	.L113
 1575              	.L127:
2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             }
 1576              		.loc 1 2126 0
 1577 0320 04EB4511 		add	r1, r4, r5, lsl #5
 1578 0324 3B46     		mov	r3, r7
 1579 0326 B1F83021 		ldrh	r2, [r1, #304]
 1580 032a D1F83C11 		ldr	r1, [r1, #316]
 1581 032e FFF7FEFF 		bl	USB_ReadPMA
 1582              	.LVL167:
 1583 0332 C7E7     		b	.L117
 1584              	.LVL168:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 68


 1585              	.L116:
2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             if (count != 0U)
 1586              		.loc 1 2132 0
 1587 0334 B0F85030 		ldrh	r3, [r0, #80]
 1588 0338 9BB2     		uxth	r3, r3
 1589 033a 03EBC203 		add	r3, r3, r2, lsl #3
 1590 033e 0633     		adds	r3, r3, #6
 1591 0340 00EB4303 		add	r3, r0, r3, lsl #1
 1592 0344 B3F80074 		ldrh	r7, [r3, #1024]
 1593 0348 C7F30907 		ubfx	r7, r7, #0, #10
 1594              	.LVL169:
2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             {
 1595              		.loc 1 2133 0
 1596 034c 002F     		cmp	r7, #0
 1597 034e B9D0     		beq	.L117
2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****             }
 1598              		.loc 1 2135 0
 1599 0350 04EB4511 		add	r1, r4, r5, lsl #5
 1600 0354 3B46     		mov	r3, r7
 1601 0356 B1F83221 		ldrh	r2, [r1, #306]
 1602 035a D1F83C11 		ldr	r1, [r1, #316]
 1603 035e FFF7FEFF 		bl	USB_ReadPMA
 1604              	.LVL170:
 1605 0362 AFE7     		b	.L117
 1606              	.L119:
2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
 1607              		.loc 1 2156 0
 1608 0364 04EB4511 		add	r1, r4, r5, lsl #5
 1609 0368 91F82811 		ldrb	r1, [r1, #296]	@ zero_extendqisi2
 1610 036c 2046     		mov	r0, r4
 1611 036e FFF7FEFF 		bl	HAL_PCD_EP_Receive
 1612              	.LVL171:
 1613 0372 C2E6     		b	.L113
 1614              	.LVL172:
 1615              	.L120:
2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         else
2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         {
2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****           (void)HAL_PCD_EP_Transmit(hpcd, ep->num, ep->xfer_buff, ep->xfer_len);
 1616              		.loc 1 2184 0
 1617 0374 04EB4515 		add	r5, r4, r5, lsl #5
 1618              	.LVL173:
 1619 0378 95F82810 		ldrb	r1, [r5, #40]	@ zero_extendqisi2
 1620 037c 2046     		mov	r0, r4
 1621 037e FFF7FEFF 		bl	HAL_PCD_EP_Transmit
 1622              	.LVL174:
 1623 0382 EDE6     		b	.L102
 1624              	.LVL175:
 1625              	.L124:
2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****         }
2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****       }
2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return HAL_OK;
2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 1626              		.loc 1 2190 0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 69


 1627 0384 0020     		movs	r0, #0
 1628 0386 F8BD     		pop	{r3, r4, r5, r6, r7, pc}
 1629              		.cfi_endproc
 1630              	.LFE97:
 1632              		.section	.text.HAL_PCD_IRQHandler,"ax",%progbits
 1633              		.align	1
 1634              		.global	HAL_PCD_IRQHandler
 1635              		.syntax unified
 1636              		.thumb
 1637              		.thumb_func
 1638              		.fpu softvfp
 1640              	HAL_PCD_IRQHandler:
 1641              	.LFB71:
1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_CTR))
 1642              		.loc 1 1216 0
 1643              		.cfi_startproc
 1644              		@ args = 0, pretend = 0, frame = 0
 1645              		@ frame_needed = 0, uses_anonymous_args = 0
 1646              	.LVL176:
 1647 0000 10B5     		push	{r4, lr}
 1648              	.LCFI16:
 1649              		.cfi_def_cfa_offset 8
 1650              		.cfi_offset 4, -8
 1651              		.cfi_offset 14, -4
 1652 0002 0446     		mov	r4, r0
1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1653              		.loc 1 1217 0
 1654 0004 0068     		ldr	r0, [r0]
 1655              	.LVL177:
 1656 0006 FFF7FEFF 		bl	USB_ReadInterrupts
 1657              	.LVL178:
 1658 000a 10F4004F 		tst	r0, #32768
 1659 000e 45D1     		bne	.L139
 1660              	.L129:
1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1661              		.loc 1 1224 0
 1662 0010 2068     		ldr	r0, [r4]
 1663 0012 FFF7FEFF 		bl	USB_ReadInterrupts
 1664              	.LVL179:
 1665 0016 10F4806F 		tst	r0, #1024
 1666 001a 43D1     		bne	.L140
 1667              	.L130:
1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1668              		.loc 1 1237 0
 1669 001c 2068     		ldr	r0, [r4]
 1670 001e FFF7FEFF 		bl	USB_ReadInterrupts
 1671              	.LVL180:
 1672 0022 10F4804F 		tst	r0, #16384
 1673 0026 08D0     		beq	.L131
1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1674              		.loc 1 1239 0
 1675 0028 2268     		ldr	r2, [r4]
 1676 002a B2F84430 		ldrh	r3, [r2, #68]
 1677 002e 9BB2     		uxth	r3, r3
 1678 0030 23F48043 		bic	r3, r3, #16384
 1679 0034 9BB2     		uxth	r3, r3
 1680 0036 A2F84430 		strh	r3, [r2, #68]	@ movhi
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 70


 1681              	.L131:
1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1682              		.loc 1 1242 0
 1683 003a 2068     		ldr	r0, [r4]
 1684 003c FFF7FEFF 		bl	USB_ReadInterrupts
 1685              	.LVL181:
 1686 0040 10F4005F 		tst	r0, #8192
 1687 0044 08D0     		beq	.L132
1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1688              		.loc 1 1244 0
 1689 0046 2268     		ldr	r2, [r4]
 1690 0048 B2F84430 		ldrh	r3, [r2, #68]
 1691 004c 9BB2     		uxth	r3, r3
 1692 004e 23F40053 		bic	r3, r3, #8192
 1693 0052 9BB2     		uxth	r3, r3
 1694 0054 A2F84430 		strh	r3, [r2, #68]	@ movhi
 1695              	.L132:
1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1696              		.loc 1 1247 0
 1697 0058 2068     		ldr	r0, [r4]
 1698 005a FFF7FEFF 		bl	USB_ReadInterrupts
 1699              	.LVL182:
 1700 005e 10F4805F 		tst	r0, #4096
 1701 0062 30D1     		bne	.L141
 1702              	.L133:
1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1703              		.loc 1 1261 0
 1704 0064 2068     		ldr	r0, [r4]
 1705 0066 FFF7FEFF 		bl	USB_ReadInterrupts
 1706              	.LVL183:
 1707 006a 10F4006F 		tst	r0, #2048
 1708 006e 49D1     		bne	.L142
 1709              	.L134:
1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1710              		.loc 1 1284 0
 1711 0070 2068     		ldr	r0, [r4]
 1712 0072 FFF7FEFF 		bl	USB_ReadInterrupts
 1713              	.LVL184:
 1714 0076 10F4007F 		tst	r0, #512
 1715 007a 6FD1     		bne	.L143
 1716              	.L136:
1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1717              		.loc 1 1295 0
 1718 007c 2068     		ldr	r0, [r4]
 1719 007e FFF7FEFF 		bl	USB_ReadInterrupts
 1720              	.LVL185:
 1721 0082 10F4807F 		tst	r0, #256
 1722 0086 08D0     		beq	.L128
1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1723              		.loc 1 1298 0
 1724 0088 2268     		ldr	r2, [r4]
 1725 008a B2F84430 		ldrh	r3, [r2, #68]
 1726 008e 9BB2     		uxth	r3, r3
 1727 0090 23F48073 		bic	r3, r3, #256
 1728 0094 9BB2     		uxth	r3, r3
 1729 0096 A2F84430 		strh	r3, [r2, #68]	@ movhi
 1730              	.L128:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 71


 1731 009a 10BD     		pop	{r4, pc}
 1732              	.LVL186:
 1733              	.L139:
1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1734              		.loc 1 1221 0
 1735 009c 2046     		mov	r0, r4
 1736 009e FFF7FEFF 		bl	PCD_EP_ISR_Handler
 1737              	.LVL187:
 1738 00a2 B5E7     		b	.L129
 1739              	.L140:
1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1740              		.loc 1 1226 0
 1741 00a4 2268     		ldr	r2, [r4]
 1742 00a6 B2F84430 		ldrh	r3, [r2, #68]
 1743 00aa 9BB2     		uxth	r3, r3
 1744 00ac 23F48063 		bic	r3, r3, #1024
 1745 00b0 9BB2     		uxth	r3, r3
 1746 00b2 A2F84430 		strh	r3, [r2, #68]	@ movhi
1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 1747              		.loc 1 1231 0
 1748 00b6 2046     		mov	r0, r4
 1749 00b8 FFF7FEFF 		bl	HAL_PCD_ResetCallback
 1750              	.LVL188:
1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1751              		.loc 1 1234 0
 1752 00bc 0021     		movs	r1, #0
 1753 00be 2046     		mov	r0, r4
 1754 00c0 FFF7FEFF 		bl	HAL_PCD_SetAddress
 1755              	.LVL189:
 1756 00c4 AAE7     		b	.L130
 1757              	.L141:
1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_FSUSP);
 1758              		.loc 1 1249 0
 1759 00c6 2268     		ldr	r2, [r4]
 1760 00c8 B2F84030 		ldrh	r3, [r2, #64]
 1761 00cc 9BB2     		uxth	r3, r3
 1762 00ce 23F00403 		bic	r3, r3, #4
 1763 00d2 9BB2     		uxth	r3, r3
 1764 00d4 A2F84030 		strh	r3, [r2, #64]	@ movhi
1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1765              		.loc 1 1250 0
 1766 00d8 2268     		ldr	r2, [r4]
 1767 00da B2F84030 		ldrh	r3, [r2, #64]
 1768 00de 9BB2     		uxth	r3, r3
 1769 00e0 23F00803 		bic	r3, r3, #8
 1770 00e4 9BB2     		uxth	r3, r3
 1771 00e6 A2F84030 		strh	r3, [r2, #64]	@ movhi
1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 1772              		.loc 1 1255 0
 1773 00ea 2046     		mov	r0, r4
 1774 00ec FFF7FEFF 		bl	HAL_PCD_ResumeCallback
 1775              	.LVL190:
1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1776              		.loc 1 1258 0
 1777 00f0 2268     		ldr	r2, [r4]
 1778 00f2 B2F84430 		ldrh	r3, [r2, #68]
 1779 00f6 9BB2     		uxth	r3, r3
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 72


 1780 00f8 23F48053 		bic	r3, r3, #4096
 1781 00fc 9BB2     		uxth	r3, r3
 1782 00fe A2F84430 		strh	r3, [r2, #68]	@ movhi
 1783 0102 AFE7     		b	.L133
 1784              	.L142:
1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1785              		.loc 1 1264 0
 1786 0104 2268     		ldr	r2, [r4]
 1787 0106 B2F84030 		ldrh	r3, [r2, #64]
 1788 010a 9BB2     		uxth	r3, r3
 1789 010c 43F00803 		orr	r3, r3, #8
 1790 0110 A2F84030 		strh	r3, [r2, #64]	@ movhi
1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1791              		.loc 1 1267 0
 1792 0114 2268     		ldr	r2, [r4]
 1793 0116 B2F84430 		ldrh	r3, [r2, #68]
 1794 011a 9BB2     		uxth	r3, r3
 1795 011c 23F40063 		bic	r3, r3, #2048
 1796 0120 9BB2     		uxth	r3, r3
 1797 0122 A2F84430 		strh	r3, [r2, #68]	@ movhi
1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1798              		.loc 1 1269 0
 1799 0126 2268     		ldr	r2, [r4]
 1800 0128 B2F84030 		ldrh	r3, [r2, #64]
 1801 012c 9BB2     		uxth	r3, r3
 1802 012e 43F00403 		orr	r3, r3, #4
 1803 0132 A2F84030 		strh	r3, [r2, #64]	@ movhi
1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     {
 1804              		.loc 1 1272 0
 1805 0136 2068     		ldr	r0, [r4]
 1806 0138 FFF7FEFF 		bl	USB_ReadInterrupts
 1807              	.LVL191:
 1808 013c 10F4805F 		tst	r0, #4096
 1809 0140 08D0     		beq	.L135
1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     }
 1810              		.loc 1 1274 0
 1811 0142 2268     		ldr	r2, [r4]
 1812 0144 B2F84430 		ldrh	r3, [r2, #68]
 1813 0148 9BB2     		uxth	r3, r3
 1814 014a 23F48053 		bic	r3, r3, #4096
 1815 014e 9BB2     		uxth	r3, r3
 1816 0150 A2F84430 		strh	r3, [r2, #68]	@ movhi
 1817              	.L135:
1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 1818              		.loc 1 1280 0
 1819 0154 2046     		mov	r0, r4
 1820 0156 FFF7FEFF 		bl	HAL_PCD_SuspendCallback
 1821              	.LVL192:
 1822 015a 89E7     		b	.L134
 1823              	.L143:
1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1824              		.loc 1 1286 0
 1825 015c 2268     		ldr	r2, [r4]
 1826 015e B2F84430 		ldrh	r3, [r2, #68]
 1827 0162 9BB2     		uxth	r3, r3
 1828 0164 23F40073 		bic	r3, r3, #512
 1829 0168 9BB2     		uxth	r3, r3
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 73


 1830 016a A2F84430 		strh	r3, [r2, #68]	@ movhi
1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
 1831              		.loc 1 1291 0
 1832 016e 2046     		mov	r0, r4
 1833 0170 FFF7FEFF 		bl	HAL_PCD_SOFCallback
 1834              	.LVL193:
 1835 0174 82E7     		b	.L136
 1836              		.cfi_endproc
 1837              	.LFE71:
 1839              		.section	.text.HAL_PCD_EP_SetStall,"ax",%progbits
 1840              		.align	1
 1841              		.global	HAL_PCD_EP_SetStall
 1842              		.syntax unified
 1843              		.thumb
 1844              		.thumb_func
 1845              		.fpu softvfp
 1847              	HAL_PCD_EP_SetStall:
 1848              	.LFB91:
1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
 1849              		.loc 1 1698 0
 1850              		.cfi_startproc
 1851              		@ args = 0, pretend = 0, frame = 0
 1852              		@ frame_needed = 0, uses_anonymous_args = 0
 1853              	.LVL194:
 1854 0000 38B5     		push	{r3, r4, r5, lr}
 1855              	.LCFI17:
 1856              		.cfi_def_cfa_offset 16
 1857              		.cfi_offset 3, -16
 1858              		.cfi_offset 4, -12
 1859              		.cfi_offset 5, -8
 1860              		.cfi_offset 14, -4
 1861 0002 01F00705 		and	r5, r1, #7
1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1862              		.loc 1 1701 0
 1863 0006 4368     		ldr	r3, [r0, #4]
 1864 0008 9D42     		cmp	r5, r3
 1865 000a 2ED8     		bhi	.L149
1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1866              		.loc 1 1706 0
 1867 000c 11F0800F 		tst	r1, #128
 1868 0010 10D1     		bne	.L152
1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 0U;
 1869              		.loc 1 1713 0
 1870 0012 4B01     		lsls	r3, r1, #5
 1871 0014 03F59471 		add	r1, r3, #296
 1872              	.LVL195:
 1873 0018 0144     		add	r1, r1, r0
 1874              	.LVL196:
1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1875              		.loc 1 1714 0
 1876 001a 0344     		add	r3, r3, r0
 1877 001c 0022     		movs	r2, #0
 1878 001e 83F82921 		strb	r2, [r3, #297]
 1879              	.L147:
1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num = ep_addr & EP_ADDR_MSK;
 1880              		.loc 1 1717 0
 1881 0022 0123     		movs	r3, #1
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 74


 1882 0024 8B70     		strb	r3, [r1, #2]
1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1883              		.loc 1 1718 0
 1884 0026 0D70     		strb	r5, [r1]
1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1885              		.loc 1 1720 0
 1886 0028 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 1887 002c 012B     		cmp	r3, #1
 1888 002e 0AD1     		bne	.L153
 1889 0030 0220     		movs	r0, #2
 1890              	.LVL197:
1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1891              		.loc 1 1730 0
 1892 0032 38BD     		pop	{r3, r4, r5, pc}
 1893              	.LVL198:
 1894              	.L152:
1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
 1895              		.loc 1 1708 0
 1896 0034 6B01     		lsls	r3, r5, #5
 1897 0036 03F12801 		add	r1, r3, #40
 1898              	.LVL199:
 1899 003a 0144     		add	r1, r1, r0
 1900              	.LVL200:
1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1901              		.loc 1 1709 0
 1902 003c 0344     		add	r3, r3, r0
 1903 003e 0122     		movs	r2, #1
 1904 0040 83F82920 		strb	r2, [r3, #41]
 1905 0044 EDE7     		b	.L147
 1906              	.L153:
 1907 0046 0446     		mov	r4, r0
1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1908              		.loc 1 1720 0 discriminator 2
 1909 0048 0123     		movs	r3, #1
 1910 004a 80F82832 		strb	r3, [r0, #552]
1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   if ((ep_addr & EP_ADDR_MSK) == 0U)
 1911              		.loc 1 1722 0 discriminator 2
 1912 004e 0068     		ldr	r0, [r0]
 1913              	.LVL201:
 1914 0050 FFF7FEFF 		bl	USB_EPSetStall
 1915              	.LVL202:
1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1916              		.loc 1 1723 0 discriminator 2
 1917 0054 1DB1     		cbz	r5, .L154
 1918              	.L148:
1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1919              		.loc 1 1727 0
 1920 0056 0020     		movs	r0, #0
 1921 0058 84F82802 		strb	r0, [r4, #552]
1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 1922              		.loc 1 1729 0
 1923 005c 38BD     		pop	{r3, r4, r5, pc}
 1924              	.LVL203:
 1925              	.L154:
1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1926              		.loc 1 1725 0
 1927 005e 04F50C71 		add	r1, r4, #560
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 75


 1928 0062 2068     		ldr	r0, [r4]
 1929 0064 FFF7FEFF 		bl	USB_EP0_OutStart
 1930              	.LVL204:
 1931 0068 F5E7     		b	.L148
 1932              	.LVL205:
 1933              	.L149:
1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1934              		.loc 1 1703 0
 1935 006a 0120     		movs	r0, #1
 1936              	.LVL206:
 1937 006c 38BD     		pop	{r3, r4, r5, pc}
 1938              		.cfi_endproc
 1939              	.LFE91:
 1941              		.section	.text.HAL_PCD_EP_ClrStall,"ax",%progbits
 1942              		.align	1
 1943              		.global	HAL_PCD_EP_ClrStall
 1944              		.syntax unified
 1945              		.thumb
 1946              		.thumb_func
 1947              		.fpu softvfp
 1949              	HAL_PCD_EP_ClrStall:
 1950              	.LFB92:
1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
 1951              		.loc 1 1739 0
 1952              		.cfi_startproc
 1953              		@ args = 0, pretend = 0, frame = 0
 1954              		@ frame_needed = 0, uses_anonymous_args = 0
 1955              	.LVL207:
1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1956              		.loc 1 1742 0
 1957 0000 01F00F02 		and	r2, r1, #15
 1958 0004 4368     		ldr	r3, [r0, #4]
 1959 0006 9A42     		cmp	r2, r3
 1960 0008 2FD8     		bhi	.L159
1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   PCD_EPTypeDef *ep;
 1961              		.loc 1 1739 0
 1962 000a 10B5     		push	{r4, lr}
 1963              	.LCFI18:
 1964              		.cfi_def_cfa_offset 8
 1965              		.cfi_offset 4, -8
 1966              		.cfi_offset 14, -4
1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 1967              		.loc 1 1747 0
 1968 000c 11F0800F 		tst	r1, #128
 1969 0010 14D1     		bne	.L165
1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 0U;
 1970              		.loc 1 1754 0
 1971 0012 01F00703 		and	r3, r1, #7
 1972 0016 5B01     		lsls	r3, r3, #5
 1973 0018 03F59472 		add	r2, r3, #296
 1974 001c 0244     		add	r2, r2, r0
 1975              	.LVL208:
1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 1976              		.loc 1 1755 0
 1977 001e 0344     		add	r3, r3, r0
 1978 0020 0024     		movs	r4, #0
 1979 0022 83F82941 		strb	r4, [r3, #297]
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 76


 1980              	.L158:
1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   ep->num = ep_addr & EP_ADDR_MSK;
 1981              		.loc 1 1758 0
 1982 0026 0023     		movs	r3, #0
 1983 0028 9370     		strb	r3, [r2, #2]
1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1984              		.loc 1 1759 0
 1985 002a 01F00703 		and	r3, r1, #7
 1986 002e 1370     		strb	r3, [r2]
1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_EPClearStall(hpcd->Instance, ep);
 1987              		.loc 1 1761 0
 1988 0030 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 1989 0034 012B     		cmp	r3, #1
 1990 0036 0CD1     		bne	.L166
 1991 0038 0220     		movs	r0, #2
 1992              	.LVL209:
1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 1993              		.loc 1 1766 0
 1994 003a 10BD     		pop	{r4, pc}
 1995              	.LVL210:
 1996              	.L165:
1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****     ep->is_in = 1U;
 1997              		.loc 1 1749 0
 1998 003c 01F00703 		and	r3, r1, #7
 1999 0040 5B01     		lsls	r3, r3, #5
 2000 0042 03F12802 		add	r2, r3, #40
 2001 0046 0244     		add	r2, r2, r0
 2002              	.LVL211:
1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 2003              		.loc 1 1750 0
 2004 0048 0344     		add	r3, r3, r0
 2005 004a 0124     		movs	r4, #1
 2006 004c 83F82940 		strb	r4, [r3, #41]
 2007 0050 E9E7     		b	.L158
 2008              	.L166:
 2009 0052 0446     		mov	r4, r0
1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   (void)USB_EPClearStall(hpcd->Instance, ep);
 2010              		.loc 1 1761 0 discriminator 2
 2011 0054 0123     		movs	r3, #1
 2012 0056 80F82832 		strb	r3, [r0, #552]
1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_UNLOCK(hpcd);
 2013              		.loc 1 1762 0 discriminator 2
 2014 005a 1146     		mov	r1, r2
 2015              	.LVL212:
 2016 005c 0068     		ldr	r0, [r0]
 2017              	.LVL213:
 2018 005e FFF7FEFF 		bl	USB_EPClearStall
 2019              	.LVL214:
1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2020              		.loc 1 1763 0 discriminator 2
 2021 0062 0020     		movs	r0, #0
 2022 0064 84F82802 		strb	r0, [r4, #552]
1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 2023              		.loc 1 1765 0 discriminator 2
 2024 0068 10BD     		pop	{r4, pc}
 2025              	.LVL215:
 2026              	.L159:
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 77


 2027              	.LCFI19:
 2028              		.cfi_def_cfa_offset 0
 2029              		.cfi_restore 4
 2030              		.cfi_restore 14
1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 2031              		.loc 1 1744 0
 2032 006a 0120     		movs	r0, #1
 2033              	.LVL216:
 2034 006c 7047     		bx	lr
 2035              		.cfi_endproc
 2036              	.LFE92:
 2038              		.section	.text.HAL_PCD_EP_Flush,"ax",%progbits
 2039              		.align	1
 2040              		.global	HAL_PCD_EP_Flush
 2041              		.syntax unified
 2042              		.thumb
 2043              		.thumb_func
 2044              		.fpu softvfp
 2046              	HAL_PCD_EP_Flush:
 2047              	.LFB93:
1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 2048              		.loc 1 1775 0
 2049              		.cfi_startproc
 2050              		@ args = 0, pretend = 0, frame = 0
 2051              		@ frame_needed = 0, uses_anonymous_args = 0
 2052              	.LVL217:
1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2053              		.loc 1 1776 0
 2054 0000 90F82832 		ldrb	r3, [r0, #552]	@ zero_extendqisi2
 2055 0004 012B     		cmp	r3, #1
 2056 0006 14D0     		beq	.L171
1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   __HAL_LOCK(hpcd);
 2057              		.loc 1 1775 0 discriminator 2
 2058 0008 10B5     		push	{r4, lr}
 2059              	.LCFI20:
 2060              		.cfi_def_cfa_offset 8
 2061              		.cfi_offset 4, -8
 2062              		.cfi_offset 14, -4
 2063 000a 0446     		mov	r4, r0
1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2064              		.loc 1 1776 0 discriminator 2
 2065 000c 0123     		movs	r3, #1
 2066 000e 80F82832 		strb	r3, [r0, #552]
1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   {
 2067              		.loc 1 1778 0 discriminator 2
 2068 0012 11F0800F 		tst	r1, #128
 2069 0016 06D1     		bne	.L176
1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 2070              		.loc 1 1784 0
 2071 0018 0068     		ldr	r0, [r0]
 2072              	.LVL218:
 2073 001a FFF7FEFF 		bl	USB_FlushRxFifo
 2074              	.LVL219:
 2075              	.L170:
1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2076              		.loc 1 1787 0
 2077 001e 0020     		movs	r0, #0
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 78


 2078 0020 84F82802 		strb	r0, [r4, #552]
1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 2079              		.loc 1 1789 0
 2080 0024 10BD     		pop	{r4, pc}
 2081              	.LVL220:
 2082              	.L176:
1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   }
 2083              		.loc 1 1780 0
 2084 0026 01F00701 		and	r1, r1, #7
 2085              	.LVL221:
 2086 002a 0068     		ldr	r0, [r0]
 2087              	.LVL222:
 2088 002c FFF7FEFF 		bl	USB_FlushTxFifo
 2089              	.LVL223:
 2090 0030 F5E7     		b	.L170
 2091              	.LVL224:
 2092              	.L171:
 2093              	.LCFI21:
 2094              		.cfi_def_cfa_offset 0
 2095              		.cfi_restore 4
 2096              		.cfi_restore 14
1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2097              		.loc 1 1776 0
 2098 0032 0220     		movs	r0, #2
 2099              	.LVL225:
 2100 0034 7047     		bx	lr
 2101              		.cfi_endproc
 2102              	.LFE93:
 2104              		.section	.text.HAL_PCD_ActivateRemoteWakeup,"ax",%progbits
 2105              		.align	1
 2106              		.global	HAL_PCD_ActivateRemoteWakeup
 2107              		.syntax unified
 2108              		.thumb
 2109              		.thumb_func
 2110              		.fpu softvfp
 2112              	HAL_PCD_ActivateRemoteWakeup:
 2113              	.LFB94:
1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return (USB_ActivateRemoteWakeup(hpcd->Instance));
 2114              		.loc 1 1798 0
 2115              		.cfi_startproc
 2116              		@ args = 0, pretend = 0, frame = 0
 2117              		@ frame_needed = 0, uses_anonymous_args = 0
 2118              	.LVL226:
 2119 0000 08B5     		push	{r3, lr}
 2120              	.LCFI22:
 2121              		.cfi_def_cfa_offset 8
 2122              		.cfi_offset 3, -8
 2123              		.cfi_offset 14, -4
1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 2124              		.loc 1 1799 0
 2125 0002 0068     		ldr	r0, [r0]
 2126              	.LVL227:
 2127 0004 FFF7FEFF 		bl	USB_ActivateRemoteWakeup
 2128              	.LVL228:
1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2129              		.loc 1 1800 0
 2130 0008 08BD     		pop	{r3, pc}
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 79


 2131              		.cfi_endproc
 2132              	.LFE94:
 2134              		.section	.text.HAL_PCD_DeActivateRemoteWakeup,"ax",%progbits
 2135              		.align	1
 2136              		.global	HAL_PCD_DeActivateRemoteWakeup
 2137              		.syntax unified
 2138              		.thumb
 2139              		.thumb_func
 2140              		.fpu softvfp
 2142              	HAL_PCD_DeActivateRemoteWakeup:
 2143              	.LFB95:
1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return (USB_DeActivateRemoteWakeup(hpcd->Instance));
 2144              		.loc 1 1808 0
 2145              		.cfi_startproc
 2146              		@ args = 0, pretend = 0, frame = 0
 2147              		@ frame_needed = 0, uses_anonymous_args = 0
 2148              	.LVL229:
 2149 0000 08B5     		push	{r3, lr}
 2150              	.LCFI23:
 2151              		.cfi_def_cfa_offset 8
 2152              		.cfi_offset 3, -8
 2153              		.cfi_offset 14, -4
1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 2154              		.loc 1 1809 0
 2155 0002 0068     		ldr	r0, [r0]
 2156              	.LVL230:
 2157 0004 FFF7FEFF 		bl	USB_DeActivateRemoteWakeup
 2158              	.LVL231:
1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2159              		.loc 1 1810 0
 2160 0008 08BD     		pop	{r3, pc}
 2161              		.cfi_endproc
 2162              	.LFE95:
 2164              		.section	.text.HAL_PCD_GetState,"ax",%progbits
 2165              		.align	1
 2166              		.global	HAL_PCD_GetState
 2167              		.syntax unified
 2168              		.thumb
 2169              		.thumb_func
 2170              		.fpu softvfp
 2172              	HAL_PCD_GetState:
 2173              	.LFB96:
1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c ****   return hpcd->State;
 2174              		.loc 1 1837 0
 2175              		.cfi_startproc
 2176              		@ args = 0, pretend = 0, frame = 0
 2177              		@ frame_needed = 0, uses_anonymous_args = 0
 2178              		@ link register save eliminated.
 2179              	.LVL232:
1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** }
 2180              		.loc 1 1838 0
 2181 0000 90F82902 		ldrb	r0, [r0, #553]	@ zero_extendqisi2
 2182              	.LVL233:
1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c **** 
 2183              		.loc 1 1839 0
 2184 0004 7047     		bx	lr
 2185              		.cfi_endproc
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 80


 2186              	.LFE96:
 2188              		.text
 2189              	.Letext0:
 2190              		.file 2 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\include
 2191              		.file 3 "c:\\program files (x86)\\gnu tools arm embedded\\6 2017-q2-update\\arm-none-eabi\\include
 2192              		.file 4 "Drivers/CMSIS/Include/core_cm3.h"
 2193              		.file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
 2194              		.file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102xb.h"
 2195              		.file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
 2196              		.file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h"
 2197              		.file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h"
 2198              		.file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
 2199              		.file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h"
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 81


DEFINED SYMBOLS
                            *ABS*:00000000 stm32f1xx_hal_pcd.c
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:16     .text.HAL_PCD_MspInit:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:23     .text.HAL_PCD_MspInit:00000000 HAL_PCD_MspInit
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:37     .text.HAL_PCD_Init:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:44     .text.HAL_PCD_Init:00000000 HAL_PCD_Init
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:232    .text.HAL_PCD_MspDeInit:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:239    .text.HAL_PCD_MspDeInit:00000000 HAL_PCD_MspDeInit
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:252    .text.HAL_PCD_Start:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:259    .text.HAL_PCD_Start:00000000 HAL_PCD_Start
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:305    .text.HAL_PCD_Stop:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:312    .text.HAL_PCD_Stop:00000000 HAL_PCD_Stop
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:373    .text.HAL_PCD_DeInit:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:380    .text.HAL_PCD_DeInit:00000000 HAL_PCD_DeInit
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:425    .text.HAL_PCD_DataOutStageCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:432    .text.HAL_PCD_DataOutStageCallback:00000000 HAL_PCD_DataOutStageCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:445    .text.HAL_PCD_DataInStageCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:452    .text.HAL_PCD_DataInStageCallback:00000000 HAL_PCD_DataInStageCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:465    .text.HAL_PCD_SetupStageCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:472    .text.HAL_PCD_SetupStageCallback:00000000 HAL_PCD_SetupStageCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:485    .text.HAL_PCD_SOFCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:492    .text.HAL_PCD_SOFCallback:00000000 HAL_PCD_SOFCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:505    .text.HAL_PCD_ResetCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:512    .text.HAL_PCD_ResetCallback:00000000 HAL_PCD_ResetCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:525    .text.HAL_PCD_SuspendCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:532    .text.HAL_PCD_SuspendCallback:00000000 HAL_PCD_SuspendCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:545    .text.HAL_PCD_ResumeCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:552    .text.HAL_PCD_ResumeCallback:00000000 HAL_PCD_ResumeCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:565    .text.HAL_PCD_ISOOUTIncompleteCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:572    .text.HAL_PCD_ISOOUTIncompleteCallback:00000000 HAL_PCD_ISOOUTIncompleteCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:585    .text.HAL_PCD_ISOINIncompleteCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:592    .text.HAL_PCD_ISOINIncompleteCallback:00000000 HAL_PCD_ISOINIncompleteCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:605    .text.HAL_PCD_ConnectCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:612    .text.HAL_PCD_ConnectCallback:00000000 HAL_PCD_ConnectCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:625    .text.HAL_PCD_DisconnectCallback:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:632    .text.HAL_PCD_DisconnectCallback:00000000 HAL_PCD_DisconnectCallback
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:645    .text.HAL_PCD_DevConnect:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:652    .text.HAL_PCD_DevConnect:00000000 HAL_PCD_DevConnect
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:694    .text.HAL_PCD_DevDisconnect:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:701    .text.HAL_PCD_DevDisconnect:00000000 HAL_PCD_DevDisconnect
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:744    .text.HAL_PCD_SetAddress:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:751    .text.HAL_PCD_SetAddress:00000000 HAL_PCD_SetAddress
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:793    .text.HAL_PCD_EP_Open:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:800    .text.HAL_PCD_EP_Open:00000000 HAL_PCD_EP_Open
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:898    .text.HAL_PCD_EP_Close:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:905    .text.HAL_PCD_EP_Close:00000000 HAL_PCD_EP_Close
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:976    .text.HAL_PCD_EP_Receive:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:983    .text.HAL_PCD_EP_Receive:00000000 HAL_PCD_EP_Receive
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1046   .text.HAL_PCD_EP_GetRxCount:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1053   .text.HAL_PCD_EP_GetRxCount:00000000 HAL_PCD_EP_GetRxCount
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1074   .text.HAL_PCD_EP_Transmit:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1081   .text.HAL_PCD_EP_Transmit:00000000 HAL_PCD_EP_Transmit
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1145   .text.PCD_EP_ISR_Handler:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1151   .text.PCD_EP_ISR_Handler:00000000 PCD_EP_ISR_Handler
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1633   .text.HAL_PCD_IRQHandler:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1640   .text.HAL_PCD_IRQHandler:00000000 HAL_PCD_IRQHandler
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1840   .text.HAL_PCD_EP_SetStall:00000000 $t
ARM GAS  C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s 			page 82


C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1847   .text.HAL_PCD_EP_SetStall:00000000 HAL_PCD_EP_SetStall
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1942   .text.HAL_PCD_EP_ClrStall:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:1949   .text.HAL_PCD_EP_ClrStall:00000000 HAL_PCD_EP_ClrStall
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2039   .text.HAL_PCD_EP_Flush:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2046   .text.HAL_PCD_EP_Flush:00000000 HAL_PCD_EP_Flush
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2105   .text.HAL_PCD_ActivateRemoteWakeup:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2112   .text.HAL_PCD_ActivateRemoteWakeup:00000000 HAL_PCD_ActivateRemoteWakeup
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2135   .text.HAL_PCD_DeActivateRemoteWakeup:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2142   .text.HAL_PCD_DeActivateRemoteWakeup:00000000 HAL_PCD_DeActivateRemoteWakeup
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2165   .text.HAL_PCD_GetState:00000000 $t
C:\Users\antras\AppData\Local\Temp\ccHcvLYR.s:2172   .text.HAL_PCD_GetState:00000000 HAL_PCD_GetState
                     .debug_frame:00000010 $d

UNDEFINED SYMBOLS
USB_DisableGlobalInt
USB_CoreInit
USB_SetCurrentMode
USB_DevInit
USB_DevDisconnect
HAL_PCDEx_SetConnectionState
USB_DevConnect
USB_EnableGlobalInt
USB_StopDevice
USB_SetDevAddress
USB_ActivateEndpoint
USB_DeactivateEndpoint
USB_EPStartXfer
USB_ReadPMA
USB_ReadInterrupts
USB_EPSetStall
USB_EP0_OutStart
USB_EPClearStall
USB_FlushRxFifo
USB_FlushTxFifo
USB_ActivateRemoteWakeup
USB_DeActivateRemoteWakeup
