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

Description

Device OUT Endpoint 4 Interrupt Register

Register Layout

Bits Access Reset Description
[0] RW 0x0 ALT_USB_DEV_DOEPINT4_XFERCOMPL
[1] RW 0x0 ALT_USB_DEV_DOEPINT4_EPDISBLD
[2] RW 0x0 ALT_USB_DEV_DOEPINT4_AHBERR
[3] RW 0x0 ALT_USB_DEV_DOEPINT4_SETUP
[4] RW 0x0 ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS
[5] RW 0x0 ALT_USB_DEV_DOEPINT4_STSPHSERCVD
[6] RW 0x0 ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP
[7] ??? 0x0 UNDEFINED
[8] RW 0x0 ALT_USB_DEV_DOEPINT4_OUTPKTERR
[9] RW 0x0 ALT_USB_DEV_DOEPINT4_BNAINTR
[10] ??? 0x0 UNDEFINED
[11] RW 0x0 ALT_USB_DEV_DOEPINT4_PKTDRPSTS
[12] RW 0x0 ALT_USB_DEV_DOEPINT4_BBLEERR
[13] RW 0x0 ALT_USB_DEV_DOEPINT4_NAKINTRPT
[14] RW 0x0 ALT_USB_DEV_DOEPINT4_NYETINTRPT
[15] RW 0x0 ALT_USB_DEV_DOEPINT4_STUPPKTRCVD
[31:16] ??? 0x0 UNDEFINED

Field : xfercompl

Transfer Completed Interrupt (XferCompl)

Applies to IN and OUT endpoints.

When Scatter/Gather DMA mode is enabled

  • For IN endpoint this field indicates that the requested data

from the descriptor is moved from external system memory

to internal FIFO.

  • For OUT endpoint this field indicates that the requested

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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_XFERCOMPL_E_INACT 0x0 No Interrupt
ALT_USB_DEV_DOEPINT4_XFERCOMPL_E_ACT 0x1 Transfer Completed Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_LSB   0
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_MSB   0
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_SET_MSK   0x00000001
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_CLR_MSK   0xfffffffe
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_EPDISBLD_E_INACT 0x0 No Interrupt
ALT_USB_DEV_DOEPINT4_EPDISBLD_E_ACT 0x1 Endpoint Disabled Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_LSB   1
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_MSB   1
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_SET_MSK   0x00000002
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_CLR_MSK   0xfffffffd
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_EPDISBLD_GET(value)   (((value) & 0x00000002) >> 1)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_AHBERR_E_INACT 0x0 No Interrupt
ALT_USB_DEV_DOEPINT4_AHBERR_E_ACT 0x1 AHB Error interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_AHBERR_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_LSB   2
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_MSB   2
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_SET_MSK   0x00000004
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_CLR_MSK   0xfffffffb
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_AHBERR_GET(value)   (((value) & 0x00000004) >> 2)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_SETUP_E_INACT 0x0 No SETUP Phase Done
ALT_USB_DEV_DOEPINT4_SETUP_E_ACT 0x1 SETUP Phase Done

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_SETUP_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_SETUP_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_SETUP_LSB   3
 
#define ALT_USB_DEV_DOEPINT4_SETUP_MSB   3
 
#define ALT_USB_DEV_DOEPINT4_SETUP_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_SETUP_SET_MSK   0x00000008
 
#define ALT_USB_DEV_DOEPINT4_SETUP_CLR_MSK   0xfffffff7
 
