SAME54P20A Test Project
Data Structures | Macros
usb.h File Reference

Component description for USB. More...

Go to the source code of this file.

Data Structures

union  USB_CTRLA_Type
 
union  USB_SYNCBUSY_Type
 
union  USB_QOSCTRL_Type
 
union  USB_DEVICE_CTRLB_Type
 
union  USB_HOST_CTRLB_Type
 
union  USB_DEVICE_DADD_Type
 
union  USB_HOST_HSOFC_Type
 
union  USB_DEVICE_STATUS_Type
 
union  USB_HOST_STATUS_Type
 
union  USB_FSMSTATUS_Type
 
union  USB_DEVICE_FNUM_Type
 
union  USB_HOST_FNUM_Type
 
union  USB_HOST_FLENHIGH_Type
 
union  USB_DEVICE_INTENCLR_Type
 
union  USB_HOST_INTENCLR_Type
 
union  USB_DEVICE_INTENSET_Type
 
union  USB_HOST_INTENSET_Type
 
union  USB_DEVICE_INTFLAG_Type
 
union  USB_HOST_INTFLAG_Type
 
union  USB_DEVICE_EPINTSMRY_Type
 
union  USB_HOST_PINTSMRY_Type
 
union  USB_DESCADD_Type
 
union  USB_PADCAL_Type
 
union  USB_DEVICE_EPCFG_Type
 
union  USB_HOST_PCFG_Type
 
union  USB_HOST_BINTERVAL_Type
 
union  USB_DEVICE_EPSTATUSCLR_Type
 
union  USB_HOST_PSTATUSCLR_Type
 
union  USB_DEVICE_EPSTATUSSET_Type
 
union  USB_HOST_PSTATUSSET_Type
 
union  USB_DEVICE_EPSTATUS_Type
 
union  USB_HOST_PSTATUS_Type
 
union  USB_DEVICE_EPINTFLAG_Type
 
union  USB_HOST_PINTFLAG_Type
 
union  USB_DEVICE_EPINTENCLR_Type
 
union  USB_HOST_PINTENCLR_Type
 
union  USB_DEVICE_EPINTENSET_Type
 
union  USB_HOST_PINTENSET_Type
 
union  USB_DEVICE_ADDR_Type
 
union  USB_HOST_ADDR_Type
 
union  USB_DEVICE_PCKSIZE_Type
 
union  USB_HOST_PCKSIZE_Type
 
union  USB_DEVICE_EXTREG_Type
 
union  USB_HOST_EXTREG_Type
 
union  USB_DEVICE_STATUS_BK_Type
 
union  USB_HOST_STATUS_BK_Type
 
union  USB_HOST_CTRL_PIPE_Type
 
union  USB_HOST_STATUS_PIPE_Type
 
struct  UsbDeviceDescBank
 UsbDeviceDescBank SRAM registers. More...
 
struct  UsbHostDescBank
 UsbHostDescBank SRAM registers. More...
 
struct  UsbDeviceEndpoint
 UsbDeviceEndpoint hardware registers. More...
 
struct  UsbHostPipe
 UsbHostPipe hardware registers. More...
 
struct  UsbDevice
 USB_DEVICE APB hardware registers. More...
 
struct  UsbHost
 USB_HOST hardware registers. More...
 
struct  UsbDeviceDescriptor
 USB_DEVICE Descriptor SRAM registers. More...
 
struct  UsbHostDescriptor
 USB_HOST Descriptor SRAM registers. More...
 
union  Usb
 

Macros

#define USB_U2222
 
#define REV_USB   0x120
 
#define USB_CTRLA_OFFSET   0x000
 (USB_CTRLA offset) Control A
 
#define USB_CTRLA_RESETVALUE   _U_(0x00)
 (USB_CTRLA reset_value) Control A
 
#define USB_CTRLA_SWRST_Pos   0
 (USB_CTRLA) Software Reset
 
#define USB_CTRLA_SWRST   (_U_(0x1) << USB_CTRLA_SWRST_Pos)
 
#define USB_CTRLA_ENABLE_Pos   1
 (USB_CTRLA) Enable
 
#define USB_CTRLA_ENABLE   (_U_(0x1) << USB_CTRLA_ENABLE_Pos)
 
#define USB_CTRLA_RUNSTDBY_Pos   2
 (USB_CTRLA) Run in Standby Mode
 
#define USB_CTRLA_RUNSTDBY   (_U_(0x1) << USB_CTRLA_RUNSTDBY_Pos)
 
#define USB_CTRLA_MODE_Pos   7
 (USB_CTRLA) Operating Mode
 
#define USB_CTRLA_MODE   (_U_(0x1) << USB_CTRLA_MODE_Pos)
 
#define USB_CTRLA_MODE_DEVICE_Val   _U_(0x0)
 (USB_CTRLA) Device Mode
 
#define USB_CTRLA_MODE_HOST_Val   _U_(0x1)
 (USB_CTRLA) Host Mode
 
#define USB_CTRLA_MODE_DEVICE   (USB_CTRLA_MODE_DEVICE_Val << USB_CTRLA_MODE_Pos)
 
#define USB_CTRLA_MODE_HOST   (USB_CTRLA_MODE_HOST_Val << USB_CTRLA_MODE_Pos)
 
#define USB_CTRLA_MASK   _U_(0x87)
 (USB_CTRLA) MASK Register
 
#define USB_SYNCBUSY_OFFSET   0x002
 (USB_SYNCBUSY offset) Synchronization Busy
 
#define USB_SYNCBUSY_RESETVALUE   _U_(0x00)
 (USB_SYNCBUSY reset_value) Synchronization Busy
 
#define USB_SYNCBUSY_SWRST_Pos   0
 (USB_SYNCBUSY) Software Reset Synchronization Busy
 
#define USB_SYNCBUSY_SWRST   (_U_(0x1) << USB_SYNCBUSY_SWRST_Pos)
 
#define USB_SYNCBUSY_ENABLE_Pos   1
 (USB_SYNCBUSY) Enable Synchronization Busy
 
#define USB_SYNCBUSY_ENABLE   (_U_(0x1) << USB_SYNCBUSY_ENABLE_Pos)
 
#define USB_SYNCBUSY_MASK   _U_(0x03)
 (USB_SYNCBUSY) MASK Register
 
#define USB_QOSCTRL_OFFSET   0x003
 (USB_QOSCTRL offset) USB Quality Of Service
 
#define USB_QOSCTRL_RESETVALUE   _U_(0x0F)
 (USB_QOSCTRL reset_value) USB Quality Of Service
 
#define USB_QOSCTRL_CQOS_Pos   0
 (USB_QOSCTRL) Configuration Quality of Service
 
#define USB_QOSCTRL_CQOS_Msk   (_U_(0x3) << USB_QOSCTRL_CQOS_Pos)
 
#define USB_QOSCTRL_CQOS(value)   (USB_QOSCTRL_CQOS_Msk & ((value) << USB_QOSCTRL_CQOS_Pos))
 
#define USB_QOSCTRL_DQOS_Pos   2
 (USB_QOSCTRL) Data Quality of Service
 
#define USB_QOSCTRL_DQOS_Msk   (_U_(0x3) << USB_QOSCTRL_DQOS_Pos)
 
#define USB_QOSCTRL_DQOS(value)   (USB_QOSCTRL_DQOS_Msk & ((value) << USB_QOSCTRL_DQOS_Pos))
 
#define USB_QOSCTRL_MASK   _U_(0x0F)
 (USB_QOSCTRL) MASK Register
 
#define USB_DEVICE_CTRLB_OFFSET   0x008
 (USB_DEVICE_CTRLB offset) DEVICE Control B
 
#define USB_DEVICE_CTRLB_RESETVALUE   _U_(0x0001)
 (USB_DEVICE_CTRLB reset_value) DEVICE Control B
 
#define USB_DEVICE_CTRLB_DETACH_Pos   0
 (USB_DEVICE_CTRLB) Detach
 
#define USB_DEVICE_CTRLB_DETACH   (_U_(0x1) << USB_DEVICE_CTRLB_DETACH_Pos)
 
#define USB_DEVICE_CTRLB_UPRSM_Pos   1
 (USB_DEVICE_CTRLB) Upstream Resume
 
#define USB_DEVICE_CTRLB_UPRSM   (_U_(0x1) << USB_DEVICE_CTRLB_UPRSM_Pos)
 
#define USB_DEVICE_CTRLB_SPDCONF_Pos   2
 (USB_DEVICE_CTRLB) Speed Configuration
 
#define USB_DEVICE_CTRLB_SPDCONF_Msk   (_U_(0x3) << USB_DEVICE_CTRLB_SPDCONF_Pos)
 
#define USB_DEVICE_CTRLB_SPDCONF(value)   (USB_DEVICE_CTRLB_SPDCONF_Msk & ((value) << USB_DEVICE_CTRLB_SPDCONF_Pos))
 
#define USB_DEVICE_CTRLB_SPDCONF_FS_Val   _U_(0x0)
 (USB_DEVICE_CTRLB) FS : Full Speed
 
#define USB_DEVICE_CTRLB_SPDCONF_LS_Val   _U_(0x1)
 (USB_DEVICE_CTRLB) LS : Low Speed
 
#define USB_DEVICE_CTRLB_SPDCONF_HS_Val   _U_(0x2)
 (USB_DEVICE_CTRLB) HS : High Speed capable
 
#define USB_DEVICE_CTRLB_SPDCONF_HSTM_Val   _U_(0x3)
 (USB_DEVICE_CTRLB) HSTM: High Speed Test Mode (force high-speed mode for test mode)
 
#define USB_DEVICE_CTRLB_SPDCONF_FS   (USB_DEVICE_CTRLB_SPDCONF_FS_Val << USB_DEVICE_CTRLB_SPDCONF_Pos)
 
#define USB_DEVICE_CTRLB_SPDCONF_LS   (USB_DEVICE_CTRLB_SPDCONF_LS_Val << USB_DEVICE_CTRLB_SPDCONF_Pos)
 
#define USB_DEVICE_CTRLB_SPDCONF_HS   (USB_DEVICE_CTRLB_SPDCONF_HS_Val << USB_DEVICE_CTRLB_SPDCONF_Pos)
 
#define USB_DEVICE_CTRLB_SPDCONF_HSTM   (USB_DEVICE_CTRLB_SPDCONF_HSTM_Val << USB_DEVICE_CTRLB_SPDCONF_Pos)
 
#define USB_DEVICE_CTRLB_NREPLY_Pos   4
 (USB_DEVICE_CTRLB) No Reply
 
#define USB_DEVICE_CTRLB_NREPLY   (_U_(0x1) << USB_DEVICE_CTRLB_NREPLY_Pos)
 
#define USB_DEVICE_CTRLB_TSTJ_Pos   5
 (USB_DEVICE_CTRLB) Test mode J
 
#define USB_DEVICE_CTRLB_TSTJ   (_U_(0x1) << USB_DEVICE_CTRLB_TSTJ_Pos)
 
#define USB_DEVICE_CTRLB_TSTK_Pos   6
 (USB_DEVICE_CTRLB) Test mode K
 
#define USB_DEVICE_CTRLB_TSTK   (_U_(0x1) << USB_DEVICE_CTRLB_TSTK_Pos)
 
#define USB_DEVICE_CTRLB_TSTPCKT_Pos   7
 (USB_DEVICE_CTRLB) Test packet mode
 
#define USB_DEVICE_CTRLB_TSTPCKT   (_U_(0x1) << USB_DEVICE_CTRLB_TSTPCKT_Pos)
 
#define USB_DEVICE_CTRLB_OPMODE2_Pos   8
 (USB_DEVICE_CTRLB) Specific Operational Mode
 
#define USB_DEVICE_CTRLB_OPMODE2   (_U_(0x1) << USB_DEVICE_CTRLB_OPMODE2_Pos)
 
#define USB_DEVICE_CTRLB_GNAK_Pos   9
 (USB_DEVICE_CTRLB) Global NAK
 
#define USB_DEVICE_CTRLB_GNAK   (_U_(0x1) << USB_DEVICE_CTRLB_GNAK_Pos)
 
#define USB_DEVICE_CTRLB_LPMHDSK_Pos   10
 (USB_DEVICE_CTRLB) Link Power Management Handshake
 
#define USB_DEVICE_CTRLB_LPMHDSK_Msk   (_U_(0x3) << USB_DEVICE_CTRLB_LPMHDSK_Pos)
 
#define USB_DEVICE_CTRLB_LPMHDSK(value)   (USB_DEVICE_CTRLB_LPMHDSK_Msk & ((value) << USB_DEVICE_CTRLB_LPMHDSK_Pos))
 
#define USB_DEVICE_CTRLB_LPMHDSK_NO_Val   _U_(0x0)
 (USB_DEVICE_CTRLB) No handshake. LPM is not supported
 
#define USB_DEVICE_CTRLB_LPMHDSK_ACK_Val   _U_(0x1)
 (USB_DEVICE_CTRLB) ACK
 
#define USB_DEVICE_CTRLB_LPMHDSK_NYET_Val   _U_(0x2)
 (USB_DEVICE_CTRLB) NYET
 
#define USB_DEVICE_CTRLB_LPMHDSK_STALL_Val   _U_(0x3)
 (USB_DEVICE_CTRLB) STALL
 
#define USB_DEVICE_CTRLB_LPMHDSK_NO   (USB_DEVICE_CTRLB_LPMHDSK_NO_Val << USB_DEVICE_CTRLB_LPMHDSK_Pos)
 
#define USB_DEVICE_CTRLB_LPMHDSK_ACK   (USB_DEVICE_CTRLB_LPMHDSK_ACK_Val << USB_DEVICE_CTRLB_LPMHDSK_Pos)
 
#define USB_DEVICE_CTRLB_LPMHDSK_NYET   (USB_DEVICE_CTRLB_LPMHDSK_NYET_Val << USB_DEVICE_CTRLB_LPMHDSK_Pos)
 
#define USB_DEVICE_CTRLB_LPMHDSK_STALL   (USB_DEVICE_CTRLB_LPMHDSK_STALL_Val << USB_DEVICE_CTRLB_LPMHDSK_Pos)
 
#define USB_DEVICE_CTRLB_MASK   _U_(0x0FFF)
 (USB_DEVICE_CTRLB) MASK Register
 
#define USB_HOST_CTRLB_OFFSET   0x008
 (USB_HOST_CTRLB offset) HOST Control B
 
#define USB_HOST_CTRLB_RESETVALUE   _U_(0x0000)
 (USB_HOST_CTRLB reset_value) HOST Control B
 
