usb_start_keil.htm
来自「基于easyarm2200的USB HID类的多媒体键盘」· HTM 代码 · 共 1,000 行 · 第 1/4 页
HTM
1,000 行
<P><STRONG><a name="[c82148]"></a>USB_init</STRONG> (ARM, 28 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = USB_init
</UL>
<BR>[Calls]<UL><LI><a href="#[c826a0]">>></a> D12_set_endpoint_en
<LI><a href="#[c826e8]">>></a> D12_set_addr_en
</UL>
<BR>[Called By]<UL><LI><a href="#[c81848]">>></a> D12_init
</UL>
<P><STRONG><a name="[c82100]"></a>stall_ep0</STRONG> (ARM, 32 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = stall_ep0
</UL>
<BR>[Calls]<UL><LI><a href="#[c824a8]">>></a> D12_set_Endpoint_status
</UL>
<BR>[Called By]<UL><LI><a href="#[c81b18]">>></a> control_handler
<LI><a href="#[c81d10]">>></a> set_interface
<LI><a href="#[c81da0]">>></a> set_configuration
<LI><a href="#[c81e30]">>></a> get_descriptor
<LI><a href="#[c81ec0]">>></a> set_feature
<LI><a href="#[c81f08]">>></a> clear_feature
<LI><a href="#[c81f50]">>></a> get_status
<LI><a href="#[c820b8]">>></a> reserved
</UL>
<P><STRONG><a name="[c820b8]"></a>reserved</STRONG> (ARM, 12 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = reserved ⇒ stall_ep0
</UL>
<BR>[Calls]<UL><LI><a href="#[c82100]">>></a> stall_ep0
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c82070]"></a>init_unconfig</STRONG> (ARM, 16 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = init_unconfig
</UL>
<BR>[Calls]<UL><LI><a href="#[c826a0]">>></a> D12_set_endpoint_en
</UL>
<BR>[Called By]<UL><LI><a href="#[c81da0]">>></a> set_configuration
</UL>
<P><STRONG><a name="[c82028]"></a>init_config</STRONG> (ARM, 16 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = init_config
</UL>
<BR>[Calls]<UL><LI><a href="#[c826a0]">>></a> D12_set_endpoint_en
</UL>
<BR>[Called By]<UL><LI><a href="#[c81da0]">>></a> set_configuration
</UL>
<P><STRONG><a name="[c81fe0]"></a>single_transmit</STRONG> (ARM, 40 bytes, Stack size 12 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c822b0]">>></a> D12_write_Endpoint
</UL>
<BR>[Called By]<UL><LI><a href="#[c81b60]">>></a> set_protocol
<LI><a href="#[c81bf0]">>></a> set_idle
<LI><a href="#[c81c38]">>></a> get_protocol
<LI><a href="#[c81cc8]">>></a> get_idle
<LI><a href="#[c81d10]">>></a> set_interface
<LI><a href="#[c81d58]">>></a> get_interface
<LI><a href="#[c81da0]">>></a> set_configuration
<LI><a href="#[c81de8]">>></a> get_configuration
<LI><a href="#[c81e78]">>></a> set_address
<LI><a href="#[c81ec0]">>></a> set_feature
<LI><a href="#[c81f08]">>></a> clear_feature
<LI><a href="#[c81f50]">>></a> get_status
</UL>
<P><STRONG><a name="[c81f98]"></a>code_transmit</STRONG> (ARM, 236 bytes, Stack size 12 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = code_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c822b0]">>></a> D12_write_Endpoint
<LI><a href="#[c82730]">>></a> ENABLE
<LI><a href="#[c82778]">>></a> DISABLE
</UL>
<BR>[Called By]<UL><LI><a href="#[c81e30]">>></a> get_descriptor
</UL>
<P><STRONG><a name="[c81f50]"></a>get_status</STRONG> (ARM, 272 bytes, Stack size 24 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 52<LI>Call Chain = get_status ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81fe0]">>></a> single_transmit
<LI><a href="#[c82100]">>></a> stall_ep0
<LI><a href="#[c82580]">>></a> D12_Endpoint_select
</UL>
<BR>[Called By]<UL><LI><a href="#[c81b18]">>></a> control_handler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81f08]"></a>clear_feature</STRONG> (ARM, 256 bytes, Stack size 16 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 44<LI>Call Chain = clear_feature ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81fe0]">>></a> single_transmit
<LI><a href="#[c82100]">>></a> stall_ep0
<LI><a href="#[c824a8]">>></a> D12_set_Endpoint_status
<LI><a href="#[c82730]">>></a> ENABLE
<LI><a href="#[c82778]">>></a> DISABLE
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81ec0]"></a>set_feature</STRONG> (ARM, 212 bytes, Stack size 16 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 44<LI>Call Chain = set_feature ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81fe0]">>></a> single_transmit
<LI><a href="#[c82100]">>></a> stall_ep0
<LI><a href="#[c824a8]">>></a> D12_set_Endpoint_status
<LI><a href="#[c82730]">>></a> ENABLE
<LI><a href="#[c82778]">>></a> DISABLE
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81e78]"></a>set_address</STRONG> (ARM, 52 bytes, Stack size 8 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = set_address ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81fe0]">>></a> single_transmit
<LI><a href="#[c826e8]">>></a> D12_set_addr_en
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81e30]"></a>get_descriptor</STRONG> (ARM, 556 bytes, Stack size 16 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 44<LI>Call Chain = get_descriptor ⇒ code_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81f98]">>></a> code_transmit
<LI><a href="#[c82100]">>></a> stall_ep0
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81de8]"></a>get_configuration</STRONG> (ARM, 40 bytes, Stack size 8 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = get_configuration ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c81fe0]">>></a> single_transmit
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81da0]"></a>set_configuration</STRONG> (ARM, 160 bytes, Stack size 8 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = set_configuration ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81fe0]">>></a> single_transmit
<LI><a href="#[c82028]">>></a> init_config
<LI><a href="#[c82070]">>></a> init_unconfig
<LI><a href="#[c82100]">>></a> stall_ep0
<LI><a href="#[c82730]">>></a> ENABLE
<LI><a href="#[c82778]">>></a> DISABLE
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81d58]"></a>get_interface</STRONG> (ARM, 40 bytes, Stack size 8 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = get_interface ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81fe0]">>></a> single_transmit
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81d10]"></a>set_interface</STRONG> (ARM, 72 bytes, Stack size 8 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 36<LI>Call Chain = set_interface ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c817b8]">>></a> UART0_SendStr
<LI><a href="#[c81fe0]">>></a> single_transmit
<LI><a href="#[c82100]">>></a> stall_ep0
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81cc8]"></a>get_idle</STRONG> (ARM, 20 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = get_idle ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c81fe0]">>></a> single_transmit
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81c80]"></a>get_report</STRONG> (ARM, 4 bytes, Stack size 0 bytes, d12.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81c38]"></a>get_protocol</STRONG> (ARM, 20 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = get_protocol ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c81fe0]">>></a> single_transmit
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81bf0]"></a>set_idle</STRONG> (ARM, 36 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = set_idle ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c81fe0]">>></a> single_transmit
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81ba8]"></a>set_report</STRONG> (ARM, 4 bytes, Stack size 0 bytes, d12.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81b60]"></a>set_protocol</STRONG> (ARM, 36 bytes, Stack size 4 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = set_protocol ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c81fe0]">>></a> single_transmit
</UL>
<BR>[Address Reference Count : 1]<UL><LI> d12.o(.data)
</UL>
<P><STRONG><a name="[c81b18]"></a>control_handler</STRONG> (ARM, 308 bytes, Stack size 16 bytes, d12.o(.text))
<BR><BR>[Stack]<UL><LI>Max Depth = 68<LI>Call Chain = control_handler ⇒ get_status ⇒ single_transmit ⇒ D12_write_Endpoint
</UL>
<BR>[Calls]<UL><LI><a href="#[c81f50]">>></a> get_status
<LI><a href="#[c82100]">>></a> stall_ep0
</UL>
<BR>[Called By]<UL><LI><a href="#[c809d8]">>></a> main
</UL>
<P><STRONG><a name="[c81ad0]"></a>ep0_rxdone</STRONG> (ARM, 620 bytes, Stack size 20 bytes, d12.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c82268]">>></a> D12_ack_Endpoint
<LI><a href="#[c822f8]">>></a> D12_read_Endpoint
<LI><a href="#[c824a8]">>></a> D12_set_Endpoint_status
<LI><a href="#[c824f0]">>></a> D12_read_last_status_reg
</UL>
<BR>[Called By]<UL><LI><a href="#[c818d8]">>></a> D12_EINT0
</UL>
<P><STRONG><a name="[c81a88]"></a>ep0_txdone</STRONG> (ARM, 292 bytes, Stack size 8 bytes, d12.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c822b0]">>></a> D12_write_Endpoint
<LI><a href="#[c824f0]">>></a> D12_read_last_status_reg
</UL>
<BR>[Called By]<UL><LI><a href="#[c818d8]">>></a> D12_EINT0
</UL>
<P><STRONG><a name="[c81a40]"></a>ep1_txdone</STRONG> (ARM, 16 bytes, Stack size 4 bytes, d12.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c824f0]">>></a> D12_read_last_status_reg
</UL>
<BR>[Called By]<UL><LI><a href="#[c818d8]">>></a> D12_EINT0
</UL>
<P><STRONG><a name="[c819f8]"></a>ep1_rxdone</STRONG> (ARM, 64 bytes, Stack size 8 bytes, d12.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c822f8]">>></a> D12_read_Endpoint
<LI><a href="#[c824f0]">>></a> D12_read_last_status_reg
</UL>
<BR>[Called By]<UL><LI><a href="#[c818d8]">>></a> D12_EINT0
</UL>
<P><STRONG><a name="[c819b0]"></a>main_txdone</STRONG> (ARM, 16 bytes, Stack size 4 bytes, d12.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c824f0]">>></a> D12_read_last_status_reg
</UL>
<BR>[Called By]<UL><LI><a href="#[c818d8]">>></a> D12_EINT0
</UL>
<P><STRONG><a name="[c81968]"></a>main_rxdone</STRONG> (ARM, 80 bytes, Stack size 12 bytes, d12.o(.text), UNUSED)
<BR><BR>[Calls]<UL><LI><a href="#[c822f8]">>></a> D12_read_Endpoint
<LI><a href="#[c824f0]">>></a> D12_read_last_status_reg
<LI><a href="#[c82538]">>></a> D12_read_Endpoint_status
</UL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?