Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : Device OUT Endpoint Common Interrupt Mask Register - doepmsk

Description

This register works with each of the Device OUT Endpoint Interrupt (DOEPINTn) registers for all endpoints to generate an interrupt per OUT endpoint. The OUT endpoint interrupt for a specific status in the DOEPINTn register can be masked by writing into the corresponding bit in this register. Status bits are masked by default

Register Layout

Bits Access Reset Description
[0] RW 0x0 Transfer Completed Interrupt Mask
[1] RW 0x0 Endpoint Disabled Interrupt Mask
[2] RW 0x0 AHB Error Mask
[3] RW 0x0 SETUP Phase Done Mask
[4] RW 0x0 OUT Token Received when Endpoint Disabled Mask
[5] ??? 0x0 UNDEFINED
[6] RW 0x0 Back-to-Back SETUP Packets Received Mask
[7] ??? 0x0 UNDEFINED
[8] RW 0x0 OUT Packet Error Mask
[9] RW 0x0 BNA interrupt Mask
[11:10] ??? 0x0 UNDEFINED
[12] RW 0x0 Babble Error interrupt Mask
[13] RW 0x0 NAK interrupt Mask
[14] RW 0x0 NYET interrupt Mask
[31:15] ??? 0x0 UNDEFINED

Field : Transfer Completed Interrupt Mask - xfercomplmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_E_MSK 0x0 Mask Transfer Completed Interrupt
ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_E_NOMSK 0x1 No Mask Transfer Completed Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_LSB   0
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_MSB   0
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_SET_MSK   0x00000001
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_CLR_MSK   0xfffffffe
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_SET(value)   (((value) << 0) & 0x00000001)
 

Field : Endpoint Disabled Interrupt Mask - epdisbldmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_E_MSK 0x0 Mask Endpoint Disabled Interrupt
ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_E_NOMSK 0x1 No Mask Endpoint Disabled Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_LSB   1
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_MSB   1
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_SET_MSK   0x00000002
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_CLR_MSK   0xfffffffd
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_GET(value)   (((value) & 0x00000002) >> 1)
 
#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_SET(value)   (((value) << 1) & 0x00000002)
 

Field : AHB Error Mask - ahberrmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_AHBERRMSK_E_MSK 0x0 Mask AHB Error Interrupt
ALT_USB_DEV_DOEPMSK_AHBERRMSK_E_NOMSK 0x1 No Mask AHB Error Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_LSB   2
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_MSB   2
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_SET_MSK   0x00000004
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_CLR_MSK   0xfffffffb
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_GET(value)   (((value) & 0x00000004) >> 2)
 
#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_SET(value)   (((value) << 2) & 0x00000004)
 

Field : SETUP Phase Done Mask - setupmsk

Applies to control endpoints only.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_SETUPMSK_E_MSK 0x0 Mask SETUP Phase Done Interrupt
ALT_USB_DEV_DOEPMSK_SETUPMSK_E_NOMSK 0x1 No Mask SETUP Phase Done Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_LSB   3
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_MSB   3
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_SET_MSK   0x00000008
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_CLR_MSK   0xfffffff7
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_GET(value)   (((value) & 0x00000008) >> 3)
 
#define ALT_USB_DEV_DOEPMSK_SETUPMSK_SET(value)   (((value) << 3) & 0x00000008)
 

Field : OUT Token Received when Endpoint Disabled Mask - outtknepdismsk

Applies to control OUT endpoints only.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_E_MSK 0x0 Mask OUT Token Received when Endpoint Disabled
: Interrupt
ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_E_NOMSK 0x1 No Mask OUT Token Received when Endpoint
: Disabled Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_LSB   4
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_MSB   4
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_SET_MSK   0x00000010
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_CLR_MSK   0xffffffef
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_GET(value)   (((value) & 0x00000010) >> 4)
 
#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_SET(value)   (((value) << 4) & 0x00000010)
 

Field : Back-to-Back SETUP Packets Received Mask - back2backsetup

Applies to control OUT endpoints only.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_E_MSK 0x0 Mask Back-to-Back SETUP Packets Received
: Interrupt
ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_E_NOMSK 0x1 No Mask Back-to-Back SETUP Packets Received
: Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_LSB   6
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_MSB   6
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_SET_MSK   0x00000040
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_CLR_MSK   0xffffffbf
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_GET(value)   (((value) & 0x00000040) >> 6)
 
#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_SET(value)   (((value) << 6) & 0x00000040)
 

Field : OUT Packet Error Mask - outpkterrmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_E_MSK 0x0 Mask OUT Packet Error Interrupt
ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_E_NOMSK 0x1 No Mask OUT Packet Error Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_LSB   8
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_MSB   8
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_SET_MSK   0x00000100
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_CLR_MSK   0xfffffeff
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_GET(value)   (((value) & 0x00000100) >> 8)
 
#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_SET(value)   (((value) << 8) & 0x00000100)
 

Field : BNA interrupt Mask - bnaoutintrmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_E_MSK 0x0 Mask BNA Interrupt
ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_E_NOMSK 0x1 No Mask BNA Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_LSB   9
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_MSB   9
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_SET_MSK   0x00000200
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_CLR_MSK   0xfffffdff
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_GET(value)   (((value) & 0x00000200) >> 9)
 