#define USB_HOST_CTRLB_RESUME_Pos   1
 (USB_HOST_CTRLB) Send USB Resume
 
#define USB_HOST_CTRLB_RESUME   (_U_(0x1) << USB_HOST_CTRLB_RESUME_Pos)
 
#define USB_HOST_CTRLB_SPDCONF_Pos   2
 (USB_HOST_CTRLB) Speed Configuration for Host
 
#define USB_HOST_CTRLB_SPDCONF_Msk   (_U_(0x3) << USB_HOST_CTRLB_SPDCONF_Pos)
 
#define USB_HOST_CTRLB_SPDCONF(value)   (USB_HOST_CTRLB_SPDCONF_Msk & ((value) << USB_HOST_CTRLB_SPDCONF_Pos))
 
#define USB_HOST_CTRLB_SPDCONF_NORMAL_Val   _U_(0x0)
 (USB_HOST_CTRLB) Normal mode: the host starts in full-speed mode and performs a high-speed reset to switch to the high speed mode if the downstream peripheral is high-speed capable.
 
#define USB_HOST_CTRLB_SPDCONF_FS_Val   _U_(0x3)
 (USB_HOST_CTRLB) Full-speed: the host remains in full-speed mode whatever is the peripheral speed capability. Relevant in UTMI mode only.
 
#define USB_HOST_CTRLB_SPDCONF_NORMAL   (USB_HOST_CTRLB_SPDCONF_NORMAL_Val << USB_HOST_CTRLB_SPDCONF_Pos)
 
#define USB_HOST_CTRLB_SPDCONF_FS   (USB_HOST_CTRLB_SPDCONF_FS_Val << USB_HOST_CTRLB_SPDCONF_Pos)
 
#define USB_HOST_CTRLB_AUTORESUME_Pos   4
 (USB_HOST_CTRLB) Auto Resume Enable
 
#define USB_HOST_CTRLB_AUTORESUME   (_U_(0x1) << USB_HOST_CTRLB_AUTORESUME_Pos)
 
#define USB_HOST_CTRLB_TSTJ_Pos   5
 (USB_HOST_CTRLB) Test mode J
 
#define USB_HOST_CTRLB_TSTJ   (_U_(0x1) << USB_HOST_CTRLB_TSTJ_Pos)
 
#define USB_HOST_CTRLB_TSTK_Pos   6
 (USB_HOST_CTRLB) Test mode K
 
#define USB_HOST_CTRLB_TSTK   (_U_(0x1) << USB_HOST_CTRLB_TSTK_Pos)
 
#define USB_HOST_CTRLB_SOFE_Pos   8
 (USB_HOST_CTRLB) Start of Frame Generation Enable
 
#define USB_HOST_CTRLB_SOFE   (_U_(0x1) << USB_HOST_CTRLB_SOFE_Pos)
 
#define USB_HOST_CTRLB_BUSRESET_Pos   9
 (USB_HOST_CTRLB) Send USB Reset
 
#define USB_HOST_CTRLB_BUSRESET   (_U_(0x1) << USB_HOST_CTRLB_BUSRESET_Pos)
 
#define USB_HOST_CTRLB_VBUSOK_Pos   10
 (USB_HOST_CTRLB) VBUS is OK
 
#define USB_HOST_CTRLB_VBUSOK   (_U_(0x1) << USB_HOST_CTRLB_VBUSOK_Pos)
 
#define USB_HOST_CTRLB_L1RESUME_Pos   11
 (USB_HOST_CTRLB) Send L1 Resume
 
#define USB_HOST_CTRLB_L1RESUME   (_U_(0x1) << USB_HOST_CTRLB_L1RESUME_Pos)
 
#define USB_HOST_CTRLB_MASK   _U_(0x0F7E)
 (USB_HOST_CTRLB) MASK Register
 
#define USB_DEVICE_DADD_OFFSET   0x00A
 (USB_DEVICE_DADD offset) DEVICE Device Address
 
#define USB_DEVICE_DADD_RESETVALUE   _U_(0x00)
 (USB_DEVICE_DADD reset_value) DEVICE Device Address
 
#define USB_DEVICE_DADD_DADD_Pos   0
 (USB_DEVICE_DADD) Device Address
 
#define USB_DEVICE_DADD_DADD_Msk   (_U_(0x7F) << USB_DEVICE_DADD_DADD_Pos)
 
#define USB_DEVICE_DADD_DADD(value)   (USB_DEVICE_DADD_DADD_Msk & ((value) << USB_DEVICE_DADD_DADD_Pos))
 
#define USB_DEVICE_DADD_ADDEN_Pos   7
 (USB_DEVICE_DADD) Device Address Enable
 
#define USB_DEVICE_DADD_ADDEN   (_U_(0x1) << USB_DEVICE_DADD_ADDEN_Pos)
 
#define USB_DEVICE_DADD_MASK   _U_(0xFF)
 (USB_DEVICE_DADD) MASK Register
 
#define USB_HOST_HSOFC_OFFSET   0x00A
 (USB_HOST_HSOFC offset) HOST Host Start Of Frame Control
 
#define USB_HOST_HSOFC_RESETVALUE   _U_(0x00)
 (USB_HOST_HSOFC reset_value) HOST Host Start Of Frame Control
 
#define USB_HOST_HSOFC_FLENC_Pos   0
 (USB_HOST_HSOFC) Frame Length Control
 
#define USB_HOST_HSOFC_FLENC_Msk   (_U_(0xF) << USB_HOST_HSOFC_FLENC_Pos)
 
#define USB_HOST_HSOFC_FLENC(value)   (USB_HOST_HSOFC_FLENC_Msk & ((value) << USB_HOST_HSOFC_FLENC_Pos))
 
#define USB_HOST_HSOFC_FLENCE_Pos   7
 (USB_HOST_HSOFC) Frame Length Control Enable
 
#define USB_HOST_HSOFC_FLENCE   (_U_(0x1) << USB_HOST_HSOFC_FLENCE_Pos)
 
#define USB_HOST_HSOFC_MASK   _U_(0x8F)
 (USB_HOST_HSOFC) MASK Register
 
#define USB_DEVICE_STATUS_OFFSET   0x00C
 (USB_DEVICE_STATUS offset) DEVICE Status
 
#define USB_DEVICE_STATUS_RESETVALUE   _U_(0x40)
 (USB_DEVICE_STATUS reset_value) DEVICE Status
 
#define USB_DEVICE_STATUS_SPEED_Pos   2
 (USB_DEVICE_STATUS) Speed Status
 
#define USB_DEVICE_STATUS_SPEED_Msk   (_U_(0x3) << USB_DEVICE_STATUS_SPEED_Pos)
 
#define USB_DEVICE_STATUS_SPEED(value)   (USB_DEVICE_STATUS_SPEED_Msk & ((value) << USB_DEVICE_STATUS_SPEED_Pos))
 
#define USB_DEVICE_STATUS_SPEED_FS_Val   _U_(0x0)
 (USB_DEVICE_STATUS) Full-speed mode
 
#define USB_DEVICE_STATUS_SPEED_LS_Val   _U_(0x1)
 (USB_DEVICE_STATUS) Low-speed mode
 
#define USB_DEVICE_STATUS_SPEED_HS_Val   _U_(0x2)
 (USB_DEVICE_STATUS) High-speed mode
 
#define USB_DEVICE_STATUS_SPEED_FS   (USB_DEVICE_STATUS_SPEED_FS_Val << USB_DEVICE_STATUS_SPEED_Pos)
 
#define USB_DEVICE_STATUS_SPEED_LS   (USB_DEVICE_STATUS_SPEED_LS_Val << USB_DEVICE_STATUS_SPEED_Pos)
 
#define USB_DEVICE_STATUS_SPEED_HS   (USB_DEVICE_STATUS_SPEED_HS_Val << USB_DEVICE_STATUS_SPEED_Pos)
 
#define USB_DEVICE_STATUS_LINESTATE_Pos   6
 (USB_DEVICE_STATUS) USB Line State Status
 
#define USB_DEVICE_STATUS_LINESTATE_Msk   (_U_(0x3) << USB_DEVICE_STATUS_LINESTATE_Pos)
 
#define USB_DEVICE_STATUS_LINESTATE(value)   (USB_DEVICE_STATUS_LINESTATE_Msk & ((value) << USB_DEVICE_STATUS_LINESTATE_Pos))
 
#define USB_DEVICE_STATUS_LINESTATE_0_Val   _U_(0x0)
 (USB_DEVICE_STATUS) SE0/RESET
 
#define USB_DEVICE_STATUS_LINESTATE_1_Val   _U_(0x1)
 (USB_DEVICE_STATUS) FS-J or LS-K State
 
#define USB_DEVICE_STATUS_LINESTATE_2_Val   _U_(0x2)
 (USB_DEVICE_STATUS) FS-K or LS-J State
 
#define USB_DEVICE_STATUS_LINESTATE_0   (USB_DEVICE_STATUS_LINESTATE_0_Val << USB_DEVICE_STATUS_LINESTATE_Pos)
 
#define USB_DEVICE_STATUS_LINESTATE_1   (USB_DEVICE_STATUS_LINESTATE_1_Val << USB_DEVICE_STATUS_LINESTATE_Pos)
 
#define USB_DEVICE_STATUS_LINESTATE_2   (USB_DEVICE_STATUS_LINESTATE_2_Val << USB_DEVICE_STATUS_LINESTATE_Pos)
 
#define USB_DEVICE_STATUS_MASK   _U_(0xCC)
 (USB_DEVICE_STATUS) MASK Register
 
#define USB_HOST_STATUS_OFFSET   0x00C
 (USB_HOST_STATUS offset) HOST Status
 
#define USB_HOST_STATUS_RESETVALUE   _U_(0x00)
 (USB_HOST_STATUS reset_value) HOST Status
 
#define USB_HOST_STATUS_SPEED_Pos   2
 (USB_HOST_STATUS) Speed Status
 
#define USB_HOST_STATUS_SPEED_Msk   (_U_(0x3) << USB_HOST_STATUS_SPEED_Pos)
 
#define USB_HOST_STATUS_SPEED(value)   (USB_HOST_STATUS_SPEED_Msk & ((value) << USB_HOST_STATUS_SPEED_Pos))
 
#define USB_HOST_STATUS_LINESTATE_Pos   6
 (USB_HOST_STATUS) USB Line State Status
 
#define USB_HOST_STATUS_LINESTATE_Msk   (_U_(0x3) << USB_HOST_STATUS_LINESTATE_Pos)
 
#define USB_HOST_STATUS_LINESTATE(value)   (USB_HOST_STATUS_LINESTATE_Msk & ((value) << USB_HOST_STATUS_LINESTATE_Pos))
 
#define USB_HOST_STATUS_MASK   _U_(0xCC)
 (USB_HOST_STATUS) MASK Register
 
#define USB_FSMSTATUS_OFFSET   0x00D
 (USB_FSMSTATUS offset) Finite State Machine Status
 
#define USB_FSMSTATUS_RESETVALUE   _U_(0x01)
 (USB_FSMSTATUS reset_value) Finite State Machine Status
 
#define USB_FSMSTATUS_FSMSTATE_Pos   0
 (USB_FSMSTATUS) Fine State Machine Status
 
#define USB_FSMSTATUS_FSMSTATE_Msk   (_U_(0x7F) << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_FSMSTATE(value)   (USB_FSMSTATUS_FSMSTATE_Msk & ((value) << USB_FSMSTATUS_FSMSTATE_Pos))
 
#define USB_FSMSTATUS_FSMSTATE_OFF_Val   _U_(0x1)
 (USB_FSMSTATUS) OFF (L3). It corresponds to the powered-off, disconnected, and disabled state
 
#define USB_FSMSTATUS_FSMSTATE_ON_Val   _U_(0x2)
 (USB_FSMSTATUS) ON (L0). It corresponds to the Idle and Active states
 
#define USB_FSMSTATUS_FSMSTATE_SUSPEND_Val   _U_(0x4)
 (USB_FSMSTATUS) SUSPEND (L2)
 
#define USB_FSMSTATUS_FSMSTATE_SLEEP_Val   _U_(0x8)
 (USB_FSMSTATUS) SLEEP (L1)
 
#define USB_FSMSTATUS_FSMSTATE_DNRESUME_Val   _U_(0x10)
 (USB_FSMSTATUS) DNRESUME. Down Stream Resume.
 
#define USB_FSMSTATUS_FSMSTATE_UPRESUME_Val   _U_(0x20)
 (USB_FSMSTATUS) UPRESUME. Up Stream Resume.
 
#define USB_FSMSTATUS_FSMSTATE_RESET_Val   _U_(0x40)
 (USB_FSMSTATUS) RESET. USB lines Reset.
 
#define USB_FSMSTATUS_FSMSTATE_OFF   (USB_FSMSTATUS_FSMSTATE_OFF_Val << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_FSMSTATE_ON   (USB_FSMSTATUS_FSMSTATE_ON_Val << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_FSMSTATE_SUSPEND   (USB_FSMSTATUS_FSMSTATE_SUSPEND_Val << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_FSMSTATE_SLEEP   (USB_FSMSTATUS_FSMSTATE_SLEEP_Val << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_FSMSTATE_DNRESUME   (USB_FSMSTATUS_FSMSTATE_DNRESUME_Val << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_FSMSTATE_UPRESUME   (USB_FSMSTATUS_FSMSTATE_UPRESUME_Val << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_FSMSTATE_RESET   (USB_FSMSTATUS_FSMSTATE_RESET_Val << USB_FSMSTATUS_FSMSTATE_Pos)
 
#define USB_FSMSTATUS_MASK   _U_(0x7F)
 (USB_FSMSTATUS) MASK Register
 
#define USB_DEVICE_FNUM_OFFSET   0x010
 (USB_DEVICE_FNUM offset) DEVICE Device Frame Number
 
#define USB_DEVICE_FNUM_RESETVALUE   _U_(0x0000)
 (USB_DEVICE_FNUM reset_value) DEVICE Device Frame Number
 
#define USB_DEVICE_FNUM_MFNUM_Pos   0
 (USB_DEVICE_FNUM) Micro Frame Number
 
#define USB_DEVICE_FNUM_MFNUM_Msk   (_U_(0x7) << USB_DEVICE_FNUM_MFNUM_Pos)
 
#define USB_DEVICE_FNUM_MFNUM(value)   (USB_DEVICE_FNUM_MFNUM_Msk & ((value) << USB_DEVICE_FNUM_MFNUM_Pos))
 