#define ALT_USB_DEV_DOEPINT4_SETUP_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_SETUP_GET(value)   (((value) & 0x00000008) >> 3)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_E_INACT 0x0 No OUT Token Received When Endpoint Disabled
ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_E_ACT 0x1 OUT Token Received When Endpoint Disabled

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_LSB   4
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_MSB   4
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_SET_MSK   0x00000010
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_CLR_MSK   0xffffffef
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_GET(value)   (((value) & 0x00000010) >> 4)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_STSPHSERCVD_E_INACT 0x0 No Status Phase Received for Control Write
ALT_USB_DEV_DOEPINT4_STSPHSERCVD_E_ACT 0x1 Status Phase Received for Control Write

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_LSB   5
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_MSB   5
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_SET_MSK   0x00000020
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_CLR_MSK   0xffffffdf
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_GET(value)   (((value) & 0x00000020) >> 5)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_E_INACT 0x0 No Back-to-Back SETUP Packets Received
ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_E_ACT 0x1 Back-to-Back SETUP Packets Received

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_LSB   6
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_MSB   6
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_SET_MSK   0x00000040
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_CLR_MSK   0xffffffbf
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_GET(value)   (((value) & 0x00000040) >> 6)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_OUTPKTERR_E_INACT 0x0 No OUT Packet Error
ALT_USB_DEV_DOEPINT4_OUTPKTERR_E_ACT 0x1 OUT Packet Error

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_LSB   8
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_MSB   8
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_SET_MSK   0x00000100
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_CLR_MSK   0xfffffeff
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_GET(value)   (((value) & 0x00000100) >> 8)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_BNAINTR_E_INACT 0x0 No interrupt
ALT_USB_DEV_DOEPINT4_BNAINTR_E_ACT 0x1 BNA interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_BNAINTR_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_LSB   9
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_MSB   9
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_SET_MSK   0x00000200
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_CLR_MSK   0xfffffdff
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_BNAINTR_GET(value)   (((value) & 0x00000200) >> 9)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_PKTDRPSTS_E_INACT 0x0 No interrupt
ALT_USB_DEV_DOEPINT4_PKTDRPSTS_E_ACT 0x1 Packet Drop Status interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_LSB   11
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_MSB   11
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_SET_MSK   0x00000800
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_CLR_MSK   0xfffff7ff
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_GET(value)   (((value) & 0x00000800) >> 11)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_BBLEERR_E_INACT 0x0 No interrupt
ALT_USB_DEV_DOEPINT4_BBLEERR_E_ACT 0x1 BbleErr interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_BBLEERR_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_LSB   12
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_MSB   12
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_SET_MSK   0x00001000
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_CLR_MSK   0xffffefff
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_BBLEERR_GET(value)   (((value) & 0x00001000) >> 12)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_NAKINTRPT_E_INACT 0x0 No interrupt
ALT_USB_DEV_DOEPINT4_NAKINTRPT_E_ACT 0x1 NAK Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_LSB   13
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_MSB   13
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_SET_MSK   0x00002000
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_CLR_MSK   0xffffdfff
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_GET(value)   (((value) & 0x00002000) >> 13)
 
#define ALT_USB_DEV_DOEPINT4_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:

Enum Value Description
ALT_USB_DEV_DOEPINT4_NYETINTRPT_E_INACT 0x0 No interrupt
ALT_USB_DEV_DOEPINT4_NYETINTRPT_E_ACT 0x1 NYET Interrupt

Field Access Macros:

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_E_INACT   0x0
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_E_ACT   0x1
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_LSB   14
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_MSB   14
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_SET_MSK   0x00004000
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_CLR_MSK   0xffffbfff
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_GET(value)   (((value) & 0x00004000) >> 14)
 
#define ALT_USB_DEV_DOEPINT4_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_DOEPINT4_STUPPKTRCVD_LSB   15
 
#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_MSB   15
 
#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_WIDTH   1
 
#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_SET_MSK   0x00008000
 
#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_CLR_MSK   0xffff7fff
 
#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_RESET   0x0
 
#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_GET(value)   (((value) & 0x00008000) >> 15)
 
#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_SET(value)   (((value) << 15) & 0x00008000)
 

Data Structures

struct  ALT_USB_DEV_DOEPINT4_s
 

Macros

#define ALT_USB_DEV_DOEPINT4_RESET   0x00000000
 
#define ALT_USB_DEV_DOEPINT4_OFST   0x388
 
#define ALT_USB_DEV_DOEPINT4_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DOEPINT4_OFST))
 

Typedefs

typedef struct
ALT_USB_DEV_DOEPINT4_s 
ALT_USB_DEV_DOEPINT4_t
 

