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

Description

Interrupt Register

Register Layout

Bits Access Reset Description
[0] R 0x0 ALT_USB_GLOB_GINTSTS_CURMOD
[1] RW 0x0 ALT_USB_GLOB_GINTSTS_MODMIS
[2] R 0x0 ALT_USB_GLOB_GINTSTS_OTGINT
[3] RW 0x0 ALT_USB_GLOB_GINTSTS_SOF
[4] R 0x0 ALT_USB_GLOB_GINTSTS_RXFLVL
[5] R 0x1 ALT_USB_GLOB_GINTSTS_NPTXFEMP
[6] R 0x0 ALT_USB_GLOB_GINTSTS_GINNAKEFF
[7] R 0x0 ALT_USB_GLOB_GINTSTS_GOUTNAKEFF
[9:8] ??? 0x0 UNDEFINED
[10] RW 0x0 ALT_USB_GLOB_GINTSTS_ERLYSUSP
[11] RW 0x0 ALT_USB_GLOB_GINTSTS_USBSUSP
[12] RW 0x0 ALT_USB_GLOB_GINTSTS_USBRST
[13] RW 0x0 ALT_USB_GLOB_GINTSTS_ENUMDONE
[14] RW 0x0 ALT_USB_GLOB_GINTSTS_ISOOUTDROP
[15] RW 0x0 ALT_USB_GLOB_GINTSTS_EOPF
[16] ??? 0x0 UNDEFINED
[17] RW 0x0 ALT_USB_GLOB_GINTSTS_EPMIS
[18] R 0x0 ALT_USB_GLOB_GINTSTS_IEPINT
[19] R 0x0 ALT_USB_GLOB_GINTSTS_OEPINT
[20] RW 0x0 ALT_USB_GLOB_GINTSTS_INCOMPISOIN
[21] RW 0x0 ALT_USB_GLOB_GINTSTS_INCOMPLP
[22] RW 0x0 ALT_USB_GLOB_GINTSTS_FETSUSP
[23] RW 0x0 ALT_USB_GLOB_GINTSTS_RSTDET
[24] R 0x0 ALT_USB_GLOB_GINTSTS_PRTINT
[25] R 0x0 ALT_USB_GLOB_GINTSTS_HCHINT
[26] R 0x1 ALT_USB_GLOB_GINTSTS_PTXFEMP
[27] ??? 0x0 UNDEFINED
[28] RW 0x1 ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG
[29] RW 0x0 ALT_USB_GLOB_GINTSTS_DISCONNINT
[30] RW 0x0 ALT_USB_GLOB_GINTSTS_SESSREQINT
[31] RW 0x0 ALT_USB_GLOB_GINTSTS_WKUPINT

Field : curmod

Mode: Host and Device

Current Mode of Operation (CurMod)

Indicates the current mode.

1'b0: Device mode

1'b1: Host 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 : modemis

Mode: Host and Device

Mode Mismatch Interrupt (ModeMis)

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 OKAY

response, 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 clear

it

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 : otgint

Mode: Host and Device

OTG Interrupt (OTGInt)

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 : sof

Mode: Host and Device

Start of (micro)Frame (Sof)

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, in 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.

Note: This register may return 1’b1 if read immediately after power on

reset. If the register bit reads 1’b1 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 : rxflvl

Mode: Host and Device

RxFIFO Non-Empty (RxFLvl)

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 : nptxfemp

Mode: Host and Device

Non-periodic TxFIFO Empty (NPTxFEmp)

This interrupt is asserted when the Non-periodic TxFIFO is

either half or completely empty, and there is space For at least

one Entry to be written to the Non-periodic Transmit Request

Queue. The half or completely empty status is determined by

the Non-periodic TxFIFO Empty Level bit in the Core AHB

Configuration register (GAHBCFG.NPTxFEmpLvl).

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_LSB   5
 
#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_MSB   5
 
#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_SET_MSK   0x00000020
 
#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_CLR_MSK   0xffffffdf
 
#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_RESET   0x1
 
#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_GET(value)   (((value) & 0x00000020) >> 5)
 
#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_SET(value)   (((value) << 5) & 0x00000020)
 

Field : ginnakeff

Mode: Device only

Global IN Non-periodic NAK Effective (GINNakEff)

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 : goutnakeff

Mode: Device only

Global OUT NAK Effective (GOUTNakEff)

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 : erlysusp

Mode: Device only

