00001
00047 #ifndef _CONF_USB_H_
00048 #define _CONF_USB_H_
00049
00051 #define NB_ENDPOINTS 4
00052
00053
00054 #define TX_EP 0x01
00055 #define RX_EP 0x02
00056 #define INT_EP 0x03
00057
00058
00059 #define Usb_unicode(a) ((uint16_t)(a))
00060
00061
00062 #if defined( __ICCAVR__ )
00063 #define USB_GEN_vect USB_General_vect
00064 #endif
00065
00066
00067
00068
00069
00070 #define Usb_sof_action() sof_action();
00071 #define Usb_wake_up_action()
00072 #define Usb_resume_action()
00073 #define Usb_suspend_action() suspend_action();
00074 #define Usb_reset_action()
00075 #define Usb_vbus_on_action()
00076 #define Usb_vbus_off_action()
00077 #define Usb_set_configuration_action()
00078
00079
00080
00081 extern void sof_action(void);
00082 extern void suspend_action(void);
00083
00084 #endif