
TM
S
o
ft
w
a
re
–
G
en
er
a
l
C
o
n
ce
p
ts
API Calls:
What happens after enumeration?
Commonly used API calls for host devices:
•host_init()
•host_stop()
•host_reset_bus()
•host_send_control()
•host_receive_control()
•host_send()
•host_receive()
•host_add_ep()
•host_remove_ep()
•host_modify_ep()
•host_ms_delay()
•host_scan_for_device()
- Initialize the host controller
- Disable the host controller
- Reset the USB bus and all connected devices
- Send configuration info
- Get config info
- Send data on USB channel
- Get data on USB channel
- Define an EP for your use
- Delete an EP (allows others to use it)
- host_modify_ep()
- host_ms_delay()
- Application scan USB see devices attached
Содержание TWR-MCF52259-Ethenet
Страница 77: ...TM...
Страница 78: ...TM TWR MCF52259 USB April 7 2010 Hareesh S Sr FAE...
Страница 80: ...TM Introduction To USB...
Страница 87: ...TM Hub USB Topology Hub Host Root Hub Introduction To USB Topology Hub Tiered Star Hub...
Страница 89: ...TM USB Topology Introduction to USB Software General Concepts...
Страница 116: ...TM Software General Concepts API Calls What happens after enumeration Commonly used API calls for devices...
Страница 118: ...TM Software General Concepts Note to reviewers A short introduction to the demos should go here...
Страница 122: ...TM USB Topology Introduction to USB Introduction to USB Appendix A USB On the Go...
Страница 131: ...TM...
Страница 132: ...TM Freescale USB Solutions...
Страница 135: ...TM USB Solutions Low Full Speed Device Host OTG MC9S08JS16 8...
Страница 137: ...TM USB...
Страница 138: ...TM LABs...
Страница 139: ...TM LABs LAB1 HID Device operation LAB2 CDC Device Operation LAB3 MSD Host Operation LAB4 HID Host Operation...
Страница 141: ...TM Project file HID Drag the mcp file to code warrior...
Страница 142: ...TM Project file details Project files details...
Страница 143: ...TM Compiling and flash programming Make Step1 Flash programmer Step2...
Страница 144: ...TM Flash selection Select load settings Step1 Load the MCF52259 flash xml file Step2...
Страница 145: ...TM Flash selection Proper configuration chosen...
Страница 146: ...TM Flash Erasing Flash erase...
Страница 147: ...TM Flash Erasing Flash Erase...
Страница 148: ...TM Flash programming Program the code...
Страница 150: ...TM LAB2...
Страница 152: ...TM PC side drive file installation Driver file installation Choose the second option...
Страница 153: ...TM PC side driver file installation Location...
Страница 154: ...TM USB driver USB detected...
Страница 155: ...TM COM Port at System side USB commport number Step1 device manager...
Страница 158: ...TM Working...
Страница 159: ...TM LAB3...
Страница 161: ...TM Reset the board Message from the board after reset...
Страница 162: ...TM Type Help Command details...
Страница 163: ...TM USB thumb driver detected After thumb driver inserting the detection message...
Страница 164: ...TM Thumb drive contents...
Страница 165: ...TM AN3560 pdf page 21 for the USB operation...
Страница 166: ...TM...