1 /* This tests the case where the hub device is low speed. The specific test case 2 is in ux_host_class_hub_port_change_connection_process.c. */ 3 4 #include "usbx_ux_test_hub.h" 5 6 /* Define what the initial system looks like. */ 7 8 #ifdef CTEST test_application_define(void * first_unused_memory)9void test_application_define(void *first_unused_memory) 10 #else 11 void usbx_hub_low_speed_hub_device_test_application_define(void *first_unused_memory) 12 #endif 13 { 14 15 /* Inform user. */ 16 printf("Running Hub Low Speed Hub Device Test............................... "); 17 18 stepinfo("\n"); 19 20 initialize_hub(first_unused_memory); 21 } 22 post_init_host()23static void post_init_host() 24 { 25 #if UX_MAX_DEVICES > 1 26 /* Tell the host that there's a device connection. */ 27 connect_device_to_hub_speed(UX_HOST_CLASS_HUB_PORT_STATUS_LOW_SPEED); 28 class_dpump_get(); 29 ux_test_wait_for_enum_thread_completion(); 30 #endif 31 } 32 post_init_device()33static void post_init_device() 34 { 35 }