APM:Libraries
Macros
__DEVICE_DEFINES_
Collaboration diagram for __DEVICE_DEFINES_:

Macros

#define DSTS_ENUMSPD_HS_PHY_30MHZ_OR_60MHZ   0
 
#define DSTS_ENUMSPD_FS_PHY_30MHZ_OR_60MHZ   1
 
#define DSTS_ENUMSPD_LS_PHY_6MHZ   2
 
#define DSTS_ENUMSPD_FS_PHY_48MHZ   3
 
#define DCFG_FRAME_INTERVAL_80   0
 
#define DCFG_FRAME_INTERVAL_85   1
 
#define DCFG_FRAME_INTERVAL_90   2
 
#define DCFG_FRAME_INTERVAL_95   3
 
#define DEP0CTL_MPS_64   0
 
#define DEP0CTL_MPS_32   1
 
#define DEP0CTL_MPS_16   2
 
#define DEP0CTL_MPS_8   3
 
#define EP_SPEED_LOW   0
 
#define EP_SPEED_FULL   1
 
#define EP_SPEED_HIGH   2
 
#define EP_TYPE_CTRL   0
 
#define EP_TYPE_ISOC   1
 
#define EP_TYPE_BULK   2
 
#define EP_TYPE_INTR   3
 
#define EP_TYPE_MSK   3
 
#define STS_GOUT_NAK   1
 
#define STS_DATA_UPDT   2
 
#define STS_XFER_COMP   3
 
#define STS_SETUP_COMP   4
 
#define STS_SETUP_UPDT   6
 

Detailed Description

Macro Definition Documentation

◆ DCFG_FRAME_INTERVAL_80

#define DCFG_FRAME_INTERVAL_80   0

Definition at line 126 of file usb_defines.h.

Referenced by USB_OTG_CoreInitDev().

◆ DCFG_FRAME_INTERVAL_85

#define DCFG_FRAME_INTERVAL_85   1

Definition at line 127 of file usb_defines.h.

◆ DCFG_FRAME_INTERVAL_90

#define DCFG_FRAME_INTERVAL_90   2

Definition at line 128 of file usb_defines.h.

◆ DCFG_FRAME_INTERVAL_95

#define DCFG_FRAME_INTERVAL_95   3

Definition at line 129 of file usb_defines.h.

◆ DEP0CTL_MPS_16

#define DEP0CTL_MPS_16   2

Definition at line 133 of file usb_defines.h.

◆ DEP0CTL_MPS_32

#define DEP0CTL_MPS_32   1

Definition at line 132 of file usb_defines.h.

◆ DEP0CTL_MPS_64

#define DEP0CTL_MPS_64   0

Definition at line 131 of file usb_defines.h.

Referenced by USB_OTG_EP0Activate().

◆ DEP0CTL_MPS_8

#define DEP0CTL_MPS_8   3

Definition at line 134 of file usb_defines.h.

Referenced by USB_OTG_EP0Activate().

◆ DSTS_ENUMSPD_FS_PHY_30MHZ_OR_60MHZ

#define DSTS_ENUMSPD_FS_PHY_30MHZ_OR_60MHZ   1

Definition at line 122 of file usb_defines.h.

Referenced by USB_OTG_EP0Activate(), and USB_OTG_GetDeviceSpeed().

◆ DSTS_ENUMSPD_FS_PHY_48MHZ

#define DSTS_ENUMSPD_FS_PHY_48MHZ   3

Definition at line 124 of file usb_defines.h.

Referenced by USB_OTG_EP0Activate(), and USB_OTG_GetDeviceSpeed().

◆ DSTS_ENUMSPD_HS_PHY_30MHZ_OR_60MHZ

#define DSTS_ENUMSPD_HS_PHY_30MHZ_OR_60MHZ   0

Definition at line 121 of file usb_defines.h.

Referenced by USB_OTG_EP0Activate(), and USB_OTG_GetDeviceSpeed().

◆ DSTS_ENUMSPD_LS_PHY_6MHZ

#define DSTS_ENUMSPD_LS_PHY_6MHZ   2

Definition at line 123 of file usb_defines.h.

Referenced by USB_OTG_EP0Activate(), and USB_OTG_GetDeviceSpeed().

◆ EP_SPEED_FULL

#define EP_SPEED_FULL   1

Definition at line 137 of file usb_defines.h.

◆ EP_SPEED_HIGH

#define EP_SPEED_HIGH   2

Definition at line 138 of file usb_defines.h.

◆ EP_SPEED_LOW

#define EP_SPEED_LOW   0

Definition at line 136 of file usb_defines.h.

◆ EP_TYPE_BULK

#define EP_TYPE_BULK   2

Definition at line 142 of file usb_defines.h.

Referenced by USB_OTG_EPClearStall(), and USB_OTG_ReadOtgItr().

◆ EP_TYPE_CTRL

#define EP_TYPE_CTRL   0

Definition at line 140 of file usb_defines.h.

Referenced by DCD_Init(), USB_OTG_ReadOtgItr(), and USBD_Reset().

◆ EP_TYPE_INTR

#define EP_TYPE_INTR   3

Definition at line 143 of file usb_defines.h.

Referenced by USB_OTG_EPClearStall(), and USB_OTG_ReadOtgItr().

◆ EP_TYPE_ISOC

#define EP_TYPE_ISOC   1

Definition at line 141 of file usb_defines.h.

Referenced by USB_OTG_EPStartXfer(), and USB_OTG_ReadOtgItr().

◆ EP_TYPE_MSK

#define EP_TYPE_MSK   3

Definition at line 144 of file usb_defines.h.

◆ STS_DATA_UPDT

#define STS_DATA_UPDT   2

Definition at line 147 of file usb_defines.h.

Referenced by DCD_HandleRxStatusQueueLevel_ISR().

◆ STS_GOUT_NAK

#define STS_GOUT_NAK   1

Definition at line 146 of file usb_defines.h.

Referenced by DCD_HandleRxStatusQueueLevel_ISR().

◆ STS_SETUP_COMP

#define STS_SETUP_COMP   4

Definition at line 149 of file usb_defines.h.

Referenced by DCD_HandleRxStatusQueueLevel_ISR().

◆ STS_SETUP_UPDT

#define STS_SETUP_UPDT   6

Definition at line 150 of file usb_defines.h.

Referenced by DCD_HandleRxStatusQueueLevel_ISR().

◆ STS_XFER_COMP

#define STS_XFER_COMP   3

Definition at line 148 of file usb_defines.h.

Referenced by DCD_HandleRxStatusQueueLevel_ISR().