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

📄 usbuser.lst

📁 USB存储器
💻 LST
📖 第 1 页 / 共 2 页
字号:
  291          /*
  292           *  USB Endpoint 11 Event Callback
  293           *   Called automatically on USB Endpoint 11 Event
  294           *    Parameter:       event
  295           */
  296          
  297          void USB_EndPoint11 (DWORD event) {
  298   1        event;
  299   1      }
  300          
  301          
  302          /*
  303           *  USB Endpoint 12 Event Callback
  304           *   Called automatically on USB Endpoint 12 Event
  305           *    Parameter:       event
  306           */
  307          
  308          void USB_EndPoint12 (DWORD event) {
  309   1        event;
  310   1      }
  311          
  312          
  313          /*
  314           *  USB Endpoint 13 Event Callback
  315           *   Called automatically on USB Endpoint 13 Event
  316           *    Parameter:       event
  317           */
  318          
  319          void USB_EndPoint13 (DWORD event) {
  320   1        event;
  321   1      }
  322          
ARM COMPILER V2.42b,  usbuser                                                              02/01/06  23:45:16  PAGE 6   

  323          
  324          /*
  325           *  USB Endpoint 14 Event Callback
  326           *   Called automatically on USB Endpoint 14 Event
  327           *    Parameter:       event
  328           */
  329          
  330          void USB_EndPoint14 (DWORD event) {
  331   1        event;
  332   1      }
  333          
  334          
  335          /*
  336           *  USB Endpoint 15 Event Callback
  337           *   Called automatically on USB Endpoint 15 Event
  338           *    Parameter:       event
  339           */
  340          
  341          void USB_EndPoint15 (DWORD event) {
  342   1        event;
  343   1      }
ARM COMPILER V2.42b,  usbuser                                                              02/01/06  23:45:16  PAGE 7   

ASSEMBLY LISTING OF GENERATED OBJECT CODE



*** EXTERNALS:
 EXTERN DATA (USB_Configuration)
 EXTERN CODE16 (USB_ResetCore?T)
 EXTERN CODE16 (USB_EndPoint0?T)
 EXTERN CODE16 (MSC_BulkIn?T)
 EXTERN CODE16 (MSC_BulkOut?T)



*** PUBLICS:
 PUBLIC         USB_Reset_Event?T
 PUBLIC         USB_Suspend_Event?T
 PUBLIC         USB_Resume_Event?T
 PUBLIC         USB_EndPoint1?T
 PUBLIC         USB_EndPoint2?T
 PUBLIC         USB_EndPoint3?T
 PUBLIC         USB_EndPoint4?T
 PUBLIC         USB_EndPoint5?T
 PUBLIC         USB_EndPoint6?T
 PUBLIC         USB_EndPoint7?T
 PUBLIC         USB_EndPoint8?T
 PUBLIC         USB_EndPoint9?T
 PUBLIC         USB_EndPoint10?T
 PUBLIC         USB_EndPoint11?T
 PUBLIC         USB_EndPoint12?T
 PUBLIC         USB_EndPoint13?T
 PUBLIC         USB_EndPoint14?T
 PUBLIC         USB_EndPoint15?T
 PUBLIC         USB_Configure_Event?T
 PUBLIC         USB_P_EP



*** DATA SEGMENT '?CON?usbuser':
 00000000          USB_P_EP:
 00000000           BEGIN_INIT
 00000000  00000000  DD          USB_EndPoint0?T
 00000004  00000000  DD          0x0
 00000008  00000000  DD          USB_EndPoint2?T
 0000000C  00000000  DD          0x0
 00000010  00000000  DD          0x0
 00000014  00000000  DD          0x0
 00000018  00000000  DD          0x0
 0000001C  00000000  DD          0x0
 00000020  00000000  DD          0x0
 00000024  00000000  DD          0x0
 00000028  00000000  DD          0x0
 0000002C  00000000  DD          0x0
 00000030  00000000  DD          0x0
 00000034  00000000  DD          0x0
 00000038  00000000  DD          0x0
 0000003C  00000000  DD          0x0
 00000040           END_INIT



