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

Description

The application reads this register whenever there is an OTG interrupt and clears the bits in this register to clear the OTG interrupt.

Register Layout

Bits Access Reset Description
[1:0] ??? 0x0 UNDEFINED
[2] R 0x0 Session End Detected
[7:3] ??? 0x0 UNDEFINED
[8] R 0x0 Session Request Success Status Change
[9] R 0x0 Host Negotiation Success Status Change
[16:10] ??? 0x0 UNDEFINED
[17] R 0x0 Host Negotiation Detected
[18] R 0x0 A-Device Timeout Change
[19] R 0x0 Debounce Done
[31:20] ??? 0x0 UNDEFINED

Field : Session End Detected - sesenddet

Mode:Host and Device.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_GOTGINT_SESENDDET_E_INACT 0x0 Non Active State
ALT_USB_GLOB_GOTGINT_SESENDDET_E_ACT 0x1 Set when utmisrp_bvalid signal is deasserted

Field Access Macros:

#define ALT_USB_GLOB_GOTGINT_SESENDDET_E_INACT   0x0
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_E_ACT   0x1
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_LSB   2
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_MSB   2
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_WIDTH   1
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_SET_MSK   0x00000004
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_CLR_MSK   0xfffffffb
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_RESET   0x0
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_GET(value)   (((value) & 0x00000004) >> 2)
 
#define ALT_USB_GLOB_GOTGINT_SESENDDET_SET(value)   (((value) << 2) & 0x00000004)
 

Field : Session Request Success Status Change - sesreqsucstschng

Mode: Host and Device. The core sets this bit on the success or failure of a session request. The application must read the Session Request Success bit in the OTG Control and Status register (GOTGCTL.SesReqScs) to check for success or failure. 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_GOTGINT_SESREQSUCSTSCHNG_E_INACT 0x0 No change
ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_E_ACT 0x1 Session Request Status

Field Access Macros:

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_E_INACT   0x0
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_E_ACT   0x1
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_LSB   8
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_MSB   8
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_WIDTH   1
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_SET_MSK   0x00000100
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_CLR_MSK   0xfffffeff
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_RESET   0x0
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_GET(value)   (((value) & 0x00000100) >> 8)
 
#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_SET(value)   (((value) << 8) & 0x00000100)
 

Field : Host Negotiation Success Status Change - hstnegsucstschng

Mode: Host and Device. The core sets this bit on the success or failure of a USB host negotiation request. The application must read the Host Negotiation Success bit of the OTG Control and Status register (GOTGCTL.HstNegScs) to check for success or failure. 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_GOTGINT_HSTNEGSUCSTSCHNG_E_INACT 0x0 No Change
ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_E_ACT 0x1 Host Negotiation Status Change

Field Access Macros:

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_E_INACT   0x0
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_E_ACT   0x1
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_LSB   9
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_MSB   9
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_WIDTH   1
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_SET_MSK   0x00000200
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_CLR_MSK   0xfffffdff
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_RESET   0x0
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_GET(value)   (((value) & 0x00000200) >> 9)
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_SET(value)   (((value) << 9) & 0x00000200)
 

Field : Host Negotiation Detected - hstnegdet

Mode:Host and Device. The core sets this bit when it detects a host negotiation request on the USB. 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_GOTGINT_HSTNEGDET_E_INACT 0x0 No Change
ALT_USB_GLOB_GOTGINT_HSTNEGDET_E_ACT 0x1 Host Negotiation Detected

Field Access Macros:

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_E_INACT   0x0
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_E_ACT   0x1
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_LSB   17
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_MSB   17
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_WIDTH   1
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_SET_MSK   0x00020000
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_CLR_MSK   0xfffdffff
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_RESET   0x0
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_GET(value)   (((value) & 0x00020000) >> 17)
 
#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_SET(value)   (((value) << 17) & 0x00020000)
 

Field : A-Device Timeout Change - adevtoutchg

