![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Device OUT Endpoint Common Interrupt Mask Register
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[0] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK |
[1] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_EPDISBLDMSK |
[2] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_AHBERRMSK |
[3] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_SETUPMSK |
[4] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK |
[5] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK |
[6] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP |
[7] | ??? | 0x0 | UNDEFINED |
[8] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK |
[9] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK |
[11:10] | ??? | 0x0 | UNDEFINED |
[12] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_BBLEERRMSK |
[13] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_NAKMSK |
[14] | RW | 0x0 | ALT_USB_DEV_DOEPMSK_NYETMSK |
[31:15] | ??? | 0x0 | UNDEFINED |
Field : xfercomplmsk | ||||||||||
Transfer Completed Interrupt Mask (XferComplMsk) Field Enumeration Values:
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 : epdisbldmsk | ||||||||||
Endpoint Disabled Interrupt Mask (EPDisbldMsk) Field Enumeration Values:
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 : ahberrmsk | ||||||||||
AHB Error (AHBErrMsk) Field Enumeration Values:
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 : setupmsk | ||||||||||
SETUP Phase Done Mask (SetUPMsk) Applies to control endpoints only. Field Enumeration Values:
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 : outtknepdismsk | ||||||||||||||||
OUT Token Received when Endpoint Disabled Mask (OUTTknEPdisMsk) Applies to control OUT endpoints only. Field Enumeration Values:
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 : stsphsercvdmsk | |
Status Phase Received Mask (StsPhseRcvdMsk) Applies to control OUT endpoints only. Field Access Macros: | |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_LSB 5 |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_MSB 5 |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_WIDTH 1 |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_SET_MSK 0x00000020 |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_CLR_MSK 0xffffffdf |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_RESET 0x0 |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_GET(value) (((value) & 0x00000020) >> 5) |
#define | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_SET(value) (((value) << 5) & 0x00000020) |
Field : back2backsetup | ||||||||||||||||
Back-to-Back SETUP Packets Received Mask (Back2BackSETup) Applies to control OUT endpoints only. Field Enumeration Values:
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 : outpkterrmsk | ||||||||||
OUT Packet Error Mask (OutPktErrMsk) Field Enumeration Values:
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 : bnaoutintrmsk | ||||||||||
BNA interrupt Mask (BnaOutIntrMsk) Field Enumeration Values:
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 : bbleerrmsk | ||||||||||
Babble Error interrupt Mask (BbleErrMsk) Field Enumeration Values:
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 : nakmsk | ||||||||||
NAK interrupt Mask (NAKMsk) Field Enumeration Values:
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 : nyetmsk | ||||||||||
NYET interrupt Mask (NYETMsk) Field Enumeration Values:
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_RESET 0x00000000 |
#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 |
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 | ALT_USB_DEV_DOEPMSK_XFERCOMPLMSK |
uint32_t | epdisbldmsk: 1 | ALT_USB_DEV_DOEPMSK_EPDISBLDMSK |
uint32_t | ahberrmsk: 1 | ALT_USB_DEV_DOEPMSK_AHBERRMSK |
uint32_t | setupmsk: 1 | ALT_USB_DEV_DOEPMSK_SETUPMSK |
uint32_t | outtknepdismsk: 1 | ALT_USB_DEV_DOEPMSK_OUTTKNEPDISMSK |
uint32_t | stsphsercvdmsk: 1 | ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK |
uint32_t | back2backsetup: 1 | ALT_USB_DEV_DOEPMSK_BACK2BACKSETUP |
uint32_t | __pad0__: 1 | UNDEFINED |
uint32_t | outpkterrmsk: 1 | ALT_USB_DEV_DOEPMSK_OUTPKTERRMSK |
uint32_t | bnaoutintrmsk: 1 | ALT_USB_DEV_DOEPMSK_BNAOUTINTRMSK |
uint32_t | __pad1__: 2 | UNDEFINED |
uint32_t | bbleerrmsk: 1 | ALT_USB_DEV_DOEPMSK_BBLEERRMSK |
uint32_t | nakmsk: 1 | ALT_USB_DEV_DOEPMSK_NAKMSK |
uint32_t | nyetmsk: 1 | ALT_USB_DEV_DOEPMSK_NYETMSK |
uint32_t | __pad2__: 17 | UNDEFINED |
#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_STSPHSERCVDMSK_LSB 5 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK register field.
#define ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_MSB 5 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK register field.
#define ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK register field.
#define ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_SET_MSK 0x00000020 |
The mask used to set the ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK register field value.
#define ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_CLR_MSK 0xffffffdf |
The mask used to clear the ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK register field value.
#define ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK register field.
#define ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_GET | ( | value | ) | (((value) & 0x00000020) >> 5) |
Extracts the ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK field value from a register.
#define ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK_SET | ( | value | ) | (((value) << 5) & 0x00000020) |
Produces a ALT_USB_DEV_DOEPMSK_STSPHSERCVDMSK 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_RESET 0x00000000 |
The reset value of the ALT_USB_DEV_DOEPMSK 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 struct ALT_USB_DEV_DOEPMSK_s ALT_USB_DEV_DOEPMSK_t |
The typedef declaration for register ALT_USB_DEV_DOEPMSK.