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

📄 usb_test.htm

📁 应用C语言实现在ARM微处理器上USB接口的驱动和实现 数据通信
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<BR>[Calls]<UL><LI><a href="#[c7af80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ReconfigUsbd
</UL>
<BR>[Called By]<UL><LI><a href="#[c7dd88]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbdMain
</UL>

<P><STRONG><a name="[c7aef0]"></a>RdPktEp0</STRONG> (ARM, 36 bytes, Stack size 0 bytes, usblib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c795a0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep0Handler
</UL>

<P><STRONG><a name="[c7aea8]"></a>WrPktEp0</STRONG> (ARM, 36 bytes, Stack size 0 bytes, usblib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c795a0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep0Handler
</UL>

<P><STRONG><a name="[c7c250]"></a>WrPktEp1</STRONG> (ARM, 36 bytes, Stack size 0 bytes, usblib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7c2e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PrepareEp1Fifo
</UL>

<P><STRONG><a name="[c7ae60]"></a>WrPktEp2</STRONG> (ARM, 36 bytes, Stack size 0 bytes, usblib.o(.text), UNUSED)

<P><STRONG><a name="[c7ae18]"></a>RdPktEp3</STRONG> (ARM, 36 bytes, Stack size 0 bytes, usblib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c79558]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep3Handler
</UL>

<P><STRONG><a name="[c7add0]"></a>RdPktEp4</STRONG> (ARM, 36 bytes, Stack size 0 bytes, usblib.o(.text), UNUSED)

<P><STRONG><a name="[c7dea8]"></a>ConfigEp3DmaMode</STRONG> (ARM, 160 bytes, Stack size 0 bytes, usblib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7df80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WaitDownload
</UL>

<P><STRONG><a name="[c7ad88]"></a>ConfigEp3IntMode</STRONG> (ARM, 72 bytes, Stack size 0 bytes, usblib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7de18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IsrDma2
</UL>

<P><STRONG><a name="[c7dd88]"></a>UsbdMain</STRONG> (ARM, 36 bytes, Stack size 8 bytes, usbmain.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = UsbdMain &rArr; ConfigUsbd
</UL>
<BR>[Calls]<UL><LI><a href="#[c79510]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;InitDescriptorTable
<LI><a href="#[c795e8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ChangeUPllValue
<LI><a href="#[c7af38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ConfigUsbd
</UL>
<BR>[Called By]<UL><LI><a href="#[c81878]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;usb_test
</UL>

<P><STRONG><a name="[c796c0]"></a>DbgPrintf</STRONG> (ARM, 4 bytes, Stack size 0 bytes, usbmain.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c765f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PrintEp0Pkt
<LI><a href="#[c786d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PrintEpoPkt
<LI><a href="#[c79558]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep3Handler
<LI><a href="#[c795a0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep0Handler
<LI><a href="#[c7ddd0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IsrUsbd
</UL>

<P><STRONG><a name="[c7ddd0]"></a>IsrUsbd</STRONG> (ARM, 296 bytes, Stack size 40 bytes, usbmain.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 816 + Unknown Stack Size
<LI>Call Chain = IsrUsbd &rArr; Ep1Handler &rArr; PrintEpiPkt &rArr; uart_printf &rArr; __c89vsprintf &rArr; _printf_char_common &rArr; __printf &rArr; _printf_fp_dec &rArr; _printf_fp_dec_real &rArr; _fp_digits &rArr; _btod_etento &rArr; _btod_emul &rArr; _e2e
</UL>
<BR>[Calls]<UL><LI><a href="#[c79558]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep3Handler
<LI><a href="#[c795a0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep0Handler
<LI><a href="#[c796c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;DbgPrintf
<LI><a href="#[c7af80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ReconfigUsbd
<LI><a href="#[c7c298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep1Handler
<LI><a href="#[c7c2e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PrepareEp1Fifo
</UL>
<BR>[Address Reference Count : 1]<UL><LI> usb_test.o(.text)
</UL>
<P><STRONG><a name="[c79678]"></a>_WrDbgStrFifo</STRONG> (ARM, 60 bytes, Stack size 0 bytes, usbmain.o(.text), UNUSED)

<P><STRONG><a name="[c79630]"></a>DbgPrintfLoop</STRONG> (ARM, 108 bytes, Stack size 8 bytes, usbmain.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c794c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_sendbyte
</UL>

<P><STRONG><a name="[c79558]"></a>Ep3Handler</STRONG> (ARM, 448 bytes, Stack size 16 bytes, usbout.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 768 + Unknown Stack Size
<LI>Call Chain = Ep3Handler &rArr; uart_printf &rArr; __c89vsprintf &rArr; _printf_char_common &rArr; __printf &rArr; _printf_fp_dec &rArr; _printf_fp_dec_real &rArr; _fp_digits &rArr; _btod_etento &rArr; _btod_emul &rArr; _e2e
</UL>
<BR>[Calls]<UL><LI><a href="#[c78718]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RdPktEp3_CheckSum
<LI><a href="#[c796c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;DbgPrintf
<LI><a href="#[c7ae18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RdPktEp3
<LI><a href="#[c7da28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
</UL>
<BR>[Called By]<UL><LI><a href="#[c7ddd0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IsrUsbd
</UL>

<P><STRONG><a name="[c7de18]"></a>IsrDma2</STRONG> (ARM, 668 bytes, Stack size 40 bytes, usbout.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 40<LI>Call Chain = IsrDma2
</UL>
<BR>[Calls]<UL><LI><a href="#[c7ad88]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ConfigEp3IntMode
</UL>
<BR>[Address Reference Count : 1]<UL><LI> usb_test.o(.text)
</UL>
<P><STRONG><a name="[c7def0]"></a>ClearEp3OutPktReady</STRONG> (ARM, 32 bytes, Stack size 0 bytes, usbout.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7df80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WaitDownload
</UL>

<P><STRONG><a name="[c765f8]"></a>PrintEp0Pkt</STRONG> (ARM, 64 bytes, Stack size 16 bytes, usbsetup.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = PrintEp0Pkt
</UL>
<BR>[Calls]<UL><LI><a href="#[c796c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;DbgPrintf
</UL>
<BR>[Called By]<UL><LI><a href="#[c795a0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep0Handler
</UL>

<P><STRONG><a name="[c795a0]"></a>Ep0Handler</STRONG> (ARM, 2836 bytes, Stack size 8 bytes, usbsetup.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = Ep0Handler &rArr; PrintEp0Pkt
</UL>
<BR>[Calls]<UL><LI><a href="#[c765f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PrintEp0Pkt
<LI><a href="#[c796c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;DbgPrintf
<LI><a href="#[c7aea8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WrPktEp0
<LI><a href="#[c7aef0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;RdPktEp0
</UL>
<BR>[Called By]<UL><LI><a href="#[c7ddd0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;IsrUsbd
</UL>

<P><STRONG><a name="[c79510]"></a>InitDescriptorTable</STRONG> (ARM, 420 bytes, Stack size 0 bytes, usbsetup.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7dd88]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbdMain
</UL>

<P><STRONG><a name="[c751b8]"></a>port_init</STRONG> (ARM, 152 bytes, Stack size 0 bytes, 2410lib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c818c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;sys_init
</UL>

<P><STRONG><a name="[c75170]"></a>uart_change_baud</STRONG> (ARM, 252 bytes, Stack size 40 bytes, 2410lib.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[108c790]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_i2d
<LI><a href="#[108cb38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_d2iz
<LI><a href="#[108ce60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ddiv
<LI><a href="#[108d2e8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_dadd
</UL>

<P><STRONG><a name="[c7db90]"></a>delay</STRONG> (ARM, 180 bytes, Stack size 16 bytes, 2410lib.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = delay &rArr; __aeabi_idivmod
</UL>
<BR>[Calls]<UL><LI><a href="#[108ea00]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_idivmod
</UL>
<BR>[Called By]<UL><LI><a href="#[c794c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_sendbyte
<LI><a href="#[c7da70]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_init
<LI><a href="#[c81878]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;usb_test
<LI><a href="#[c818c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;sys_init
</UL>

<P><STRONG><a name="[c7da70]"></a>uart_init</STRONG> (ARM, 620 bytes, Stack size 64 bytes, 2410lib.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 88<LI>Call Chain = uart_init &rArr; delay &rArr; __aeabi_idivmod
</UL>
<BR>[Calls]<UL><LI><a href="#[c7db90]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay
<LI><a href="#[108c790]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_i2d
<LI><a href="#[108cb38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_d2iz
<LI><a href="#[108ce60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ddiv
<LI><a href="#[108d2e8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_dadd
</UL>
<BR>[Called By]<UL><LI><a href="#[c81878]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;usb_test
<LI><a href="#[c818c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;sys_init
</UL>

<P><STRONG><a name="[c7d9e0]"></a>uart_select</STRONG> (ARM, 12 bytes, Stack size 0 bytes, 2410lib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c81878]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;usb_test
<LI><a href="#[c818c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;sys_init
</UL>

<P><STRONG><a name="[c7d998]"></a>uart_txempty</STRONG> (ARM, 96 bytes, Stack size 0 bytes, 2410lib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7df80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WaitDownload
</UL>

<P><STRONG><a name="[c7db48]"></a>uart_getch</STRONG> (ARM, 152 bytes, Stack size 0 bytes, 2410lib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c750e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_getstring
<LI><a href="#[c7dfc8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Menu
</UL>

<P><STRONG><a name="[c7dab8]"></a>uart_getkey</STRONG> (ARM, 164 bytes, Stack size 0 bytes, 2410lib.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7df80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WaitDownload
<LI><a href="#[c7dfc8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Menu
</UL>

<P><STRONG><a name="[c794c8]"></a>uart_sendbyte</STRONG> (ARM, 324 bytes, Stack size 8 bytes, 2410lib.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = uart_sendbyte &rArr; delay &rArr; __aeabi_idivmod
</UL>
<BR>[Calls]<UL><LI><a href="#[c7db90]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay
</UL>
<BR>[Called By]<UL><LI><a href="#[c750e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_getstring
<LI><a href="#[c75128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_sendstring
<LI><a href="#[c79630]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;DbgPrintfLoop
</UL>

<P><STRONG><a name="[c75128]"></a>uart_sendstring</STRONG> (ARM, 40 bytes, Stack size 8 bytes, 2410lib.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 40<LI>Call Chain = uart_sendstring &rArr; uart_sendbyte &rArr; delay &rArr; __aeabi_idivmod
</UL>
<BR>[Calls]<UL><LI><a href="#[c794c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_sendbyte
</UL>
<BR>[Called By]<UL><LI><a href="#[c7da28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
</UL>

<P><STRONG><a name="[c7da28]"></a>uart_printf</STRONG> (ARM, 56 bytes, Stack size 280 bytes, 2410lib.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 752 + Unknown Stack Size
<LI>Call Chain = uart_printf &rArr; __c89vsprintf &rArr; _printf_char_common &rArr; __printf &rArr; _printf_fp_dec &rArr; _printf_fp_dec_real &rArr; _fp_digits &rArr; _btod_etento &rArr; _btod_emul &rArr; _e2e
</UL>
<BR>[Calls]<UL><LI><a href="#[c75128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_sendstring
<LI><a href="#[108f2c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__c89vsprintf (via Veneer)
</UL>
<BR>[Called By]<UL><LI><a href="#[c750e0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_getstring
<LI><a href="#[c79558]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep3Handler
<LI><a href="#[c7c298]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Ep1Handler
<LI><a href="#[c7cbe0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PrintEpiPkt
<LI><a href="#[c7dbd8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;debug_undef
<LI><a href="#[c7dc20]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;debug_swi
<LI><a href="#[c7dc68]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;debug_abort_d
<LI><a href="#[c7df80]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;WaitDownload
<LI><a href="#[c7dfc8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Menu
<LI><a href="#[c7e010]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MemoryTest
<LI><a href="#[c81878]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;usb_test
<LI><a href="#[c818c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;sys_init
<LI><a href="#[1090948]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;debug_fiq
<LI><a href="#[1090990]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;debug_abort_p
<LI><a href="#[10909d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;break_point
</UL>

<P><STRONG><a name="[c750e0]"></a>uart_getstring</STRONG> (ARM, 100 bytes, Stack size 16 bytes, 2410lib.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 768 + Unknown Stack Size
<LI>Call Chain = uart_getstring &rArr; uart_printf &rArr; __c89vsprintf &rArr; _printf_char_common &rArr; __printf &rArr; _printf_fp_dec &rArr; _printf_fp_dec_real &rArr; _fp_digits &rArr; _btod_etento &rArr; _btod_emul &rArr; _e2e
</UL>
<BR>[Calls]<UL><LI><a href="#[c794c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_sendbyte
<LI><a href="#[c7da28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
<LI><a href="#[c7db48]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_getch
</UL>
<BR>[Called By]<UL><LI><a href="#[c7db00]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_getintnum
</UL>

<P><STRONG><a name="[c7db00]"></a>uart_getintnum</STRONG> (ARM, 364 bytes, Stack size 64 bytes, 2410lib.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 832 + Unknown Stack Size
<LI>Call Chain = uart_getintnum &rArr; uart_getstring &rArr; uart_printf &rArr; __c89vsprintf &rArr; _printf_char_common &rArr; __printf &rArr; _printf_fp_dec &rArr; _printf_fp_dec_real &rArr; _fp_digits &rArr; _btod_etento &rArr; _btod_emul &rArr; _e2e
</UL>

⌨️ 快捷键说明

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