#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_SET(value)   (((value) << 9) & 0x00000200)
 

Field : Babble Error interrupt Mask - bbleerrmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_BBLEERRMSK_E_MSK 0x0 Mask Babble Error Interrupt
ALT_USB_DEV_DOEPMSK_BBLEERRMSK_E_NOMSK 0x1 No Mask Babble Error Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_LSB   12
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_MSB   12
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_SET_MSK   0x00001000
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_CLR_MSK   0xffffefff
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_GET(value)   (((value) & 0x00001000) >> 12)
 
#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_SET(value)   (((value) << 12) & 0x00001000)
 

Field : NAK interrupt Mask - nakmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_NAKMSK_E_MSK 0x0 Mask NAK Interrupt
ALT_USB_DEV_DOEPMSK_NAKMSK_E_NOMSK 0x1 No Mask NAK Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_NAKMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_LSB   13
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_MSB   13
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_SET_MSK   0x00002000
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_CLR_MSK   0xffffdfff
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_GET(value)   (((value) & 0x00002000) >> 13)
 
#define ALT_USB_DEV_DOEPMSK_NAKMSK_SET(value)   (((value) << 13) & 0x00002000)
 

Field : NYET interrupt Mask - nyetmsk

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DOEPMSK_NYETMSK_E_MSK 0x0 Mask NYET Interrupt
ALT_USB_DEV_DOEPMSK_NYETMSK_E_NOMSK 0x1 No Mask NYET Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPMSK_NYETMSK_E_MSK   0x0
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_E_NOMSK   0x1
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_LSB   14
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_MSB   14
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_WIDTH   1
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_SET_MSK   0x00004000
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_CLR_MSK   0xffffbfff
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_RESET   0x0
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_GET(value)   (((value) & 0x00004000) >> 14)
 
#define ALT_USB_DEV_DOEPMSK_NYETMSK_SET(value)   (((value) << 14) & 0x00004000)
 

Data Structures

struct  ALT_USB_DEV_DOEPMSK_s
 

Macros

#define ALT_USB_DEV_DOEPMSK_OFST   0x14
 
#define ALT_USB_DEV_DOEPMSK_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DOEPMSK_OFST))
 

Typedefs

typedef struct
ALT_USB_DEV_DOEPMSK_s 
ALT_USB_DEV_DOEPMSK_t
 

Data Structure Documentation

struct ALT_USB_DEV_DOEPMSK_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_DEV_DOEPMSK.

Data Fields
uint32_t xfercomplmsk: 1 Transfer Completed Interrupt Mask
uint32_t epdisbldmsk: 1 Endpoint Disabled Interrupt Mask
uint32_t ahberrmsk: 1 AHB Error Mask
uint32_t setupmsk: 1 SETUP Phase Done Mask
uint32_t outtknepdismsk: 1 OUT Token Received when Endpoint Disabled Mask
uint32_t __pad0__: 1 UNDEFINED
uint32_t back2backsetup: 1 Back-to-Back SETUP Packets Received Mask
uint32_t __pad1__: 1 UNDEFINED
uint32_t outpkterrmsk: 1 OUT Packet Error Mask
uint32_t bnaoutintrmsk: 1 BNA interrupt Mask
uint32_t __pad2__: 2 UNDEFINED
uint32_t bbleerrmsk: 1 Babble Error interrupt Mask
uint32_t nakmsk: 1 NAK interrupt Mask
uint32_t nyetmsk: 1 NYET interrupt Mask
uint32_t __pad3__: 17 UNDEFINED

Macro Definitions

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK

Mask Transfer Completed Interrupt

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK

No Mask Transfer Completed Interrupt

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_LSB   0

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

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_MSB   0

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

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK register field.

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_SET_MSK   0x00000001

The mask used to set the ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK register field value.

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_CLR_MSK   0xfffffffe

The mask used to clear the ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK register field value.

#define ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_EPDISBLDMSK

Mask Endpoint Disabled Interrupt

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_EPDISBLDMSK

No Mask Endpoint Disabled Interrupt

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_LSB   1

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

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_MSB   1

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

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_EPDISBLDMSK register field.

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_SET_MSK   0x00000002

The mask used to set the ALT_USB_DEV_DOEPMSK_EPDISBLDMSK register field value.

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_CLR_MSK   0xfffffffd

The mask used to clear the ALT_USB_DEV_DOEPMSK_EPDISBLDMSK register field value.

#define ALT_USB_DEV_DOEPMSK_EPDISBLDMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_EPDISBLDMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_EPDISBLDMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_AHBERRMSK

Mask AHB Error Interrupt

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_AHBERRMSK

No Mask AHB Error Interrupt

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_LSB   2

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

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_MSB   2

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

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_AHBERRMSK register field.

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_SET_MSK   0x00000004

The mask used to set the ALT_USB_DEV_DOEPMSK_AHBERRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_CLR_MSK   0xfffffffb

The mask used to clear the ALT_USB_DEV_DOEPMSK_AHBERRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_AHBERRMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_AHBERRMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_AHBERRMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_SETUPMSK