Mode:Host and Device. The core sets this bit to indicate that the A-device has timed out WHILE waiting FOR the B-device to connect. 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_GOTGINT_ADEVTOUTCHG_E_INACT 0x0 No Change
ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_E_ACT 0x1 A-Device Timeout

Field Access Macros:

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_E_INACT   0x0
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_E_ACT   0x1
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_LSB   18
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_MSB   18
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_WIDTH   1
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_SET_MSK   0x00040000
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_CLR_MSK   0xfffbffff
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_RESET   0x0
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_GET(value)   (((value) & 0x00040000) >> 18)
 
#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_SET(value)   (((value) << 18) & 0x00040000)
 

Field : Debounce Done - dbncedone

Mode: Host only. The core sets this bit when the debounce is completed after the device connect. The application can start driving USB reset after seeing this interrupt. This bit is only valid when the HNP Capable or SRP Capable bit is SET in the Core USB Configuration register (GUSBCFG.HNPCap or GUSBCFG.SRPCap, respectively). 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_GOTGINT_DBNCEDONE_E_INACT 0x0 No Change
ALT_USB_GLOB_GOTGINT_DBNCEDONE_E_ACT 0x1 Debounce completed

Field Access Macros:

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_E_INACT   0x0
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_E_ACT   0x1
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_LSB   19
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_MSB   19
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_WIDTH   1
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_SET_MSK   0x00080000
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_CLR_MSK   0xfff7ffff
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_RESET   0x0
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_GET(value)   (((value) & 0x00080000) >> 19)
 
#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_SET(value)   (((value) << 19) & 0x00080000)
 

Data Structures

struct  ALT_USB_GLOB_GOTGINT_s
 

Macros

#define ALT_USB_GLOB_GOTGINT_OFST   0x4
 
#define ALT_USB_GLOB_GOTGINT_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GOTGINT_OFST))
 

Typedefs

typedef struct
ALT_USB_GLOB_GOTGINT_s 
ALT_USB_GLOB_GOTGINT_t
 

Data Structure Documentation

struct ALT_USB_GLOB_GOTGINT_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_GOTGINT.

Data Fields
uint32_t __pad0__: 2 UNDEFINED
const uint32_t sesenddet: 1 Session End Detected
uint32_t __pad1__: 5 UNDEFINED
const uint32_t sesreqsucstschng: 1 Session Request Success Status Change
const uint32_t hstnegsucstschng: 1 Host Negotiation Success Status Change
uint32_t __pad2__: 7 UNDEFINED
const uint32_t hstnegdet: 1 Host Negotiation Detected
const uint32_t adevtoutchg: 1 A-Device Timeout Change
const uint32_t dbncedone: 1 Debounce Done
uint32_t __pad3__: 12 UNDEFINED

Macro Definitions

#define ALT_USB_GLOB_GOTGINT_SESENDDET_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GOTGINT_SESENDDET

Non Active State

#define ALT_USB_GLOB_GOTGINT_SESENDDET_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GOTGINT_SESENDDET

Set when utmisrp_bvalid signal is deasserted

#define ALT_USB_GLOB_GOTGINT_SESENDDET_LSB   2

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

#define ALT_USB_GLOB_GOTGINT_SESENDDET_MSB   2

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

#define ALT_USB_GLOB_GOTGINT_SESENDDET_WIDTH   1

The width in bits of the ALT_USB_GLOB_GOTGINT_SESENDDET register field.

#define ALT_USB_GLOB_GOTGINT_SESENDDET_SET_MSK   0x00000004

The mask used to set the ALT_USB_GLOB_GOTGINT_SESENDDET register field value.

#define ALT_USB_GLOB_GOTGINT_SESENDDET_CLR_MSK   0xfffffffb

The mask used to clear the ALT_USB_GLOB_GOTGINT_SESENDDET register field value.

#define ALT_USB_GLOB_GOTGINT_SESENDDET_RESET   0x0

The reset value of the ALT_USB_GLOB_GOTGINT_SESENDDET register field.

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

