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

📄 usb.htm

📁 在MDK下直接运行的一个USB例程
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<BR><BR>[Calls]<UL><LI><a href="#[c81810]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UartGetkey
</UL>

<P><STRONG><a name="[c81618]"></a>kbhit</STRONG> (ARM, 20 bytes, Stack size 4 bytes, console.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c818a0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UartRxStat
</UL>

<P><STRONG><a name="[c815d0]"></a>uart_printf</STRONG> (ARM, 60 bytes, Stack size 280 bytes, console.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="#[c7bf58]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__c89vsprintf (via Veneer)
<LI><a href="#[c817c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UartSendString
</UL>
<BR>[Called By]<UL><LI><a href="#[c7e398]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbSendDesc
<LI><a href="#[c7f868]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep4IntProc
<LI><a href="#[c7f940]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep1IntProc
<LI><a href="#[c7f988]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep0IntProc
<LI><a href="#[c7fa60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ShowSysClock
</UL>

<P><STRONG><a name="[c80940]"></a>ChangePllValue</STRONG> (ARM, 100 bytes, Stack size 24 bytes, ctrl_set.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = ChangePllValue &rArr; __aeabi_idivmod
</UL>
<BR>[Calls]<UL><LI><a href="#[c7b848]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_idivmod
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c808f8]"></a>PortInit</STRONG> (ARM, 188 bytes, Stack size 0 bytes, ctrl_set.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c808b0]"></a>InitSysTimer</STRONG> (ARM, 172 bytes, Stack size 8 bytes, ctrl_set.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c7b7b8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_uidivmod
</UL>

<P><STRONG><a name="[c7fa60]"></a>ShowSysClock</STRONG> (ARM, 36 bytes, Stack size 16 bytes, usbdemo.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c815d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
</UL>

<P><STRONG><a name="[c7fa18]"></a>main</STRONG> (ARM, 216 bytes, Stack size 16 bytes, usbdemo.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 848 + Unknown Stack Size
<LI>Call Chain = main &rArr; D12Ep4IntProc &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="#[c7f700]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbInit
<LI><a href="#[c7f748]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SuspChgProc
<LI><a href="#[c7f790]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12RdInt
<LI><a href="#[c7f7d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12RdChipId
<LI><a href="#[c7f820]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep5IntProc
<LI><a href="#[c7f868]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep4IntProc
<LI><a href="#[c7f8b0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep3IntProc
<LI><a href="#[c7f8f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep2IntProc
<LI><a href="#[c7f940]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep1IntProc
<LI><a href="#[c7f988]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep0IntProc
<LI><a href="#[c7f9d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12BusRstProc
<LI><a href="#[c808f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;PortInit
<LI><a href="#[c80940]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ChangePllValue
<LI><a href="#[c816f0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_puts
<LI><a href="#[c81780]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;console_init
<LI><a href="#[c819c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay
</UL>
<BR>[Address Reference Count : 1]<UL><LI> kernel.o(.text)
</UL>
<P><STRONG><a name="[c7f700]"></a>UsbInit</STRONG> (ARM, 152 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbInit
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df60]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetMode
<LI><a href="#[c7e038]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetDma
<LI><a href="#[c7e110]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12GetDma
<LI><a href="#[c7f7d8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12RdChipId
<LI><a href="#[c81a08]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Delay
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7e4b8]"></a>UsbGetStatus</STRONG> (ARM, 300 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbGetStatus
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e470]"></a>UsbClrFeature</STRONG> (ARM, 200 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbClrFeature
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
<LI><a href="#[c7dfa8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetEpStat
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e428]"></a>UsbSetFeature</STRONG> (ARM, 200 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbSetFeature
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
<LI><a href="#[c7dfa8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetEpStat
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e3e0]"></a>UsbSetAddress</STRONG> (ARM, 104 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbSetAddress
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
<LI><a href="#[c7e080]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetAddr
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e398]"></a>UsbSendDesc</STRONG> (ARM, 224 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 760 + Unknown Stack Size
<LI>Call Chain = UsbSendDesc &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="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
<LI><a href="#[c815d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
<LI><a href="#[c81738]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;putch
</UL>
<BR>[Called By]<UL><LI><a href="#[c7e308]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbGetDescriptor
<LI><a href="#[c7f940]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep1IntProc
</UL>