Data Structure Documentation

struct ALT_USB_DEV_DOEPINT4_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_DOEPINT4.

Data Fields
uint32_t xfercompl: 1 ALT_USB_DEV_DOEPINT4_XFERCOMPL
uint32_t epdisbld: 1 ALT_USB_DEV_DOEPINT4_EPDISBLD
uint32_t ahberr: 1 ALT_USB_DEV_DOEPINT4_AHBERR
uint32_t setup: 1 ALT_USB_DEV_DOEPINT4_SETUP
uint32_t outtknepdis: 1 ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS
uint32_t stsphsercvd: 1 ALT_USB_DEV_DOEPINT4_STSPHSERCVD
uint32_t back2backsetup: 1 ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP
uint32_t __pad0__: 1 UNDEFINED
uint32_t outpkterr: 1 ALT_USB_DEV_DOEPINT4_OUTPKTERR
uint32_t bnaintr: 1 ALT_USB_DEV_DOEPINT4_BNAINTR
uint32_t __pad1__: 1 UNDEFINED
uint32_t pktdrpsts: 1 ALT_USB_DEV_DOEPINT4_PKTDRPSTS
uint32_t bbleerr: 1 ALT_USB_DEV_DOEPINT4_BBLEERR
uint32_t nakintrpt: 1 ALT_USB_DEV_DOEPINT4_NAKINTRPT
uint32_t nyetintrpt: 1 ALT_USB_DEV_DOEPINT4_NYETINTRPT
uint32_t stuppktrcvd: 1 ALT_USB_DEV_DOEPINT4_STUPPKTRCVD
uint32_t __pad2__: 16 UNDEFINED

Macro Definitions

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_XFERCOMPL

No Interrupt

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_XFERCOMPL

Transfer Completed Interrupt

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_LSB   0

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

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_MSB   0

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

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_XFERCOMPL register field.

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_SET_MSK   0x00000001

The mask used to set the ALT_USB_DEV_DOEPINT4_XFERCOMPL register field value.

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_CLR_MSK   0xfffffffe

The mask used to clear the ALT_USB_DEV_DOEPINT4_XFERCOMPL register field value.

#define ALT_USB_DEV_DOEPINT4_XFERCOMPL_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_XFERCOMPL register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_XFERCOMPL field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_EPDISBLD

No Interrupt

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_EPDISBLD

Endpoint Disabled Interrupt

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_LSB   1

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

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_MSB   1

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

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_EPDISBLD register field.

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_SET_MSK   0x00000002

The mask used to set the ALT_USB_DEV_DOEPINT4_EPDISBLD register field value.

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_CLR_MSK   0xfffffffd

The mask used to clear the ALT_USB_DEV_DOEPINT4_EPDISBLD register field value.

#define ALT_USB_DEV_DOEPINT4_EPDISBLD_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_EPDISBLD register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_EPDISBLD field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_AHBERR_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_AHBERR

No Interrupt

#define ALT_USB_DEV_DOEPINT4_AHBERR_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_AHBERR

AHB Error interrupt

#define ALT_USB_DEV_DOEPINT4_AHBERR_LSB   2

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

#define ALT_USB_DEV_DOEPINT4_AHBERR_MSB   2

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

#define ALT_USB_DEV_DOEPINT4_AHBERR_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_AHBERR register field.

#define ALT_USB_DEV_DOEPINT4_AHBERR_SET_MSK   0x00000004

The mask used to set the ALT_USB_DEV_DOEPINT4_AHBERR register field value.

#define ALT_USB_DEV_DOEPINT4_AHBERR_CLR_MSK   0xfffffffb

The mask used to clear the ALT_USB_DEV_DOEPINT4_AHBERR register field value.

#define ALT_USB_DEV_DOEPINT4_AHBERR_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_AHBERR register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_AHBERR field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_SETUP_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_SETUP

No SETUP Phase Done

#define ALT_USB_DEV_DOEPINT4_SETUP_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_SETUP

SETUP Phase Done