Early Suspend (ErlySusp)

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 : usbsusp

Mode: Device only

USB Suspend (USBSusp)

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 linestate 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 : usbrst

Mode: Device only

USB Reset (USBRst)

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 : enumdone

Mode: Device only

Enumeration Done (EnumDone)

The core sets this bit to indicate that speed enumeration is

complete. The application must read the Device Status (DSTS)

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 : isooutdrop

Mode: Device only

Isochronous OUT Packet Dropped Interrupt (ISOOutDrop)

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 : eopf

Mode: Device only

End of Periodic Frame Interrupt (EOPF)

Indicates that the period specified in the Periodic Frame Interval

field of the Device Configuration register (DCFG.PerFrInt) has

been reached in the current microframe.

Field Access Macros:

#define ALT_USB_GLOB_GINTSTS_EOPF_LSB   15
 
#define ALT_USB_GLOB_GINTSTS_EOPF_MSB   15
 
#define ALT_USB_GLOB_GINTSTS_EOPF_WIDTH   1
 
#define ALT_USB_GLOB_GINTSTS_EOPF_SET_MSK   0x00008000
 
#define ALT_USB_GLOB_GINTSTS_EOPF_CLR_MSK   0xffff7fff
 
#define ALT_USB_GLOB_GINTSTS_EOPF_RESET   0x0
 
#define ALT_USB_GLOB_GINTSTS_EOPF_GET(value)   (((value) & 0x00008000) >> 15)
 
#define ALT_USB_GLOB_GINTSTS_EOPF_SET(value)   (((value) << 15) & 0x00008000)
 

Field : epmis

Mode: Device only

Endpoint Mismatch Interrupt (EPMis)

Note: 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 : iepint

Mode: Device only

IN Endpoints Interrupt (IEPInt)

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 : oepint

Mode: Device only

OUT Endpoints Interrupt (OEPInt)

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 : incompisoin

Mode: Device only

Incomplete Isochronous IN Transfer (incompISOIN)

The core sets this interrupt to indicate that there is at least one

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.

Note: 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 : incomplp

Incomplete Periodic Transfer (incomplP)

In Host mode, the core sets this interrupt bit when there are

incomplete periodic transactions still pending which are

scheduled 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.

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 : fetsusp

Mode: Device only

Data Fetch Suspended (FetSusp)

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 NAK

handshake.

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 : resetdet

Mode: Device only

Reset detected Interrupt (ResetDet)

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 : prtint

Mode:Host only

Host Port Interrupt (PrtInt)

The core sets this bit to indicate a change in port status of one of

the DWC_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 Port

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 : hchint

Mode:Host only

Host Channels Interrupt (HChInt)

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 : ptxfemp

Mode:Host only

Periodic TxFIFO Empty (PTxFEmp)

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 : conidstschng

Mode:Host and Device

Connector ID Status Change (ConIDStsChng)

The core sets this bit when there is a change in connector ID

status.

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 : disconnint

Mode:Host only

Disconnect Detected Interrupt (DisconnInt)

Asserted when a device disconnect is detected.

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 : sessreqint

Mode:Host and Device

Session Request/New Session Detected Interrupt (SessReqInt)

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.

For more information on how to use this interrupt, see 'Partial Power-Down

and Clock Gating Programming Model'.

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 : wkupint

Mode:Host and Device

Resume/Remote Wakeup Detected Interrupt (WkUpInt)

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.

For more information, see 'Partial Power-Down and Clock Gating

Programming Model'.

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.

For more information, see 'LPM Entry and Exit Programming Model'

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_RESET   0x14000020
 
#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 ALT_USB_GLOB_GINTSTS_CURMOD
uint32_t modemis: 1 ALT_USB_GLOB_GINTSTS_MODMIS
const uint32_t otgint: 1 ALT_USB_GLOB_GINTSTS_OTGINT
uint32_t sof: 1 ALT_USB_GLOB_GINTSTS_SOF
const uint32_t rxflvl: 1 ALT_USB_GLOB_GINTSTS_RXFLVL
const uint32_t nptxfemp: 1 ALT_USB_GLOB_GINTSTS_NPTXFEMP
const uint32_t ginnakeff: 1 ALT_USB_GLOB_GINTSTS_GINNAKEFF
const uint32_t goutnakeff: 1 ALT_USB_GLOB_GINTSTS_GOUTNAKEFF
uint32_t __pad0__: 2 UNDEFINED
uint32_t erlysusp: 1 ALT_USB_GLOB_GINTSTS_ERLYSUSP
uint32_t usbsusp: 1 ALT_USB_GLOB_GINTSTS_USBSUSP
uint32_t usbrst: 1 ALT_USB_GLOB_GINTSTS_USBRST
uint32_t enumdone: 1 ALT_USB_GLOB_GINTSTS_ENUMDONE
uint32_t isooutdrop: 1 ALT_USB_GLOB_GINTSTS_ISOOUTDROP
uint32_t eopf: 1 ALT_USB_GLOB_GINTSTS_EOPF
uint32_t __pad1__: 1 UNDEFINED
uint32_t epmis: 1 ALT_USB_GLOB_GINTSTS_EPMIS
const uint32_t iepint: 1 ALT_USB_GLOB_GINTSTS_IEPINT
const uint32_t oepint: 1 ALT_USB_GLOB_GINTSTS_OEPINT
uint32_t incompisoin: 1 ALT_USB_GLOB_GINTSTS_INCOMPISOIN
uint32_t incomplp: 1 ALT_USB_GLOB_GINTSTS_INCOMPLP
uint32_t fetsusp: 1 ALT_USB_GLOB_GINTSTS_FETSUSP
uint32_t resetdet: 1 ALT_USB_GLOB_GINTSTS_RSTDET
const uint32_t prtint: 1 ALT_USB_GLOB_GINTSTS_PRTINT
const uint32_t hchint: 1 ALT_USB_GLOB_GINTSTS_HCHINT
const uint32_t ptxfemp: 1 ALT_USB_GLOB_GINTSTS_PTXFEMP
uint32_t __pad2__: 1 UNDEFINED
uint32_t conidstschng: 1 ALT_USB_GLOB_GINTSTS_CONIDSTSCHNG
uint32_t disconnint: 1 ALT_USB_GLOB_GINTSTS_DISCONNINT
uint32_t sessreqint: 1 ALT_USB_GLOB_GINTSTS_SESSREQINT
uint32_t wkupint: 1 ALT_USB_GLOB_GINTSTS_WKUPINT

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_NPTXFEMP_LSB   5

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

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_MSB   5

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

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_NPTXFEMP register field.

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_SET_MSK   0x00000020

The mask used to set the ALT_USB_GLOB_GINTSTS_NPTXFEMP register field value.

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_CLR_MSK   0xffffffdf

The mask used to clear the ALT_USB_GLOB_GINTSTS_NPTXFEMP register field value.

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_RESET   0x1

The reset value of the ALT_USB_GLOB_GINTSTS_NPTXFEMP register field.

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_GET (   value)    (((value) & 0x00000020) >> 5)

Extracts the ALT_USB_GLOB_GINTSTS_NPTXFEMP field value from a register.

#define ALT_USB_GLOB_GINTSTS_NPTXFEMP_SET (   value)    (((value) << 5) & 0x00000020)

Produces a ALT_USB_GLOB_GINTSTS_NPTXFEMP 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_EOPF_LSB   15

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

#define ALT_USB_GLOB_GINTSTS_EOPF_MSB   15

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

#define ALT_USB_GLOB_GINTSTS_EOPF_WIDTH   1

The width in bits of the ALT_USB_GLOB_GINTSTS_EOPF register field.

#define ALT_USB_GLOB_GINTSTS_EOPF_SET_MSK   0x00008000

The mask used to set the ALT_USB_GLOB_GINTSTS_EOPF register field value.

#define ALT_USB_GLOB_GINTSTS_EOPF_CLR_MSK   0xffff7fff

The mask used to clear the ALT_USB_GLOB_GINTSTS_EOPF register field value.

#define ALT_USB_GLOB_GINTSTS_EOPF_RESET   0x0

The reset value of the ALT_USB_GLOB_GINTSTS_EOPF register field.

#define ALT_USB_GLOB_GINTSTS_EOPF_GET (   value)    (((value) & 0x00008000) >> 15)

Extracts the ALT_USB_GLOB_GINTSTS_EOPF field value from a register.

#define ALT_USB_GLOB_GINTSTS_EOPF_SET (   value)    (((value) << 15) & 0x00008000)

Produces a ALT_USB_GLOB_GINTSTS_EOPF 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_RESET   0x14000020

The reset value of the ALT_USB_GLOB_GINTSTS 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.