<P><STRONG><a name="[c7e350]"></a>UsbSendData</STRONG> (ARM, 104 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbSendData
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
</UL>
<BR>[Called By]<UL><LI><a href="#[c7f820]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep5IntProc
<LI><a href="#[c7f868]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12Ep4IntProc
</UL>

<P><STRONG><a name="[c7e308]"></a>UsbGetDescriptor</STRONG> (ARM, 212 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 768 + Unknown Stack Size
<LI>Call Chain = UsbGetDescriptor &rArr; UsbSendDesc &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="#[c7e398]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbSendDesc
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e2c0]"></a>UsbGetConfiguration</STRONG> (ARM, 200 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbGetConfiguration
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e278]"></a>UsbSetConfiguration</STRONG> (ARM, 180 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbSetConfiguration
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
<LI><a href="#[c7dfa8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetEpStat
<LI><a href="#[c7dff0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetEp
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e230]"></a>UsbGetInterface</STRONG> (ARM, 132 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = UsbGetInterface
</UL>
<BR>[Calls]<UL><LI><a href="#[c7df18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12WrEp
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e1e8]"></a>UsbSetInterface</STRONG> (ARM, 12 bytes, Stack size 0 bytes, d12int.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7e1a0]"></a>UsbReserved</STRONG> (ARM, 12 bytes, Stack size 0 bytes, d12int.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> d12int.o(.data)
</UL>
<P><STRONG><a name="[c7f988]"></a>D12Ep0IntProc</STRONG> (ARM, 232 bytes, Stack size 16 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 768 + Unknown Stack Size
<LI>Call Chain = D12Ep0IntProc &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="#[c7dfa8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetEpStat
<LI><a href="#[c7e0c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12RdEp
<LI><a href="#[c7e158]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12AckEp
<LI><a href="#[c815d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
<LI><a href="#[c81738]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;putch
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7f940]"></a>D12Ep1IntProc</STRONG> (ARM, 72 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 768 + Unknown Stack Size
<LI>Call Chain = D12Ep1IntProc &rArr; UsbSendDesc &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="#[c7e398]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbSendDesc
<LI><a href="#[c815d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
<LI><a href="#[c81738]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;putch
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7f8f8]"></a>D12Ep2IntProc</STRONG> (ARM, 24 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = D12Ep2IntProc
</UL>
<BR>[Calls]<UL><LI><a href="#[c7dfa8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetEpStat
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7f8b0]"></a>D12Ep3IntProc</STRONG> (ARM, 24 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = D12Ep3IntProc
</UL>
<BR>[Calls]<UL><LI><a href="#[c7dfa8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12SetEpStat
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7f868]"></a>D12Ep4IntProc</STRONG> (ARM, 120 bytes, Stack size 80 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 832 + Unknown Stack Size
<LI>Call Chain = D12Ep4IntProc &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="#[c7e0c8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;D12RdEp
<LI><a href="#[c7e350]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbSendData
<LI><a href="#[c815d0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_printf
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7f820]"></a>D12Ep5IntProc</STRONG> (ARM, 64 bytes, Stack size 8 bytes, d12int.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = D12Ep5IntProc &rArr; uart_puts &rArr; UartSend
</UL>
<BR>[Calls]<UL><LI><a href="#[c7e350]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbSendData
<LI><a href="#[c816f0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;uart_puts
</UL>
<BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7f9d0]"></a>D12BusRstProc</STRONG> (ARM, 4 bytes, Stack size 0 bytes, d12int.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7f748]"></a>D12SuspChgProc</STRONG> (ARM, 4 bytes, Stack size 0 bytes, d12int.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7fa18]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>

<P><STRONG><a name="[c7dfa8]"></a>D12SetEpStat</STRONG> (ARM, 24 bytes, Stack size 0 bytes, d12op.o(.text))
<BR><BR>[Called By]<UL><LI><a href="#[c7e278]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbSetConfiguration
<LI><a href="#[c7e428]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UsbSetFeature

⌨️ 快捷键说明

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