#include "conf_usb.h"
Functions | |
void | device_template_task (void) |
Entry point of the device applicative task management. More... | |
void | device_template_task_init (void) |
This function initializes the hardware/software resources required for device applicative task. More... | |
void | usb_sof_action (void) |
usb_sof_action More... | |
void device_template_task | ( | void | ) |
Entry point of the device applicative task management.
This function links the device application to the USB bus.
References buf, configTSK_USB_DTP_PERIOD, data_length, EP_SIZE_TEMP2, EP_TEMP_IN, EP_TEMP_OUT, Is_device_enumerated, Is_usb_in_ready, Is_usb_out_received, 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(), NULL, sof_cnt, Usb_ack_in_ready_send, Usb_ack_out_received_free, Usb_byte_count, usb_read_ep_rxpacket(), Usb_reset_endpoint_fifo_access, usb_write_ep_txpacket(), vTaskDelayUntil(), and xTaskGetTickCount().
Referenced by device_template_task_init(), and main().
void device_template_task_init | ( | void | ) |
This function initializes the hardware/software resources required for device applicative task.
References configTSK_USB_DTP_NAME, configTSK_USB_DTP_PRIORITY, configTSK_USB_DTP_STACK_SIZE, data_length, device_template_task(), Is_usb_device, NULL, sof_cnt, Usb_enable_sof_interrupt, and xTaskCreate.
Referenced by main().