⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usb_init.lst

📁 STM32 MassStorageClass Sample with shimple buffers you can acceess via SDCARD via spi interface
💻 LST
字号:
   1              		.syntax unified
   2              		.cpu cortex-m3
   3              		.fpu softvfp
   4              		.eabi_attribute 20, 1
   5              		.eabi_attribute 21, 1
   6              		.eabi_attribute 23, 3
   7              		.eabi_attribute 24, 1
   8              		.eabi_attribute 25, 1
   9              		.eabi_attribute 26, 1
  10              		.eabi_attribute 30, 4
  11              		.eabi_attribute 18, 4
  12              		.thumb
  13              		.file	"usb_init.c"
  21              	.Ltext0:
  22              		.section	.text.USB_Init,"ax",%progbits
  23              		.align	2
  24              		.global	USB_Init
  25              		.thumb
  26              		.thumb_func
  28              	USB_Init:
  29              	.LFB26:
  30              		.file 1 "lib/STM32_USB-FS-Device_Driver/src/usb_init.c"
   1:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /******************** (C) COPYRIGHT 2009 STMicroelectronics ********************
   2:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * File Name          : usb_init.c
   3:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Author             : MCD Application Team
   4:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Version            : V3.0.1
   5:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Date               : 04/27/2009
   6:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Description        : Initialization routines & global variables
   7:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** ********************************************************************************
   8:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
   9:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
  10:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
  11:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
  12:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
  13:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  14:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** *******************************************************************************/
  15:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** 
  16:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Includes ------------------------------------------------------------------*/
  17:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** #include "usb_lib.h"
  18:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** 
  19:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Private typedef -----------------------------------------------------------*/
  20:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Private define ------------------------------------------------------------*/
  21:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Private macro -------------------------------------------------------------*/
  22:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Private variables ---------------------------------------------------------*/
  23:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  The number of current endpoint, it will be used to specify an endpoint */
  24:lib/STM32_USB-FS-Device_Driver/src/usb_init.c ****  uint8_t	EPindex;
  25:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  The number of current device, it is an index to the Device_Table */
  26:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* uint8_t	Device_no; */
  27:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  Points to the DEVICE_INFO structure of current device */
  28:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  The purpose of this register is to speed up the execution */
  29:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** DEVICE_INFO *pInformation;
  30:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  Points to the DEVICE_PROP structure of current device */
  31:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  The purpose of this register is to speed up the execution */
  32:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** DEVICE_PROP *pProperty;
  33:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  Temporary save the state of Rx & Tx status. */
  34:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  Whenever the Rx or Tx state is changed, its value is saved */
  35:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  in this variable first and will be set to the EPRB or EPRA */
  36:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*  at the end of interrupt process */
  37:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** uint16_t	SaveState ;
  38:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** uint16_t  wInterrupt_Mask;
  39:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** DEVICE_INFO	Device_Info;
  40:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** USER_STANDARD_REQUESTS  *pUser_Standard_Requests;
  41:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** 
  42:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Extern variables ----------------------------------------------------------*/
  43:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Private function prototypes -----------------------------------------------*/
  44:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /* Private functions ---------------------------------------------------------*/
  45:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** 
  46:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** /*******************************************************************************
  47:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Function Name  : USB_Init
  48:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Description    : USB system initialization
  49:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Input          : None.
  50:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Output         : None.
  51:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** * Return         : None.
  52:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** *******************************************************************************/
  53:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** void USB_Init(void)
  54:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** {
  31              		.loc 1 54 0
  32              		@ args = 0, pretend = 0, frame = 0
  33              		@ frame_needed = 0, uses_anonymous_args = 0
  55:lib/STM32_USB-FS-Device_Driver/src/usb_init.c ****   pInformation = &Device_Info;
  34              		.loc 1 55 0
  35 0000 074A     		ldr	r2, .L3
  36 0002 084B     		ldr	r3, .L3+4
  37              		.loc 1 54 0
  38 0004 10B5     		push	{r4, lr}
  39              	.LCFI0:
  40              		.loc 1 55 0
  41 0006 1A60     		str	r2, [r3, #0]
  56:lib/STM32_USB-FS-Device_Driver/src/usb_init.c ****   pInformation->ControlState = 2;
  42              		.loc 1 56 0
  43 0008 0223     		movs	r3, #2
  57:lib/STM32_USB-FS-Device_Driver/src/usb_init.c ****   pProperty = &Device_Property;
  44              		.loc 1 57 0
  45 000a 0749     		ldr	r1, .L3+8
  46              		.loc 1 56 0
  47 000c 1372     		strb	r3, [r2, #8]
  48              		.loc 1 57 0
  49 000e 074B     		ldr	r3, .L3+12
  58:lib/STM32_USB-FS-Device_Driver/src/usb_init.c ****   pUser_Standard_Requests = &User_Standard_Requests;
  50              		.loc 1 58 0
  51 0010 074A     		ldr	r2, .L3+16
  52              		.loc 1 57 0
  53 0012 1960     		str	r1, [r3, #0]
  54              		.loc 1 58 0
  55 0014 074B     		ldr	r3, .L3+20
  56 0016 1A60     		str	r2, [r3, #0]
  59:lib/STM32_USB-FS-Device_Driver/src/usb_init.c ****   /* Initialize devices one by one */
  60:lib/STM32_USB-FS-Device_Driver/src/usb_init.c ****   pProperty->Init();
  57              		.loc 1 60 0
  58 0018 0B68     		ldr	r3, [r1, #0]
  59 001a 9847     		blx	r3
  61:lib/STM32_USB-FS-Device_Driver/src/usb_init.c **** }
  60              		.loc 1 61 0
  61 001c 10BD     		pop	{r4, pc}
  62              	.L4:
  63 001e C046     		.align	2
  64              	.L3:
  65 0020 00000000 		.word	Device_Info
  66 0024 00000000 		.word	pInformation
  67 0028 00000000 		.word	Device_Property
  68 002c 00000000 		.word	pProperty
  69 0030 00000000 		.word	User_Standard_Requests
  70 0034 00000000 		.word	pUser_Standard_Requests
  71              	.LFE26:
  73              		.comm	Device_Info,28,4
  74              		.comm	EPindex,1,1
  75              		.comm	pInformation,4,4
  76              		.comm	pProperty,4,4
  77              		.comm	pUser_Standard_Requests,4,4
  78              		.comm	SaveState,2,2
  79              		.comm	wInterrupt_Mask,2,2
 112              	.Letext0:
DEFINED SYMBOLS
                            *ABS*:00000000 usb_init.c
                            .text:00000000 $t
  R:\TEMP/cc2Hcaaa.s:28     .text.USB_Init:00000000 USB_Init
  R:\TEMP/cc2Hcaaa.s:25     .text.USB_Init:00000000 $t
  R:\TEMP/cc2Hcaaa.s:65     .text.USB_Init:00000020 $d
                            *COM*:0000001c Device_Info
                            *COM*:00000004 pInformation
                            *COM*:00000004 pProperty
                            *COM*:00000004 pUser_Standard_Requests
                            *COM*:00000001 EPindex
                            *COM*:00000002 SaveState
                            *COM*:00000002 wInterrupt_Mask
  R:\TEMP/cc2Hcaaa.s:116    .debug_loc:00000000 $d

UNDEFINED SYMBOLS
Device_Property
User_Standard_Requests

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -