Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : Interrupt Register - gintsts

Description

This register interrupts the application for system-level events in the current mode (Device mode or Host mode). Some of the bits in this register are valid only in Host mode, while others are valid in Device mode only. This register also indicates the current mode. To clear the interrupt status bits of type R_SS_WC, the application must write 1 into the bit. The FIFO status interrupts are read only; once software reads from or writes to the FIFO while servicing these interrupts, FIFO interrupt conditions are cleared automatically. The application must clear the GINTSTS register at initialization before unmasking the interrupt bit to avoid any interrupts generated prior to initialization.

Register Layout

Bits Access Reset Description
[0] R 0x0 Current Mode of Operation
[1] R 0x0 Mode Mismatch Interrupt
[2] R 0x0 OTG Interrupt
[3] R 0x0 Start of Frame
[4] R 0x0 RxFIFO Non-Empty
[5] ??? 0x0 UNDEFINED
[6] R 0x0 Global IN Non-periodic NAK Effective
[7] R 0x0 Global OUT NAK Effective
[9:8] ??? 0x0 UNDEFINED
[10] R 0x0 Early Suspend
[11] R 0x0 USB Suspend
[12] R 0x0 USB Reset
[13] R 0x0 Enumeration Done
[14] R 0x0 Isochronous OUT Packet Dropped Interrupt
[16:15] ??? 0x0 UNDEFINED
[17] R 0x0 Endpoint Mismatch Interrupt
[18] R 0x0 IN Endpoints Interrupt
[19] R 0x0 OUT Endpoints Interrupt
[20] R 0x0 Incomplete Isochronous IN Transfer
[21] R 0x0 Incomplete Periodic Transfer
[22] R 0x0 Data Fetch Suspended
[23] R 0x0 Reset detected Interrupt
[24] R 0x0 Host Port Interrupt
[25] R 0x0 Host Channels Interrupt
[26] R 0x1 Periodic TxFIFO Empty
[27] ??? 0x0 UNDEFINED
[28] R 0x1 Connector ID Status Change
[29] R 0x0 Disconnect Detected Interrupt
[30] R 0x0 Session Request New Session Detected Interrupt
[31] R 0x0 Resume Remote Wakeup Detected Interrupt

Field : Current Mode of Operation - curmod

Mode: Host and Device. Indicates the current mode.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_CURMOD_E_DEVICE 0x0 Device mode
ALT_USB_GLOB_GINTSTS_CURMOD_E_HOST 0x1 Host mode

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_CURMOD_E_DEVICE   0x0
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_E_HOST   0x1
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_LSB   0
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_MSB   0
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_SET_MSK   0x00000001
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_CLR_MSK   0xfffffffe
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_USB_GLOB_GINTSTS_CURMOD_SET(value)   (((value) << 0) & 0x00000001)
 

Field : Mode Mismatch Interrupt - modemis

Mode: Host and Device. The core sets this bit when the application is trying to access:

  • A Host mode register, when the core is operating in Device mode. -A Device mode register, when the core is operating in Host mode.

The register access is completed on the AHB with an OKAYresponse, but is ignored by the core internally and does not affect the operation of the core. This bit can be set only by the core and the application should write 1 to clearit

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_MODMIS_E_INACT 0x0 No Mode Mismatch Interrupt
ALT_USB_GLOB_GINTSTS_MODMIS_E_ACT 0x1 Mode Mismatch Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_MODMIS_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_LSB   1
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_MSB   1
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_SET_MSK   0x00000002
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_CLR_MSK   0xfffffffd
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_GET(value)   (((value) & 0x00000002) >> 1)
 
#define ALT_USB_GLOB_GINTSTS_MODMIS_SET(value)   (((value) << 1) & 0x00000002)
 

Field : OTG Interrupt - otgint

Mode: Host and Device. The core sets this bit to indicate an OTG protocol event. The application must read the OTG Interrupt Status (GOTGINT) register to determine the exact event that caused this interrupt. The application must clear the appropriate status bit in the GOTGINT register to clear this bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_OTGINT_E_INACT 0x0 No Interrupt
ALT_USB_GLOB_GINTSTS_OTGINT_E_ACT 0x1 OTG Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_OTGINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_LSB   2
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_MSB   2
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_SET_MSK   0x00000004
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_CLR_MSK   0xfffffffb
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_GET(value)   (((value) & 0x00000004) >> 2)
 
#define ALT_USB_GLOB_GINTSTS_OTGINT_SET(value)   (((value) << 2) & 0x00000004)
 

Field : Start of Frame - sof

Mode: Host and Device. In Host mode, the core sets this bit to indicate that an SOF (FS), micro-SOF (HS), or Keep-Alive (LS) is transmitted on the USB. The application must write a 1 to this bit to clear the interrupt. In Device mode, the core sets this bit to indicate that an SOF token has been received on the USB. The application can read the Device Status register to get the current (micro)Frame number. This interrupt is seen only when the core is operating at either HS or FS. This bit can be set only by the core and the application should write 1 to clear it. This register may return 1 if read immediately after power on reset. If the register bit reads 1 immediately after power on reset it does not indicate that an SOF has been sent (in case of host mode) or SOF has been received (in case of device mode). The read value of this interrupt is valid only after a valid connection between host and device is established. If the bit is set after power on reset the application can clear the bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_SOF_E_INTACT 0x0 No sof
ALT_USB_GLOB_GINTSTS_SOF_E_ACT 0x1 Start of Frame

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_SOF_E_INTACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_SOF_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_SOF_LSB   3
 
#define ALT_USB_GLOB_GINTSTS_SOF_MSB   3
 
#define ALT_USB_GLOB_GINTSTS_SOF_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_SOF_SET_MSK   0x00000008
 
#define ALT_USB_GLOB_GINTSTS_SOF_CLR_MSK   0xfffffff7
 
#define ALT_USB_GLOB_GINTSTS_SOF_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_SOF_GET(value)   (((value) & 0x00000008) >> 3)
 
#define ALT_USB_GLOB_GINTSTS_SOF_SET(value)   (((value) << 3) & 0x00000008)
 

Field : RxFIFO Non-Empty - rxflvl

Mode: Host and Device. Indicates that there is at least one packet pending to be read from the RxFIFO.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_RXFLVL_E_INACT 0x0 Not Active
ALT_USB_GLOB_GINTSTS_RXFLVL_E_ACT 0x1 Rx Fifo Non Empty

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_RXFLVL_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_LSB   4
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_MSB   4
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_SET_MSK   0x00000010
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_CLR_MSK   0xffffffef
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_GET(value)   (((value) & 0x00000010) >> 4)
 
#define ALT_USB_GLOB_GINTSTS_RXFLVL_SET(value)   (((value) << 4) & 0x00000010)
 

Field : Global IN Non-periodic NAK Effective - ginnakeff

Mode: Device only. Indicates that the Set Global Non-periodic IN NAK bit in the Device Control register (DCTL.SGNPInNak), Set by the application, has taken effect in the core. That is, the core has sampled the Global IN NAK bit Set by the application. This bit can be cleared by clearing the Clear Global Non- periodic IN NAK bit in the Device Control register (DCTL.CGNPInNak). This interrupt does not necessarily mean that a NAK handshake is sent out on the USB. The STALL bit takes precedence over the NAK bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_GINNAKEFF_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_GINNAKEFF_E_ACT 0x1 Set Global Non-periodic IN NAK bi

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_LSB   6
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_MSB   6
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_SET_MSK   0x00000040
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_CLR_MSK   0xffffffbf
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_GET(value)   (((value) & 0x00000040) >> 6)
 
#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_SET(value)   (((value) << 6) & 0x00000040)
 

Field : Global OUT NAK Effective - goutnakeff

Mode: Device only. Indicates that the Set Global OUT NAK bit in the Device Control register (DCTL.SGOUTNak), Set by the application, has taken effect in the core. This bit can be cleared by writing the Clear Global OUT NAK bit in the Device Control register (DCTL.CGOUTNak).

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_E_INACT 0x0 No Active
ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_E_ACT 0x1 Global OUT NAK Effective

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_LSB   7
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_MSB   7
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_SET_MSK   0x00000080
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_CLR_MSK   0xffffff7f
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_GET(value)   (((value) & 0x00000080) >> 7)
 
#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_SET(value)   (((value) << 7) & 0x00000080)
 

Field : Early Suspend - erlysusp

Mode: Device only. The core sets this bit to indicate that an Idle state has been detected on the USB for 3 ms.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_ERLYSUSP_E_INACT 0x0 No Idle
ALT_USB_GLOB_GINTSTS_ERLYSUSP_E_ACT 0x1 Idle state detecetd

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_LSB   10
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_MSB   10
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_SET_MSK   0x00000400
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_CLR_MSK   0xfffffbff
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_GET(value)   (((value) & 0x00000400) >> 10)
 
#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_SET(value)   (((value) << 10) & 0x00000400)
 

Field : USB Suspend - usbsusp

Mode: Device only. The core sets this bit to indicate that a suspend was detected on the USB. The core enters the Suspended state when there is no activity on the phy_line_state_i signal for an extended period of time.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_USBSUSP_E_INACT 0x0 Not Active
ALT_USB_GLOB_GINTSTS_USBSUSP_E_ACT 0x1 USB Suspend

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_USBSUSP_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_LSB   11
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_MSB   11
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_SET_MSK   0x00000800
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_CLR_MSK   0xfffff7ff
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_GET(value)   (((value) & 0x00000800) >> 11)
 
#define ALT_USB_GLOB_GINTSTS_USBSUSP_SET(value)   (((value) << 11) & 0x00000800)
 

Field : USB Reset - usbrst

Mode: Device only. The core sets this bit to indicate that a reset is detected on the USB.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_USBRST_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_USBRST_E_ACT 0x1 USB Reset

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_USBRST_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_USBRST_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_USBRST_LSB   12
 
#define ALT_USB_GLOB_GINTSTS_USBRST_MSB   12
 
#define ALT_USB_GLOB_GINTSTS_USBRST_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_USBRST_SET_MSK   0x00001000
 
#define ALT_USB_GLOB_GINTSTS_USBRST_CLR_MSK   0xffffefff
 
#define ALT_USB_GLOB_GINTSTS_USBRST_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_USBRST_GET(value)   (((value) & 0x00001000) >> 12)
 
#define ALT_USB_GLOB_GINTSTS_USBRST_SET(value)   (((value) << 12) & 0x00001000)
 

Field : Enumeration Done - enumdone

Mode: Device only. The core sets this bit to indicate that speed enumeration is complete. The application must read the Device Status register to obtain the enumerated speed.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_ENUMDONE_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_ENUMDONE_E_ACT 0x1 Enumeration Done

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_LSB   13
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_MSB   13
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_SET_MSK   0x00002000
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_CLR_MSK   0xffffdfff
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_GET(value)   (((value) & 0x00002000) >> 13)
 
#define ALT_USB_GLOB_GINTSTS_ENUMDONE_SET(value)   (((value) << 13) & 0x00002000)
 

Field : Isochronous OUT Packet Dropped Interrupt - isooutdrop

Mode: Device only. The core sets this bit when it fails to write an isochronous OUT packet into the RxFIFO because the RxFIFO does not have enough space to accommodate a maximum packet size packet for the isochronous OUT endpoint.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_ISOOUTDROP_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_ISOOUTDROP_E_ACT 0x1 Isochronous OUT Packet Dropped Interrup

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_LSB   14
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_MSB   14
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_SET_MSK   0x00004000
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_CLR_MSK   0xffffbfff
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_GET(value)   (((value) & 0x00004000) >> 14)
 
#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_SET(value)   (((value) << 14) & 0x00004000)
 

Field : Endpoint Mismatch Interrupt - epmis

Mode: Device only. This interrupt is valid only in shared FIFO operation. Indicates that an IN token has been received for a non-periodic endpoint, but the data for another endpoint is present in the top of the Non-periodic Transmit FIFO and the IN endpoint mismatch count programmed by the application has expired.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_EPMIS_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_EPMIS_E_ACT 0x1 Endpoint Mismatch Interrup

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_EPMIS_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_LSB   17
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_MSB   17
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_SET_MSK   0x00020000
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_CLR_MSK   0xfffdffff
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_GET(value)   (((value) & 0x00020000) >> 17)
 
#define ALT_USB_GLOB_GINTSTS_EPMIS_SET(value)   (((value) << 17) & 0x00020000)
 

Field : IN Endpoints Interrupt - iepint

Mode: Device only. The core sets this bit to indicate that an interrupt is pending on one of the IN endpoints of the core (in Device mode). The application must read the Device All Endpoints Interrupt (DAINT) register to determine the exact number of the IN endpoint on Device IN Endpoint-n Interrupt (DIEPINTn) register to determine the exact cause of the interrupt. The application must clear the appropriate status bit in the corresponding DIEPINTn register to clear this bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_IEPINT_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_IEPINT_E_ACT 0x1 IN Endpoints Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_IEPINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_LSB   18
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_MSB   18
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_SET_MSK   0x00040000
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_CLR_MSK   0xfffbffff
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_GET(value)   (((value) & 0x00040000) >> 18)
 
#define ALT_USB_GLOB_GINTSTS_IEPINT_SET(value)   (((value) << 18) & 0x00040000)
 

Field : OUT Endpoints Interrupt - oepint

Mode: Device only. The core sets this bit to indicate that an interrupt is pending on one of the OUT endpoints of the core (in Device mode). The application must read the Device All Endpoints Interrupt (DAINT) register to determine the exact number of the OUT endpoint on which the interrupt occurred, and Then read the corresponding Device OUT Endpoint-n Interrupt (DOEPINTn) register to determine the exact cause of the interrupt. The application must clear the appropriate status bit in the corresponding DOEPINTn register to clear this bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_OEPINT_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_OEPINT_E_ACT 0x1 OUT Endpoints Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_OEPINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_LSB   19
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_MSB   19
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_SET_MSK   0x00080000
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_CLR_MSK   0xfff7ffff
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_GET(value)   (((value) & 0x00080000) >> 19)
 
#define ALT_USB_GLOB_GINTSTS_OEPINT_SET(value)   (((value) << 19) & 0x00080000)
 

Field : Incomplete Isochronous IN Transfer - incompisoin

Mode: Device only. The core sets this interrupt to indicate that there is at least isochronous IN endpoint on which the transfer is not completed in the current microframe. This interrupt is asserted along with the End of Periodic Frame Interrupt (EOPF) bit in this register. This interrupt is not asserted in Scatter/Gather DMA mode.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_INCOMPISOIN_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_INCOMPISOIN_E_ACT 0x1 Incomplete Isochronous IN Transfer

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_LSB   20
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_MSB   20
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_SET_MSK   0x00100000
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_CLR_MSK   0xffefffff
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_GET(value)   (((value) & 0x00100000) >> 20)
 
#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_SET(value)   (((value) << 20) & 0x00100000)
 

Field : Incomplete Periodic Transfer - incomplp

Mode: Device only. In Host mode, the core sets this interrupt bit when there are incomplete periodic transactions still pending which arescheduled for the current microframe. Incomplete Isochronous OUT Transfer (incompISOOUT) The Device mode, the core sets this interrupt to indicate that there is at least one isochronous OUT endpoint on which the transfer is not completed in the current microframe. This interrupt is asserted along with the End of Periodic Frame Interrupt (EOPF) bit in this register. This bit can be set only by the core and the application should write 1 to clear it

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_INCOMPLP_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_INCOMPLP_E_ACT 0x1 Incomplete Periodic Transfer

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_LSB   21
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_MSB   21
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_SET_MSK   0x00200000
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_CLR_MSK   0xffdfffff
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_GET(value)   (((value) & 0x00200000) >> 21)
 
#define ALT_USB_GLOB_GINTSTS_INCOMPLP_SET(value)   (((value) << 21) & 0x00200000)
 

Field : Data Fetch Suspended - fetsusp

Mode: Device only. This interrupt is valid only in DMA mode. This interrupt indicates that the core has stopped fetching data for IN endpoints due to the unavailability of TxFIFO space or Request Queue space. This interrupt is used by the application for an endpoint mismatch algorithm. for example, after detecting an endpoint mismatch, the application:

  • Sets a Global non-periodic IN NAK handshake
  • Disables In endpoints
  • Flushes the FIFO
  • Determines the token sequence from the IN Token Sequence

Learning Queue

  • Re-enables the endpoints
  • Clears the Global non-periodic IN NAK handshake

If the Global non-periodic IN NAK is cleared, the core has not yet fetched data for the IN endpoint, and the IN token is received: the core generates an IN token received when FIFO empty interrupt. The OTG Then sends the host a NAK response. To avoid this scenario, the application can check the GINTSTS.FetSusp interrupt, which ensures that the FIFO is full before clearing a Global NAK handshake. Alternatively, the application can mask the "IN token received when FIFO empty" interrupt when clearing a Global IN NAKhandshake.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_FETSUSP_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_FETSUSP_E_ACT 0x1 Data Fetch Suspended

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_FETSUSP_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_LSB   22
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_MSB   22
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_SET_MSK   0x00400000
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_CLR_MSK   0xffbfffff
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_GET(value)   (((value) & 0x00400000) >> 22)
 
#define ALT_USB_GLOB_GINTSTS_FETSUSP_SET(value)   (((value) << 22) & 0x00400000)
 

Field : Reset detected Interrupt - resetdet

Mode: Device only. In Device mode, this interrupt is asserted when a reset is detected on the USB in partial power-down mode when the device is in Suspend. In Host mode, this interrupt is not asserted.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_RSTDET_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_RSTDET_E_ACT 0x1 Reset detected Interrup

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_RSTDET_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_LSB   23
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_MSB   23
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_SET_MSK   0x00800000
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_CLR_MSK   0xff7fffff
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_GET(value)   (((value) & 0x00800000) >> 23)
 
#define ALT_USB_GLOB_GINTSTS_RSTDET_SET(value)   (((value) << 23) & 0x00800000)
 

Field : Host Port Interrupt - prtint

Mode:Host only. The core sets this bit to indicate a change in port status of one of the otg core ports in Host mode. The application must read the Host Port Control and Status (HPRT) register to determine the exact event that caused this interrupt. The application must clear the appropriate status bit in the Host PC Control and Status register to clear this bit.

Field Enumeration Values:

Enum | Value | Description :------------------------------------------------------------------------------—|:---—|:-----------------— ALT_USB_GLOB_GINTSTS_PRTINT_E_INACT | 0x0 | ALT_USB_GLOB_GINTSTS_PRTINT_E_ACT | 0x1 | Host Port Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_PRTINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_LSB   24
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_MSB   24
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_SET_MSK   0x01000000
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_CLR_MSK   0xfeffffff
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_GET(value)   (((value) & 0x01000000) >> 24)
 
#define ALT_USB_GLOB_GINTSTS_PRTINT_SET(value)   (((value) << 24) & 0x01000000)
 

Field : Host Channels Interrupt - hchint

Mode:Host only. The core sets this bit to indicate that an interrupt is pending on one of the channels of the core (in Host mode). The application must read the Host All Channels Interrupt (HAINT) register to determine the exact number of the channel on which the interrupt occurred, and Then read the corresponding Host Channel-n Interrupt (HCINTn) register to determine the exact cause of the interrupt. The application must clear the appropriate status bit in the HCINTn register to clear this bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_HCHINT_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_HCHINT_E_ACT 0x1 Host Channels Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_HCHINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_LSB   25
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_MSB   25
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_SET_MSK   0x02000000
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_CLR_MSK   0xfdffffff
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_GET(value)   (((value) & 0x02000000) >> 25)
 
#define ALT_USB_GLOB_GINTSTS_HCHINT_SET(value)   (((value) << 25) & 0x02000000)
 

Field : Periodic TxFIFO Empty - ptxfemp

Mode:Host only. This interrupt is asserted when the Periodic Transmit FIFO is either half or completely empty and there is space for at least one entry to be written in the Periodic Request Queue. The half or completely empty status is determined by the Periodic TxFIFO Empty Level bit in the Core AHB Configuration register (GAHBCFG.PTxFEmpLvl).

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_PTXFEMP_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_PTXFEMP_E_ACT 0x1 Periodic TxFIFO Empty

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_LSB   26
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_MSB   26
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_SET_MSK   0x04000000
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_CLR_MSK   0xfbffffff
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_RESET   0x1
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_GET(value)   (((value) & 0x04000000) >> 26)
 
#define ALT_USB_GLOB_GINTSTS_PTXFEMP_SET(value)   (((value) << 26) & 0x04000000)
 

Field : Connector ID Status Change - ConIDStsChng

Mode:Host and Device. The core sets this bit when there is a change in connector ID status. This bit can be set only by the core and the application should write 1 to clear it.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_E_INACT 0x0 Not Active
ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_E_ACT 0x1 Connector ID Status Change

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_LSB   28
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_MSB   28
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_SET_MSK   0x10000000
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_CLR_MSK   0xefffffff
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_RESET   0x1
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_GET(value)   (((value) & 0x10000000) >> 28)
 
#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_SET(value)   (((value) << 28) & 0x10000000)
 

Field : Disconnect Detected Interrupt - disconnint

Mode:Host only. Asserted when a device disconnect is detected. This bit can be set only by the core and the application should write 1 to clear it.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_DISCONNINT_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_DISCONNINT_E_ACT 0x1 Disconnect Detected Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_LSB   29
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_MSB   29
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_SET_MSK   0x20000000
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_CLR_MSK   0xdfffffff
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_GET(value)   (((value) & 0x20000000) >> 29)
 
#define ALT_USB_GLOB_GINTSTS_DISCONNINT_SET(value)   (((value) << 29) & 0x20000000)
 

Field : Session Request New Session Detected Interrupt - sessreqint

Mode:Host and Device. In Host mode, this interrupt is asserted when a session request is detected from the device. In Host mode, this interrupt is asserted when a session request is detected from the device. In Device mode, this interrupt is asserted when the utmisrp_bvalid signal goes high. This bit can be set only by the core and the application should write 1 to clear.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_SESSREQINT_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_SESSREQINT_E_ACT 0x1 Session Request New Session Detected Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_LSB   30
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_MSB   30
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_SET_MSK   0x40000000
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_CLR_MSK   0xbfffffff
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_GET(value)   (((value) & 0x40000000) >> 30)
 
#define ALT_USB_GLOB_GINTSTS_SESSREQINT_SET(value)   (((value) << 30) & 0x40000000)
 

Field : Resume Remote Wakeup Detected Interrupt - wkupint

Mode:Host and Device. Wakeup Interrupt during Suspend(L2) or LPM(L1) state. -During Suspend(L2):

  • Device Mode - This interrupt is asserted only when Host Initiated Resume is detected on USB.
  • Host Mode - This interrupt is asserted only when Device Initiated Remote Wakeup is detected on USB
  • During LPM(L1):- - Device Mode - This interrupt is asserted for either Host Initiated Resume or Device Initiated Remote Wakeup on USB.
  • Host Mode - This interrupt is asserted for either Host Initiated Resume or Device Initiated Remote Wakeup on USB.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GINTSTS_WKUPINT_E_INACT 0x0 Not active
ALT_USB_GLOB_GINTSTS_WKUPINT_E_ACT 0x1 Resume Remote Wakeup Detected Interrupt

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_WKUPINT_E_INACT   0x0
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_E_ACT   0x1
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_LSB   31
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_MSB   31
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_SET_MSK   0x80000000
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_CLR_MSK   0x7fffffff
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_GET(value)   (((value) & 0x80000000) >> 31)
 
#define ALT_USB_GLOB_GINTSTS_WKUPINT_SET(value)   (((value) << 31) & 0x80000000)
 

Data Structures

struct  ALT_USB_GLOB_GINTSTS_s
 

Macros

#define ALT_USB_GLOB_GINTSTS_OFST   0x14
 
#define ALT_USB_GLOB_GINTSTS_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GINTSTS_OFST))
 

Typedefs

typedef struct
ALT_USB_GLOB_GINTSTS_s 
ALT_USB_GLOB_GINTSTS_t
 

Data Structure Documentation

struct ALT_USB_GLOB_GINTSTS_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register ALT_USB_GLOB_GINTSTS.

Data Fields
const uint32_t curmod: 1 Current Mode of Operation
const uint32_t modemis: 1 Mode Mismatch Interrupt
const uint32_t otgint: 1 OTG Interrupt
const uint32_t sof: 1 Start of Frame
const uint32_t rxflvl: 1 RxFIFO Non-Empty
uint32_t __pad0__: 1 UNDEFINED
const uint32_t ginnakeff: 1 Global IN Non-periodic NAK Effective
const uint32_t goutnakeff: 1 Global OUT NAK Effective
uint32_t __pad1__: 2 UNDEFINED
const uint32_t erlysusp: 1 Early Suspend
const uint32_t usbsusp: 1 USB Suspend
const uint32_t usbrst: 1 USB Reset
const uint32_t enumdone: 1 Enumeration Done
const uint32_t isooutdrop: 1 Isochronous OUT Packet Dropped Interrupt
uint32_t __pad2__: 2 UNDEFINED
const uint32_t epmis: 1 Endpoint Mismatch Interrupt
const uint32_t iepint: 1 IN Endpoints Interrupt
const uint32_t oepint: 1 OUT Endpoints Interrupt
const uint32_t incompisoin: 1 Incomplete Isochronous IN Transfer
const uint32_t incomplp: 1 Incomplete Periodic Transfer
const uint32_t fetsusp: 1 Data Fetch Suspended
const uint32_t resetdet: 1 Reset detected Interrupt
const uint32_t prtint: 1 Host Port Interrupt
const uint32_t hchint: 1 Host Channels Interrupt
const uint32_t ptxfemp: 1 Periodic TxFIFO Empty
uint32_t __pad3__: 1 UNDEFINED
const uint32_t ConIDStsChng: 1 Connector ID Status Change
const uint32_t disconnint: 1 Disconnect Detected Interrupt
const uint32_t sessreqint: 1 Session Request New Session Detected Interrupt
const uint32_t wkupint: 1 Resume Remote Wakeup Detected Interrupt

Macro Definitions

#define ALT_USB_GLOB_GINTSTS_CURMOD_E_DEVICE   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_CURMOD

Device mode

#define ALT_USB_GLOB_GINTSTS_CURMOD_E_HOST   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_CURMOD

Host mode

#define ALT_USB_GLOB_GINTSTS_CURMOD_LSB   0

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_CURMOD register field.

#define ALT_USB_GLOB_GINTSTS_CURMOD_MSB   0

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_CURMOD register field.

#define ALT_USB_GLOB_GINTSTS_CURMOD_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_CURMOD register field.

#define ALT_USB_GLOB_GINTSTS_CURMOD_SET_MSK   0x00000001

The mask used to set the ALT_USB_GLOB_GINTSTS_CURMOD register field value.

#define ALT_USB_GLOB_GINTSTS_CURMOD_CLR_MSK   0xfffffffe

The mask used to clear the ALT_USB_GLOB_GINTSTS_CURMOD register field value.

#define ALT_USB_GLOB_GINTSTS_CURMOD_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_CURMOD register field.

#define ALT_USB_GLOB_GINTSTS_CURMOD_GET (   value)    (((value) & 0x00000001) >> 0)

Extracts the ALT_USB_GLOB_GINTSTS_CURMOD field value from a register.

#define ALT_USB_GLOB_GINTSTS_CURMOD_SET (   value)    (((value) << 0) & 0x00000001)

Produces a ALT_USB_GLOB_GINTSTS_CURMOD register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_MODMIS_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_MODMIS

No Mode Mismatch Interrupt

#define ALT_USB_GLOB_GINTSTS_MODMIS_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_MODMIS

Mode Mismatch Interrupt

#define ALT_USB_GLOB_GINTSTS_MODMIS_LSB   1

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_MODMIS register field.

#define ALT_USB_GLOB_GINTSTS_MODMIS_MSB   1

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_MODMIS register field.

#define ALT_USB_GLOB_GINTSTS_MODMIS_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_MODMIS register field.

#define ALT_USB_GLOB_GINTSTS_MODMIS_SET_MSK   0x00000002

The mask used to set the ALT_USB_GLOB_GINTSTS_MODMIS register field value.

#define ALT_USB_GLOB_GINTSTS_MODMIS_CLR_MSK   0xfffffffd

The mask used to clear the ALT_USB_GLOB_GINTSTS_MODMIS register field value.

#define ALT_USB_GLOB_GINTSTS_MODMIS_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_MODMIS register field.

#define ALT_USB_GLOB_GINTSTS_MODMIS_GET (   value)    (((value) & 0x00000002) >> 1)

Extracts the ALT_USB_GLOB_GINTSTS_MODMIS field value from a register.

#define ALT_USB_GLOB_GINTSTS_MODMIS_SET (   value)    (((value) << 1) & 0x00000002)

Produces a ALT_USB_GLOB_GINTSTS_MODMIS register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_OTGINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_OTGINT

No Interrupt

#define ALT_USB_GLOB_GINTSTS_OTGINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_OTGINT

OTG Interrupt

#define ALT_USB_GLOB_GINTSTS_OTGINT_LSB   2

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_OTGINT register field.

#define ALT_USB_GLOB_GINTSTS_OTGINT_MSB   2

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_OTGINT register field.

#define ALT_USB_GLOB_GINTSTS_OTGINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_OTGINT register field.

#define ALT_USB_GLOB_GINTSTS_OTGINT_SET_MSK   0x00000004

The mask used to set the ALT_USB_GLOB_GINTSTS_OTGINT register field value.

#define ALT_USB_GLOB_GINTSTS_OTGINT_CLR_MSK   0xfffffffb

The mask used to clear the ALT_USB_GLOB_GINTSTS_OTGINT register field value.

#define ALT_USB_GLOB_GINTSTS_OTGINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_OTGINT register field.

#define ALT_USB_GLOB_GINTSTS_OTGINT_GET (   value)    (((value) & 0x00000004) >> 2)

Extracts the ALT_USB_GLOB_GINTSTS_OTGINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_OTGINT_SET (   value)    (((value) << 2) & 0x00000004)

Produces a ALT_USB_GLOB_GINTSTS_OTGINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_SOF_E_INTACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_SOF

No sof

#define ALT_USB_GLOB_GINTSTS_SOF_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_SOF

Start of Frame

#define ALT_USB_GLOB_GINTSTS_SOF_LSB   3

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_SOF register field.

#define ALT_USB_GLOB_GINTSTS_SOF_MSB   3

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_SOF register field.

#define ALT_USB_GLOB_GINTSTS_SOF_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_SOF register field.

#define ALT_USB_GLOB_GINTSTS_SOF_SET_MSK   0x00000008

The mask used to set the ALT_USB_GLOB_GINTSTS_SOF register field value.

#define ALT_USB_GLOB_GINTSTS_SOF_CLR_MSK   0xfffffff7

The mask used to clear the ALT_USB_GLOB_GINTSTS_SOF register field value.

#define ALT_USB_GLOB_GINTSTS_SOF_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_SOF register field.

#define ALT_USB_GLOB_GINTSTS_SOF_GET (   value)    (((value) & 0x00000008) >> 3)

Extracts the ALT_USB_GLOB_GINTSTS_SOF field value from a register.

#define ALT_USB_GLOB_GINTSTS_SOF_SET (   value)    (((value) << 3) & 0x00000008)

Produces a ALT_USB_GLOB_GINTSTS_SOF register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_RXFLVL

Not Active

#define ALT_USB_GLOB_GINTSTS_RXFLVL_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_RXFLVL

Rx Fifo Non Empty

#define ALT_USB_GLOB_GINTSTS_RXFLVL_LSB   4

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_RXFLVL register field.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_MSB   4

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_RXFLVL register field.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_RXFLVL register field.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_SET_MSK   0x00000010

The mask used to set the ALT_USB_GLOB_GINTSTS_RXFLVL register field value.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_CLR_MSK   0xffffffef

The mask used to clear the ALT_USB_GLOB_GINTSTS_RXFLVL register field value.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_RXFLVL register field.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_GET (   value)    (((value) & 0x00000010) >> 4)

Extracts the ALT_USB_GLOB_GINTSTS_RXFLVL field value from a register.

#define ALT_USB_GLOB_GINTSTS_RXFLVL_SET (   value)    (((value) << 4) & 0x00000010)

Produces a ALT_USB_GLOB_GINTSTS_RXFLVL register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_GINNAKEFF

Not active

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_GINNAKEFF

Set Global Non-periodic IN NAK bi

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_LSB   6

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_GINNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_MSB   6

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_GINNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_GINNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_SET_MSK   0x00000040

The mask used to set the ALT_USB_GLOB_GINTSTS_GINNAKEFF register field value.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_CLR_MSK   0xffffffbf

The mask used to clear the ALT_USB_GLOB_GINTSTS_GINNAKEFF register field value.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_GINNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_GET (   value)    (((value) & 0x00000040) >> 6)

Extracts the ALT_USB_GLOB_GINTSTS_GINNAKEFF field value from a register.

#define ALT_USB_GLOB_GINTSTS_GINNAKEFF_SET (   value)    (((value) << 6) & 0x00000040)

Produces a ALT_USB_GLOB_GINTSTS_GINNAKEFF register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_GOUTNAKEFF

No Active

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_GOUTNAKEFF

Global OUT NAK Effective

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_LSB   7

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_GOUTNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_MSB   7

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_GOUTNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_GOUTNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_SET_MSK   0x00000080

The mask used to set the ALT_USB_GLOB_GINTSTS_GOUTNAKEFF register field value.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_CLR_MSK   0xffffff7f

The mask used to clear the ALT_USB_GLOB_GINTSTS_GOUTNAKEFF register field value.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_GOUTNAKEFF register field.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_GET (   value)    (((value) & 0x00000080) >> 7)

Extracts the ALT_USB_GLOB_GINTSTS_GOUTNAKEFF field value from a register.

#define ALT_USB_GLOB_GINTSTS_GOUTNAKEFF_SET (   value)    (((value) << 7) & 0x00000080)

Produces a ALT_USB_GLOB_GINTSTS_GOUTNAKEFF register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_ERLYSUSP

No Idle

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_ERLYSUSP

Idle state detecetd

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_LSB   10

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_ERLYSUSP register field.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_MSB   10

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_ERLYSUSP register field.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_ERLYSUSP register field.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_SET_MSK   0x00000400

The mask used to set the ALT_USB_GLOB_GINTSTS_ERLYSUSP register field value.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_CLR_MSK   0xfffffbff

The mask used to clear the ALT_USB_GLOB_GINTSTS_ERLYSUSP register field value.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_ERLYSUSP register field.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_GET (   value)    (((value) & 0x00000400) >> 10)

Extracts the ALT_USB_GLOB_GINTSTS_ERLYSUSP field value from a register.

#define ALT_USB_GLOB_GINTSTS_ERLYSUSP_SET (   value)    (((value) << 10) & 0x00000400)

Produces a ALT_USB_GLOB_GINTSTS_ERLYSUSP register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_USBSUSP

Not Active

#define ALT_USB_GLOB_GINTSTS_USBSUSP_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_USBSUSP

USB Suspend

#define ALT_USB_GLOB_GINTSTS_USBSUSP_LSB   11

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_USBSUSP register field.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_MSB   11

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_USBSUSP register field.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_USBSUSP register field.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_SET_MSK   0x00000800

The mask used to set the ALT_USB_GLOB_GINTSTS_USBSUSP register field value.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_CLR_MSK   0xfffff7ff

The mask used to clear the ALT_USB_GLOB_GINTSTS_USBSUSP register field value.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_USBSUSP register field.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_GET (   value)    (((value) & 0x00000800) >> 11)

Extracts the ALT_USB_GLOB_GINTSTS_USBSUSP field value from a register.

#define ALT_USB_GLOB_GINTSTS_USBSUSP_SET (   value)    (((value) << 11) & 0x00000800)

Produces a ALT_USB_GLOB_GINTSTS_USBSUSP register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_USBRST_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_USBRST

Not active

#define ALT_USB_GLOB_GINTSTS_USBRST_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_USBRST

USB Reset

#define ALT_USB_GLOB_GINTSTS_USBRST_LSB   12

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_USBRST register field.

#define ALT_USB_GLOB_GINTSTS_USBRST_MSB   12

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_USBRST register field.

#define ALT_USB_GLOB_GINTSTS_USBRST_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_USBRST register field.

#define ALT_USB_GLOB_GINTSTS_USBRST_SET_MSK   0x00001000

The mask used to set the ALT_USB_GLOB_GINTSTS_USBRST register field value.

#define ALT_USB_GLOB_GINTSTS_USBRST_CLR_MSK   0xffffefff

The mask used to clear the ALT_USB_GLOB_GINTSTS_USBRST register field value.

#define ALT_USB_GLOB_GINTSTS_USBRST_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_USBRST register field.

#define ALT_USB_GLOB_GINTSTS_USBRST_GET (   value)    (((value) & 0x00001000) >> 12)

Extracts the ALT_USB_GLOB_GINTSTS_USBRST field value from a register.

#define ALT_USB_GLOB_GINTSTS_USBRST_SET (   value)    (((value) << 12) & 0x00001000)

Produces a ALT_USB_GLOB_GINTSTS_USBRST register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_ENUMDONE

Not active

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_ENUMDONE

Enumeration Done

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_LSB   13

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_ENUMDONE register field.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_MSB   13

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_ENUMDONE register field.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_ENUMDONE register field.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_SET_MSK   0x00002000

The mask used to set the ALT_USB_GLOB_GINTSTS_ENUMDONE register field value.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_CLR_MSK   0xffffdfff

The mask used to clear the ALT_USB_GLOB_GINTSTS_ENUMDONE register field value.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_ENUMDONE register field.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_GET (   value)    (((value) & 0x00002000) >> 13)

Extracts the ALT_USB_GLOB_GINTSTS_ENUMDONE field value from a register.

#define ALT_USB_GLOB_GINTSTS_ENUMDONE_SET (   value)    (((value) << 13) & 0x00002000)

Produces a ALT_USB_GLOB_GINTSTS_ENUMDONE register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_ISOOUTDROP

Not active

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_ISOOUTDROP

Isochronous OUT Packet Dropped Interrup

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_LSB   14

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_ISOOUTDROP register field.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_MSB   14

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_ISOOUTDROP register field.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_ISOOUTDROP register field.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_SET_MSK   0x00004000

The mask used to set the ALT_USB_GLOB_GINTSTS_ISOOUTDROP register field value.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_CLR_MSK   0xffffbfff

The mask used to clear the ALT_USB_GLOB_GINTSTS_ISOOUTDROP register field value.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_ISOOUTDROP register field.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_GET (   value)    (((value) & 0x00004000) >> 14)

Extracts the ALT_USB_GLOB_GINTSTS_ISOOUTDROP field value from a register.

#define ALT_USB_GLOB_GINTSTS_ISOOUTDROP_SET (   value)    (((value) << 14) & 0x00004000)

Produces a ALT_USB_GLOB_GINTSTS_ISOOUTDROP register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_EPMIS_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_EPMIS

Not active

#define ALT_USB_GLOB_GINTSTS_EPMIS_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_EPMIS

Endpoint Mismatch Interrup

#define ALT_USB_GLOB_GINTSTS_EPMIS_LSB   17

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_EPMIS register field.

#define ALT_USB_GLOB_GINTSTS_EPMIS_MSB   17

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_EPMIS register field.

#define ALT_USB_GLOB_GINTSTS_EPMIS_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_EPMIS register field.

#define ALT_USB_GLOB_GINTSTS_EPMIS_SET_MSK   0x00020000

The mask used to set the ALT_USB_GLOB_GINTSTS_EPMIS register field value.

#define ALT_USB_GLOB_GINTSTS_EPMIS_CLR_MSK   0xfffdffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_EPMIS register field value.

#define ALT_USB_GLOB_GINTSTS_EPMIS_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_EPMIS register field.

#define ALT_USB_GLOB_GINTSTS_EPMIS_GET (   value)    (((value) & 0x00020000) >> 17)

Extracts the ALT_USB_GLOB_GINTSTS_EPMIS field value from a register.

#define ALT_USB_GLOB_GINTSTS_EPMIS_SET (   value)    (((value) << 17) & 0x00020000)

Produces a ALT_USB_GLOB_GINTSTS_EPMIS register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_IEPINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_IEPINT

Not active

#define ALT_USB_GLOB_GINTSTS_IEPINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_IEPINT

IN Endpoints Interrupt

#define ALT_USB_GLOB_GINTSTS_IEPINT_LSB   18

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_IEPINT register field.

#define ALT_USB_GLOB_GINTSTS_IEPINT_MSB   18

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_IEPINT register field.

#define ALT_USB_GLOB_GINTSTS_IEPINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_IEPINT register field.

#define ALT_USB_GLOB_GINTSTS_IEPINT_SET_MSK   0x00040000

The mask used to set the ALT_USB_GLOB_GINTSTS_IEPINT register field value.

#define ALT_USB_GLOB_GINTSTS_IEPINT_CLR_MSK   0xfffbffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_IEPINT register field value.

#define ALT_USB_GLOB_GINTSTS_IEPINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_IEPINT register field.

#define ALT_USB_GLOB_GINTSTS_IEPINT_GET (   value)    (((value) & 0x00040000) >> 18)

Extracts the ALT_USB_GLOB_GINTSTS_IEPINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_IEPINT_SET (   value)    (((value) << 18) & 0x00040000)

Produces a ALT_USB_GLOB_GINTSTS_IEPINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_OEPINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_OEPINT

Not active

#define ALT_USB_GLOB_GINTSTS_OEPINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_OEPINT

OUT Endpoints Interrupt

#define ALT_USB_GLOB_GINTSTS_OEPINT_LSB   19

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_OEPINT register field.

#define ALT_USB_GLOB_GINTSTS_OEPINT_MSB   19

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_OEPINT register field.

#define ALT_USB_GLOB_GINTSTS_OEPINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_OEPINT register field.

#define ALT_USB_GLOB_GINTSTS_OEPINT_SET_MSK   0x00080000

The mask used to set the ALT_USB_GLOB_GINTSTS_OEPINT register field value.

#define ALT_USB_GLOB_GINTSTS_OEPINT_CLR_MSK   0xfff7ffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_OEPINT register field value.

#define ALT_USB_GLOB_GINTSTS_OEPINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_OEPINT register field.

#define ALT_USB_GLOB_GINTSTS_OEPINT_GET (   value)    (((value) & 0x00080000) >> 19)

Extracts the ALT_USB_GLOB_GINTSTS_OEPINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_OEPINT_SET (   value)    (((value) << 19) & 0x00080000)

Produces a ALT_USB_GLOB_GINTSTS_OEPINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_INCOMPISOIN

Not active

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_INCOMPISOIN

Incomplete Isochronous IN Transfer

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_LSB   20

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_INCOMPISOIN register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_MSB   20

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_INCOMPISOIN register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_INCOMPISOIN register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_SET_MSK   0x00100000

The mask used to set the ALT_USB_GLOB_GINTSTS_INCOMPISOIN register field value.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_CLR_MSK   0xffefffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_INCOMPISOIN register field value.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_INCOMPISOIN register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_GET (   value)    (((value) & 0x00100000) >> 20)

Extracts the ALT_USB_GLOB_GINTSTS_INCOMPISOIN field value from a register.

#define ALT_USB_GLOB_GINTSTS_INCOMPISOIN_SET (   value)    (((value) << 20) & 0x00100000)

Produces a ALT_USB_GLOB_GINTSTS_INCOMPISOIN register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_INCOMPLP

Not active

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_INCOMPLP

Incomplete Periodic Transfer

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_LSB   21

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_INCOMPLP register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_MSB   21

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_INCOMPLP register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_INCOMPLP register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_SET_MSK   0x00200000

The mask used to set the ALT_USB_GLOB_GINTSTS_INCOMPLP register field value.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_CLR_MSK   0xffdfffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_INCOMPLP register field value.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_INCOMPLP register field.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_GET (   value)    (((value) & 0x00200000) >> 21)

Extracts the ALT_USB_GLOB_GINTSTS_INCOMPLP field value from a register.

#define ALT_USB_GLOB_GINTSTS_INCOMPLP_SET (   value)    (((value) << 21) & 0x00200000)

Produces a ALT_USB_GLOB_GINTSTS_INCOMPLP register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_FETSUSP

Not active

#define ALT_USB_GLOB_GINTSTS_FETSUSP_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_FETSUSP

Data Fetch Suspended

#define ALT_USB_GLOB_GINTSTS_FETSUSP_LSB   22

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_FETSUSP register field.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_MSB   22

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_FETSUSP register field.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_FETSUSP register field.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_SET_MSK   0x00400000

The mask used to set the ALT_USB_GLOB_GINTSTS_FETSUSP register field value.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_CLR_MSK   0xffbfffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_FETSUSP register field value.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_FETSUSP register field.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_GET (   value)    (((value) & 0x00400000) >> 22)

Extracts the ALT_USB_GLOB_GINTSTS_FETSUSP field value from a register.

#define ALT_USB_GLOB_GINTSTS_FETSUSP_SET (   value)    (((value) << 22) & 0x00400000)

Produces a ALT_USB_GLOB_GINTSTS_FETSUSP register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_RSTDET_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_RSTDET

Not active

#define ALT_USB_GLOB_GINTSTS_RSTDET_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_RSTDET

Reset detected Interrup

#define ALT_USB_GLOB_GINTSTS_RSTDET_LSB   23

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_RSTDET register field.

#define ALT_USB_GLOB_GINTSTS_RSTDET_MSB   23

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_RSTDET register field.

#define ALT_USB_GLOB_GINTSTS_RSTDET_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_RSTDET register field.

#define ALT_USB_GLOB_GINTSTS_RSTDET_SET_MSK   0x00800000

The mask used to set the ALT_USB_GLOB_GINTSTS_RSTDET register field value.

#define ALT_USB_GLOB_GINTSTS_RSTDET_CLR_MSK   0xff7fffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_RSTDET register field value.

#define ALT_USB_GLOB_GINTSTS_RSTDET_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_RSTDET register field.

#define ALT_USB_GLOB_GINTSTS_RSTDET_GET (   value)    (((value) & 0x00800000) >> 23)

Extracts the ALT_USB_GLOB_GINTSTS_RSTDET field value from a register.

#define ALT_USB_GLOB_GINTSTS_RSTDET_SET (   value)    (((value) << 23) & 0x00800000)

Produces a ALT_USB_GLOB_GINTSTS_RSTDET register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_PRTINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_PRTINT

#define ALT_USB_GLOB_GINTSTS_PRTINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_PRTINT

