+ if( status[1] & 0x0001 )
+ {
+ if( status[0] & 0x0001 ) {
+ // Connected
+ // - Power on port
+ USB_Request(Dev, 0, 0x23, SET_FEATURE, PORT_POWER, Port, 0, NULL);
+ Time_Delay(info->PowerOnDelay);
+ // - Reset
+ USB_Request(Dev, 0, 0x23, SET_FEATURE, PORT_RESET, Port, 0, NULL);
+ Time_Delay(50);
+ // - Enable
+ USB_Request(Dev, 0, 0x23, SET_FEATURE, PORT_ENABLE, Port, 0, NULL);
+ // - Poke USB Stack
+ USB_DeviceConnected(info->HubPtr, Port);
+ }
+ else {
+ // Disconnected
+ USB_DeviceDisconnected(info->HubPtr, Port);
+ }
+ }