#define USB_DEVICE_FNUM_FNUM_Pos   3
 (USB_DEVICE_FNUM) Frame Number
 
#define USB_DEVICE_FNUM_FNUM_Msk   (_U_(0x7FF) << USB_DEVICE_FNUM_FNUM_Pos)
 
#define USB_DEVICE_FNUM_FNUM(value)   (USB_DEVICE_FNUM_FNUM_Msk & ((value) << USB_DEVICE_FNUM_FNUM_Pos))
 
#define USB_DEVICE_FNUM_FNCERR_Pos   15
 (USB_DEVICE_FNUM) Frame Number CRC Error
 
#define USB_DEVICE_FNUM_FNCERR   (_U_(0x1) << USB_DEVICE_FNUM_FNCERR_Pos)
 
#define USB_DEVICE_FNUM_MASK   _U_(0xBFFF)
 (USB_DEVICE_FNUM) MASK Register
 
#define USB_HOST_FNUM_OFFSET   0x010
 (USB_HOST_FNUM offset) HOST Host Frame Number
 
#define USB_HOST_FNUM_RESETVALUE   _U_(0x0000)
 (USB_HOST_FNUM reset_value) HOST Host Frame Number
 
#define USB_HOST_FNUM_MFNUM_Pos   0
 (USB_HOST_FNUM) Micro Frame Number
 
#define USB_HOST_FNUM_MFNUM_Msk   (_U_(0x7) << USB_HOST_FNUM_MFNUM_Pos)
 
#define USB_HOST_FNUM_MFNUM(value)   (USB_HOST_FNUM_MFNUM_Msk & ((value) << USB_HOST_FNUM_MFNUM_Pos))
 
#define USB_HOST_FNUM_FNUM_Pos   3
 (USB_HOST_FNUM) Frame Number
 
#define USB_HOST_FNUM_FNUM_Msk   (_U_(0x7FF) << USB_HOST_FNUM_FNUM_Pos)
 
#define USB_HOST_FNUM_FNUM(value)   (USB_HOST_FNUM_FNUM_Msk & ((value) << USB_HOST_FNUM_FNUM_Pos))
 
#define USB_HOST_FNUM_MASK   _U_(0x3FFF)
 (USB_HOST_FNUM) MASK Register
 
#define USB_HOST_FLENHIGH_OFFSET   0x012
 (USB_HOST_FLENHIGH offset) HOST Host Frame Length
 
#define USB_HOST_FLENHIGH_RESETVALUE   _U_(0x00)
 (USB_HOST_FLENHIGH reset_value) HOST Host Frame Length
 
#define USB_HOST_FLENHIGH_FLENHIGH_Pos   0
 (USB_HOST_FLENHIGH) Frame Length
 
#define USB_HOST_FLENHIGH_FLENHIGH_Msk   (_U_(0xFF) << USB_HOST_FLENHIGH_FLENHIGH_Pos)
 
#define USB_HOST_FLENHIGH_FLENHIGH(value)   (USB_HOST_FLENHIGH_FLENHIGH_Msk & ((value) << USB_HOST_FLENHIGH_FLENHIGH_Pos))
 
#define USB_HOST_FLENHIGH_MASK   _U_(0xFF)
 (USB_HOST_FLENHIGH) MASK Register
 
#define USB_DEVICE_INTENCLR_OFFSET   0x014
 (USB_DEVICE_INTENCLR offset) DEVICE Device Interrupt Enable Clear
 
#define USB_DEVICE_INTENCLR_RESETVALUE   _U_(0x0000)
 (USB_DEVICE_INTENCLR reset_value) DEVICE Device Interrupt Enable Clear
 
#define USB_DEVICE_INTENCLR_SUSPEND_Pos   0
 (USB_DEVICE_INTENCLR) Suspend Interrupt Enable
 
#define USB_DEVICE_INTENCLR_SUSPEND   (_U_(0x1) << USB_DEVICE_INTENCLR_SUSPEND_Pos)
 
#define USB_DEVICE_INTENCLR_MSOF_Pos   1
 (USB_DEVICE_INTENCLR) Micro Start of Frame Interrupt Enable in High Speed Mode
 
#define USB_DEVICE_INTENCLR_MSOF   (_U_(0x1) << USB_DEVICE_INTENCLR_MSOF_Pos)
 
#define USB_DEVICE_INTENCLR_SOF_Pos   2
 (USB_DEVICE_INTENCLR) Start Of Frame Interrupt Enable
 
#define USB_DEVICE_INTENCLR_SOF   (_U_(0x1) << USB_DEVICE_INTENCLR_SOF_Pos)
 
#define USB_DEVICE_INTENCLR_EORST_Pos   3
 (USB_DEVICE_INTENCLR) End of Reset Interrupt Enable
 
#define USB_DEVICE_INTENCLR_EORST   (_U_(0x1) << USB_DEVICE_INTENCLR_EORST_Pos)
 
#define USB_DEVICE_INTENCLR_WAKEUP_Pos   4
 (USB_DEVICE_INTENCLR) Wake Up Interrupt Enable
 
#define USB_DEVICE_INTENCLR_WAKEUP   (_U_(0x1) << USB_DEVICE_INTENCLR_WAKEUP_Pos)
 
#define USB_DEVICE_INTENCLR_EORSM_Pos   5
 (USB_DEVICE_INTENCLR) End Of Resume Interrupt Enable
 
#define USB_DEVICE_INTENCLR_EORSM   (_U_(0x1) << USB_DEVICE_INTENCLR_EORSM_Pos)
 
#define USB_DEVICE_INTENCLR_UPRSM_Pos   6
 (USB_DEVICE_INTENCLR) Upstream Resume Interrupt Enable
 
#define USB_DEVICE_INTENCLR_UPRSM   (_U_(0x1) << USB_DEVICE_INTENCLR_UPRSM_Pos)
 
#define USB_DEVICE_INTENCLR_RAMACER_Pos   7
 (USB_DEVICE_INTENCLR) Ram Access Interrupt Enable
 
#define USB_DEVICE_INTENCLR_RAMACER   (_U_(0x1) << USB_DEVICE_INTENCLR_RAMACER_Pos)
 
#define USB_DEVICE_INTENCLR_LPMNYET_Pos   8
 (USB_DEVICE_INTENCLR) Link Power Management Not Yet Interrupt Enable
 
#define USB_DEVICE_INTENCLR_LPMNYET   (_U_(0x1) << USB_DEVICE_INTENCLR_LPMNYET_Pos)
 
#define USB_DEVICE_INTENCLR_LPMSUSP_Pos   9
 (USB_DEVICE_INTENCLR) Link Power Management Suspend Interrupt Enable
 
#define USB_DEVICE_INTENCLR_LPMSUSP   (_U_(0x1) << USB_DEVICE_INTENCLR_LPMSUSP_Pos)
 
#define USB_DEVICE_INTENCLR_MASK   _U_(0x03FF)
 (USB_DEVICE_INTENCLR) MASK Register
 
#define USB_HOST_INTENCLR_OFFSET   0x014
 (USB_HOST_INTENCLR offset) HOST Host Interrupt Enable Clear
 
#define USB_HOST_INTENCLR_RESETVALUE   _U_(0x0000)
 (USB_HOST_INTENCLR reset_value) HOST Host Interrupt Enable Clear
 
#define USB_HOST_INTENCLR_HSOF_Pos   2
 (USB_HOST_INTENCLR) Host Start Of Frame Interrupt Disable
 
#define USB_HOST_INTENCLR_HSOF   (_U_(0x1) << USB_HOST_INTENCLR_HSOF_Pos)
 
#define USB_HOST_INTENCLR_RST_Pos   3
 (USB_HOST_INTENCLR) BUS Reset Interrupt Disable
 
#define USB_HOST_INTENCLR_RST   (_U_(0x1) << USB_HOST_INTENCLR_RST_Pos)
 
#define USB_HOST_INTENCLR_WAKEUP_Pos   4
 (USB_HOST_INTENCLR) Wake Up Interrupt Disable
 
#define USB_HOST_INTENCLR_WAKEUP   (_U_(0x1) << USB_HOST_INTENCLR_WAKEUP_Pos)
 
#define USB_HOST_INTENCLR_DNRSM_Pos   5
 (USB_HOST_INTENCLR) DownStream to Device Interrupt Disable
 
#define USB_HOST_INTENCLR_DNRSM   (_U_(0x1) << USB_HOST_INTENCLR_DNRSM_Pos)
 
#define USB_HOST_INTENCLR_UPRSM_Pos   6
 (USB_HOST_INTENCLR) Upstream Resume from Device Interrupt Disable
 
#define USB_HOST_INTENCLR_UPRSM   (_U_(0x1) << USB_HOST_INTENCLR_UPRSM_Pos)
 
#define USB_HOST_INTENCLR_RAMACER_Pos   7
 (USB_HOST_INTENCLR) Ram Access Interrupt Disable
 
#define USB_HOST_INTENCLR_RAMACER   (_U_(0x1) << USB_HOST_INTENCLR_RAMACER_Pos)
 
#define USB_HOST_INTENCLR_DCONN_Pos   8
 (USB_HOST_INTENCLR) Device Connection Interrupt Disable
 
#define USB_HOST_INTENCLR_DCONN   (_U_(0x1) << USB_HOST_INTENCLR_DCONN_Pos)
 
#define USB_HOST_INTENCLR_DDISC_Pos   9
 (USB_HOST_INTENCLR) Device Disconnection Interrupt Disable
 
#define USB_HOST_INTENCLR_DDISC   (_U_(0x1) << USB_HOST_INTENCLR_DDISC_Pos)
 
#define USB_HOST_INTENCLR_MASK   _U_(0x03FC)
 (USB_HOST_INTENCLR) MASK Register
 
#define USB_DEVICE_INTENSET_OFFSET   0x018
 (USB_DEVICE_INTENSET offset) DEVICE Device Interrupt Enable Set
 
#define USB_DEVICE_INTENSET_RESETVALUE   _U_(0x0000)
 (USB_DEVICE_INTENSET reset_value) DEVICE Device Interrupt Enable Set
 
#define USB_DEVICE_INTENSET_SUSPEND_Pos   0
 (USB_DEVICE_INTENSET) Suspend Interrupt Enable
 
#define USB_DEVICE_INTENSET_SUSPEND   (_U_(0x1) << USB_DEVICE_INTENSET_SUSPEND_Pos)
 
#define USB_DEVICE_INTENSET_MSOF_Pos   1
 (USB_DEVICE_INTENSET) Micro Start of Frame Interrupt Enable in High Speed Mode
 
#define USB_DEVICE_INTENSET_MSOF   (_U_(0x1) << USB_DEVICE_INTENSET_MSOF_Pos)
 
#define USB_DEVICE_INTENSET_SOF_Pos   2
 (USB_DEVICE_INTENSET) Start Of Frame Interrupt Enable
 
#define USB_DEVICE_INTENSET_SOF   (_U_(0x1) << USB_DEVICE_INTENSET_SOF_Pos)
 
#define USB_DEVICE_INTENSET_EORST_Pos   3
 (USB_DEVICE_INTENSET) End of Reset Interrupt Enable
 
#define USB_DEVICE_INTENSET_EORST   (_U_(0x1) << USB_DEVICE_INTENSET_EORST_Pos)
 
#define USB_DEVICE_INTENSET_WAKEUP_Pos   4
 (USB_DEVICE_INTENSET) Wake Up Interrupt Enable
 
#define USB_DEVICE_INTENSET_WAKEUP   (_U_(0x1) << USB_DEVICE_INTENSET_WAKEUP_Pos)
 
#define USB_DEVICE_INTENSET_EORSM_Pos   5
 (USB_DEVICE_INTENSET) End Of Resume Interrupt Enable
 
#define USB_DEVICE_INTENSET_EORSM   (_U_(0x1) << USB_DEVICE_INTENSET_EORSM_Pos)
 
#define USB_DEVICE_INTENSET_UPRSM_Pos   6
 (USB_DEVICE_INTENSET) Upstream Resume Interrupt Enable
 
#define USB_DEVICE_INTENSET_UPRSM   (_U_(0x1) << USB_DEVICE_INTENSET_UPRSM_Pos)
 
#define USB_DEVICE_INTENSET_RAMACER_Pos   7
 (USB_DEVICE_INTENSET) Ram Access Interrupt Enable
 
#define USB_DEVICE_INTENSET_RAMACER   (_U_(0x1) << USB_DEVICE_INTENSET_RAMACER_Pos)
 
#define USB_DEVICE_INTENSET_LPMNYET_Pos   8
 (USB_DEVICE_INTENSET) Link Power Management Not Yet Interrupt Enable
 
#define USB_DEVICE_INTENSET_LPMNYET   (_U_(0x1) << USB_DEVICE_INTENSET_LPMNYET_Pos)
 
#define USB_DEVICE_INTENSET_LPMSUSP_Pos   9
 (USB_DEVICE_INTENSET) Link Power Management Suspend Interrupt Enable
 
#define USB_DEVICE_INTENSET_LPMSUSP   (_U_(0x1) << USB_DEVICE_INTENSET_LPMSUSP_Pos)
 
#define USB_DEVICE_INTENSET_MASK   _U_(0x03FF)
 (USB_DEVICE_INTENSET) MASK Register
 
#define USB_HOST_INTENSET_OFFSET   0x018
 (USB_HOST_INTENSET offset) HOST Host Interrupt Enable Set
 
#define USB_HOST_INTENSET_RESETVALUE   _U_(0x0000)
 (USB_HOST_INTENSET reset_value) HOST Host Interrupt Enable Set
 
#define USB_HOST_INTENSET_HSOF_Pos   2
 (USB_HOST_INTENSET) Host Start Of Frame Interrupt Enable
 
#define USB_HOST_INTENSET_HSOF   (_U_(0x1) << USB_HOST_INTENSET_HSOF_Pos)
 
#define USB_HOST_INTENSET_RST_Pos   3
 (USB_HOST_INTENSET) Bus Reset Interrupt Enable
 
#define USB_HOST_INTENSET_RST   (_U_(0x1) << USB_HOST_INTENSET_RST_Pos)
 
#define USB_HOST_INTENSET_WAKEUP_Pos   4
 (USB_HOST_INTENSET) Wake Up Interrupt Enable
 
#define USB_HOST_INTENSET_WAKEUP   (_U_(0x1) << USB_HOST_INTENSET_WAKEUP_Pos)
 
#define USB_HOST_INTENSET_DNRSM_Pos   5
 (USB_HOST_INTENSET) DownStream to the Device Interrupt Enable
 