Mask SETUP Phase Done Interrupt

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_SETUPMSK

No Mask SETUP Phase Done Interrupt

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_LSB   3

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

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_MSB   3

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

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_SETUPMSK register field.

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_SET_MSK   0x00000008

The mask used to set the ALT_USB_DEV_DOEPMSK_SETUPMSK register field value.

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_CLR_MSK   0xfffffff7

The mask used to clear the ALT_USB_DEV_DOEPMSK_SETUPMSK register field value.

#define ALT_USB_DEV_DOEPMSK_SETUPMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_SETUPMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_SETUPMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK

Mask OUT Token Received when Endpoint Disabled Interrupt

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK

No Mask OUT Token Received when Endpoint Disabled Interrupt

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_LSB   4

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

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_MSB   4

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

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK register field.

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_SET_MSK   0x00000010

The mask used to set the ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK register field value.

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_CLR_MSK   0xffffffef

The mask used to clear the ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK register field value.

#define ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP

Mask Back-to-Back SETUP Packets Received Interrupt

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP

No Mask Back-to-Back SETUP Packets Received Interrupt

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_LSB   6

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

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_MSB   6

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

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP register field.

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_SET_MSK   0x00000040

The mask used to set the ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP register field value.

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_CLR_MSK   0xffffffbf

The mask used to clear the ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP register field value.

#define ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK

Mask OUT Packet Error Interrupt

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK

No Mask OUT Packet Error Interrupt

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_LSB   8

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

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_MSB   8

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

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK register field.

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_SET_MSK   0x00000100

The mask used to set the ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_CLR_MSK   0xfffffeff

The mask used to clear the ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK

Mask BNA Interrupt

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK

No Mask BNA Interrupt

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_LSB   9

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

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_MSB   9

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

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK register field.

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_SET_MSK   0x00000200

The mask used to set the ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_CLR_MSK   0xfffffdff

The mask used to clear the ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_BBLEERRMSK

Mask Babble Error Interrupt

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_BBLEERRMSK

No Mask Babble Error Interrupt

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_LSB   12

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

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_MSB   12

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

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_BBLEERRMSK register field.

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_SET_MSK   0x00001000

The mask used to set the ALT_USB_DEV_DOEPMSK_BBLEERRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_CLR_MSK   0xffffefff

The mask used to clear the ALT_USB_DEV_DOEPMSK_BBLEERRMSK register field value.

#define ALT_USB_DEV_DOEPMSK_BBLEERRMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_BBLEERRMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_BBLEERRMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_NAKMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_NAKMSK

Mask NAK Interrupt

#define ALT_USB_DEV_DOEPMSK_NAKMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_NAKMSK

No Mask NAK Interrupt

#define ALT_USB_DEV_DOEPMSK_NAKMSK_LSB   13

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

#define ALT_USB_DEV_DOEPMSK_NAKMSK_MSB   13

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

#define ALT_USB_DEV_DOEPMSK_NAKMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_NAKMSK register field.

#define ALT_USB_DEV_DOEPMSK_NAKMSK_SET_MSK   0x00002000

The mask used to set the ALT_USB_DEV_DOEPMSK_NAKMSK register field value.

#define ALT_USB_DEV_DOEPMSK_NAKMSK_CLR_MSK   0xffffdfff

The mask used to clear the ALT_USB_DEV_DOEPMSK_NAKMSK register field value.

#define ALT_USB_DEV_DOEPMSK_NAKMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_NAKMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_NAKMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_NYETMSK_E_MSK   0x0

Enumerated value for register field ALT_USB_DEV_DOEPMSK_NYETMSK

Mask NYET Interrupt

#define ALT_USB_DEV_DOEPMSK_NYETMSK_E_NOMSK   0x1

Enumerated value for register field ALT_USB_DEV_DOEPMSK_NYETMSK

No Mask NYET Interrupt

#define ALT_USB_DEV_DOEPMSK_NYETMSK_LSB   14

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

#define ALT_USB_DEV_DOEPMSK_NYETMSK_MSB   14

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

#define ALT_USB_DEV_DOEPMSK_NYETMSK_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPMSK_NYETMSK register field.

#define ALT_USB_DEV_DOEPMSK_NYETMSK_SET_MSK   0x00004000

The mask used to set the ALT_USB_DEV_DOEPMSK_NYETMSK register field value.

#define ALT_USB_DEV_DOEPMSK_NYETMSK_CLR_MSK   0xffffbfff

The mask used to clear the ALT_USB_DEV_DOEPMSK_NYETMSK register field value.

#define ALT_USB_DEV_DOEPMSK_NYETMSK_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPMSK_NYETMSK register field.

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

Extracts the ALT_USB_DEV_DOEPMSK_NYETMSK field value from a register.

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

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

#define ALT_USB_DEV_DOEPMSK_OFST   0x14

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

#define ALT_USB_DEV_DOEPMSK_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DOEPMSK_OFST))

The address of the ALT_USB_DEV_DOEPMSK register.

Typedef Documentation

The typedef declaration for register ALT_USB_DEV_DOEPMSK.