Freescale Semiconductor TWR-MCF52259-Ethenet User Manual page 115

Table of Contents

Advertisement

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
TM

Advertisement

Table of Contents
loading

Table of Contents