#define ALT_USB_DEV_DOEPINT4_SETUP_LSB   3

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

#define ALT_USB_DEV_DOEPINT4_SETUP_MSB   3

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

#define ALT_USB_DEV_DOEPINT4_SETUP_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_SETUP register field.

#define ALT_USB_DEV_DOEPINT4_SETUP_SET_MSK   0x00000008

The mask used to set the ALT_USB_DEV_DOEPINT4_SETUP register field value.

#define ALT_USB_DEV_DOEPINT4_SETUP_CLR_MSK   0xfffffff7

The mask used to clear the ALT_USB_DEV_DOEPINT4_SETUP register field value.

#define ALT_USB_DEV_DOEPINT4_SETUP_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_SETUP register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_SETUP field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS

No OUT Token Received When Endpoint Disabled

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS

OUT Token Received When Endpoint Disabled

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_LSB   4

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

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_MSB   4

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

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS register field.

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_SET_MSK   0x00000010

The mask used to set the ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS register field value.

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_CLR_MSK   0xffffffef

The mask used to clear the ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS register field value.

#define ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_OUTTKNEPDIS field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_STSPHSERCVD

No Status Phase Received for Control Write

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_STSPHSERCVD

Status Phase Received for Control Write

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_LSB   5

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

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_MSB   5

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

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_STSPHSERCVD register field.

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_SET_MSK   0x00000020

The mask used to set the ALT_USB_DEV_DOEPINT4_STSPHSERCVD register field value.

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_CLR_MSK   0xffffffdf

The mask used to clear the ALT_USB_DEV_DOEPINT4_STSPHSERCVD register field value.

#define ALT_USB_DEV_DOEPINT4_STSPHSERCVD_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_STSPHSERCVD register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_STSPHSERCVD field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP

No Back-to-Back SETUP Packets Received

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP

Back-to-Back SETUP Packets Received

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_LSB   6

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

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_MSB   6

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

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP register field.

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_SET_MSK   0x00000040

The mask used to set the ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP register field value.

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_CLR_MSK   0xffffffbf

The mask used to clear the ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP register field value.

#define ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_BACK2BACKSETUP field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_OUTPKTERR

No OUT Packet Error

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_OUTPKTERR

OUT Packet Error

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_LSB   8

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

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_MSB   8

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

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_OUTPKTERR register field.

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_SET_MSK   0x00000100

The mask used to set the ALT_USB_DEV_DOEPINT4_OUTPKTERR register field value.

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_CLR_MSK   0xfffffeff

The mask used to clear the ALT_USB_DEV_DOEPINT4_OUTPKTERR register field value.

#define ALT_USB_DEV_DOEPINT4_OUTPKTERR_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_OUTPKTERR register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_OUTPKTERR field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_BNAINTR_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_BNAINTR

No interrupt

#define ALT_USB_DEV_DOEPINT4_BNAINTR_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_BNAINTR

BNA interrupt

#define ALT_USB_DEV_DOEPINT4_BNAINTR_LSB   9

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

#define ALT_USB_DEV_DOEPINT4_BNAINTR_MSB   9

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

#define ALT_USB_DEV_DOEPINT4_BNAINTR_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_BNAINTR register field.

#define ALT_USB_DEV_DOEPINT4_BNAINTR_SET_MSK   0x00000200

The mask used to set the ALT_USB_DEV_DOEPINT4_BNAINTR register field value.

#define ALT_USB_DEV_DOEPINT4_BNAINTR_CLR_MSK   0xfffffdff

The mask used to clear the ALT_USB_DEV_DOEPINT4_BNAINTR register field value.

#define ALT_USB_DEV_DOEPINT4_BNAINTR_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_BNAINTR register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_BNAINTR field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_PKTDRPSTS

No interrupt

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_PKTDRPSTS

Packet Drop Status interrupt

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_LSB   11

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

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_MSB   11

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

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_PKTDRPSTS register field.

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_SET_MSK   0x00000800

The mask used to set the ALT_USB_DEV_DOEPINT4_PKTDRPSTS register field value.

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_CLR_MSK   0xfffff7ff

