Functions | |
void | host_sof_action (void) |
host_sof_action More... | |
void | host_template_task (void *pvParameters) |
High-level host applicative task entry point Put here the code of your host application. More... | |
void | host_template_task_init (void) |
This function initializes the high-level host application. More... | |
void host_template_task | ( | void * | pvParameters | ) |
High-level host applicative task entry point Put here the code of your host application.
The sample code just sends and receives 64 bytes from IN and OUT pipes.
References buf, configTSK_USB_HTP_PERIOD, Get_class, Get_ep_pipe, Get_nb_supported_interface, host_get_data(), Host_request_resume, Host_request_suspend, host_send_data(), host_set_feature_remote_wakeup, Is_ep_in, Is_host_ready, Is_host_suspended, LED0, LED1, LED_APPLI_0, LED_APPLI_1, LED_Display_Field(), LED_MONO0_GREEN, LED_MONO1_GREEN, LED_MONO2_GREEN, LED_MONO3_GREEN, LED_Off(), LED_On(), pipe_in, pipe_out, sof_cnt, tpl_new_device_connected, VENDOR_CLASS, vTaskDelayUntil(), and xTaskGetTickCount().
Referenced by host_template_task_init(), and main().
void host_template_task_init | ( | void | ) |
This function initializes the high-level host application.
Here initialize specific hardware resources requirements.
References buf, configTSK_USB_HTP_NAME, configTSK_USB_HTP_PRIORITY, configTSK_USB_HTP_STACK_SIZE, host_template_task(), sof_cnt, tpl_new_device_connected, and xTaskCreate.
Referenced by main().