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

📄 usbdcallbacks_initialized.lst

📁 本代bootloader通过usb下载代码首先存放在sdram中
💻 LST
字号:
###############################################################################
#                                                                             #
#                                                       24/Apr/2009  16:18:15 #
# IAR ARM ANSI C/C++ Compiler V5.11.0.20622/W32 EVALUATION                    #
# Copyright 1999-2007 IAR Systems. All rights reserved.                       #
#                                                                             #
#    Cpu mode     =  arm                                                      #
#    Endian       =  little                                                   #
#    Source file  =  D:\basic-dataflash-project-at91sam7se-ek\at91lib\usb\dev #
#                    ice\core\USBDCallbacks_Initialized.c                     #
#    Command line =  D:\basic-dataflash-project-at91sam7se-ek\at91lib\usb\dev #
#                    ice\core\USBDCallbacks_Initialized.c -D at91sam7se512    #
#                    -D sram -D TRACE_LEVEL=4 -lC                             #
#                    D:\basic-dataflash-project-at91sam7se-ek\at91sam7se-ek\b #
#                    asic-dataflash-project\ewp\at91sam7se512_sram\List\      #
#                    --remarks --diag_suppress Pe826,Pe1375 -o                #
#                    D:\basic-dataflash-project-at91sam7se-ek\at91sam7se-ek\b #
#                    asic-dataflash-project\ewp\at91sam7se512_sram\Obj\       #
#                    --no_cse --no_unroll --no_inline --no_code_motion        #
#                    --no_tbaa --no_clustering --no_scheduling --debug        #
#                    --endian little --cpu ARM7TDMI -e --fpu None             #
#                    --dlib_config "D:\Program Files\arm\ARM\INC\DLib_Config_ #
#                    Full.h" -I D:\basic-dataflash-project-at91sam7se-ek\at91 #
#                    sam7se-ek\basic-dataflash-project\ewp\..\..\..\at91lib/p #
#                    eripherals\ -I D:\basic-dataflash-project-at91sam7se-ek\ #
#                    at91sam7se-ek\basic-dataflash-project\ewp\..\..\..\at91l #
#                    ib\ -I D:\basic-dataflash-project-at91sam7se-ek\at91sam7 #
#                    se-ek\basic-dataflash-project\ewp\..\..\..\at91lib/memor #
#                    ies\ -I D:\basic-dataflash-project-at91sam7se-ek\at91sam #
#                    7se-ek\basic-dataflash-project\ewp\..\..\..\at91lib/boar #
#                    ds/at91sam7se-ek\ -I "D:\Program Files\arm\ARM\INC\"     #
#                    --interwork --cpu_mode arm -Oh                           #
#    List file    =  D:\basic-dataflash-project-at91sam7se-ek\at91sam7se-ek\b #
#                    asic-dataflash-project\ewp\at91sam7se512_sram\List\USBDC #
#                    allbacks_Initialized.lst                                 #
#    Object file  =  D:\basic-dataflash-project-at91sam7se-ek\at91sam7se-ek\b #
#                    asic-dataflash-project\ewp\at91sam7se512_sram\Obj\USBDCa #
#                    llbacks_Initialized.o                                    #
#                                                                             #
#                                                                             #
###############################################################################

D:\basic-dataflash-project-at91sam7se-ek\at91lib\usb\device\core\USBDCallbacks_Initialized.c
      1          /* ----------------------------------------------------------------------------
      2           *         ATMEL Microcontroller Software Support 
      3           * ----------------------------------------------------------------------------
      4           * Copyright (c) 2008, Atmel Corporation
      5           *
      6           * All rights reserved.
      7           *
      8           * Redistribution and use in source and binary forms, with or without
      9           * modification, are permitted provided that the following conditions are met:
     10           *
     11           * - Redistributions of source code must retain the above copyright notice,
     12           * this list of conditions and the disclaimer below.
     13           *
     14           * Atmel's name may not be used to endorse or promote products derived from
     15           * this software without specific prior written permission.
     16           *
     17           * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
     18           * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     19           * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
     20           * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
     21           * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
     22           * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
     23           * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
     24           * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
     25           * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
     26           * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     27           * ----------------------------------------------------------------------------
     28           */
     29          
     30          //------------------------------------------------------------------------------
     31          //         Headers
     32          //------------------------------------------------------------------------------
     33          
     34          #include "USBDCallbacks.h"
     35          #include "USBD.h"
     36          #include <board.h>
     37          #include <aic/aic.h>
     38          
     39          //------------------------------------------------------------------------------
     40          //         Exported function
     41          //------------------------------------------------------------------------------
     42          
     43          //------------------------------------------------------------------------------
     44          /// Invoked after the USB driver has been initialized. By default, configures
     45          /// the UDP/UDPHS interrupt.
     46          //------------------------------------------------------------------------------

   \                                 In section .text, align 4, keep-with-next
     47          void USBDCallbacks_Initialized(void)
     48          {
   \                     USBDCallbacks_Initialized:
   \   00000000   01402DE9           PUSH     {R0,LR}
     49          #if defined(BOARD_USB_UDP)
     50              // Configure and enable the UDP interrupt
     51              AIC_ConfigureIT(AT91C_ID_UDP, 0, USBD_InterruptHandler);
   \   00000004   14209FE5           LDR      R2,??USBDCallbacks_Initialized_0  ;; USBD_InterruptHandler
   \   00000008   0010A0E3           MOV      R1,#+0
   \   0000000C   0B00A0E3           MOV      R0,#+11
   \   00000010   ........           BL       AIC_ConfigureIT
     52              AIC_EnableIT(AT91C_ID_UDP);
   \   00000014   0B00A0E3           MOV      R0,#+11
     53          
     54          #elif defined(BOARD_USB_UDPHS)
     55              // Configure and enable the UDPHS interrupt
     56              AIC_ConfigureIT(AT91C_ID_UDPHS, 0, USBD_InterruptHandler);
     57              AIC_EnableIT(AT91C_ID_UDPHS);
     58          #else
     59              #error Unsupported controller.
     60          #endif
     61          }
   \   00000018   0050BDE8           POP      {R12,LR}
   \   0000001C   ........           B        AIC_EnableIT     ;; tailcall
   \                     ??USBDCallbacks_Initialized_0:
   \   00000020   ........           DC32     USBD_InterruptHandler
     62          

   Maximum stack usage in bytes:

     Function                  .cstack
     --------                  -------
     USBDCallbacks_Initialized      8


   Section sizes:

     Function/Label            Bytes
     --------------            -----
     USBDCallbacks_Initialized   36

 
 36 bytes in section .text
 
 36 bytes of CODE memory

Errors: none
Warnings: none

⌨️ 快捷键说明

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