- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Defines | Typedefs | Enumerations | Functions
csl_usb.h File Reference

USB MUSB functional layer API header file. More...

`#include <cslr.h>`
`#include <csl_error.h>`
`#include <csl_types.h>`
`#include <cslr_usb.h>`
`#include <soc.h>`
`#include <csl_general.h>`

Go to the source code of this file.

## Data Structures
struct | CSL_UsbTransfer
| USB end point transfer data structure. More...
struct | CSL_UsbEpStatus
| USB end point status structure. More...
struct | CSL_UsbSetupStruct
| Data structure to hold USB setup packet. More...
struct | CSL_UsbDataStruct
| USB data structure to send and receive data. More...
struct | CSL_UsbEpObj
| Data Structure for USB Endpoint Object. More...
struct | CSL_UsbContext
| USB context information structure. More...
struct | CSL_UsbMsgObj
| USB message object structure. More...
struct | CSL_UsbConfig
| USB Config structure. More...
struct | CSL_UsbHostPktDescr
| USB DMA host packet descriptor structure. More...
struct | CSL_UsbHostBufDescr
| USB DMA host buffer descriptor structure. More...
## Defines
#define | CSL_USB_EP0 (0)
| USB end point numbers.
#define | CSL_USB_EP1 (1)
#define | CSL_USB_EP2 (2)
#define | CSL_USB_EP3 (3)
#define | CSL_USB_EP4 (4)
#define | CSL_USB_IN_TRANSFER (0x80)
| Flags for transfer functions.
#define | CSL_USB_OUT_TRANSFER (0x00)
#define | CSL_USB_MAX_EP0_FIFO_LEN (0x0040)
#define | CSL_USB_SETUP_PACKET_LEN (4)
#define | CSL_USB_EP0_PACKET_SIZE (0x40)
#define | CSL_USB_EP_PACKET_SIZE_FS (0x40)
#define | CSL_USB_EP_PACKET_SIZE_HS (0x200)
#define | CSL_USB_EP1_PACKET_SIZE_FS (0x40)
#define | CSL_USB_EP1_PACKET_SIZE_HS (0x200)
#define | CSL_USB_EP2_PACKET_SIZE_FS (0x40)
#define | CSL_USB_EP2_PACKET_SIZE_HS (0x200)
#define | CSL_USB_EP3_PACKET_SIZE_FS (0x40)
#define | CSL_USB_EP3_PACKET_SIZE_HS (0x200)
#define | CSL_USB_EP4_PACKET_SIZE_FS (0x40)
#define | CSL_USB_EP4_PACKET_SIZE_HS (0x200)
#define | CSL_USB_FIFO_SIZE (512)
#define | CSL_USB_IN_EP_FIFO_START (8)
#define | CSL_USB_OUT_EP_FIFO_START (8)
#define | CSL_USB_TXRXFIFOSZ_TX_SHIFT (0)
| USB TX FIFO size register shift value.
#define | CSL_USB_TXRXFIFOSZ_RX_SHIFT (8)
| USB RX FIFO size register shift value.
#define | CSL_USB_TX_FIFO_SIZE_8 (0)
| USB TX FIFO size - 8 bits.
#define | CSL_USB_TX_FIFO_SIZE_16 (1)
| USB TX FIFO size - 16 bits.
#define | CSL_USB_TX_FIFO_SIZE_32 (2)
| USB TX FIFO size - 32 bits.
#define | CSL_USB_TX_FIFO_SIZE_64 (3)
| USB TX FIFO size - 64 bits.
#define | CSL_USB_TX_FIFO_SIZE_128 (4)
| USB TX FIFO size - 128 bits.
#define | CSL_USB_TX_FIFO_SIZE_256 (5)
| USB TX FIFO size - 256 bits.
#define | CSL_USB_TX_FIFO_SIZE_512 (6)
| USB TX FIFO size - 512 bits.
#define | CSL_USB_TX_FIFO_SIZE_1024 (7)
| USB TX FIFO size - 1024 bits.
#define | CSL_USB_TX_FIFO_SIZE_2048 (8)
| USB TX FIFO size - 2048 bits.
#define | CSL_USB_TX_FIFO_SIZE_4096 (9)
| USB TX FIFO size - 4096 bits.
#define | CSL_USB_RX_FIFO_SIZE_8 (0 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 8 bits.
#define | CSL_USB_RX_FIFO_SIZE_16 (1 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 16 bits.
#define | CSL_USB_RX_FIFO_SIZE_32 (2 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 32 bits.
#define | CSL_USB_RX_FIFO_SIZE_64 (3 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 64 bits.
#define | CSL_USB_RX_FIFO_SIZE_128 (4 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 128 bits.
#define | CSL_USB_RX_FIFO_SIZE_256 (5 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 256 bits.
#define | CSL_USB_RX_FIFO_SIZE_512 (6 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 512 bits.
#define | CSL_USB_RX_FIFO_SIZE_1024 (7 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 1024 bits.
#define | CSL_USB_RX_FIFO_SIZE_2048 (8 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 2048 bits.
#define | CSL_USB_RX_FIFO_SIZE_4096 (9 << CSL_USB_TXRXFIFOSZ_RX_SHIFT)
| USB RX FIFO size - 4096 bits.
#define | CSL_USB_ENDPOINT_COUNT (8)
| USB End point count.
#define | CSL_USB_MAX_OUTEP0BUF_LEN (128)
| USB maximum output buffer length.
#define | CSL_USB_MAX_NUMBER_OF_UI_MSG (2)
| USB maximum number of User Interface messages.
#define | CSL_USB_IOFLAG_NONE (0x0000)
| USB IO Flags.
#define | CSL_USB_IOFLAG_NOSHORT (0x0001)
#define | CSL_USB_IOFLAG_SWAP (0x0002)
#define | CSL_USB_IOFLAG_LNK (0x0004)
#define | CSL_USB_IOFLAG_CAT (0x0008)
#define | CSL_USB_IOFLAG_EOLL (0x0010)
#define | CSL_USB_IOFLAG_NOT (0x0020)
#define | CSL_USB_EVENT_NONE (0x0000)
| USB Events.
#define | CSL_USB_EVENT_RESET (0x0001)
#define | CSL_USB_EVENT_SOF (0x0002)
#define | CSL_USB_EVENT_SUSPEND (0x0004)
#define | CSL_USB_EVENT_RESUME (0x0008)
#define | CSL_USB_EVENT_SETUP (0x0010)
#define | CSL_USB_EVENT_EOT (0x0020)
#define | CSL_USB_EVENT_STPOW (0x0040)
#define | CSL_USB_EVENT_PSOF (0x0080)
#define | CSL_USB_EVENT_HINT (0x0100)
#define | CSL_USB_EVENT_HERR (0x0200)
#define | CSL_USB_EVENT_ISO_TX (0x0400)
#define | CSL_USB_EVENT_ISO_RX (0x0800)
#define | CSL_USB_EVENT_READ_MEDIA (0x1000)
#define | CSL_USB_EVENT_WRITE_MEDIA (0x2000)
#define | CSL_USB_EVENT_HID_REPORT_TX (0x4000)
#define | CSL_USB_GET_STATUS (0x00)
| Standard USB requests.
#define | CSL_USB_CLEAR_FEATURE (0x01)
#define | CSL_USB_SET_FEATURE (0x03)
#define | CSL_USB_SET_ADDRESS (0x05)
#define | CSL_USB_GET_DESCRIPTOR (0x06)
#define | CSL_USB_SET_DESCRIPTOR (0x07)
#define | CSL_USB_GET_CONFIGURATION (0x08)
#define | CSL_USB_SET_CONFIGURATION (0x09)
#define | CSL_USB_GET_INTERFACE (0x0A)
#define | CSL_USB_SET_INTERFACE (0x0B)
#define | CSL_USB_SYNCH_FRAME (0x0C)
#define | CSL_USB_GET_MAX_LUN (0xFE)
#define | CSL_USB_BOT_MSC_RESET (0xFF)
#define | CSL_USB_REQUEST_TYPE_DEVICE_STATUS (0x80)
#define | CSL_USB_REQUEST_TYPE_INTERFACE_STATUS (0x81)
#define | CSL_USB_REQUEST_TYPE_ENDPOINT_STATUS (0x82)
#define | CSL_USB_SET_CUR (0x01)
| Standard USB requests for audio class.
#define | CSL_USB_GET_CUR (0x81)
#define | CSL_USB_SET_MIN (0x02)
#define | CSL_USB_GET_MIN (0x82)
#define | CSL_USB_SET_MAX (0x03)
#define | CSL_USB_GET_MAX (0x83)
#define | CSL_USB_SET_RES (0x04)
#define | CSL_USB_GET_RES (0x84)
#define | CSL_USB_SET_MEM (0x05)
#define | CSL_USB_GET_MEM (0x85)
#define | CSL_USB_GET_STAT (0xFF)
#define | CSL_USB_GET_REPORT (0x01)
| Standard USB requests for HID class.
#define | CSL_USB_GET_IDLE (0x02)
#define | CSL_USB_GET_PROTOCOL (0x03)
#define | CSL_USB_SET_REPORT (0x09)
#define | CSL_USB_SET_IDLE (0x0A)
#define | CSL_USB_SET_PROTOCOL (0x0B)
#define | CSL_USB_DEVICE_DESCRIPTOR_TYPE (0x01)
| USB Descriptor Type Values.
#define | CSL_USB_CONFIGURATION_DESCRIPTOR_TYPE (0x02)
| USB Configuration Descriptor Type Value.
#define | CSL_USB_STRING_DESCRIPTOR_TYPE (0x03)
| USB String Descriptor Type Value.
#define | CSL_USB_INTERFACE_DESCRIPTOR_TYPE (0x04)
| USB Interface Descriptor Type Value.
#define | CSL_USB_ENDPOINT_DESCRIPTOR_TYPE (0x05)
| USB End point Descriptor Type Value.
#define | CSL_USB_DEVICE_QUAL_DESCRIPTOR_TYPE (0x06)
| USB deice qualifier Descriptor Type Value.
#define | CSL_USB_OTHERSPEED_CFG_DESCRIPTOR_TYPE (0x07)
| USB other speed configuration Descriptor Type Value.
#define | CSL_USB_HID_DESCRIPTOR_TYPE (0x21)
| USB HID Descriptor Type Value.
#define | CSL_USB_HID_REPORT_DESCRIPTOR_TYPE (0x22)
| USB HID Report Descriptor Type Value.
#define | CSL_USB_FEATURE_ENDPOINT_STALL (0x0000)
| USB End point Stall Feature.
#define | CSL_USB_FEATURE_REMOTE_WAKEUP (0x0001)
| USB Remote Wakeup Feature.
#define | CSL_USB_GBL_INT_SUSPEND (1<<0)
| USB Interrupt source register bit positions.
#define | CSL_USB_GBL_INT_RESUME (1<<1)
#define | CSL_USB_GBL_INT_RESET (1<<2)
#define | CSL_USB_GBL_INT_SOF (1<<3)
#define | CSL_USB_GBL_INT_DEVCONN (1<<4)
#define | CSL_USB_GBL_INT_DEVDISCONN (1<<5)
#define | CSL_USB_GBL_INT_SRP (1<<6)
#define | CSL_USB_GBL_INT_VBUSERR (1<<7)
#define | CSL_USB_GBL_INT_DRVVBUS (1<<8)
#define | CSL_USB_RX_INT_EP4 (1<<12)
| Bit positions for USB Rx interrupts.
#define | CSL_USB_RX_INT_EP3 (1<<11)
#define | CSL_USB_RX_INT_EP2 (1<<10)
#define | CSL_USB_RX_INT_EP1 (1<<9)
#define | CSL_USB_TX_INT_EP4 (1<<4)
| Bit positions for USB Tx (EP 4 - 1) and Tx & Rx (EP0) interrupts.
#define | CSL_USB_TX_INT_EP3 (1<<3)
#define | CSL_USB_TX_INT_EP2 (1<<2)
#define | CSL_USB_TX_INT_EP1 (1<<1)
#define | CSL_USB_TX_RX_INT_EP0 (1<<0)
#define | CSL_USB_DELAY (0xFF)
| USB delay value.
#define | CSL_USB_DATA_DELAY (0xFFF)
| USB delay value used for data transfer operations.
#define | CSL_USB_RESUME_DELAY (10)
| USB delay for resume protocol (In msecs)
#define | CSL_USB_PER_RESTCOUNT (0x20)
| USB peripheral reset count value.
#define | CSL_USB_INTRUSB_INTRUSBE_DEFVAL (0x7fff)
| USB Interrupt register default values.
#define | CSL_USB_INTMSKSETR1_DEFVAL (0xFFFF)
#define | CSL_USB_INTMSKSETR2_DEFVAL (0xFFF7)
#define | CSL_USB_SYS_CTRL_REG_DEF_VAL (0x6040)
#define | CSL_USB_CLOCKSTOP_REG_DEF_VAL (0x0)
#define | CSL_USB_DMA_SCHED_CTRL1_DEFVAL (0x0001)
| USB Dma registers default values.
#define | CSL_USB_ENTRYLSW_DEFVAL (0x0081)
#define | CSL_USB_RXGCR1_DEFVAL (0x401A)
#define | CSL_USB_RXGCR2_DEFVAL (0x8100)
#define | CSL_USB_LRAM0SIZE_DEFVAL (0x200)
#define | CSL_USB_QMEMRCTRL1_DEFVAL (0x200)
#define | CSL_USB_QMEMRCTRL2_DEFVAL (0x0000)
#define | CSL_USB_16BIT_REG_MASK (0xFFFF)
#define | CSL_USB_16BIT_REG_SHIFT (16)
#define | CSL_USB_PLL_PLLCNTL1_DEFVAL (0x8BE8)
| PLL register default values(100MHz)
#define | CSL_USB_PLL_PLLINCNTL_DEFVAL (0x8000)
#define | CSL_USB_PLL_PLLCNTL2_DEFVAL (0x0806)
#define | CSL_USB_PLL_PLLOUTCNTL_DEFVAL (0x0000)
#define | CSL_USB_PLL_TIMEOUT (0xFFFF)
#define | CSL_USB_INTMASKEDRL_LSB (0)
#define | CSL_USB_INTMASKEDRL_MSB (12)
#define | CSL_USB_INTMASKEDRH_LSB (0)
#define | CSL_USB_INTMASKEDRH_MSB (8)
#define | CSL_USB_INTCLRRL_LSB (0)
#define | CSL_USB_INTCLRRL_MSB (12)
#define | CSL_USB_INTCLRRH_LSB (0)
#define | CSL_USB_INTCLRRH_MSB (8)
#define | CSL_USB_INVALID_MAXPOWER (0xFFFF)
#define | CSL_USB_WORD_ACCESS (0)
#define | CSL_USB_HIGHBYTE_ACCESS (1)
#define | CSL_USB_LOWBYTE_ACCESS (2)
#define | CSL_USB_MIN(a, b) (((a)<(b))?(a):(b))
#define | CSL_USB_CHANGE_ACCESSTYPE(byte) CSL_FINS(CSL_SYSCTRL_REGS->USBSCR, SYS_USBSCR_USBBYTEMODE, byte)
| Macro to enable disable byte access byte = 0 - Enables word access byte = 1 - Enables MSB byte access byte = 2 - Enables LSB byte access.
#define | CSL_USB_BYTESWAP(word) ((((word) >> 8u) & 0xFFu) | (((word) & 0xFFu) << 8u))
## Typedefs
typedef Uint16 | CSL_UsbIoFlags
typedef Uint16 | CSL_UsbEventMask
typedef Uint16 | CSL_UsbByteCount
typedef Uint16 | CSL_UsbFrameNum
typedef void(* | CSL_USB_EVENT_ISR )()
typedef void(* | CSL_USB_APP_CALLBACK )(Uint16 flag)
typedef CSL_Status(* | CSL_USB_APP_TRANSFER_CALLBACK )(void *, void *)
typedef struct CSL_UsbTransfer | CSL_UsbTransfer
| USB end point transfer data structure.
typedef CSL_UsbTransfer * | pUsbTransfer
typedef struct CSL_UsbEpStatus | CSL_UsbEpStatus
| USB end point status structure.
typedef CSL_UsbEpStatus * | pUsbEpStatus
typedef struct CSL_UsbSetupStruct | CSL_UsbSetupStruct
| Data structure to hold USB setup packet.
typedef struct CSL_UsbDataStruct | CSL_UsbDataStruct
| USB data structure to send and receive data.
typedef struct CSL_UsbEpObj | CSL_UsbEpObj
| Data Structure for USB Endpoint Object.
typedef CSL_UsbEpObj * | pUsbEpHandle
typedef struct CSL_UsbContext | CSL_UsbContext
| USB context information structure.
typedef CSL_UsbContext * | pUsbContext
typedef struct CSL_UsbMsgObj | CSL_UsbMsgObj
| USB message object structure.
typedef struct CSL_UsbConfig | CSL_UsbConfig
| USB Config structure.
typedef struct CSL_UsbHostPktDescr | CSL_UsbHostPktDescr
| USB DMA host packet descriptor structure.
typedef struct CSL_UsbHostBufDescr | CSL_UsbHostBufDescr
| USB DMA host buffer descriptor structure.
## Enumerations
enum | CSL_UsbEpNum { CSL_USB_OUT_EP0 = 0x00, CSL_USB_OUT_EP1 = 0x01, CSL_USB_OUT_EP2 = 0x02, CSL_USB_OUT_EP3 = 0x03, CSL_USB_OUT_EP4 = 0x04, CSL_USB_OUT_EP5 = 0x05, CSL_USB_OUT_EP6 = 0x06, CSL_USB_OUT_EP7 = 0x07, CSL_USB_IN_EP0 = 0x08, CSL_USB_IN_EP1 = 0x09, CSL_USB_IN_EP2 = 0x0A, CSL_USB_IN_EP3 = 0x0B, CSL_USB_IN_EP4 = 0x0C, CSL_USB_IN_EP5 = 0x0D, CSL_USB_IN_EP6 = 0x0E, CSL_USB_IN_EP7 = 0x0F }
| This enum defines Ep Input output numbers. More...
enum | CSL_UsbEp0State { CSL_USB_EP0_IDLE = 0, CSL_USB_EP0_STATUS_IN, CSL_USB_EP0_TX, CSL_USB_EP0_RX }
| This enum defines the various EP states. More...
enum | CSL_UsbDeviceEvent { CSL_USB_DEVICE_DETACH = 0, CSL_USB_DEVICE_ATTACH }
| This enum defines USB Device Events. More...
enum | CSL_UsbBusSpeed { CSL_USB_BS_UNKNOWN_SPEED = 0, CSL_USB_BS_FULL_SPEED = (1 << 1), CSL_USB_BS_HIGH_SPEED = (1 << 2) }
| This enum defines USB Bus Speeds. More...
enum | CSL_UsbMscMsg { CSL_USB_MSG_MSC_CTL = 0, CSL_USB_MSG_MSC_BULK_IN, CSL_USB_MSG_MSC_BULK_OUT, CSL_USB_MSG_ISO_OUT, CSL_USB_MSG_ISO_IN, CSL_USB_MSG_HID_INT_IN, CSL_USB_MSG_MSC_TASK_EXIT }
| This enum defines the messages for MSC Task. More...
enum | CSL_UsbUiMsg { CSL_USB_MSG_USBUI_HOSTFEATURE = 0, CSL_USB_MSG_USBUI_USBERROR, CSL_USB_MSG_USBUI_TASK_EXIT }
| This enum defines the messages for USBUI Task. More...
enum | CSL_UsbMainMsg { CSL_USB_MSG_DATA = 0, CSL_USB_MSG_USB_INT, CSL_USB_MSG_RESET_DEVICE, CSL_USB_MSG_CONNECT_DEVICE, CSL_USB_MSG_DISCONNECT_DEVICE, CSL_USB_MSG_STALL_ENDPOINT, CSL_USB_MSG_CLEAR_ENDPOINT_STALL, CSL_USB_MSG_ABORT_TRANSFER, CSL_USB_MSG_SEND_HAND_SHAKE, CSL_USB_MSG_MAIN_TASK_EXIT }
| This enum defines the messages for USB Main Task. More...
enum | CSL_UsbXferType { CSL_USB_CTRL = 0x00, CSL_USB_BULK = 0x01, CSL_USB_INTR = 0x02, CSL_USB_ISO = 0x03, CSL_USB_HPORT = 0x04 }
| This enum defines the USB Transfer Types. More...
enum | CSL_UsbDevNum { CSL_USB0 = 0x00, CSL_USB1 = 0x01, CSL_USB2 = 0x02 }
| This enum defines the USB device number.
enum | CSL_UsbEp0DataDir { CSL_USB_EP0_DATA_OUT = 0x00, CSL_USB_EP0_DATA_IN = 0x01 }
| This enum defines the USB EP0 data dir type.
enum | CSL_UsbBoolean { CSL_USB_FALSE = 0, CSL_USB_TRUE }
| This enum defines status return values of USB.
enum | CSL_UsbOpMode { CSL_USB_OPMODE_POLLED = 0, CSL_USB_OPMODE_DMA, CSL_USB_OPMODE_DMA_TXONLY }
| This enum is used to select the operating mode of the USB. More...
## Functions
CSL_Status | USB_init (CSL_UsbConfig *usbConfig)
CSL_Status | USB_resetDev (CSL_UsbDevNum devNum)
CSL_Status | USB_initEndptObj (CSL_UsbDevNum devNum, pUsbEpHandle hEp, CSL_UsbEpNum epNum, CSL_UsbXferType xferType, Uint16 maxPktSize, Uint16 evMask, CSL_USB_EVENT_ISR fxn)
CSL_UsbEventMask | USB_getEvents (pUsbEpHandle hEp, CSL_Status *status)
CSL_UsbEventMask | USB_peekEvents (pUsbEpHandle hEp, CSL_Status *status)
CSL_Status | USB_getSetupPacket (CSL_UsbDevNum devNum, CSL_UsbSetupStruct *usbSetup, Bool readFromFifo)
CSL_Status | USB_postTransaction (pUsbEpHandle hEp, Uint16 byteCnt, void *data, CSL_UsbIoFlags flags)
CSL_UsbBoolean | USB_isTransactionDone (pUsbEpHandle hEp, CSL_Status *status)
CSL_UsbByteCount | USB_bytesRemaining (pUsbEpHandle hEp, CSL_Status *status)
CSL_Status | USB_stallEndpt (pUsbEpHandle hEp)
CSL_Status | USB_clearEndptStall (pUsbEpHandle hEp)
CSL_UsbBoolean | USB_getEndptStall (pUsbEpHandle hEp, CSL_Status *status)
pUsbEpHandle | USB_epNumToHandle (CSL_UsbDevNum devNum, Uint16 endpt)
CSL_Status | USB_abortTransaction (pUsbEpHandle hEp)
CSL_Status | USB_abortAllTransaction (CSL_UsbDevNum devNum)
CSL_Status | USB_connectDev (CSL_UsbDevNum devNum)
CSL_Status | USB_disconnectDev (CSL_UsbDevNum devNum)
CSL_Status | USB_setRemoteWakeup (CSL_UsbDevNum devNum, CSL_UsbBoolean rmtWkpStat)
CSL_UsbBoolean | USB_getRemoteWakeupStat (CSL_UsbDevNum devNum)
CSL_Status | USB_issueRemoteWakeup (CSL_UsbDevNum devNum, Bool resumeBitVal)
CSL_Status | USB_setDevAddr (CSL_UsbDevNum devNum, Uint16 addr)
CSL_UsbFrameNum | USB_getFrameNo (CSL_UsbDevNum devNum)
CSL_Status | USB_suspendDevice (CSL_UsbDevNum devNum)
CSL_Status | USB_selfwakeup (CSL_UsbDevNum devNum, Uint32 wakeupDelay)
void | USB_initPLL (void)
CSL_Status | USB_setParams (CSL_UsbDevNum devNum, pUsbEpHandle hEpObj[], Uint16 pSofTmrCnt)
WORD | USB_getMaxPower (CSL_UsbDevNum devNum)
void | USB_setFullSpeedMode (Uint16 ep0DataSize)
Uint16 | USB_getDataCountReadFromFifo (pUsbEpHandle hEp)
Uint16 | USB_findFifoSize (Uint16 maxPktSize, CSL_UsbXferType xferType)
CSL_Status | USB_coreEventProcessEp0 (pUsbContext pContext)

## Detailed Description

USB MUSB functional layer API header file.

Path: \(CSLPATH)\ inc