Microchip® Advanced Software Framework

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 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(), and usb_mass_storage_csw().

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

Referenced by main().