USBHub3p¶
Class¶
-
class aUSBHub3p : public Acroname::BrainStem::Module¶
Concrete Module implementation of a aUSBHub3p Allows a user to connect to and control an attached hub.
Public Types
-
enum PORT_ID¶
Port ID 3p
Values:
-
enumerator kPORT_ID_0¶
-
enumerator kPORT_ID_1¶
-
enumerator kPORT_ID_2¶
-
enumerator kPORT_ID_3¶
-
enumerator kPORT_ID_4¶
-
enumerator kPORT_ID_5¶
-
enumerator kPORT_ID_6¶
-
enumerator kPORT_ID_7¶
-
enumerator kPORT_ID_DWNA¶
-
enumerator kPORT_ID_UP0¶
-
enumerator kPORT_ID_UP1¶
-
enumerator kPORT_ID_CONTROL¶
-
enumerator kPORT_ID_0¶
Public Members
-
Acroname::BrainStem::PointerClass pointer[aUSBHUB3P_NUM_POINTERS]¶
Pointer Class
-
Acroname::BrainStem::StoreClass store[aUSBHUB3P_NUM_STORES]¶
Store Class
-
Acroname::BrainStem::SystemClass system¶
System Class
-
Acroname::BrainStem::TemperatureClass temperature¶
Temperature Class
-
Acroname::BrainStem::TimerClass timer[aUSBHUB3P_NUM_TIMERS]¶
Timer Class
-
class HubClass : public Acroname::BrainStem::USBSystemClass¶
Hub class implementation for use with USBHub3p.
-
enum PORT_ID¶
Defines¶
-
aUSBHUB3P_MODULE 6¶
USBHub3p module number
-
aUSBHUB3P_NUM_APPS 4¶
Number of App instances available
-
aUSBHUB3P_NUM_POINTERS 4¶
Number of Pointer instances available
-
aUSBHUB3P_NUM_STORES 2¶
Number of Store instances available
-
aUSBHUB3P_NUM_INTERNAL_SLOTS 12¶
Store: Number of internal slots instances available
-
aUSBHUB3P_NUM_RAM_SLOTS 1¶
Store: Number of RAM slot instances available
-
aUSBHUB3P_NUM_TIMERS 8¶
Number of Timer instances available
-
aUSBHUB3P_NUM_USB 1¶
Number of USB instances available
-
aUSBHUB3P_NUM_USB_PORTS 8¶
Number of USB ports available
-
aUSBHUB3P_NUM_PORTS 12¶
Number of Prts available
Port State Defines¶
-
aUSBHUB3P_USB_VBUS_ENABLED 0¶
USB VBUS current state
-
aUSBHUB3P_USB2_DATA_ENABLED 1¶
USB2 data current state
-
aUSBHUB3P_USB3_DATA_ENABLED 3¶
USB3 data current state
-
aUSBHUB3P_USB_SPEED_USB2 11¶
USB2 speed current state
-
aUSBHUB3P_USB_SPEED_USB3 12¶
USB3 speed current state
-
aUSBHUB3P_USB_ERROR_FLAG 19¶
Error indicator for this port
(see ‘Port Errors’ below)
-
aUSBHUB3P_USB2_BOOST_ENABLED 20¶
USB2 boost current state
-
aUSBHUB3P_DEVICE_ATTACHED 23¶
Device attached indicator for this port
Port State Error Defines¶
-
aUSBHUB3P_ERROR_VBUS_OVERCURRENT 0¶
VBUS overcurrent error
-
aUSBHUB3P_ERROR_VBUS_BACKDRIVE 1¶
VBUS backdrive (backpower) error
-
aUSBHUB3P_ERROR_HUB_POWER 2¶
Hub power error
-
aUSBHUB3P_ERROR_OVER_TEMPERATURE 3¶
Over temperature error
-
aUSBHUB3P_ERROR_DISCHARGE_ERR 4¶
For compat with USBHub2x4
-
aUSBHUB3P_ERROR_SHORT_CIRCUIT 5¶
Short circuit detected