#define USB_HOST_INTENSET_DNRSM   (_U_(0x1) << USB_HOST_INTENSET_DNRSM_Pos)
 
#define USB_HOST_INTENSET_UPRSM_Pos   6
 (USB_HOST_INTENSET) Upstream Resume fromthe device Interrupt Enable
 
#define USB_HOST_INTENSET_UPRSM   (_U_(0x1) << USB_HOST_INTENSET_UPRSM_Pos)
 
#define USB_HOST_INTENSET_RAMACER_Pos   7
 (USB_HOST_INTENSET) Ram Access Interrupt Enable
 
#define USB_HOST_INTENSET_RAMACER   (_U_(0x1) << USB_HOST_INTENSET_RAMACER_Pos)
 
#define USB_HOST_INTENSET_DCONN_Pos   8
 (USB_HOST_INTENSET) Link Power Management Interrupt Enable
 
#define USB_HOST_INTENSET_DCONN   (_U_(0x1) << USB_HOST_INTENSET_DCONN_Pos)
 
#define USB_HOST_INTENSET_DDISC_Pos   9
 (USB_HOST_INTENSET) Device Disconnection Interrupt Enable
 
#define USB_HOST_INTENSET_DDISC   (_U_(0x1) << USB_HOST_INTENSET_DDISC_Pos)
 
#define USB_HOST_INTENSET_MASK   _U_(0x03FC)
 (USB_HOST_INTENSET) MASK Register
 
#define USB_DEVICE_INTFLAG_OFFSET   0x01C
 (USB_DEVICE_INTFLAG offset) DEVICE Device Interrupt Flag
 
#define USB_DEVICE_INTFLAG_RESETVALUE   _U_(0x0000)
 (USB_DEVICE_INTFLAG reset_value) DEVICE Device Interrupt Flag
 
#define USB_DEVICE_INTFLAG_SUSPEND_Pos   0
 (USB_DEVICE_INTFLAG) Suspend
 
#define USB_DEVICE_INTFLAG_SUSPEND   (_U_(0x1) << USB_DEVICE_INTFLAG_SUSPEND_Pos)
 
#define USB_DEVICE_INTFLAG_MSOF_Pos   1
 (USB_DEVICE_INTFLAG) Micro Start of Frame in High Speed Mode
 
#define USB_DEVICE_INTFLAG_MSOF   (_U_(0x1) << USB_DEVICE_INTFLAG_MSOF_Pos)
 
#define USB_DEVICE_INTFLAG_SOF_Pos   2
 (USB_DEVICE_INTFLAG) Start Of Frame
 
#define USB_DEVICE_INTFLAG_SOF   (_U_(0x1) << USB_DEVICE_INTFLAG_SOF_Pos)
 
#define USB_DEVICE_INTFLAG_EORST_Pos   3
 (USB_DEVICE_INTFLAG) End of Reset
 
#define USB_DEVICE_INTFLAG_EORST   (_U_(0x1) << USB_DEVICE_INTFLAG_EORST_Pos)
 
#define USB_DEVICE_INTFLAG_WAKEUP_Pos   4
 (USB_DEVICE_INTFLAG) Wake Up
 
#define USB_DEVICE_INTFLAG_WAKEUP   (_U_(0x1) << USB_DEVICE_INTFLAG_WAKEUP_Pos)
 
#define USB_DEVICE_INTFLAG_EORSM_Pos   5
 (USB_DEVICE_INTFLAG) End Of Resume
 
#define USB_DEVICE_INTFLAG_EORSM   (_U_(0x1) << USB_DEVICE_INTFLAG_EORSM_Pos)
 
#define USB_DEVICE_INTFLAG_UPRSM_Pos   6
 (USB_DEVICE_INTFLAG) Upstream Resume
 
#define USB_DEVICE_INTFLAG_UPRSM   (_U_(0x1) << USB_DEVICE_INTFLAG_UPRSM_Pos)
 
#define USB_DEVICE_INTFLAG_RAMACER_Pos   7
 (USB_DEVICE_INTFLAG) Ram Access
 
#define USB_DEVICE_INTFLAG_RAMACER   (_U_(0x1) << USB_DEVICE_INTFLAG_RAMACER_Pos)
 
#define USB_DEVICE_INTFLAG_LPMNYET_Pos   8
 (USB_DEVICE_INTFLAG) Link Power Management Not Yet
 
#define USB_DEVICE_INTFLAG_LPMNYET   (_U_(0x1) << USB_DEVICE_INTFLAG_LPMNYET_Pos)
 
#define USB_DEVICE_INTFLAG_LPMSUSP_Pos   9
 (USB_DEVICE_INTFLAG) Link Power Management Suspend
 
#define USB_DEVICE_INTFLAG_LPMSUSP   (_U_(0x1) << USB_DEVICE_INTFLAG_LPMSUSP_Pos)
 
#define USB_DEVICE_INTFLAG_MASK   _U_(0x03FF)
 (USB_DEVICE_INTFLAG) MASK Register
 
#define USB_HOST_INTFLAG_OFFSET   0x01C
 (USB_HOST_INTFLAG offset) HOST Host Interrupt Flag
 
#define USB_HOST_INTFLAG_RESETVALUE   _U_(0x0000)
 (USB_HOST_INTFLAG reset_value) HOST Host Interrupt Flag
 
#define USB_HOST_INTFLAG_HSOF_Pos   2
 (USB_HOST_INTFLAG) Host Start Of Frame
 
#define USB_HOST_INTFLAG_HSOF   (_U_(0x1) << USB_HOST_INTFLAG_HSOF_Pos)
 
#define USB_HOST_INTFLAG_RST_Pos   3
 (USB_HOST_INTFLAG) Bus Reset
 
#define USB_HOST_INTFLAG_RST   (_U_(0x1) << USB_HOST_INTFLAG_RST_Pos)
 
#define USB_HOST_INTFLAG_WAKEUP_Pos   4
 (USB_HOST_INTFLAG) Wake Up
 
#define USB_HOST_INTFLAG_WAKEUP   (_U_(0x1) << USB_HOST_INTFLAG_WAKEUP_Pos)
 
#define USB_HOST_INTFLAG_DNRSM_Pos   5
 (USB_HOST_INTFLAG) Downstream
 
#define USB_HOST_INTFLAG_DNRSM   (_U_(0x1) << USB_HOST_INTFLAG_DNRSM_Pos)
 
#define USB_HOST_INTFLAG_UPRSM_Pos   6
 (USB_HOST_INTFLAG) Upstream Resume from the Device
 
#define USB_HOST_INTFLAG_UPRSM   (_U_(0x1) << USB_HOST_INTFLAG_UPRSM_Pos)
 
#define USB_HOST_INTFLAG_RAMACER_Pos   7
 (USB_HOST_INTFLAG) Ram Access
 
#define USB_HOST_INTFLAG_RAMACER   (_U_(0x1) << USB_HOST_INTFLAG_RAMACER_Pos)
 
#define USB_HOST_INTFLAG_DCONN_Pos   8
 (USB_HOST_INTFLAG) Device Connection
 
#define USB_HOST_INTFLAG_DCONN   (_U_(0x1) << USB_HOST_INTFLAG_DCONN_Pos)
 
#define USB_HOST_INTFLAG_DDISC_Pos   9
 (USB_HOST_INTFLAG) Device Disconnection
 
#define USB_HOST_INTFLAG_DDISC   (_U_(0x1) << USB_HOST_INTFLAG_DDISC_Pos)
 
#define USB_HOST_INTFLAG_MASK   _U_(0x03FC)
 (USB_HOST_INTFLAG) MASK Register
 
#define USB_DEVICE_EPINTSMRY_OFFSET   0x020
 (USB_DEVICE_EPINTSMRY offset) DEVICE End Point Interrupt Summary
 
#define USB_DEVICE_EPINTSMRY_RESETVALUE   _U_(0x0000)
 (USB_DEVICE_EPINTSMRY reset_value) DEVICE End Point Interrupt Summary
 
