#include "conf_usb.h"
Functions | |
void | device_mass_storage_task (void *pvParameters) |
Entry point of the device mass-storage task management. More... | |
void | device_mass_storage_task_init (void) |
This function initializes the hardware/software resources required for device mass-storage task. More... | |
void | usb_sof_action (void) |
usb_sof_action More... | |
void device_mass_storage_task | ( | void * | pvParameters | ) |
Entry point of the device mass-storage task management.
This function links the device mass-storage SCSI commands to the USB bus.
References configTSK_USB_DMS_PERIOD, EP_MS_OUT, Is_device_enumerated, Is_usb_out_received, LED0, LED1, LED_Display_Field(), LED_MONO0_GREEN, LED_MONO1_GREEN, LED_MONO2_GREEN, LED_MONO3_GREEN, sof_cnt, usb_mass_storage_cbw(), usb_mass_storage_csw(), vTaskDelayUntil(), and xTaskGetTickCount().
Referenced by device_mass_storage_task_init(), and main().
void device_mass_storage_task_init | ( | void | ) |
This function initializes the hardware/software resources required for device mass-storage task.
References configTSK_USB_DMS_NAME, configTSK_USB_DMS_PRIORITY, configTSK_USB_DMS_STACK_SIZE, device_mass_storage_task(), EP_MS_IN, EP_MS_OUT, g_scsi_ep_ms_in, g_scsi_ep_ms_out, Is_usb_device, sof_cnt, Usb_enable_sof_interrupt, and xTaskCreate.
Referenced by main().