Extracts the ALT_USB_GLOB_GOTGINT_SESENDDET field value from a register.

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

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

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG

No change

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG

Session Request Status

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_LSB   8

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

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_MSB   8

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

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_WIDTH   1

The width in bits of the ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG register field.

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_SET_MSK   0x00000100

The mask used to set the ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG register field value.

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_CLR_MSK   0xfffffeff

The mask used to clear the ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG register field value.

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_RESET   0x0

The reset value of the ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG register field.

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_GET (   value)    (((value) & 0x00000100) >> 8)

Extracts the ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG field value from a register.

#define ALT_USB_GLOB_GOTGINT_SESREQSUCSTSCHNG_SET (   value)    (((value) << 8) & 0x00000100)

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

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG

No Change

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG

Host Negotiation Status Change

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_LSB   9

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

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_MSB   9

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

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_WIDTH   1

The width in bits of the ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG register field.

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_SET_MSK   0x00000200

The mask used to set the ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG register field value.

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_CLR_MSK   0xfffffdff

The mask used to clear the ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG register field value.

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_RESET   0x0

The reset value of the ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG register field.

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_GET (   value)    (((value) & 0x00000200) >> 9)

Extracts the ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG field value from a register.

#define ALT_USB_GLOB_GOTGINT_HSTNEGSUCSTSCHNG_SET (   value)    (((value) << 9) & 0x00000200)

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

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GOTGINT_HSTNEGDET

No Change

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GOTGINT_HSTNEGDET

Host Negotiation Detected

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_LSB   17

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

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_MSB   17

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

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_WIDTH   1

The width in bits of the ALT_USB_GLOB_GOTGINT_HSTNEGDET register field.

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_SET_MSK   0x00020000

The mask used to set the ALT_USB_GLOB_GOTGINT_HSTNEGDET register field value.

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_CLR_MSK   0xfffdffff

The mask used to clear the ALT_USB_GLOB_GOTGINT_HSTNEGDET register field value.

#define ALT_USB_GLOB_GOTGINT_HSTNEGDET_RESET   0x0

The reset value of the ALT_USB_GLOB_GOTGINT_HSTNEGDET register field.

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

Extracts the ALT_USB_GLOB_GOTGINT_HSTNEGDET field value from a register.

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

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

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG

No Change

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG

A-Device Timeout

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_LSB   18

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

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_MSB   18

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

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_WIDTH   1

The width in bits of the ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG register field.

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_SET_MSK   0x00040000

The mask used to set the ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG register field value.

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_CLR_MSK   0xfffbffff

The mask used to clear the ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG register field value.

#define ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG_RESET   0x0

The reset value of the ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG register field.

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

Extracts the ALT_USB_GLOB_GOTGINT_ADEVTOUTCHG field value from a register.

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

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

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GOTGINT_DBNCEDONE

No Change

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GOTGINT_DBNCEDONE

Debounce completed

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_LSB   19

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

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_MSB   19

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

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_WIDTH   1

The width in bits of the ALT_USB_GLOB_GOTGINT_DBNCEDONE register field.

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_SET_MSK   0x00080000

The mask used to set the ALT_USB_GLOB_GOTGINT_DBNCEDONE register field value.

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_CLR_MSK   0xfff7ffff

The mask used to clear the ALT_USB_GLOB_GOTGINT_DBNCEDONE register field value.

#define ALT_USB_GLOB_GOTGINT_DBNCEDONE_RESET   0x0

The reset value of the ALT_USB_GLOB_GOTGINT_DBNCEDONE register field.

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

Extracts the ALT_USB_GLOB_GOTGINT_DBNCEDONE field value from a register.

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

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

#define ALT_USB_GLOB_GOTGINT_OFST   0x4

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

#define ALT_USB_GLOB_GOTGINT_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GOTGINT_OFST))

The address of the ALT_USB_GLOB_GOTGINT register.

Typedef Documentation

The typedef declaration for register ALT_USB_GLOB_GOTGINT.