📄 usbuser.lst
字号:
294 1 event;
295 1 }
296
297
298 /*
299 * USB Endpoint 11 Event Callback
300 * Called automatically on USB Endpoint 11 Event
301 * Parameter: event
302 */
303
304 void USB_EndPoint11 (DWORD event) {
305 1 event;
306 1 }
307
308
309 /*
310 * USB Endpoint 12 Event Callback
311 * Called automatically on USB Endpoint 12 Event
312 * Parameter: event
313 */
314
315 void USB_EndPoint12 (DWORD event) {
316 1 event;
317 1 }
318
319
320 /*
321 * USB Endpoint 13 Event Callback
322 * Called automatically on USB Endpoint 13 Event
ARM COMPILER V2.53, usbuser 12/06/06 10:18:25 PAGE 6
323 * Parameter: event
324 */
325
326 void USB_EndPoint13 (DWORD event) {
327 1 event;
328 1 }
329
330
331 /*
332 * USB Endpoint 14 Event Callback
333 * Called automatically on USB Endpoint 14 Event
334 * Parameter: event
335 */
336
337 void USB_EndPoint14 (DWORD event) {
338 1 event;
339 1 }
340
341
342 /*
343 * USB Endpoint 15 Event Callback
344 * Called automatically on USB Endpoint 15 Event
345 * Parameter: event
346 */
347
348 void USB_EndPoint15 (DWORD event) {
349 1 event;
350 1 }
ARM COMPILER V2.53, usbuser 12/06/06 10:18:25 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':
52: void USB_Reset_Event (void) {
00000000 B500 PUSH {LR}
53: USB_ResetCore();
00000002 F7FF BL USB_ResetCore?T ; T=0x0001 (1)
00000004 FFFD BL USB_ResetCore?T ; T=0x0001 (2)
54: IOCLR1 = LED_CFG; /* Turn Off Cfg LED */
00000006 2140 MOV R1,#0x40
00000008 4800 LDR R0,=0xE002801C
0000000A 6001 STR R1,[R0,#0x0]
55: }
0000000C BC08 POP {R3}
0000000E 4718 BX R3
ARM COMPILER V2.53, usbuser 12/06/06 10:18:25 PAGE 8
00000010 ENDP ; 'USB_Reset_Event?T'
*** CODE SEGMENT '?PR?USB_Suspend_Event?T?usbuser':
66: IOSET1 = LED_SUSP; /* Turn On Suspend LED */
00000000 2180 MOV R1,#0x80
00000002 4800 LDR R0,=0xE0028014
00000004 6001 STR R1,[R0,#0x0]
67: }
00000006 4770 BX R14
00000008 ENDP ; 'USB_Suspend_Event?T'
*** CODE SEGMENT '?PR?USB_Resume_Event?T?usbuser':
78: IOCLR1 = LED_SUSP; /* Turn Off Suspend LED */
00000000 2180 MOV R1,#0x80
00000002 4800 LDR R0,=0xE002801C
00000004 6001 STR R1,[R0,#0x0]
79: }
00000006 4770 BX R14
00000008 ENDP ; 'USB_Resume_Event?T'
*** CODE SEGMENT '?PR?USB_Configure_Event?T?usbuser':
126: 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
127: IOSET1 = LED_CFG; /* Turn On Cfg LED */
00000008 2140 MOV R1,#0x40
0000000A 4800 LDR R0,=0xE0028014
0000000C 6001 STR R1,[R0,#0x0]
128: } else {
0000000E E002 B L_2 ; T=0x00000016
00000010 L_1:
129: IOCLR1 = LED_CFG; /* Turn Off Cfg LED */
00000010 2140 MOV R1,#0x40
00000012 4800 LDR R0,=0xE002801C
00000014 6001 STR R1,[R0,#0x0]
130: }
00000016 L_2:
131: }
00000016 4770 BX R14
00000018 ENDP ; 'USB_Configure_Event?T'
*** CODE SEGMENT '?PR?USB_EndPoint1?T?usbuser':
188: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint1?T'
*** CODE SEGMENT '?PR?USB_EndPoint2?T?usbuser':
197: void USB_EndPoint2 (DWORD event) {
00000000 B500 PUSH {LR}
00000002 1C01 MOV R1,R0 ; event
00000004 ---- Variable 'event' assigned to Register 'R1' ----
199: 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
200: case USB_EVT_OUT:
0000000E L_4:
201: MSC_BulkOut();
0000000E F7FF BL MSC_BulkOut?T ; T=0x0001 (1)
00000010 FFF7 BL MSC_BulkOut?T ; T=0x0001 (2)
202: break;
00000012 E001 B L_3 ; T=0x00000018
203: case USB_EVT_IN:
00000014 L_5:
204: MSC_BulkIn();
00000014 F7FF BL MSC_BulkIn?T ; T=0x0001 (1)
00000016 FFF4 BL MSC_BulkIn?T ; T=0x0001 (2)
ARM COMPILER V2.53, usbuser 12/06/06 10:18:25 PAGE 9
206: }
00000018 L_3:
207: }
00000018 BC08 POP {R3}
0000001A 4718 BX R3
0000001C ENDP ; 'USB_EndPoint2?T'
*** CODE SEGMENT '?PR?USB_EndPoint3?T?usbuser':
218: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint3?T'
*** CODE SEGMENT '?PR?USB_EndPoint4?T?usbuser':
229: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint4?T'
*** CODE SEGMENT '?PR?USB_EndPoint5?T?usbuser':
240: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint5?T'
*** CODE SEGMENT '?PR?USB_EndPoint6?T?usbuser':
251: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint6?T'
*** CODE SEGMENT '?PR?USB_EndPoint7?T?usbuser':
262: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint7?T'
*** CODE SEGMENT '?PR?USB_EndPoint8?T?usbuser':
273: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint8?T'
*** CODE SEGMENT '?PR?USB_EndPoint9?T?usbuser':
284: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint9?T'
*** CODE SEGMENT '?PR?USB_EndPoint10?T?usbuser':
295: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint10?T'
*** CODE SEGMENT '?PR?USB_EndPoint11?T?usbuser':
306: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint11?T'
*** CODE SEGMENT '?PR?USB_EndPoint12?T?usbuser':
317: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint12?T'
*** CODE SEGMENT '?PR?USB_EndPoint13?T?usbuser':
328: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint13?T'
*** CODE SEGMENT '?PR?USB_EndPoint14?T?usbuser':
339: }
00000000 4770 BX R14
00000002 ENDP ; 'USB_EndPoint14?T'
*** CODE SEGMENT '?PR?USB_EndPoint15?T?usbuser':
350: }
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 + -