|
#define | MAX_USB_TICK_HANDLERS 6 |
|
#define | USB_SOF_TICK_DIVIDE 5 |
|
#define | InternalUSBGetTime() g_ui32CurrentUSBTick |
|
#define | USBBaseToIndex(BaseAddr) (0) |
|
#define | USBIndexToBase(Index) (USB0_BASE) |
|
#define | USB_MAX_DMA_CHANNELS_0 6 |
|
#define | USB_MAX_DMA_CHANNELS 8 |
|
#define | USBLIBSTATUS_DMA_IDLE 0x00000000 |
|
#define | USBLIBSTATUS_DMA_COMPLETE 0x00000001 |
|
#define | USBLIBSTATUS_DMA_ERROR 0x00000002 |
|
#define | USBLIBSTATUS_DMA_PENDING 0x00000004 |
|
#define | USB_DMA_EP_RX 0x00000080 |
|
#define | USB_DMA_EP_TX 0x00000000 |
|
#define | USB_DMA_EP_HOST 0x00000040 |
|
#define | USB_DMA_EP_DEVICE 0x00000000 |
|
#define | USB_DMA_EP_TYPE_CTRL 0x00000000 |
|
#define | USB_DMA_EP_TYPE_ISOC 0x00000001 |
|
#define | USB_DMA_EP_TYPE_BULK 0x00000002 |
|
#define | USB_DMA_EP_TYPE_INT 0x00000003 |
|
#define | USB_DMA_EP_TYPE_M 0x00000003 |
|
#define | USBLibDMAChannelStatus(psUSBDMAInst, ui32Channel) psUSBDMAInst->pfnChannelStatus(psUSBDMAInst, ui32Channel) |
|
#define | USBLibDMAStatus(psUSBDMAInst) psUSBDMAInst->pfnStatus(psUSBDMAInst) |
|
#define | USBLibDMAIntStatus(psUSBDMAInst) psUSBDMAInst->pfnIntStatus(psUSBDMAInst) |
|
#define | USBLibDMAIntStatusClear(psUSBDMAInst, ui32Status) psUSBDMAInst->pfnIntStatusClear(psUSBDMAInst, ui32Status) |
|
#define | USBLibDMAChannelEnable(psUSBDMAInst, ui32Channel) psUSBDMAInst->pfnChannelEnable(psUSBDMAInst, ui32Channel) |
|
#define | USBLibDMAChannelDisable(psUSBDMAInst, ui32Channel) psUSBDMAInst->pfnChannelDisable(psUSBDMAInst, ui32Channel) |
|
#define | USBLibDMATransfer(psUSBDMAInst, ui32Channel, pvBuffer, ui32Size) |
|
#define | USBLibDMAIntHandler(psUSBDMAInst, ui32Status) psUSBDMAInst->pfnIntHandler(psUSBDMAInst, ui32Status) |
|
#define | USBLibDMAChannelAllocate(psUSBDMAInst, ui8Endpoint, ui32MaxPacketSize, ui32Config) |
|
#define | USBLibDMAChannelRelease(psUSBDMAInst, ui8Endpoint) psUSBDMAInst->pfnChannelRelease(psUSBDMAInst, ui8Endpoint) |
|
#define | USBLibDMAUnitSizeSet(psUSBDMAInst, ui32Channel, ui32BitSize) |
|
#define | USBLibDMAArbSizeSet(psUSBDMAInst, ui32Channel, ui32ArbSize) |
|
#define | USBLibDMAChannelIntEnable(psUSBDMAInst, ui32Channel) psUSBDMAInst->pfnChannelIntEnable(psUSBDMAInst, ui32Channel) |
|
#define | USBLibDMAChannelIntDisable(psUSBDMAInst, ui32Channel) psUSBDMAInst->pfnChannelIntDisable(psUSBDMAInst, ui32Channel) |
|