USB device operating mode configuration
[USB application configuration]


Modules

 USB device custom actions

Defines

#define USB_DEVICE_SN_USE   ENABLE
#define USE_DEVICE_SN_UNIQUE   DISABLE
#define EP_MS_IN   1
#define EP_MS_OUT   2
#define USB_REMOTE_WAKEUP_FEATURE   DISABLE
#define Usb_unicode(a)   ((U16)(a))

Functions

void sof_action (void)
 This function increments the cpt_sof counter each times the USB Start Of Frame interrupt subroutine is executed (1ms) Usefull to manage time delays.

Define Documentation

#define USB_DEVICE_SN_USE   ENABLE

Definition at line 176 of file conf_usb.h.

#define USE_DEVICE_SN_UNIQUE   DISABLE

Definition at line 177 of file conf_usb.h.

#define EP_MS_IN   1

Definition at line 179 of file conf_usb.h.

Referenced by usb_mass_storage_cbw(), usb_mass_storage_csw(), usb_user_endpoint_init(), and usb_user_interface_reset().

#define EP_MS_OUT   2

Definition at line 180 of file conf_usb.h.

Referenced by storage_task(), usb_mass_storage_cbw(), usb_mass_storage_csw(), usb_user_endpoint_init(), and usb_user_interface_reset().

#define USB_REMOTE_WAKEUP_FEATURE   DISABLE

Definition at line 182 of file conf_usb.h.

Referenced by usb_clear_feature(), and usb_set_feature().

#define Usb_unicode (  )     ((U16)(a))

Definition at line 184 of file conf_usb.h.


Function Documentation

void sof_action ( void   ) 

This function increments the cpt_sof counter each times the USB Start Of Frame interrupt subroutine is executed (1ms) Usefull to manage time delays.

Definition at line 122 of file storage_task.c.

00123 {
00124    cpt_sof++;
00125 }


Generated on Mon Sep 14 13:42:34 2009 for ATMEL by  doxygen 1.5.3