Atmel Software Framework

applications/evk1100-control-panel/usb/appli/mass_storage/device_mass_storage_task.h File Reference
#include "conf_usb.h"

Functions

void device_mass_storage_task (void)
 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  )

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, 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, NULL, sof_cnt, Usb_enable_sof_interrupt, and xTaskCreate.

Referenced by b_usbsys_start(), and main().