![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Device OUT Endpoint 0 Interrupt Register
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[0] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_XFERCOMPL |
[1] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_EPDISBLD |
[2] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_AHBERR |
[3] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_SETUP |
[4] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS |
[5] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_STSPHSERCVD |
[6] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP |
[7] | ??? | 0x0 | UNDEFINED |
[8] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_OUTPKTERR |
[9] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_BNAINTR |
[10] | ??? | 0x0 | UNDEFINED |
[11] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_PKTDRPSTS |
[12] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_BBLEERR |
[13] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_NAKINTRPT |
[14] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_NYETINTRPT |
[15] | RW | 0x0 | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD |
[31:16] | ??? | 0x0 | UNDEFINED |
Field : xfercompl | ||||||||||
Transfer Completed Interrupt (XferCompl) Applies to IN and OUT endpoints. When Scatter/Gather DMA mode is enabled
from the descriptor is moved from external system memory to internal FIFO.
data from the internal FIFO is moved to external system memory. This interrupt is generated only when the corresponding endpoint descriptor is closed, and the IOC bit For the corresponding descriptor is Set. When Scatter/Gather DMA mode is disabled, this field indicates that the programmed transfer is complete on the AHB as well as on the USB, For this endpoint. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_LSB 0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_MSB 0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_SET_MSK 0x00000001 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_CLR_MSK 0xfffffffe | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_GET(value) (((value) & 0x00000001) >> 0) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_XFERCOMPL_SET(value) (((value) << 0) & 0x00000001) | |||||||||
Field : epdisbld | ||||||||||
Endpoint Disabled Interrupt (EPDisbld) Applies to IN and OUT endpoints. This bit indicates that the endpoint is disabled per the application's request. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_LSB 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_MSB 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_SET_MSK 0x00000002 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_CLR_MSK 0xfffffffd | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_GET(value) (((value) & 0x00000002) >> 1) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_EPDISBLD_SET(value) (((value) << 1) & 0x00000002) | |||||||||
Field : ahberr | ||||||||||
AHB Error (AHBErr) Applies to IN and OUT endpoints. This is generated only in Internal DMA mode when there is an AHB error during an AHB read/write. The application can read the corresponding endpoint DMA address register to get the error address. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_LSB 2 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_MSB 2 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_SET_MSK 0x00000004 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_CLR_MSK 0xfffffffb | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_GET(value) (((value) & 0x00000004) >> 2) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_AHBERR_SET(value) (((value) << 2) & 0x00000004) | |||||||||
Field : setup | ||||||||||
SETUP Phase Done (SetUp) Applies to control OUT endpoints only. Indicates that the SETUP phase For the control endpoint is complete and no more back-to-back SETUP packets were received For the current control transfer. On this interrupt, the application can decode the received SETUP data packet. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_LSB 3 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_MSB 3 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_SET_MSK 0x00000008 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_CLR_MSK 0xfffffff7 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_GET(value) (((value) & 0x00000008) >> 3) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_SETUP_SET(value) (((value) << 3) & 0x00000008) | |||||||||
Field : outtknepdis | ||||||||||
OUT Token Received When Endpoint Disabled (OUTTknEPdis) Applies only to control OUT endpoints. Indicates that an OUT token was received when the endpoint was not yet enabled. This interrupt is asserted on the endpoint For which the OUT token was received. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_LSB 4 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_MSB 4 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_SET_MSK 0x00000010 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_CLR_MSK 0xffffffef | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_GET(value) (((value) & 0x00000010) >> 4) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_SET(value) (((value) << 4) & 0x00000010) | |||||||||
Field : stsphsercvd | ||||||||||
Status Phase Received For Control Write (StsPhseRcvd) This interrupt is valid only For Control OUT endpoints and only in Scatter Gather DMA mode. This interrupt is generated only after the core has transferred all the data that the host has sent during the data phase of a control write transfer, to the system memory buffer. The interrupt indicates to the application that the host has switched from data phase to the status phase of a Control Write transfer. The application can use this interrupt to ACK or STALL the Status phase, after it has decoded the data phase. This is applicable only in Case of Scatter Gather DMA mode. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_LSB 5 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_MSB 5 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_SET_MSK 0x00000020 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_CLR_MSK 0xffffffdf | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_GET(value) (((value) & 0x00000020) >> 5) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_STSPHSERCVD_SET(value) (((value) << 5) & 0x00000020) | |||||||||
Field : back2backsetup | ||||||||||
Back-to-Back SETUP Packets Received (Back2BackSETup) Applies to Control OUT endpoints only. This bit indicates that the core has received more than three back-to-back SETUP packets For this particular endpoint. For information about handling this interrupt, Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_LSB 6 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_MSB 6 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_SET_MSK 0x00000040 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_CLR_MSK 0xffffffbf | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_GET(value) (((value) & 0x00000040) >> 6) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_SET(value) (((value) << 6) & 0x00000040) | |||||||||
Field : outpkterr | ||||||||||
OUT Packet Error (OutPktErr) Applies to OUT endpoints Only This interrupt is valid only when thresholding is enabled. This interrupt is asserted when the core detects an overflow or a CRC error For non-Isochronous OUT packet. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_LSB 8 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_MSB 8 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_SET_MSK 0x00000100 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_CLR_MSK 0xfffffeff | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_GET(value) (((value) & 0x00000100) >> 8) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_OUTPKTERR_SET(value) (((value) << 8) & 0x00000100) | |||||||||
Field : bnaintr | ||||||||||
BNA (Buffer Not Available) Interrupt (BNAIntr) This bit is valid only when Scatter/Gather DMA mode is enabled. The core generates this interrupt when the descriptor accessed is not ready For the Core to process, such as Host busy or DMA done Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_LSB 9 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_MSB 9 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_SET_MSK 0x00000200 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_CLR_MSK 0xfffffdff | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_GET(value) (((value) & 0x00000200) >> 9) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BNAINTR_SET(value) (((value) << 9) & 0x00000200) | |||||||||
Field : pktdrpsts | ||||||||||
Packet Drop Status (PktDrpSts) This bit indicates to the application that an ISOC OUT packet has been dropped. This bit does not have an associated mask bit and does not generate an interrupt. Dependency: This bit is valid in non Scatter/Gather DMA mode when periodic transfer interrupt feature is selected. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_LSB 11 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_MSB 11 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_SET_MSK 0x00000800 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_CLR_MSK 0xfffff7ff | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_GET(value) (((value) & 0x00000800) >> 11) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_PKTDRPSTS_SET(value) (((value) << 11) & 0x00000800) | |||||||||
Field : bbleerr | ||||||||||
NAK Interrupt (BbleErr) The core generates this interrupt when babble is received for the endpoint. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_LSB 12 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_MSB 12 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_SET_MSK 0x00001000 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_CLR_MSK 0xffffefff | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_GET(value) (((value) & 0x00001000) >> 12) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_BBLEERR_SET(value) (((value) << 12) & 0x00001000) | |||||||||
Field : nakintrpt | ||||||||||
NAK Interrupt (NAKInterrupt) The core generates this interrupt when a NAK is transmitted or received by the device. In case of isochronous IN endpoints the interrupt gets generated when a zero length packet is transmitted due to un-availability of data in the TXFifo. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_LSB 13 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_MSB 13 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_SET_MSK 0x00002000 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_CLR_MSK 0xffffdfff | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_GET(value) (((value) & 0x00002000) >> 13) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NAKINTRPT_SET(value) (((value) << 13) & 0x00002000) | |||||||||
Field : nyetintrpt | ||||||||||
NYET Interrupt (NYETIntrpt) The core generates this interrupt when a NYET response is transmitted for a non isochronous OUT endpoint. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_E_INACT 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_E_ACT 0x1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_LSB 14 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_MSB 14 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_SET_MSK 0x00004000 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_CLR_MSK 0xffffbfff | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_GET(value) (((value) & 0x00004000) >> 14) | |||||||||
#define | ALT_USB_DEV_DOEPINT0_NYETINTRPT_SET(value) (((value) << 14) & 0x00004000) | |||||||||
Field : stuppktrcvd | |
Setup Packet Received Applicable for Control OUT Endpoints in only in the Buffer DMA Mode Set by the DWC_otg core, this bit indicates that this buffer holds 8 bytes of setup data. There is only one Setup packet per buffer. On receiving a Setup packet, the DWC_otg core closes the buffer and disables the corresponding endpoint. The application has to re-enable the endpoint to receive any OUT data for the Control Transfer and reprogram the buffer start address. Note: Because of the above behavior, the DWC_otg core can receive any number of back to back setup packets and one buffer for every setup packet is used. 1'b0: No Setup packet received 1'b1: Setup packet received Reset: 1’b0 Field Access Macros: | |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_LSB 15 |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_MSB 15 |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_WIDTH 1 |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_SET_MSK 0x00008000 |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_CLR_MSK 0xffff7fff |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_RESET 0x0 |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_GET(value) (((value) & 0x00008000) >> 15) |
#define | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_SET(value) (((value) << 15) & 0x00008000) |
Data Structures | |
struct | ALT_USB_DEV_DOEPINT0_s |
Macros | |
#define | ALT_USB_DEV_DOEPINT0_RESET 0x00000000 |
#define | ALT_USB_DEV_DOEPINT0_OFST 0x308 |
#define | ALT_USB_DEV_DOEPINT0_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DOEPINT0_OFST)) |
Typedefs | |
typedef struct ALT_USB_DEV_DOEPINT0_s | ALT_USB_DEV_DOEPINT0_t |
struct ALT_USB_DEV_DOEPINT0_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_DOEPINT0.
Data Fields | ||
---|---|---|
uint32_t | xfercompl: 1 | ALT_USB_DEV_DOEPINT0_XFERCOMPL |
uint32_t | epdisbld: 1 | ALT_USB_DEV_DOEPINT0_EPDISBLD |
uint32_t | ahberr: 1 | ALT_USB_DEV_DOEPINT0_AHBERR |
uint32_t | setup: 1 | ALT_USB_DEV_DOEPINT0_SETUP |
uint32_t | outtknepdis: 1 | ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS |
uint32_t | stsphsercvd: 1 | ALT_USB_DEV_DOEPINT0_STSPHSERCVD |
uint32_t | back2backsetup: 1 | ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP |
uint32_t | __pad0__: 1 | UNDEFINED |
uint32_t | outpkterr: 1 | ALT_USB_DEV_DOEPINT0_OUTPKTERR |
uint32_t | bnaintr: 1 | ALT_USB_DEV_DOEPINT0_BNAINTR |
uint32_t | __pad1__: 1 | UNDEFINED |
uint32_t | pktdrpsts: 1 | ALT_USB_DEV_DOEPINT0_PKTDRPSTS |
uint32_t | bbleerr: 1 | ALT_USB_DEV_DOEPINT0_BBLEERR |
uint32_t | nakintrpt: 1 | ALT_USB_DEV_DOEPINT0_NAKINTRPT |
uint32_t | nyetintrpt: 1 | ALT_USB_DEV_DOEPINT0_NYETINTRPT |
uint32_t | stuppktrcvd: 1 | ALT_USB_DEV_DOEPINT0_STUPPKTRCVD |
uint32_t | __pad2__: 16 | UNDEFINED |
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_XFERCOMPL
No Interrupt
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_XFERCOMPL
Transfer Completed Interrupt
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_XFERCOMPL register field.
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_MSB 0 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_XFERCOMPL register field.
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_XFERCOMPL register field.
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_SET_MSK 0x00000001 |
The mask used to set the ALT_USB_DEV_DOEPINT0_XFERCOMPL register field value.
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_CLR_MSK 0xfffffffe |
The mask used to clear the ALT_USB_DEV_DOEPINT0_XFERCOMPL register field value.
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_XFERCOMPL register field.
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_GET | ( | value | ) | (((value) & 0x00000001) >> 0) |
Extracts the ALT_USB_DEV_DOEPINT0_XFERCOMPL field value from a register.
#define ALT_USB_DEV_DOEPINT0_XFERCOMPL_SET | ( | value | ) | (((value) << 0) & 0x00000001) |
Produces a ALT_USB_DEV_DOEPINT0_XFERCOMPL register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_EPDISBLD
No Interrupt
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_EPDISBLD
Endpoint Disabled Interrupt
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_LSB 1 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_EPDISBLD register field.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_MSB 1 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_EPDISBLD register field.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_EPDISBLD register field.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_SET_MSK 0x00000002 |
The mask used to set the ALT_USB_DEV_DOEPINT0_EPDISBLD register field value.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_CLR_MSK 0xfffffffd |
The mask used to clear the ALT_USB_DEV_DOEPINT0_EPDISBLD register field value.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_EPDISBLD register field.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_GET | ( | value | ) | (((value) & 0x00000002) >> 1) |
Extracts the ALT_USB_DEV_DOEPINT0_EPDISBLD field value from a register.
#define ALT_USB_DEV_DOEPINT0_EPDISBLD_SET | ( | value | ) | (((value) << 1) & 0x00000002) |
Produces a ALT_USB_DEV_DOEPINT0_EPDISBLD register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_AHBERR_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_AHBERR
No Interrupt
#define ALT_USB_DEV_DOEPINT0_AHBERR_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_AHBERR
AHB Error interrupt
#define ALT_USB_DEV_DOEPINT0_AHBERR_LSB 2 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_AHBERR register field.
#define ALT_USB_DEV_DOEPINT0_AHBERR_MSB 2 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_AHBERR register field.
#define ALT_USB_DEV_DOEPINT0_AHBERR_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_AHBERR register field.
#define ALT_USB_DEV_DOEPINT0_AHBERR_SET_MSK 0x00000004 |
The mask used to set the ALT_USB_DEV_DOEPINT0_AHBERR register field value.
#define ALT_USB_DEV_DOEPINT0_AHBERR_CLR_MSK 0xfffffffb |
The mask used to clear the ALT_USB_DEV_DOEPINT0_AHBERR register field value.
#define ALT_USB_DEV_DOEPINT0_AHBERR_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_AHBERR register field.
#define ALT_USB_DEV_DOEPINT0_AHBERR_GET | ( | value | ) | (((value) & 0x00000004) >> 2) |
Extracts the ALT_USB_DEV_DOEPINT0_AHBERR field value from a register.
#define ALT_USB_DEV_DOEPINT0_AHBERR_SET | ( | value | ) | (((value) << 2) & 0x00000004) |
Produces a ALT_USB_DEV_DOEPINT0_AHBERR register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_SETUP_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_SETUP
No SETUP Phase Done
#define ALT_USB_DEV_DOEPINT0_SETUP_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_SETUP
SETUP Phase Done
#define ALT_USB_DEV_DOEPINT0_SETUP_LSB 3 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_SETUP register field.
#define ALT_USB_DEV_DOEPINT0_SETUP_MSB 3 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_SETUP register field.
#define ALT_USB_DEV_DOEPINT0_SETUP_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_SETUP register field.
#define ALT_USB_DEV_DOEPINT0_SETUP_SET_MSK 0x00000008 |
The mask used to set the ALT_USB_DEV_DOEPINT0_SETUP register field value.
#define ALT_USB_DEV_DOEPINT0_SETUP_CLR_MSK 0xfffffff7 |
The mask used to clear the ALT_USB_DEV_DOEPINT0_SETUP register field value.
#define ALT_USB_DEV_DOEPINT0_SETUP_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_SETUP register field.
#define ALT_USB_DEV_DOEPINT0_SETUP_GET | ( | value | ) | (((value) & 0x00000008) >> 3) |
Extracts the ALT_USB_DEV_DOEPINT0_SETUP field value from a register.
#define ALT_USB_DEV_DOEPINT0_SETUP_SET | ( | value | ) | (((value) << 3) & 0x00000008) |
Produces a ALT_USB_DEV_DOEPINT0_SETUP register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS
No OUT Token Received When Endpoint Disabled
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS
OUT Token Received When Endpoint Disabled
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_LSB 4 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS register field.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_MSB 4 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS register field.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS register field.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_SET_MSK 0x00000010 |
The mask used to set the ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS register field value.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_CLR_MSK 0xffffffef |
The mask used to clear the ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS register field value.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS register field.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_GET | ( | value | ) | (((value) & 0x00000010) >> 4) |
Extracts the ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS field value from a register.
#define ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS_SET | ( | value | ) | (((value) << 4) & 0x00000010) |
Produces a ALT_USB_DEV_DOEPINT0_OUTTKNEPDIS register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_STSPHSERCVD
No Status Phase Received for Control Write
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_STSPHSERCVD
Status Phase Received for Control Write
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_LSB 5 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_STSPHSERCVD register field.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_MSB 5 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_STSPHSERCVD register field.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_STSPHSERCVD register field.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_SET_MSK 0x00000020 |
The mask used to set the ALT_USB_DEV_DOEPINT0_STSPHSERCVD register field value.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_CLR_MSK 0xffffffdf |
The mask used to clear the ALT_USB_DEV_DOEPINT0_STSPHSERCVD register field value.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_STSPHSERCVD register field.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_GET | ( | value | ) | (((value) & 0x00000020) >> 5) |
Extracts the ALT_USB_DEV_DOEPINT0_STSPHSERCVD field value from a register.
#define ALT_USB_DEV_DOEPINT0_STSPHSERCVD_SET | ( | value | ) | (((value) << 5) & 0x00000020) |
Produces a ALT_USB_DEV_DOEPINT0_STSPHSERCVD register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP
No Back-to-Back SETUP Packets Received
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP
Back-to-Back SETUP Packets Received
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_LSB 6 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP register field.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_MSB 6 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP register field.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP register field.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_SET_MSK 0x00000040 |
The mask used to set the ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP register field value.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_CLR_MSK 0xffffffbf |
The mask used to clear the ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP register field value.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP register field.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_GET | ( | value | ) | (((value) & 0x00000040) >> 6) |
Extracts the ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP field value from a register.
#define ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP_SET | ( | value | ) | (((value) << 6) & 0x00000040) |
Produces a ALT_USB_DEV_DOEPINT0_BACK2BACKSETUP register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_OUTPKTERR
No OUT Packet Error
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_OUTPKTERR
OUT Packet Error
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_LSB 8 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_OUTPKTERR register field.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_MSB 8 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_OUTPKTERR register field.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_OUTPKTERR register field.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_SET_MSK 0x00000100 |
The mask used to set the ALT_USB_DEV_DOEPINT0_OUTPKTERR register field value.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_CLR_MSK 0xfffffeff |
The mask used to clear the ALT_USB_DEV_DOEPINT0_OUTPKTERR register field value.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_OUTPKTERR register field.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_GET | ( | value | ) | (((value) & 0x00000100) >> 8) |
Extracts the ALT_USB_DEV_DOEPINT0_OUTPKTERR field value from a register.
#define ALT_USB_DEV_DOEPINT0_OUTPKTERR_SET | ( | value | ) | (((value) << 8) & 0x00000100) |
Produces a ALT_USB_DEV_DOEPINT0_OUTPKTERR register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_BNAINTR
No interrupt
#define ALT_USB_DEV_DOEPINT0_BNAINTR_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_BNAINTR
BNA interrupt
#define ALT_USB_DEV_DOEPINT0_BNAINTR_LSB 9 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_BNAINTR register field.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_MSB 9 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_BNAINTR register field.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_BNAINTR register field.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_SET_MSK 0x00000200 |
The mask used to set the ALT_USB_DEV_DOEPINT0_BNAINTR register field value.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_CLR_MSK 0xfffffdff |
The mask used to clear the ALT_USB_DEV_DOEPINT0_BNAINTR register field value.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_BNAINTR register field.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_GET | ( | value | ) | (((value) & 0x00000200) >> 9) |
Extracts the ALT_USB_DEV_DOEPINT0_BNAINTR field value from a register.
#define ALT_USB_DEV_DOEPINT0_BNAINTR_SET | ( | value | ) | (((value) << 9) & 0x00000200) |
Produces a ALT_USB_DEV_DOEPINT0_BNAINTR register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_PKTDRPSTS
No interrupt
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_PKTDRPSTS
Packet Drop Status interrupt
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_LSB 11 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_PKTDRPSTS register field.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_MSB 11 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_PKTDRPSTS register field.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_PKTDRPSTS register field.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_SET_MSK 0x00000800 |
The mask used to set the ALT_USB_DEV_DOEPINT0_PKTDRPSTS register field value.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_CLR_MSK 0xfffff7ff |
The mask used to clear the ALT_USB_DEV_DOEPINT0_PKTDRPSTS register field value.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_PKTDRPSTS register field.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_GET | ( | value | ) | (((value) & 0x00000800) >> 11) |
Extracts the ALT_USB_DEV_DOEPINT0_PKTDRPSTS field value from a register.
#define ALT_USB_DEV_DOEPINT0_PKTDRPSTS_SET | ( | value | ) | (((value) << 11) & 0x00000800) |
Produces a ALT_USB_DEV_DOEPINT0_PKTDRPSTS register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_BBLEERR
No interrupt
#define ALT_USB_DEV_DOEPINT0_BBLEERR_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_BBLEERR
BbleErr interrupt
#define ALT_USB_DEV_DOEPINT0_BBLEERR_LSB 12 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_BBLEERR register field.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_MSB 12 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_BBLEERR register field.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_BBLEERR register field.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_SET_MSK 0x00001000 |
The mask used to set the ALT_USB_DEV_DOEPINT0_BBLEERR register field value.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_CLR_MSK 0xffffefff |
The mask used to clear the ALT_USB_DEV_DOEPINT0_BBLEERR register field value.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_BBLEERR register field.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_GET | ( | value | ) | (((value) & 0x00001000) >> 12) |
Extracts the ALT_USB_DEV_DOEPINT0_BBLEERR field value from a register.
#define ALT_USB_DEV_DOEPINT0_BBLEERR_SET | ( | value | ) | (((value) << 12) & 0x00001000) |
Produces a ALT_USB_DEV_DOEPINT0_BBLEERR register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_NAKINTRPT
No interrupt
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_NAKINTRPT
NAK Interrupt
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_LSB 13 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_NAKINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_MSB 13 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_NAKINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_NAKINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_SET_MSK 0x00002000 |
The mask used to set the ALT_USB_DEV_DOEPINT0_NAKINTRPT register field value.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_CLR_MSK 0xffffdfff |
The mask used to clear the ALT_USB_DEV_DOEPINT0_NAKINTRPT register field value.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_NAKINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_GET | ( | value | ) | (((value) & 0x00002000) >> 13) |
Extracts the ALT_USB_DEV_DOEPINT0_NAKINTRPT field value from a register.
#define ALT_USB_DEV_DOEPINT0_NAKINTRPT_SET | ( | value | ) | (((value) << 13) & 0x00002000) |
Produces a ALT_USB_DEV_DOEPINT0_NAKINTRPT register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_E_INACT 0x0 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_NYETINTRPT
No interrupt
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_E_ACT 0x1 |
Enumerated value for register field ALT_USB_DEV_DOEPINT0_NYETINTRPT
NYET Interrupt
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_LSB 14 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_NYETINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_MSB 14 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_NYETINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_NYETINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_SET_MSK 0x00004000 |
The mask used to set the ALT_USB_DEV_DOEPINT0_NYETINTRPT register field value.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_CLR_MSK 0xffffbfff |
The mask used to clear the ALT_USB_DEV_DOEPINT0_NYETINTRPT register field value.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_NYETINTRPT register field.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_GET | ( | value | ) | (((value) & 0x00004000) >> 14) |
Extracts the ALT_USB_DEV_DOEPINT0_NYETINTRPT field value from a register.
#define ALT_USB_DEV_DOEPINT0_NYETINTRPT_SET | ( | value | ) | (((value) << 14) & 0x00004000) |
Produces a ALT_USB_DEV_DOEPINT0_NYETINTRPT register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_LSB 15 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DOEPINT0_STUPPKTRCVD register field.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_MSB 15 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DOEPINT0_STUPPKTRCVD register field.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DOEPINT0_STUPPKTRCVD register field.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_SET_MSK 0x00008000 |
The mask used to set the ALT_USB_DEV_DOEPINT0_STUPPKTRCVD register field value.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_CLR_MSK 0xffff7fff |
The mask used to clear the ALT_USB_DEV_DOEPINT0_STUPPKTRCVD register field value.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_RESET 0x0 |
The reset value of the ALT_USB_DEV_DOEPINT0_STUPPKTRCVD register field.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_GET | ( | value | ) | (((value) & 0x00008000) >> 15) |
Extracts the ALT_USB_DEV_DOEPINT0_STUPPKTRCVD field value from a register.
#define ALT_USB_DEV_DOEPINT0_STUPPKTRCVD_SET | ( | value | ) | (((value) << 15) & 0x00008000) |
Produces a ALT_USB_DEV_DOEPINT0_STUPPKTRCVD register field value suitable for setting the register.
#define ALT_USB_DEV_DOEPINT0_RESET 0x00000000 |
The reset value of the ALT_USB_DEV_DOEPINT0 register.
#define ALT_USB_DEV_DOEPINT0_OFST 0x308 |
The byte offset of the ALT_USB_DEV_DOEPINT0 register from the beginning of the component.
#define ALT_USB_DEV_DOEPINT0_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DOEPINT0_OFST)) |
The address of the ALT_USB_DEV_DOEPINT0 register.
typedef struct ALT_USB_DEV_DOEPINT0_s ALT_USB_DEV_DOEPINT0_t |
The typedef declaration for register ALT_USB_DEV_DOEPINT0.