00001
00062 #ifndef usbdeviceparam_H
00063
00064 #ifndef __doxygen_HIDE
00065
00066 #define usbdeviceparam_H
00067
00068 #endif
00069
00070 #include "ixp425.h"
00071 #include "ixp425IntrCtl.h"
00072
00074 #define UDC_REGISTERS_BASE IX_OSSERV_USB_PHYS_BASE
00075
00077 #define UDC_IRQ IXP425_INT_LVL_USB
00078
00080 #define NUM_ENDPOINTS 16
00081
00083 #define SETUP_PACKET_SIZE 8
00084
00086 #define CONTROL_FIFO_SIZE 16
00087
00089 #define CONTROL_PACKET_SIZE 16
00090
00092 #define INTERRUPT_FIFO_SIZE 8
00093
00095 #define INTERRUPT_PACKET_SIZE 8
00096
00098 #define BULK_FIFO_SIZE 64
00099
00101 #define BULK_PACKET_SIZE 64
00102
00103 #ifdef IX_USB_DMA
00104
00106 #define BULK_DMA_SIZE 512
00107
00108 #endif
00109
00111 #define ISOCHRONOUS_FIFO_SIZE 256
00112
00114 #define ISOCHRONOUS_PACKET_SIZE 256
00115
00116 #ifdef IX_USB_DMA
00117
00119 #define ISOCHRONOUS_DMA_SIZE 256
00120
00121 #endif
00122
00123 #endif
00124