|
|
Component
USBHUB
USB HUB device
Component Level: High
Category:
CPU Internal Peripherals-Communication
Typical Usage:
(Examples of a typical usage of the component in user code.
For more information please
see the page Component Code
Typical Usage.)
Bus-powered hubs. Bus-powered hubs are required to have power switches. You must switch the power-on/off in respond to events OnPowerOnDownstreamPort(Port) OnPowerOffDownstreamPort(Port). Self-powered hubs. Self-powered hubs are required to have over-current protection. Depends on the type of the over-current protection you can call method PortOvercurrent(Port) or HubOvercurrent() to report over-current event to the host. Self-powered hubs can call LocalPowerSourceChange(state) to inform the host about changes in local power source state. |