User manual

TM
Software – General Concepts
A
P
I
C
a
l
l
s
:
W
h
a
t
h
a
p
p
e
n
s
a
f
t
e
r
e
n
u
m
e
r
a
t
i
o
n
?
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