Host Port Interrupt

#define ALT_USB_GLOB_GINTSTS_PRTINT_LSB   24

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_PRTINT register field.

#define ALT_USB_GLOB_GINTSTS_PRTINT_MSB   24

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_PRTINT register field.

#define ALT_USB_GLOB_GINTSTS_PRTINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_PRTINT register field.

#define ALT_USB_GLOB_GINTSTS_PRTINT_SET_MSK   0x01000000

The mask used to set the ALT_USB_GLOB_GINTSTS_PRTINT register field value.

#define ALT_USB_GLOB_GINTSTS_PRTINT_CLR_MSK   0xfeffffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_PRTINT register field value.

#define ALT_USB_GLOB_GINTSTS_PRTINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_PRTINT register field.

#define ALT_USB_GLOB_GINTSTS_PRTINT_GET (   value)    (((value) & 0x01000000) >> 24)

Extracts the ALT_USB_GLOB_GINTSTS_PRTINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_PRTINT_SET (   value)    (((value) << 24) & 0x01000000)

Produces a ALT_USB_GLOB_GINTSTS_PRTINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_HCHINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_HCHINT

Not active

#define ALT_USB_GLOB_GINTSTS_HCHINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_HCHINT

Host Channels Interrupt

#define ALT_USB_GLOB_GINTSTS_HCHINT_LSB   25

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_HCHINT register field.

#define ALT_USB_GLOB_GINTSTS_HCHINT_MSB   25

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_HCHINT register field.

#define ALT_USB_GLOB_GINTSTS_HCHINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_HCHINT register field.

#define ALT_USB_GLOB_GINTSTS_HCHINT_SET_MSK   0x02000000

The mask used to set the ALT_USB_GLOB_GINTSTS_HCHINT register field value.

#define ALT_USB_GLOB_GINTSTS_HCHINT_CLR_MSK   0xfdffffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_HCHINT register field value.

#define ALT_USB_GLOB_GINTSTS_HCHINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_HCHINT register field.

#define ALT_USB_GLOB_GINTSTS_HCHINT_GET (   value)    (((value) & 0x02000000) >> 25)

Extracts the ALT_USB_GLOB_GINTSTS_HCHINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_HCHINT_SET (   value)    (((value) << 25) & 0x02000000)

Produces a ALT_USB_GLOB_GINTSTS_HCHINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_PTXFEMP

Not active

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_PTXFEMP

Periodic TxFIFO Empty

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_LSB   26

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_PTXFEMP register field.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_MSB   26

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_PTXFEMP register field.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_PTXFEMP register field.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_SET_MSK   0x04000000

The mask used to set the ALT_USB_GLOB_GINTSTS_PTXFEMP register field value.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_CLR_MSK   0xfbffffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_PTXFEMP register field value.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_RESET   0x1

The reset value of the ALT_USB_GLOB_GINTSTS_PTXFEMP register field.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_GET (   value)    (((value) & 0x04000000) >> 26)

Extracts the ALT_USB_GLOB_GINTSTS_PTXFEMP field value from a register.

#define ALT_USB_GLOB_GINTSTS_PTXFEMP_SET (   value)    (((value) << 26) & 0x04000000)

Produces a ALT_USB_GLOB_GINTSTS_PTXFEMP register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG

Not Active

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG

Connector ID Status Change

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_LSB   28

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG register field.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_MSB   28

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG register field.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG register field.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_SET_MSK   0x10000000

The mask used to set the ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG register field value.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_CLR_MSK   0xefffffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG register field value.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_RESET   0x1

The reset value of the ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG register field.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_GET (   value)    (((value) & 0x10000000) >> 28)

Extracts the ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG field value from a register.

#define ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG_SET (   value)    (((value) << 28) & 0x10000000)

Produces a ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_DISCONNINT

Not active

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_DISCONNINT

Disconnect Detected Interrupt

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_LSB   29

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_DISCONNINT register field.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_MSB   29

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_DISCONNINT register field.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_DISCONNINT register field.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_SET_MSK   0x20000000

The mask used to set the ALT_USB_GLOB_GINTSTS_DISCONNINT register field value.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_CLR_MSK   0xdfffffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_DISCONNINT register field value.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_DISCONNINT register field.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_GET (   value)    (((value) & 0x20000000) >> 29)

Extracts the ALT_USB_GLOB_GINTSTS_DISCONNINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_DISCONNINT_SET (   value)    (((value) << 29) & 0x20000000)

Produces a ALT_USB_GLOB_GINTSTS_DISCONNINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_SESSREQINT

Not active

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_SESSREQINT

Session Request New Session Detected Interrupt

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_LSB   30

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_SESSREQINT register field.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_MSB   30

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_SESSREQINT register field.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_SESSREQINT register field.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_SET_MSK   0x40000000

The mask used to set the ALT_USB_GLOB_GINTSTS_SESSREQINT register field value.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_CLR_MSK   0xbfffffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_SESSREQINT register field value.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_SESSREQINT register field.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_GET (   value)    (((value) & 0x40000000) >> 30)

Extracts the ALT_USB_GLOB_GINTSTS_SESSREQINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_SESSREQINT_SET (   value)    (((value) << 30) & 0x40000000)

Produces a ALT_USB_GLOB_GINTSTS_SESSREQINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GINTSTS_WKUPINT

Not active

#define ALT_USB_GLOB_GINTSTS_WKUPINT_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GINTSTS_WKUPINT

Resume Remote Wakeup Detected Interrupt

#define ALT_USB_GLOB_GINTSTS_WKUPINT_LSB   31

The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GINTSTS_WKUPINT register field.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_MSB   31

The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GINTSTS_WKUPINT register field.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_WKUPINT register field.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_SET_MSK   0x80000000

The mask used to set the ALT_USB_GLOB_GINTSTS_WKUPINT register field value.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_CLR_MSK   0x7fffffff

The mask used to clear the ALT_USB_GLOB_GINTSTS_WKUPINT register field value.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_WKUPINT register field.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_GET (   value)    (((value) & 0x80000000) >> 31)

Extracts the ALT_USB_GLOB_GINTSTS_WKUPINT field value from a register.

#define ALT_USB_GLOB_GINTSTS_WKUPINT_SET (   value)    (((value) << 31) & 0x80000000)

Produces a ALT_USB_GLOB_GINTSTS_WKUPINT register field value suitable for setting the register.

#define ALT_USB_GLOB_GINTSTS_OFST   0x14

The byte offset of the ALT_USB_GLOB_GINTSTS register from the beginning of the component.

#define ALT_USB_GLOB_GINTSTS_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GINTSTS_OFST))

The address of the ALT_USB_GLOB_GINTSTS register.

Typedef Documentation

The typedef declaration for register ALT_USB_GLOB_GINTSTS.