00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _CONF_USB_H_
00015 #define _CONF_USB_H_
00016
00017
00018
00022
00023
00024
00025
00030
00034 #define USB_DEVICE_FEATURE ENABLED
00035
00037
00038
00039
00042
00047 #ifndef USE_USB_PADS_REGULATOR
00048
00049 #define USE_USB_PADS_REGULATOR DISABLE // Possible values ENABLE or DISABLE
00050 #endif
00052
00053
00054
00055
00059
00060 #define NB_ENDPOINTS 4
00061 #define TX_EP 0x01
00062 #define RX_EP 0x02
00063 #define INT_EP 0x03
00064
00065 #define USB_REMOTE_WAKEUP DISABLED
00066
00067 #define VBUS_SENSING_IO DISABLED
00068
00069 #define USB_RESET_CPU DISABLED
00070
00071 #define Usb_unicode(a) ((U16)(a))
00072
00076
00077
00078 #define Usb_sof_action() sof_action();
00079 #define Usb_wake_up_action()
00080 #define Usb_resume_action()
00081 #define Usb_suspend_action()
00082 #define Usb_reset_action()
00083 #define Usb_vbus_on_action()
00084 #define Usb_vbus_off_action()
00085 #define Usb_set_configuration_action()
00087
00088 extern void sof_action(void);
00089 extern void suspend_action(void);
00091
00092
00094
00095 #endif // _CONF_USB_H_