Microchip® Advanced Software Framework

device_mass_storage_task.h File Reference
#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.

Parameters
pvParametersInput. Unused.

References configTSK_USB_DMS_PERIOD, EP_MS_OUT, Is_device_enumerated, Is_usb_out_received, usb_mass_storage_cbw(), usb_mass_storage_csw(), vTaskDelayUntil(), and xTaskGetTickCount().

Referenced by device_mass_storage_task_init().

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

Referenced by b_usbsys_start().