The mask used to clear the ALT_USB_DEV_DOEPINT4_PKTDRPSTS register field value.

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_PKTDRPSTS register field.

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_GET (   value)    (((value) & 0x00000800) >> 11)

Extracts the ALT_USB_DEV_DOEPINT4_PKTDRPSTS field value from a register.

#define ALT_USB_DEV_DOEPINT4_PKTDRPSTS_SET (   value)    (((value) << 11) & 0x00000800)

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

#define ALT_USB_DEV_DOEPINT4_BBLEERR_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_BBLEERR

No interrupt

#define ALT_USB_DEV_DOEPINT4_BBLEERR_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_BBLEERR

BbleErr interrupt

#define ALT_USB_DEV_DOEPINT4_BBLEERR_LSB   12

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

#define ALT_USB_DEV_DOEPINT4_BBLEERR_MSB   12

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

#define ALT_USB_DEV_DOEPINT4_BBLEERR_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_BBLEERR register field.

#define ALT_USB_DEV_DOEPINT4_BBLEERR_SET_MSK   0x00001000

The mask used to set the ALT_USB_DEV_DOEPINT4_BBLEERR register field value.

#define ALT_USB_DEV_DOEPINT4_BBLEERR_CLR_MSK   0xffffefff

The mask used to clear the ALT_USB_DEV_DOEPINT4_BBLEERR register field value.

#define ALT_USB_DEV_DOEPINT4_BBLEERR_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_BBLEERR register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_BBLEERR field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_NAKINTRPT

No interrupt

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_NAKINTRPT

NAK Interrupt

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_LSB   13

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

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_MSB   13

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

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_NAKINTRPT register field.

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_SET_MSK   0x00002000

The mask used to set the ALT_USB_DEV_DOEPINT4_NAKINTRPT register field value.

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_CLR_MSK   0xffffdfff

The mask used to clear the ALT_USB_DEV_DOEPINT4_NAKINTRPT register field value.

#define ALT_USB_DEV_DOEPINT4_NAKINTRPT_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_NAKINTRPT register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_NAKINTRPT field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DOEPINT4_NYETINTRPT

No interrupt

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DOEPINT4_NYETINTRPT

NYET Interrupt

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_LSB   14

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

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_MSB   14

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

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_NYETINTRPT register field.

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_SET_MSK   0x00004000

The mask used to set the ALT_USB_DEV_DOEPINT4_NYETINTRPT register field value.

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_CLR_MSK   0xffffbfff

The mask used to clear the ALT_USB_DEV_DOEPINT4_NYETINTRPT register field value.

#define ALT_USB_DEV_DOEPINT4_NYETINTRPT_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_NYETINTRPT register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_NYETINTRPT field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_LSB   15

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

#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_MSB   15

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

#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_WIDTH   1

The width in bits of the ALT_USB_DEV_DOEPINT4_STUPPKTRCVD register field.

#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_SET_MSK   0x00008000

The mask used to set the ALT_USB_DEV_DOEPINT4_STUPPKTRCVD register field value.

#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_CLR_MSK   0xffff7fff

The mask used to clear the ALT_USB_DEV_DOEPINT4_STUPPKTRCVD register field value.

#define ALT_USB_DEV_DOEPINT4_STUPPKTRCVD_RESET   0x0

The reset value of the ALT_USB_DEV_DOEPINT4_STUPPKTRCVD register field.

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

Extracts the ALT_USB_DEV_DOEPINT4_STUPPKTRCVD field value from a register.

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

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

#define ALT_USB_DEV_DOEPINT4_RESET   0x00000000

The reset value of the ALT_USB_DEV_DOEPINT4 register.

#define ALT_USB_DEV_DOEPINT4_OFST   0x388

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

#define ALT_USB_DEV_DOEPINT4_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DOEPINT4_OFST))

The address of the ALT_USB_DEV_DOEPINT4 register.

Typedef Documentation

The typedef declaration for register ALT_USB_DEV_DOEPINT4.