#define USB_DEVICE_EPINTSMRY_EPINT0_Pos   0
 (USB_DEVICE_EPINTSMRY) End Point 0 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT0   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT0_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT1_Pos   1
 (USB_DEVICE_EPINTSMRY) End Point 1 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT1   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT1_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT2_Pos   2
 (USB_DEVICE_EPINTSMRY) End Point 2 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT2   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT2_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT3_Pos   3
 (USB_DEVICE_EPINTSMRY) End Point 3 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT3   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT3_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT4_Pos   4
 (USB_DEVICE_EPINTSMRY) End Point 4 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT4   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT4_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT5_Pos   5
 (USB_DEVICE_EPINTSMRY) End Point 5 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT5   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT5_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT6_Pos   6
 (USB_DEVICE_EPINTSMRY) End Point 6 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT6   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT6_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT7_Pos   7
 (USB_DEVICE_EPINTSMRY) End Point 7 Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT7   (_U_(1) << USB_DEVICE_EPINTSMRY_EPINT7_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT_Pos   0
 (USB_DEVICE_EPINTSMRY) End Point x Interrupt
 
#define USB_DEVICE_EPINTSMRY_EPINT_Msk   (_U_(0xFF) << USB_DEVICE_EPINTSMRY_EPINT_Pos)
 
#define USB_DEVICE_EPINTSMRY_EPINT(value)   (USB_DEVICE_EPINTSMRY_EPINT_Msk & ((value) << USB_DEVICE_EPINTSMRY_EPINT_Pos))
 
#define USB_DEVICE_EPINTSMRY_MASK   _U_(0x00FF)
 (USB_DEVICE_EPINTSMRY) MASK Register
 
#define USB_HOST_PINTSMRY_OFFSET   0x020
 (USB_HOST_PINTSMRY offset) HOST Pipe Interrupt Summary
 
#define USB_HOST_PINTSMRY_RESETVALUE   _U_(0x0000)
 (USB_HOST_PINTSMRY reset_value) HOST Pipe Interrupt Summary
 
#define USB_HOST_PINTSMRY_EPINT0_Pos   0
 (USB_HOST_PINTSMRY) Pipe 0 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT0   (_U_(1) << USB_HOST_PINTSMRY_EPINT0_Pos)
 
#define USB_HOST_PINTSMRY_EPINT1_Pos   1
 (USB_HOST_PINTSMRY) Pipe 1 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT1   (_U_(1) << USB_HOST_PINTSMRY_EPINT1_Pos)
 
#define USB_HOST_PINTSMRY_EPINT2_Pos   2
 (USB_HOST_PINTSMRY) Pipe 2 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT2   (_U_(1) << USB_HOST_PINTSMRY_EPINT2_Pos)
 
#define USB_HOST_PINTSMRY_EPINT3_Pos   3
 (USB_HOST_PINTSMRY) Pipe 3 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT3   (_U_(1) << USB_HOST_PINTSMRY_EPINT3_Pos)
 
#define USB_HOST_PINTSMRY_EPINT4_Pos   4
 (USB_HOST_PINTSMRY) Pipe 4 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT4   (_U_(1) << USB_HOST_PINTSMRY_EPINT4_Pos)
 
#define USB_HOST_PINTSMRY_EPINT5_Pos   5
 (USB_HOST_PINTSMRY) Pipe 5 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT5   (_U_(1) << USB_HOST_PINTSMRY_EPINT5_Pos)
 
#define USB_HOST_PINTSMRY_EPINT6_Pos   6
 (USB_HOST_PINTSMRY) Pipe 6 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT6   (_U_(1) << USB_HOST_PINTSMRY_EPINT6_Pos)
 
#define USB_HOST_PINTSMRY_EPINT7_Pos   7
 (USB_HOST_PINTSMRY) Pipe 7 Interrupt
 
#define USB_HOST_PINTSMRY_EPINT7   (_U_(1) << USB_HOST_PINTSMRY_EPINT7_Pos)
 
#define USB_HOST_PINTSMRY_EPINT_Pos   0
 (USB_HOST_PINTSMRY) Pipe x Interrupt
 
#define USB_HOST_PINTSMRY_EPINT_Msk   (_U_(0xFF) << USB_HOST_PINTSMRY_EPINT_Pos)
 
#define USB_HOST_PINTSMRY_EPINT(value)   (USB_HOST_PINTSMRY_EPINT_Msk & ((value) << USB_HOST_PINTSMRY_EPINT_Pos))
 
#define USB_HOST_PINTSMRY_MASK   _U_(0x00FF)
 (USB_HOST_PINTSMRY) MASK Register
 
#define USB_DESCADD_OFFSET   0x024
 (USB_DESCADD offset) Descriptor Address
 
#define USB_DESCADD_RESETVALUE   _U_(0x00000000)
 (USB_DESCADD reset_value) Descriptor Address
 
#define USB_DESCADD_DESCADD_Pos   0
 (USB_DESCADD) Descriptor Address Value
 
#define USB_DESCADD_DESCADD_Msk   (_U_(0xFFFFFFFF) << USB_DESCADD_DESCADD_Pos)
 
#define USB_DESCADD_DESCADD(value)   (USB_DESCADD_DESCADD_Msk & ((value) << USB_DESCADD_DESCADD_Pos))
 
#define USB_DESCADD_MASK   _U_(0xFFFFFFFF)
 (USB_DESCADD) MASK Register
 
#define USB_PADCAL_OFFSET   0x028
 (USB_PADCAL offset) USB PAD Calibration
 
#define USB_PADCAL_RESETVALUE   _U_(0x0000)
 (USB_PADCAL reset_value) USB PAD Calibration
 
#define USB_PADCAL_TRANSP_Pos   0
 (USB_PADCAL) USB Pad Transp calibration
 
#define USB_PADCAL_TRANSP_Msk   (_U_(0x1F) << USB_PADCAL_TRANSP_Pos)
 
#define USB_PADCAL_TRANSP(value)   (USB_PADCAL_TRANSP_Msk & ((value) << USB_PADCAL_TRANSP_Pos))
 
#define USB_PADCAL_TRANSN_Pos   6
 (USB_PADCAL) USB Pad Transn calibration
 
#define USB_PADCAL_TRANSN_Msk   (_U_(0x1F) << USB_PADCAL_TRANSN_Pos)
 
#define USB_PADCAL_TRANSN(value)   (USB_PADCAL_TRANSN_Msk & ((value) << USB_PADCAL_TRANSN_Pos))
 
#define USB_PADCAL_TRIM_Pos   12
 (USB_PADCAL) USB Pad Trim calibration
 
#define USB_PADCAL_TRIM_Msk   (_U_(0x7) << USB_PADCAL_TRIM_Pos)
 
#define USB_PADCAL_TRIM(value)   (USB_PADCAL_TRIM_Msk & ((value) << USB_PADCAL_TRIM_Pos))
 
#define USB_PADCAL_MASK   _U_(0x77DF)
 (USB_PADCAL) MASK Register
 
#define USB_DEVICE_EPCFG_OFFSET   0x100
 (USB_DEVICE_EPCFG offset) DEVICE_ENDPOINT End Point Configuration
 
#define USB_DEVICE_EPCFG_RESETVALUE   _U_(0x00)
 (USB_DEVICE_EPCFG reset_value) DEVICE_ENDPOINT End Point Configuration
 
#define USB_DEVICE_EPCFG_EPTYPE0_Pos   0
 (USB_DEVICE_EPCFG) End Point Type0
 
#define USB_DEVICE_EPCFG_EPTYPE0_Msk   (_U_(0x7) << USB_DEVICE_EPCFG_EPTYPE0_Pos)
 
#define USB_DEVICE_EPCFG_EPTYPE0(value)   (USB_DEVICE_EPCFG_EPTYPE0_Msk & ((value) << USB_DEVICE_EPCFG_EPTYPE0_Pos))
 
#define USB_DEVICE_EPCFG_EPTYPE1_Pos   4
 (USB_DEVICE_EPCFG) End Point Type1
 
#define USB_DEVICE_EPCFG_EPTYPE1_Msk   (_U_(0x7) << USB_DEVICE_EPCFG_EPTYPE1_Pos)
 
#define USB_DEVICE_EPCFG_EPTYPE1(value)   (USB_DEVICE_EPCFG_EPTYPE1_Msk & ((value) << USB_DEVICE_EPCFG_EPTYPE1_Pos))
 
#define USB_DEVICE_EPCFG_NYETDIS_Pos   7
 (USB_DEVICE_EPCFG) NYET Token Disable
 
#define USB_DEVICE_EPCFG_NYETDIS   (_U_(0x1) << USB_DEVICE_EPCFG_NYETDIS_Pos)
 
#define USB_DEVICE_EPCFG_MASK   _U_(0xF7)
 (USB_DEVICE_EPCFG) MASK Register
 
#define USB_HOST_PCFG_OFFSET   0x100
 (USB_HOST_PCFG offset) HOST_PIPE End Point Configuration
 
#define USB_HOST_PCFG_RESETVALUE   _U_(0x00)
 (USB_HOST_PCFG reset_value) HOST_PIPE End Point Configuration
 
#define USB_HOST_PCFG_PTOKEN_Pos   0
 (USB_HOST_PCFG) Pipe Token
 
#define USB_HOST_PCFG_PTOKEN_Msk   (_U_(0x3) << USB_HOST_PCFG_PTOKEN_Pos)
 
#define USB_HOST_PCFG_PTOKEN(value)   (USB_HOST_PCFG_PTOKEN_Msk & ((value) << USB_HOST_PCFG_PTOKEN_Pos))
 
#define USB_HOST_PCFG_BK_Pos   2
 (USB_HOST_PCFG) Pipe Bank
 
#define USB_HOST_PCFG_BK   (_U_(0x1) << USB_HOST_PCFG_BK_Pos)
 
#define USB_HOST_PCFG_PTYPE_Pos   3
 (USB_HOST_PCFG) Pipe Type
 
#define USB_HOST_PCFG_PTYPE_Msk   (_U_(0x7) << USB_HOST_PCFG_PTYPE_Pos)
 
#define USB_HOST_PCFG_PTYPE(value)   (USB_HOST_PCFG_PTYPE_Msk & ((value) << USB_HOST_PCFG_PTYPE_Pos))
 
#define USB_HOST_PCFG_MASK   _U_(0x3F)
 (USB_HOST_PCFG) MASK Register
 
#define USB_HOST_BINTERVAL_OFFSET   0x103
 (USB_HOST_BINTERVAL offset) HOST_PIPE Bus Access Period of Pipe
 
#define USB_HOST_BINTERVAL_RESETVALUE   _U_(0x00)
 (USB_HOST_BINTERVAL reset_value) HOST_PIPE Bus Access Period of Pipe
 
#define USB_HOST_BINTERVAL_BITINTERVAL_Pos   0
 (USB_HOST_BINTERVAL) Bit Interval
 
#define USB_HOST_BINTERVAL_BITINTERVAL_Msk   (_U_(0xFF) << USB_HOST_BINTERVAL_BITINTERVAL_Pos)
 
#define USB_HOST_BINTERVAL_BITINTERVAL(value)   (USB_HOST_BINTERVAL_BITINTERVAL_Msk & ((value) << USB_HOST_BINTERVAL_BITINTERVAL_Pos))
 
#define USB_HOST_BINTERVAL_MASK   _U_(0xFF)
 (USB_HOST_BINTERVAL) MASK Register
 
#define USB_DEVICE_EPSTATUSCLR_OFFSET   0x104
 (USB_DEVICE_EPSTATUSCLR offset) DEVICE_ENDPOINT End Point Pipe Status Clear
 
#define USB_DEVICE_EPSTATUSCLR_RESETVALUE   _U_(0x00)
 (USB_DEVICE_EPSTATUSCLR reset_value) DEVICE_ENDPOINT End Point Pipe Status Clear
 
#define USB_DEVICE_EPSTATUSCLR_DTGLOUT_Pos   0
 (USB_DEVICE_EPSTATUSCLR) Data Toggle OUT Clear
 
#define USB_DEVICE_EPSTATUSCLR_DTGLOUT   (_U_(0x1) << USB_DEVICE_EPSTATUSCLR_DTGLOUT_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_DTGLIN_Pos   1
 (USB_DEVICE_EPSTATUSCLR) Data Toggle IN Clear
 
#define USB_DEVICE_EPSTATUSCLR_DTGLIN   (_U_(0x1) << USB_DEVICE_EPSTATUSCLR_DTGLIN_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_CURBK_Pos   2
 (USB_DEVICE_EPSTATUSCLR) Current Bank Clear
 
#define USB_DEVICE_EPSTATUSCLR_CURBK   (_U_(0x1) << USB_DEVICE_EPSTATUSCLR_CURBK_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_STALLRQ0_Pos   4
 (USB_DEVICE_EPSTATUSCLR) Stall 0 Request Clear
 
#define USB_DEVICE_EPSTATUSCLR_STALLRQ0   (_U_(1) << USB_DEVICE_EPSTATUSCLR_STALLRQ0_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_STALLRQ1_Pos   5
 (USB_DEVICE_EPSTATUSCLR) Stall 1 Request Clear
 
#define USB_DEVICE_EPSTATUSCLR_STALLRQ1   (_U_(1) << USB_DEVICE_EPSTATUSCLR_STALLRQ1_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_STALLRQ_Pos   4
 (USB_DEVICE_EPSTATUSCLR) Stall x Request Clear
 
#define USB_DEVICE_EPSTATUSCLR_STALLRQ_Msk   (_U_(0x3) << USB_DEVICE_EPSTATUSCLR_STALLRQ_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_STALLRQ(value)   (USB_DEVICE_EPSTATUSCLR_STALLRQ_Msk & ((value) << USB_DEVICE_EPSTATUSCLR_STALLRQ_Pos))
 
#define USB_DEVICE_EPSTATUSCLR_BK0RDY_Pos   6
 (USB_DEVICE_EPSTATUSCLR) Bank 0 Ready Clear
 
#define USB_DEVICE_EPSTATUSCLR_BK0RDY   (_U_(0x1) << USB_DEVICE_EPSTATUSCLR_BK0RDY_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_BK1RDY_Pos   7
 (USB_DEVICE_EPSTATUSCLR) Bank 1 Ready Clear
 
#define USB_DEVICE_EPSTATUSCLR_BK1RDY   (_U_(0x1) << USB_DEVICE_EPSTATUSCLR_BK1RDY_Pos)
 
#define USB_DEVICE_EPSTATUSCLR_MASK   _U_(0xF7)
 (USB_DEVICE_EPSTATUSCLR) MASK Register
 
#define USB_HOST_PSTATUSCLR_OFFSET   0x104
 (USB_HOST_PSTATUSCLR offset) HOST_PIPE End Point Pipe Status Clear
 
#define USB_HOST_PSTATUSCLR_RESETVALUE   _U_(0x00)
 (USB_HOST_PSTATUSCLR reset_value) HOST_PIPE End Point Pipe Status Clear
 
#define USB_HOST_PSTATUSCLR_DTGL_Pos   0
 (USB_HOST_PSTATUSCLR) Data Toggle clear
 
#define USB_HOST_PSTATUSCLR_DTGL   (_U_(0x1) << USB_HOST_PSTATUSCLR_DTGL_Pos)
 
#define USB_HOST_PSTATUSCLR_CURBK_Pos   2
 (USB_HOST_PSTATUSCLR) Curren Bank clear
 
#define USB_HOST_PSTATUSCLR_CURBK   (_U_(0x1) << USB_HOST_PSTATUSCLR_CURBK_Pos)
 
#define USB_HOST_PSTATUSCLR_PFREEZE_Pos   4
 (USB_HOST_PSTATUSCLR) Pipe Freeze Clear
 
#define USB_HOST_PSTATUSCLR_PFREEZE   (_U_(0x1) << USB_HOST_PSTATUSCLR_PFREEZE_Pos)
 
#define USB_HOST_PSTATUSCLR_BK0RDY_Pos   6
 (USB_HOST_PSTATUSCLR) Bank 0 Ready Clear
 
#define USB_HOST_PSTATUSCLR_BK0RDY   (_U_(0x1) << USB_HOST_PSTATUSCLR_BK0RDY_Pos)
 
#define USB_HOST_PSTATUSCLR_BK1RDY_Pos   7
 (USB_HOST_PSTATUSCLR) Bank 1 Ready Clear
 
#define USB_HOST_PSTATUSCLR_BK1RDY   (_U_(0x1) << USB_HOST_PSTATUSCLR_BK1RDY_Pos)
 
#define USB_HOST_PSTATUSCLR_MASK   _U_(0xD5)
 (USB_HOST_PSTATUSCLR) MASK Register
 
#define USB_DEVICE_EPSTATUSSET_OFFSET   0x105
 (USB_DEVICE_EPSTATUSSET offset) DEVICE_ENDPOINT End Point Pipe Status Set
 
#define USB_DEVICE_EPSTATUSSET_RESETVALUE   _U_(0x00)
 (USB_DEVICE_EPSTATUSSET reset_value) DEVICE_ENDPOINT End Point Pipe Status Set
 
#define USB_DEVICE_EPSTATUSSET_DTGLOUT_Pos   0
 (USB_DEVICE_EPSTATUSSET) Data Toggle OUT Set
 
#define USB_DEVICE_EPSTATUSSET_DTGLOUT   (_U_(0x1) << USB_DEVICE_EPSTATUSSET_DTGLOUT_Pos)
 
#define USB_DEVICE_EPSTATUSSET_DTGLIN_Pos   1
 (USB_DEVICE_EPSTATUSSET) Data Toggle IN Set
 
#define USB_DEVICE_EPSTATUSSET_DTGLIN   (_U_(0x1) << USB_DEVICE_EPSTATUSSET_DTGLIN_Pos)
 
#define USB_DEVICE_EPSTATUSSET_CURBK_Pos   2
 (USB_DEVICE_EPSTATUSSET) Current Bank Set
 
#define USB_DEVICE_EPSTATUSSET_CURBK   (_U_(0x1) << USB_DEVICE_EPSTATUSSET_CURBK_Pos)
 
#define USB_DEVICE_EPSTATUSSET_STALLRQ0_Pos   4
 (USB_DEVICE_EPSTATUSSET) Stall 0 Request Set
 
#define USB_DEVICE_EPSTATUSSET_STALLRQ0   (_U_(1) << USB_DEVICE_EPSTATUSSET_STALLRQ0_Pos)
 
#define USB_DEVICE_EPSTATUSSET_STALLRQ1_Pos   5
 (USB_DEVICE_EPSTATUSSET) Stall 1 Request Set
 
#define USB_DEVICE_EPSTATUSSET_STALLRQ1   (_U_(1) << USB_DEVICE_EPSTATUSSET_STALLRQ1_Pos)
 
#define USB_DEVICE_EPSTATUSSET_STALLRQ_Pos   4
 (USB_DEVICE_EPSTATUSSET) Stall x Request Set
 
#define USB_DEVICE_EPSTATUSSET_STALLRQ_Msk   (_U_(0x3) << USB_DEVICE_EPSTATUSSET_STALLRQ_Pos)
 
#define USB_DEVICE_EPSTATUSSET_STALLRQ(value)   (USB_DEVICE_EPSTATUSSET_STALLRQ_Msk & ((value) << USB_DEVICE_EPSTATUSSET_STALLRQ_Pos))
 
#define USB_DEVICE_EPSTATUSSET_BK0RDY_Pos   6
 (USB_DEVICE_EPSTATUSSET) Bank 0 Ready Set
 
#define USB_DEVICE_EPSTATUSSET_BK0RDY   (_U_(0x1) << USB_DEVICE_EPSTATUSSET_BK0RDY_Pos)
 
#define USB_DEVICE_EPSTATUSSET_BK1RDY_Pos   7
 (USB_DEVICE_EPSTATUSSET) Bank 1 Ready Set
 
#define USB_DEVICE_EPSTATUSSET_BK1RDY   (_U_(0x1) << USB_DEVICE_EPSTATUSSET_BK1RDY_Pos)
 
#define USB_DEVICE_EPSTATUSSET_MASK   _U_(0xF7)
 (USB_DEVICE_EPSTATUSSET) MASK Register
 
#define USB_HOST_PSTATUSSET_OFFSET   0x105
 (USB_HOST_PSTATUSSET offset) HOST_PIPE End Point Pipe Status Set
 
#define USB_HOST_PSTATUSSET_RESETVALUE   _U_(0x00)
 (USB_HOST_PSTATUSSET reset_value) HOST_PIPE End Point Pipe Status Set
 
#define USB_HOST_PSTATUSSET_DTGL_Pos   0
 (USB_HOST_PSTATUSSET) Data Toggle Set
 
#define USB_HOST_PSTATUSSET_DTGL   (_U_(0x1) << USB_HOST_PSTATUSSET_DTGL_Pos)
 
#define USB_HOST_PSTATUSSET_CURBK_Pos   2
 (USB_HOST_PSTATUSSET) Current Bank Set
 
#define USB_HOST_PSTATUSSET_CURBK   (_U_(0x1) << USB_HOST_PSTATUSSET_CURBK_Pos)
 
#define USB_HOST_PSTATUSSET_PFREEZE_Pos   4
 (USB_HOST_PSTATUSSET) Pipe Freeze Set
 
#define USB_HOST_PSTATUSSET_PFREEZE   (_U_(0x1) << USB_HOST_PSTATUSSET_PFREEZE_Pos)
 
#define USB_HOST_PSTATUSSET_BK0RDY_Pos   6
 (USB_HOST_PSTATUSSET) Bank 0 Ready Set
 
#define USB_HOST_PSTATUSSET_BK0RDY   (_U_(0x1) << USB_HOST_PSTATUSSET_BK0RDY_Pos)
 
#define USB_HOST_PSTATUSSET_BK1RDY_Pos   7
 (USB_HOST_PSTATUSSET) Bank 1 Ready Set
 
#define USB_HOST_PSTATUSSET_BK1RDY   (_U_(0x1) << USB_HOST_PSTATUSSET_BK1RDY_Pos)
 
#define USB_HOST_PSTATUSSET_MASK   _U_(0xD5)
 (USB_HOST_PSTATUSSET) MASK Register
 
#define USB_DEVICE_EPSTATUS_OFFSET   0x106
 (USB_DEVICE_EPSTATUS offset) DEVICE_ENDPOINT End Point Pipe Status
 
#define USB_DEVICE_EPSTATUS_RESETVALUE   _U_(0x00)
 (USB_DEVICE_EPSTATUS reset_value) DEVICE_ENDPOINT End Point Pipe Status
 
#define USB_DEVICE_EPSTATUS_DTGLOUT_Pos   0
 (USB_DEVICE_EPSTATUS) Data Toggle Out
 
#define USB_DEVICE_EPSTATUS_DTGLOUT   (_U_(0x1) << USB_DEVICE_EPSTATUS_DTGLOUT_Pos)
 
#define USB_DEVICE_EPSTATUS_DTGLIN_Pos   1
 (USB_DEVICE_EPSTATUS) Data Toggle In
 
#define USB_DEVICE_EPSTATUS_DTGLIN   (_U_(0x1) << USB_DEVICE_EPSTATUS_DTGLIN_Pos)
 
#define USB_DEVICE_EPSTATUS_CURBK_Pos   2
 (USB_DEVICE_EPSTATUS) Current Bank
 
#define USB_DEVICE_EPSTATUS_CURBK   (_U_(0x1) << USB_DEVICE_EPSTATUS_CURBK_Pos)
 
#define USB_DEVICE_EPSTATUS_STALLRQ0_Pos   4
 (USB_DEVICE_EPSTATUS) Stall 0 Request
 
#define USB_DEVICE_EPSTATUS_STALLRQ0   (_U_(1) << USB_DEVICE_EPSTATUS_STALLRQ0_Pos)
 
#define USB_DEVICE_EPSTATUS_STALLRQ1_Pos   5
 (USB_DEVICE_EPSTATUS) Stall 1 Request
 
#define USB_DEVICE_EPSTATUS_STALLRQ1   (_U_(1) << USB_DEVICE_EPSTATUS_STALLRQ1_Pos)
 
#define USB_DEVICE_EPSTATUS_STALLRQ_Pos   4
 (USB_DEVICE_EPSTATUS) Stall x Request
 
#define USB_DEVICE_EPSTATUS_STALLRQ_Msk   (_U_(0x3) << USB_DEVICE_EPSTATUS_STALLRQ_Pos)
 
#define USB_DEVICE_EPSTATUS_STALLRQ(value)   (USB_DEVICE_EPSTATUS_STALLRQ_Msk & ((value) << USB_DEVICE_EPSTATUS_STALLRQ_Pos))
 
#define USB_DEVICE_EPSTATUS_BK0RDY_Pos   6
 (USB_DEVICE_EPSTATUS) Bank 0 ready
 
#define USB_DEVICE_EPSTATUS_BK0RDY   (_U_(0x1) << USB_DEVICE_EPSTATUS_BK0RDY_Pos)
 
#define USB_DEVICE_EPSTATUS_BK1RDY_Pos   7
 (USB_DEVICE_EPSTATUS) Bank 1 ready
 
#define USB_DEVICE_EPSTATUS_BK1RDY   (_U_(0x1) << USB_DEVICE_EPSTATUS_BK1RDY_Pos)
 
#define USB_DEVICE_EPSTATUS_MASK   _U_(0xF7)
 (USB_DEVICE_EPSTATUS) MASK Register
 
#define USB_HOST_PSTATUS_OFFSET   0x106
 (USB_HOST_PSTATUS offset) HOST_PIPE End Point Pipe Status
 
#define USB_HOST_PSTATUS_RESETVALUE   _U_(0x00)
 (USB_HOST_PSTATUS reset_value) HOST_PIPE End Point Pipe Status
 
#define USB_HOST_PSTATUS_DTGL_Pos   0
 (USB_HOST_PSTATUS) Data Toggle
 
#define USB_HOST_PSTATUS_DTGL   (_U_(0x1) << USB_HOST_PSTATUS_DTGL_Pos)
 
#define USB_HOST_PSTATUS_CURBK_Pos   2
 (USB_HOST_PSTATUS) Current Bank
 
#define USB_HOST_PSTATUS_CURBK   (_U_(0x1) << USB_HOST_PSTATUS_CURBK_Pos)
 
#define USB_HOST_PSTATUS_PFREEZE_Pos   4
 (USB_HOST_PSTATUS) Pipe Freeze
 
#define USB_HOST_PSTATUS_PFREEZE   (_U_(0x1) << USB_HOST_PSTATUS_PFREEZE_Pos)
 
#define USB_HOST_PSTATUS_BK0RDY_Pos   6
 (USB_HOST_PSTATUS) Bank 0 ready
 
#define USB_HOST_PSTATUS_BK0RDY   (_U_(0x1) << USB_HOST_PSTATUS_BK0RDY_Pos)
 
#define USB_HOST_PSTATUS_BK1RDY_Pos   7
 (USB_HOST_PSTATUS) Bank 1 ready
 
#define USB_HOST_PSTATUS_BK1RDY   (_U_(0x1) << USB_HOST_PSTATUS_BK1RDY_Pos)
 
#define USB_HOST_PSTATUS_MASK   _U_(0xD5)
 (USB_HOST_PSTATUS) MASK Register
 
#define USB_DEVICE_EPINTFLAG_OFFSET   0x107
 (USB_DEVICE_EPINTFLAG offset) DEVICE_ENDPOINT End Point Interrupt Flag
 
#define USB_DEVICE_EPINTFLAG_RESETVALUE   _U_(0x00)
 (USB_DEVICE_EPINTFLAG reset_value) DEVICE_ENDPOINT End Point Interrupt Flag
 
#define USB_DEVICE_EPINTFLAG_TRCPT0_Pos   0
 (USB_DEVICE_EPINTFLAG) Transfer Complete 0
 
#define USB_DEVICE_EPINTFLAG_TRCPT0   (_U_(1) << USB_DEVICE_EPINTFLAG_TRCPT0_Pos)
 
#define USB_DEVICE_EPINTFLAG_TRCPT1_Pos   1
 (USB_DEVICE_EPINTFLAG) Transfer Complete 1
 
#define USB_DEVICE_EPINTFLAG_TRCPT1   (_U_(1) << USB_DEVICE_EPINTFLAG_TRCPT1_Pos)
 
#define USB_DEVICE_EPINTFLAG_TRCPT_Pos   0
 (USB_DEVICE_EPINTFLAG) Transfer Complete x
 
#define USB_DEVICE_EPINTFLAG_TRCPT_Msk   (_U_(0x3) << USB_DEVICE_EPINTFLAG_TRCPT_Pos)
 
#define USB_DEVICE_EPINTFLAG_TRCPT(value)   (USB_DEVICE_EPINTFLAG_TRCPT_Msk & ((value) << USB_DEVICE_EPINTFLAG_TRCPT_Pos))
 
#define USB_DEVICE_EPINTFLAG_TRFAIL0_Pos   2
 (USB_DEVICE_EPINTFLAG) Error Flow 0
 
#define USB_DEVICE_EPINTFLAG_TRFAIL0   (_U_(1) << USB_DEVICE_EPINTFLAG_TRFAIL0_Pos)
 
#define USB_DEVICE_EPINTFLAG_TRFAIL1_Pos   3
 (USB_DEVICE_EPINTFLAG) Error Flow 1
 
#define USB_DEVICE_EPINTFLAG_TRFAIL1   (_U_(1) << USB_DEVICE_EPINTFLAG_TRFAIL1_Pos)
 
#define USB_DEVICE_EPINTFLAG_TRFAIL_Pos   2
 (USB_DEVICE_EPINTFLAG) Error Flow x
 
#define USB_DEVICE_EPINTFLAG_TRFAIL_Msk   (_U_(0x3) << USB_DEVICE_EPINTFLAG_TRFAIL_Pos)
 
#define USB_DEVICE_EPINTFLAG_TRFAIL(value)   (USB_DEVICE_EPINTFLAG_TRFAIL_Msk & ((value) << USB_DEVICE_EPINTFLAG_TRFAIL_Pos))
 
#define USB_DEVICE_EPINTFLAG_RXSTP_Pos   4
 (USB_DEVICE_EPINTFLAG) Received Setup
 
#define USB_DEVICE_EPINTFLAG_RXSTP   (_U_(0x1) << USB_DEVICE_EPINTFLAG_RXSTP_Pos)
 
#define USB_DEVICE_EPINTFLAG_STALL0_Pos   5
 (USB_DEVICE_EPINTFLAG) Stall 0 In/out
 
#define USB_DEVICE_EPINTFLAG_STALL0   (_U_(1) << USB_DEVICE_EPINTFLAG_STALL0_Pos)
 
#define USB_DEVICE_EPINTFLAG_STALL1_Pos   6
 (USB_DEVICE_EPINTFLAG) Stall 1 In/out
 
#define USB_DEVICE_EPINTFLAG_STALL1   (_U_(1) << USB_DEVICE_EPINTFLAG_STALL1_Pos)
 
#define USB_DEVICE_EPINTFLAG_STALL_Pos   5
 (USB_DEVICE_EPINTFLAG) Stall x In/out
 
#define USB_DEVICE_EPINTFLAG_STALL_Msk   (_U_(0x3) << USB_DEVICE_EPINTFLAG_STALL_Pos)
 
#define USB_DEVICE_EPINTFLAG_STALL(value)   (USB_DEVICE_EPINTFLAG_STALL_Msk & ((value) << USB_DEVICE_EPINTFLAG_STALL_Pos))
 
#define USB_DEVICE_EPINTFLAG_MASK   _U_(0x7F)
 (USB_DEVICE_EPINTFLAG) MASK Register
 
#define USB_HOST_PINTFLAG_OFFSET   0x107
 (USB_HOST_PINTFLAG offset) HOST_PIPE Pipe Interrupt Flag
 
#define USB_HOST_PINTFLAG_RESETVALUE   _U_(0x00)
 (USB_HOST_PINTFLAG reset_value) HOST_PIPE Pipe Interrupt Flag
 
#define USB_HOST_PINTFLAG_TRCPT0_Pos   0
 (USB_HOST_PINTFLAG) Transfer Complete 0 Interrupt Flag
 
#define USB_HOST_PINTFLAG_TRCPT0   (_U_(1) << USB_HOST_PINTFLAG_TRCPT0_Pos)
 
#define USB_HOST_PINTFLAG_TRCPT1_Pos   1
 (USB_HOST_PINTFLAG) Transfer Complete 1 Interrupt Flag
 
#define USB_HOST_PINTFLAG_TRCPT1   (_U_(1) << USB_HOST_PINTFLAG_TRCPT1_Pos)
 
#define USB_HOST_PINTFLAG_TRCPT_Pos   0
 (USB_HOST_PINTFLAG) Transfer Complete x Interrupt Flag
 
#define USB_HOST_PINTFLAG_TRCPT_Msk   (_U_(0x3) << USB_HOST_PINTFLAG_TRCPT_Pos)
 
#define USB_HOST_PINTFLAG_TRCPT(value)   (USB_HOST_PINTFLAG_TRCPT_Msk & ((value) << USB_HOST_PINTFLAG_TRCPT_Pos))
 
#define USB_HOST_PINTFLAG_TRFAIL_Pos   2
 (USB_HOST_PINTFLAG) Error Flow Interrupt Flag
 
#define USB_HOST_PINTFLAG_TRFAIL   (_U_(0x1) << USB_HOST_PINTFLAG_TRFAIL_Pos)
 
#define USB_HOST_PINTFLAG_PERR_Pos   3
 (USB_HOST_PINTFLAG) Pipe Error Interrupt Flag
 
#define USB_HOST_PINTFLAG_PERR   (_U_(0x1) << USB_HOST_PINTFLAG_PERR_Pos)
 
#define USB_HOST_PINTFLAG_TXSTP_Pos   4
 (USB_HOST_PINTFLAG) Transmit Setup Interrupt Flag
 
#define USB_HOST_PINTFLAG_TXSTP   (_U_(0x1) << USB_HOST_PINTFLAG_TXSTP_Pos)
 
#define USB_HOST_PINTFLAG_STALL_Pos   5
 (USB_HOST_PINTFLAG) Stall Interrupt Flag
 
#define USB_HOST_PINTFLAG_STALL   (_U_(0x1) << USB_HOST_PINTFLAG_STALL_Pos)
 
#define USB_HOST_PINTFLAG_MASK   _U_(0x3F)
 (USB_HOST_PINTFLAG) MASK Register
 
#define USB_DEVICE_EPINTENCLR_OFFSET   0x108
 (USB_DEVICE_EPINTENCLR offset) DEVICE_ENDPOINT End Point Interrupt Clear Flag
 
#define USB_DEVICE_EPINTENCLR_RESETVALUE   _U_(0x00)
 (USB_DEVICE_EPINTENCLR reset_value) DEVICE_ENDPOINT End Point Interrupt Clear Flag
 
#define USB_DEVICE_EPINTENCLR_TRCPT0_Pos   0
 (USB_DEVICE_EPINTENCLR) Transfer Complete 0 Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_TRCPT0   (_U_(1) << USB_DEVICE_EPINTENCLR_TRCPT0_Pos)
 
#define USB_DEVICE_EPINTENCLR_TRCPT1_Pos   1
 (USB_DEVICE_EPINTENCLR) Transfer Complete 1 Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_TRCPT1   (_U_(1) << USB_DEVICE_EPINTENCLR_TRCPT1_Pos)
 
#define USB_DEVICE_EPINTENCLR_TRCPT_Pos   0
 (USB_DEVICE_EPINTENCLR) Transfer Complete x Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_TRCPT_Msk   (_U_(0x3) << USB_DEVICE_EPINTENCLR_TRCPT_Pos)
 
#define USB_DEVICE_EPINTENCLR_TRCPT(value)   (USB_DEVICE_EPINTENCLR_TRCPT_Msk & ((value) << USB_DEVICE_EPINTENCLR_TRCPT_Pos))
 
#define USB_DEVICE_EPINTENCLR_TRFAIL0_Pos   2
 (USB_DEVICE_EPINTENCLR) Error Flow 0 Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_TRFAIL0   (_U_(1) << USB_DEVICE_EPINTENCLR_TRFAIL0_Pos)
 
#define USB_DEVICE_EPINTENCLR_TRFAIL1_Pos   3
 (USB_DEVICE_EPINTENCLR) Error Flow 1 Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_TRFAIL1   (_U_(1) << USB_DEVICE_EPINTENCLR_TRFAIL1_Pos)
 
#define USB_DEVICE_EPINTENCLR_TRFAIL_Pos   2
 (USB_DEVICE_EPINTENCLR) Error Flow x Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_TRFAIL_Msk   (_U_(0x3) << USB_DEVICE_EPINTENCLR_TRFAIL_Pos)
 
#define USB_DEVICE_EPINTENCLR_TRFAIL(value)   (USB_DEVICE_EPINTENCLR_TRFAIL_Msk & ((value) << USB_DEVICE_EPINTENCLR_TRFAIL_Pos))
 
#define USB_DEVICE_EPINTENCLR_RXSTP_Pos   4
 (USB_DEVICE_EPINTENCLR) Received Setup Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_RXSTP   (_U_(0x1) << USB_DEVICE_EPINTENCLR_RXSTP_Pos)
 
#define USB_DEVICE_EPINTENCLR_STALL0_Pos   5
 (USB_DEVICE_EPINTENCLR) Stall 0 In/Out Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_STALL0   (_U_(1) << USB_DEVICE_EPINTENCLR_STALL0_Pos)
 
#define USB_DEVICE_EPINTENCLR_STALL1_Pos   6
 (USB_DEVICE_EPINTENCLR) Stall 1 In/Out Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_STALL1   (_U_(1) << USB_DEVICE_EPINTENCLR_STALL1_Pos)
 
#define USB_DEVICE_EPINTENCLR_STALL_Pos   5
 (USB_DEVICE_EPINTENCLR) Stall x In/Out Interrupt Disable
 
#define USB_DEVICE_EPINTENCLR_STALL_Msk   (_U_(0x3) << USB_DEVICE_EPINTENCLR_STALL_Pos)
 
#define USB_DEVICE_EPINTENCLR_STALL(value)   (USB_DEVICE_EPINTENCLR_STALL_Msk & ((value) << USB_DEVICE_EPINTENCLR_STALL_Pos))
 
#define USB_DEVICE_EPINTENCLR_MASK   _U_(0x7F)
 (USB_DEVICE_EPINTENCLR) MASK Register
 
#define USB_HOST_PINTENCLR_OFFSET   0x108
 (USB_HOST_PINTENCLR offset) HOST_PIPE Pipe Interrupt Flag Clear
 
#define USB_HOST_PINTENCLR_RESETVALUE   _U_(0x00)
 (USB_HOST_PINTENCLR reset_value) HOST_PIPE Pipe Interrupt Flag Clear
 
#define USB_HOST_PINTENCLR_TRCPT0_Pos   0
 (USB_HOST_PINTENCLR) Transfer Complete 0 Disable
 
#define USB_HOST_PINTENCLR_TRCPT0   (_U_(1) << USB_HOST_PINTENCLR_TRCPT0_Pos)
 
#define USB_HOST_PINTENCLR_TRCPT1_Pos   1
 (USB_HOST_PINTENCLR) Transfer Complete 1 Disable
 
#define USB_HOST_PINTENCLR_TRCPT1   (_U_(1) << USB_HOST_PINTENCLR_TRCPT1_Pos)
 
#define USB_HOST_PINTENCLR_TRCPT_Pos   0
 (USB_HOST_PINTENCLR) Transfer Complete x Disable
 
#define USB_HOST_PINTENCLR_TRCPT_Msk   (_U_(0x3) << USB_HOST_PINTENCLR_TRCPT_Pos)
 
#define USB_HOST_PINTENCLR_TRCPT(value)   (USB_HOST_PINTENCLR_TRCPT_Msk & ((value) << USB_HOST_PINTENCLR_TRCPT_Pos))
 
#define USB_HOST_PINTENCLR_TRFAIL_Pos   2
 (USB_HOST_PINTENCLR) Error Flow Interrupt Disable
 
#define USB_HOST_PINTENCLR_TRFAIL   (_U_(0x1) << USB_HOST_PINTENCLR_TRFAIL_Pos)
 
#define USB_HOST_PINTENCLR_PERR_Pos   3
 (USB_HOST_PINTENCLR) Pipe Error Interrupt Disable
 
#define USB_HOST_PINTENCLR_PERR   (_U_(0x1) << USB_HOST_PINTENCLR_PERR_Pos)
 
#define USB_HOST_PINTENCLR_TXSTP_Pos   4
 (USB_HOST_PINTENCLR) Transmit Setup Interrupt Disable
 
#define USB_HOST_PINTENCLR_TXSTP   (_U_(0x1) << USB_HOST_PINTENCLR_TXSTP_Pos)
 
#define USB_HOST_PINTENCLR_STALL_Pos   5
 (USB_HOST_PINTENCLR) Stall Inetrrupt Disable
 
#define USB_HOST_PINTENCLR_STALL   (_U_(0x1) << USB_HOST_PINTENCLR_STALL_Pos)
 
#define USB_HOST_PINTENCLR_MASK   _U_(0x3F)
 (USB_HOST_PINTENCLR) MASK Register
 
#define USB_DEVICE_EPINTENSET_OFFSET   0x109
 (USB_DEVICE_EPINTENSET offset) DEVICE_ENDPOINT End Point Interrupt Set Flag
 
#define USB_DEVICE_EPINTENSET_RESETVALUE   _U_(0x00)
 (USB_DEVICE_EPINTENSET reset_value) DEVICE_ENDPOINT End Point Interrupt Set Flag
 
#define USB_DEVICE_EPINTENSET_TRCPT0_Pos   0
 (USB_DEVICE_EPINTENSET) Transfer Complete 0 Interrupt Enable
 
#define USB_DEVICE_EPINTENSET_TRCPT0   (_U_(1) << USB_DEVICE_EPINTENSET_TRCPT0_Pos)
 
#define USB_DEVICE_EPINTENSET_TRCPT1_Pos   1
 (USB_DEVICE_EPINTENSET) Transfer Complete 1 Interrupt Enable
 
#define USB_DEVICE_EPINTENSET_TRCPT1   (_U_(1) << USB_DEVICE_EPINTENSET_TRCPT1_Pos)
 
#define USB_DEVICE_EPINTENSET_TRCPT_Pos   0
 (USB_DEVICE_EPINTENSET) Transfer Complete x Interrupt Enable
 
#define USB_DEVICE_EPINTENSET_TRCPT_Msk   (_U_(0x3) << USB_DEVICE_EPINTENSET_TRCPT_Pos)
 
#define USB_DEVICE_EPINTENSET_TRCPT(value)   (USB_DEVICE_EPINTENSET_TRCPT_Msk & ((value) << USB_DEVICE_EPINTENSET_TRCPT_Pos))
 
#define USB_DEVICE_EPINTENSET_TRFAIL0_Pos   2
 (USB_DEVICE_EPINTENSET) Error Flow 0 Interrupt Enable
 
#define USB_DEVICE_EPINTENSET_TRFAIL0   (_U_(1) << USB_DEVICE_EPINTENSET_TRFAIL0_Pos)
 
#define USB_DEVICE_EPINTENSET_TRFAIL1_Pos   3
 (USB_DEVICE_EPINTENSET) Error Flow 1 Interrupt Enable
 
#define USB_DEVICE_EPINTENSET_TRFAIL1   (_U_(1) << USB_DEVICE_EPINTENSET_TRFAIL1_Pos)
 
#define USB_DEVICE_EPINTENSET_TRFAIL_Pos   2
 (USB_DEVICE_EPINTENSET) Error Flow x Interrupt Enable
 
#define USB_DEVICE_EPINTENSET_TRFAIL_Msk   (_U_(0x3) << USB_DEVICE_EPINTENSET_TRFAIL_Pos)
 
#define USB_DEVICE_EPINTENSET_TRFAIL(value)   (USB_DEVICE_EPINTENSET_TRFAIL_Msk & ((value) << USB_DEVICE_EPINTENSET_TRFAIL_Pos))
 
#define USB_DEVICE_EPINTENSET_RXSTP_Pos   4
 (USB_DEVICE_EPINTENSET) Received Setup Interrupt Enable
 
#define USB_DEVICE_EPINTENSET_RXSTP   (_U_(0x1) << USB_DEVICE_EPINTENSET_RXSTP_Pos)
 
#define USB_DEVICE_EPINTENSET_STALL0_Pos   5
 (USB_DEVICE_EPINTENSET) Stall 0 In/out Interrupt enable
 
#define USB_DEVICE_EPINTENSET_STALL0   (_U_(1) << USB_DEVICE_EPINTENSET_STALL0_Pos)
 
#define USB_DEVICE_EPINTENSET_STALL1_Pos   6
 (USB_DEVICE_EPINTENSET) Stall 1 In/out Interrupt enable
 
#define USB_DEVICE_EPINTENSET_STALL1   (_U_(1) << USB_DEVICE_EPINTENSET_STALL1_Pos)
 
#define USB_DEVICE_EPINTENSET_STALL_Pos   5
 (USB_DEVICE_EPINTENSET) Stall x In/out Interrupt enable
 
#define USB_DEVICE_EPINTENSET_STALL_Msk   (_U_(0x3) << USB_DEVICE_EPINTENSET_STALL_Pos)
 
#define USB_DEVICE_EPINTENSET_STALL(value)   (USB_DEVICE_EPINTENSET_STALL_Msk & ((value) << USB_DEVICE_EPINTENSET_STALL_Pos))
 
#define USB_DEVICE_EPINTENSET_MASK   _U_(0x7F)
 (USB_DEVICE_EPINTENSET) MASK Register
 
#define USB_HOST_PINTENSET_OFFSET   0x109
 (USB_HOST_PINTENSET offset) HOST_PIPE Pipe Interrupt Flag Set
 
#define USB_HOST_PINTENSET_RESETVALUE   _U_(0x00)
 (USB_HOST_PINTENSET reset_value) HOST_PIPE Pipe Interrupt Flag Set
 
#define USB_HOST_PINTENSET_TRCPT0_Pos   0
 (USB_HOST_PINTENSET) Transfer Complete 0 Interrupt Enable
 
#define USB_HOST_PINTENSET_TRCPT0   (_U_(1) << USB_HOST_PINTENSET_TRCPT0_Pos)
 
#define USB_HOST_PINTENSET_TRCPT1_Pos   1
 (USB_HOST_PINTENSET) Transfer Complete 1 Interrupt Enable
 
#define USB_HOST_PINTENSET_TRCPT1   (_U_(1) << USB_HOST_PINTENSET_TRCPT1_Pos)
 
#define USB_HOST_PINTENSET_TRCPT_Pos   0
 (USB_HOST_PINTENSET) Transfer Complete x Interrupt Enable
 
#define USB_HOST_PINTENSET_TRCPT_Msk   (_U_(0x3) << USB_HOST_PINTENSET_TRCPT_Pos)
 
#define USB_HOST_PINTENSET_TRCPT(value)   (USB_HOST_PINTENSET_TRCPT_Msk & ((value) << USB_HOST_PINTENSET_TRCPT_Pos))
 
#define USB_HOST_PINTENSET_TRFAIL_Pos   2
 (USB_HOST_PINTENSET) Error Flow Interrupt Enable
 
#define USB_HOST_PINTENSET_TRFAIL   (_U_(0x1) << USB_HOST_PINTENSET_TRFAIL_Pos)
 
#define USB_HOST_PINTENSET_PERR_Pos   3
 (USB_HOST_PINTENSET) Pipe Error Interrupt Enable
 
#define USB_HOST_PINTENSET_PERR   (_U_(0x1) << USB_HOST_PINTENSET_PERR_Pos)
 
#define USB_HOST_PINTENSET_TXSTP_Pos   4
 (USB_HOST_PINTENSET) Transmit Setup Interrupt Enable
 
#define USB_HOST_PINTENSET_TXSTP   (_U_(0x1) << USB_HOST_PINTENSET_TXSTP_Pos)
 
#define USB_HOST_PINTENSET_STALL_Pos   5
 (USB_HOST_PINTENSET) Stall Interrupt Enable
 
#define USB_HOST_PINTENSET_STALL   (_U_(0x1) << USB_HOST_PINTENSET_STALL_Pos)
 
#define USB_HOST_PINTENSET_MASK   _U_(0x3F)
 (USB_HOST_PINTENSET) MASK Register
 
#define USB_DEVICE_ADDR_OFFSET   0x000
 (USB_DEVICE_ADDR offset) DEVICE_DESC_BANK Endpoint Bank, Adress of Data Buffer
 
#define USB_DEVICE_ADDR_ADDR_Pos   0
 (USB_DEVICE_ADDR) Adress of data buffer
 
#define USB_DEVICE_ADDR_ADDR_Msk   (_U_(0xFFFFFFFF) << USB_DEVICE_ADDR_ADDR_Pos)
 
#define USB_DEVICE_ADDR_ADDR(value)   (USB_DEVICE_ADDR_ADDR_Msk & ((value) << USB_DEVICE_ADDR_ADDR_Pos))
 
#define USB_DEVICE_ADDR_MASK   _U_(0xFFFFFFFF)
 (USB_DEVICE_ADDR) MASK Register
 
#define USB_HOST_ADDR_OFFSET   0x000
 (USB_HOST_ADDR offset) HOST_DESC_BANK Host Bank, Adress of Data Buffer
 
#define USB_HOST_ADDR_ADDR_Pos   0
 (USB_HOST_ADDR) Adress of data buffer
 
#define USB_HOST_ADDR_ADDR_Msk   (_U_(0xFFFFFFFF) << USB_HOST_ADDR_ADDR_Pos)
 
#define USB_HOST_ADDR_ADDR(value)   (USB_HOST_ADDR_ADDR_Msk & ((value) << USB_HOST_ADDR_ADDR_Pos))
 
#define USB_HOST_ADDR_MASK   _U_(0xFFFFFFFF)
 (USB_HOST_ADDR) MASK Register
 
#define USB_DEVICE_PCKSIZE_OFFSET   0x004
 (USB_DEVICE_PCKSIZE offset) DEVICE_DESC_BANK Endpoint Bank, Packet Size
 
#define USB_DEVICE_PCKSIZE_BYTE_COUNT_Pos   0
 (USB_DEVICE_PCKSIZE) Byte Count
 
#define USB_DEVICE_PCKSIZE_BYTE_COUNT_Msk   (_U_(0x3FFF) << USB_DEVICE_PCKSIZE_BYTE_COUNT_Pos)
 
#define USB_DEVICE_PCKSIZE_BYTE_COUNT(value)   (USB_DEVICE_PCKSIZE_BYTE_COUNT_Msk & ((value) << USB_DEVICE_PCKSIZE_BYTE_COUNT_Pos))
 
#define USB_DEVICE_PCKSIZE_MULTI_PACKET_SIZE_Pos   14
 (USB_DEVICE_PCKSIZE) Multi Packet In or Out size
 
#define USB_DEVICE_PCKSIZE_MULTI_PACKET_SIZE_Msk   (_U_(0x3FFF) << USB_DEVICE_PCKSIZE_MULTI_PACKET_SIZE_Pos)
 
#define USB_DEVICE_PCKSIZE_MULTI_PACKET_SIZE(value)   (USB_DEVICE_PCKSIZE_MULTI_PACKET_SIZE_Msk & ((value) << USB_DEVICE_PCKSIZE_MULTI_PACKET_SIZE_Pos))
 
#define USB_DEVICE_PCKSIZE_SIZE_Pos   28
 (USB_DEVICE_PCKSIZE) Enpoint size
 
#define USB_DEVICE_PCKSIZE_SIZE_Msk   (_U_(0x7) << USB_DEVICE_PCKSIZE_SIZE_Pos)
 
#define USB_DEVICE_PCKSIZE_SIZE(value)   (USB_DEVICE_PCKSIZE_SIZE_Msk & ((value) << USB_DEVICE_PCKSIZE_SIZE_Pos))
 
#define USB_DEVICE_PCKSIZE_AUTO_ZLP_Pos   31
 (USB_DEVICE_PCKSIZE) Automatic Zero Length Packet
 
#define USB_DEVICE_PCKSIZE_AUTO_ZLP   (_U_(0x1) << USB_DEVICE_PCKSIZE_AUTO_ZLP_Pos)
 
#define USB_DEVICE_PCKSIZE_MASK   _U_(0xFFFFFFFF)
 (USB_DEVICE_PCKSIZE) MASK Register
 
#define USB_HOST_PCKSIZE_OFFSET   0x004
 (USB_HOST_PCKSIZE offset) HOST_DESC_BANK Host Bank, Packet Size
 
#define USB_HOST_PCKSIZE_BYTE_COUNT_Pos   0
 (USB_HOST_PCKSIZE) Byte Count
 
#define USB_HOST_PCKSIZE_BYTE_COUNT_Msk   (_U_(0x3FFF) << USB_HOST_PCKSIZE_BYTE_COUNT_Pos)
 
#define USB_HOST_PCKSIZE_BYTE_COUNT(value)   (USB_HOST_PCKSIZE_BYTE_COUNT_Msk & ((value) << USB_HOST_PCKSIZE_BYTE_COUNT_Pos))
 
#define USB_HOST_PCKSIZE_MULTI_PACKET_SIZE_Pos   14
 (USB_HOST_PCKSIZE) Multi Packet In or Out size
 
#define USB_HOST_PCKSIZE_MULTI_PACKET_SIZE_Msk   (_U_(0x3FFF) << USB_HOST_PCKSIZE_MULTI_PACKET_SIZE_Pos)
 
#define USB_HOST_PCKSIZE_MULTI_PACKET_SIZE(value)   (USB_HOST_PCKSIZE_MULTI_PACKET_SIZE_Msk & ((value) << USB_HOST_PCKSIZE_MULTI_PACKET_SIZE_Pos))
 
#define USB_HOST_PCKSIZE_SIZE_Pos   28
 (USB_HOST_PCKSIZE) Pipe size
 
#define USB_HOST_PCKSIZE_SIZE_Msk   (_U_(0x7) << USB_HOST_PCKSIZE_SIZE_Pos)
 
#define USB_HOST_PCKSIZE_SIZE(value)   (USB_HOST_PCKSIZE_SIZE_Msk & ((value) << USB_HOST_PCKSIZE_SIZE_Pos))
 
#define USB_HOST_PCKSIZE_AUTO_ZLP_Pos   31
 (USB_HOST_PCKSIZE) Automatic Zero Length Packet
 
#define USB_HOST_PCKSIZE_AUTO_ZLP   (_U_(0x1) << USB_HOST_PCKSIZE_AUTO_ZLP_Pos)
 
#define USB_HOST_PCKSIZE_MASK   _U_(0xFFFFFFFF)
 (USB_HOST_PCKSIZE) MASK Register
 
#define USB_DEVICE_EXTREG_OFFSET   0x008
 (USB_DEVICE_EXTREG offset) DEVICE_DESC_BANK Endpoint Bank, Extended
 
#define USB_DEVICE_EXTREG_SUBPID_Pos   0
 (USB_DEVICE_EXTREG) SUBPID field send with extended token
 
#define USB_DEVICE_EXTREG_SUBPID_Msk   (_U_(0xF) << USB_DEVICE_EXTREG_SUBPID_Pos)
 
#define USB_DEVICE_EXTREG_SUBPID(value)   (USB_DEVICE_EXTREG_SUBPID_Msk & ((value) << USB_DEVICE_EXTREG_SUBPID_Pos))
 
#define USB_DEVICE_EXTREG_VARIABLE_Pos   4
 (USB_DEVICE_EXTREG) Variable field send with extended token
 
#define USB_DEVICE_EXTREG_VARIABLE_Msk   (_U_(0x7FF) << USB_DEVICE_EXTREG_VARIABLE_Pos)
 
#define USB_DEVICE_EXTREG_VARIABLE(value)   (USB_DEVICE_EXTREG_VARIABLE_Msk & ((value) << USB_DEVICE_EXTREG_VARIABLE_Pos))
 
#define USB_DEVICE_EXTREG_MASK   _U_(0x7FFF)
 (USB_DEVICE_EXTREG) MASK Register
 
#define USB_HOST_EXTREG_OFFSET   0x008
 (USB_HOST_EXTREG offset) HOST_DESC_BANK Host Bank, Extended
 
#define USB_HOST_EXTREG_SUBPID_Pos   0
 (USB_HOST_EXTREG) SUBPID field send with extended token
 
#define USB_HOST_EXTREG_SUBPID_Msk   (_U_(0xF) << USB_HOST_EXTREG_SUBPID_Pos)
 
#define USB_HOST_EXTREG_SUBPID(value)   (USB_HOST_EXTREG_SUBPID_Msk & ((value) << USB_HOST_EXTREG_SUBPID_Pos))
 
#define USB_HOST_EXTREG_VARIABLE_Pos   4
 (USB_HOST_EXTREG) Variable field send with extended token
 
#define USB_HOST_EXTREG_VARIABLE_Msk   (_U_(0x7FF) << USB_HOST_EXTREG_VARIABLE_Pos)
 
#define USB_HOST_EXTREG_VARIABLE(value)   (USB_HOST_EXTREG_VARIABLE_Msk & ((value) << USB_HOST_EXTREG_VARIABLE_Pos))
 
#define USB_HOST_EXTREG_MASK   _U_(0x7FFF)
 (USB_HOST_EXTREG) MASK Register
 
#define USB_DEVICE_STATUS_BK_OFFSET   0x00A
 (USB_DEVICE_STATUS_BK offset) DEVICE_DESC_BANK Enpoint Bank, Status of Bank
 
#define USB_DEVICE_STATUS_BK_CRCERR_Pos   0
 (USB_DEVICE_STATUS_BK) CRC Error Status
 
#define USB_DEVICE_STATUS_BK_CRCERR   (_U_(0x1) << USB_DEVICE_STATUS_BK_CRCERR_Pos)
 
#define USB_DEVICE_STATUS_BK_ERRORFLOW_Pos   1
 (USB_DEVICE_STATUS_BK) Error Flow Status
 
#define USB_DEVICE_STATUS_BK_ERRORFLOW   (_U_(0x1) << USB_DEVICE_STATUS_BK_ERRORFLOW_Pos)
 
#define USB_DEVICE_STATUS_BK_MASK   _U_(0x03)
 (USB_DEVICE_STATUS_BK) MASK Register
 
#define USB_HOST_STATUS_BK_OFFSET   0x00A
 (USB_HOST_STATUS_BK offset) HOST_DESC_BANK Host Bank, Status of Bank
 
#define USB_HOST_STATUS_BK_CRCERR_Pos   0
 (USB_HOST_STATUS_BK) CRC Error Status
 
#define USB_HOST_STATUS_BK_CRCERR   (_U_(0x1) << USB_HOST_STATUS_BK_CRCERR_Pos)
 
#define USB_HOST_STATUS_BK_ERRORFLOW_Pos   1
 (USB_HOST_STATUS_BK) Error Flow Status
 
#define USB_HOST_STATUS_BK_ERRORFLOW   (_U_(0x1) << USB_HOST_STATUS_BK_ERRORFLOW_Pos)
 
#define USB_HOST_STATUS_BK_MASK   _U_(0x03)
 (USB_HOST_STATUS_BK) MASK Register
 
#define USB_HOST_CTRL_PIPE_OFFSET   0x00C
 (USB_HOST_CTRL_PIPE offset) HOST_DESC_BANK Host Bank, Host Control Pipe
 
#define USB_HOST_CTRL_PIPE_RESETVALUE   _U_(0x0000)
 (USB_HOST_CTRL_PIPE reset_value) HOST_DESC_BANK Host Bank, Host Control Pipe
 
#define USB_HOST_CTRL_PIPE_PDADDR_Pos   0
 (USB_HOST_CTRL_PIPE) Pipe Device Adress
 
#define USB_HOST_CTRL_PIPE_PDADDR_Msk   (_U_(0x7F) << USB_HOST_CTRL_PIPE_PDADDR_Pos)
 
#define USB_HOST_CTRL_PIPE_PDADDR(value)   (USB_HOST_CTRL_PIPE_PDADDR_Msk & ((value) << USB_HOST_CTRL_PIPE_PDADDR_Pos))
 
#define USB_HOST_CTRL_PIPE_PEPNUM_Pos   8
 (USB_HOST_CTRL_PIPE) Pipe Endpoint Number
 
#define USB_HOST_CTRL_PIPE_PEPNUM_Msk   (_U_(0xF) << USB_HOST_CTRL_PIPE_PEPNUM_Pos)
 
#define USB_HOST_CTRL_PIPE_PEPNUM(value)   (USB_HOST_CTRL_PIPE_PEPNUM_Msk & ((value) << USB_HOST_CTRL_PIPE_PEPNUM_Pos))
 
#define USB_HOST_CTRL_PIPE_PERMAX_Pos   12
 (USB_HOST_CTRL_PIPE) Pipe Error Max Number
 
#define USB_HOST_CTRL_PIPE_PERMAX_Msk   (_U_(0xF) << USB_HOST_CTRL_PIPE_PERMAX_Pos)
 
#define USB_HOST_CTRL_PIPE_PERMAX(value)   (USB_HOST_CTRL_PIPE_PERMAX_Msk & ((value) << USB_HOST_CTRL_PIPE_PERMAX_Pos))
 
#define USB_HOST_CTRL_PIPE_MASK   _U_(0xFF7F)
 (USB_HOST_CTRL_PIPE) MASK Register
 
#define USB_HOST_STATUS_PIPE_OFFSET   0x00E
 (USB_HOST_STATUS_PIPE offset) HOST_DESC_BANK Host Bank, Host Status Pipe
 
#define USB_HOST_STATUS_PIPE_DTGLER_Pos   0
 (USB_HOST_STATUS_PIPE) Data Toggle Error
 
#define USB_HOST_STATUS_PIPE_DTGLER   (_U_(0x1) << USB_HOST_STATUS_PIPE_DTGLER_Pos)
 
#define USB_HOST_STATUS_PIPE_DAPIDER_Pos   1
 (USB_HOST_STATUS_PIPE) Data PID Error
 
#define USB_HOST_STATUS_PIPE_DAPIDER   (_U_(0x1) << USB_HOST_STATUS_PIPE_DAPIDER_Pos)
 
#define USB_HOST_STATUS_PIPE_PIDER_Pos   2
 (USB_HOST_STATUS_PIPE) PID Error
 
#define USB_HOST_STATUS_PIPE_PIDER   (_U_(0x1) << USB_HOST_STATUS_PIPE_PIDER_Pos)
 
#define USB_HOST_STATUS_PIPE_TOUTER_Pos   3
 (USB_HOST_STATUS_PIPE) Time Out Error
 
#define USB_HOST_STATUS_PIPE_TOUTER   (_U_(0x1) << USB_HOST_STATUS_PIPE_TOUTER_Pos)
 
#define USB_HOST_STATUS_PIPE_CRC16ER_Pos   4
 (USB_HOST_STATUS_PIPE) CRC16 Error
 
#define USB_HOST_STATUS_PIPE_CRC16ER   (_U_(0x1) << USB_HOST_STATUS_PIPE_CRC16ER_Pos)
 
#define USB_HOST_STATUS_PIPE_ERCNT_Pos   5
 (USB_HOST_STATUS_PIPE) Pipe Error Count
 
#define USB_HOST_STATUS_PIPE_ERCNT_Msk   (_U_(0x7) << USB_HOST_STATUS_PIPE_ERCNT_Pos)
 
#define USB_HOST_STATUS_PIPE_ERCNT(value)   (USB_HOST_STATUS_PIPE_ERCNT_Msk & ((value) << USB_HOST_STATUS_PIPE_ERCNT_Pos))
 
#define USB_HOST_STATUS_PIPE_MASK   _U_(0x00FF)
 (USB_HOST_STATUS_PIPE) MASK Register
 
#define SECTION_USB_DESCRIPTOR
 

Detailed Description

Component description for USB.

Copyright (c) 2019 Microchip Technology Inc.

\asf_license_start

Definition in file usb.h.