*** CODE SEGMENT '?PR?USB_Reset_Event?T?usbuser':
   45: void USB_Reset_Event (void) {
 00000000  B500      PUSH        {LR}
   46:   USB_ResetCore();
 00000002  F7FF      BL          USB_ResetCore?T  ; T=0x0001  (1)
 00000004  FFFD      BL          USB_ResetCore?T  ; T=0x0001  (2)
   47:   IOCLR1 = LED_CFG;                         /* Turn Off Cfg LED */
 00000006  4800      LDR         R1,=0x400000
 00000008  4800      LDR         R0,=0xE002801C
 0000000A  6001      STR         R1,[R0,#0x0]
   48: }
 0000000C  BC08      POP         {R3}
 0000000E  4718      BX          R3
ARM COMPILER V2.42b,  usbuser                                                              02/01/06  23:45:16  PAGE 8   

 00000010          ENDP ; 'USB_Reset_Event?T'


*** CODE SEGMENT '?PR?USB_Suspend_Event?T?usbuser':
   59:   IOSET1 = LED_SUSP;                        /* Turn On Suspend LED */
 00000000  4800      LDR         R1,=0x800000
 00000002  4800      LDR         R0,=0xE0028014
 00000004  6001      STR         R1,[R0,#0x0]
   60: }
 00000006  4770      BX          R14
 00000008          ENDP ; 'USB_Suspend_Event?T'


*** CODE SEGMENT '?PR?USB_Resume_Event?T?usbuser':
   71:   IOCLR1 = LED_SUSP;                        /* Turn Off Suspend LED */
 00000000  4800      LDR         R1,=0x800000
 00000002  4800      LDR         R0,=0xE002801C
 00000004  6001      STR         R1,[R0,#0x0]
   72: }
 00000006  4770      BX          R14
 00000008          ENDP ; 'USB_Resume_Event?T'


*** CODE SEGMENT '?PR?USB_Configure_Event?T?usbuser':
  119:   if (USB_Configuration) {                  /* Check if USB is configured */
 00000000  4800      LDR         R0,=USB_Configuration ; USB_Configuration
 00000002  7800      LDRB        R0,[R0,#0x0] ; USB_Configuration
 00000004  2800      CMP         R0,#0x0
 00000006  D003      BEQ         L_1  ; T=0x00000010
  120:     IOSET1 = LED_CFG;                       /* Turn On Cfg LED */
 00000008  4800      LDR         R1,=0x400000
 0000000A  4800      LDR         R0,=0xE0028014
 0000000C  6001      STR         R1,[R0,#0x0]
  121:   } else {
 0000000E  E002      B           L_2  ; T=0x00000016
 00000010          L_1:
  122:     IOCLR1 = LED_CFG;                       /* Turn Off Cfg LED */
 00000010  4800      LDR         R1,=0x400000
 00000012  4800      LDR         R0,=0xE002801C
 00000014  6001      STR         R1,[R0,#0x0]
  123:   }
 00000016          L_2:
  124: }
 00000016  4770      BX          R14
 00000018          ENDP ; 'USB_Configure_Event?T'


*** CODE SEGMENT '?PR?USB_EndPoint1?T?usbuser':
  181: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint1?T'


*** CODE SEGMENT '?PR?USB_EndPoint2?T?usbuser':
  190: void USB_EndPoint2 (DWORD event) {
 00000000  B500      PUSH        {LR}
 00000002  1C01      MOV         R1,R0 ; event
 00000004  ---- Variable 'event' assigned to Register 'R1' ----
  192:   switch (event) {
 00000004  1C08      MOV         R0,R1 ; event
 00000006  2803      CMP         R0,#0x3 ; event
 00000008  D004      BEQ         L_5  ; T=0x00000014
 0000000A  2802      CMP         R0,#0x2 ; event
 0000000C  D104      BNE         L_3  ; T=0x00000018
  193:     case USB_EVT_OUT:
 0000000E          L_4:
  194:       MSC_BulkOut();
 0000000E  F7FF      BL          MSC_BulkOut?T  ; T=0x0001  (1)
 00000010  FFF7      BL          MSC_BulkOut?T  ; T=0x0001  (2)
  195:       break;
 00000012  E001      B           L_3  ; T=0x00000018
  196:     case USB_EVT_IN:
 00000014          L_5:
  197:       MSC_BulkIn();
 00000014  F7FF      BL          MSC_BulkIn?T  ; T=0x0001  (1)
 00000016  FFF4      BL          MSC_BulkIn?T  ; T=0x0001  (2)
ARM COMPILER V2.42b,  usbuser                                                              02/01/06  23:45:16  PAGE 9   

  199:   }
 00000018          L_3:
  200: }
 00000018  BC08      POP         {R3}
 0000001A  4718      BX          R3
 0000001C          ENDP ; 'USB_EndPoint2?T'


*** CODE SEGMENT '?PR?USB_EndPoint3?T?usbuser':
  211: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint3?T'


*** CODE SEGMENT '?PR?USB_EndPoint4?T?usbuser':
  222: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint4?T'


*** CODE SEGMENT '?PR?USB_EndPoint5?T?usbuser':
  233: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint5?T'


*** CODE SEGMENT '?PR?USB_EndPoint6?T?usbuser':
  244: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint6?T'


*** CODE SEGMENT '?PR?USB_EndPoint7?T?usbuser':
  255: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint7?T'


*** CODE SEGMENT '?PR?USB_EndPoint8?T?usbuser':
  266: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint8?T'


*** CODE SEGMENT '?PR?USB_EndPoint9?T?usbuser':
  277: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint9?T'


*** CODE SEGMENT '?PR?USB_EndPoint10?T?usbuser':
  288: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint10?T'


*** CODE SEGMENT '?PR?USB_EndPoint11?T?usbuser':
  299: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint11?T'


*** CODE SEGMENT '?PR?USB_EndPoint12?T?usbuser':
  310: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint12?T'


*** CODE SEGMENT '?PR?USB_EndPoint13?T?usbuser':
  321: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint13?T'


*** CODE SEGMENT '?PR?USB_EndPoint14?T?usbuser':
  332: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint14?T'


*** CODE SEGMENT '?PR?USB_EndPoint15?T?usbuser':
  343: }
 00000000  4770      BX          R14
 00000002          ENDP ; 'USB_EndPoint15?T'



Module Information          Static
----------------------------------
  code size            =    ------
  data size            =    ------
  const size           =        64
End of Module Information.


ARM COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)

⌨️ 快捷键说明

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