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

Description

Device IN Endpoint 0 Interrupt Register

Register Layout

Bits Access Reset Description
[0] RW 0x0 ALT_USB_DEV_DIEPINT0_XFERCOMPL
[1] RW 0x0 ALT_USB_DEV_DIEPINT0_EPDISBLD
[2] RW 0x0 ALT_USB_DEV_DIEPINT0_AHBERR
[3] RW 0x0 ALT_USB_DEV_DIEPINT0_TMO
[4] RW 0x0 ALT_USB_DEV_DIEPINT0_INTKNTXFEMP
[5] RW 0x0 ALT_USB_DEV_DIEPINT0_INTKNEPMIS
[6] RW 0x0 ALT_USB_DEV_DIEPINT0_INEPNAKEFF
[7] R 0x1 ALT_USB_DEV_DIEPINT0_TXFEMP
[8] RW 0x0 ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN
[9] RW 0x0 ALT_USB_DEV_DIEPINT0_BNAINTR
[10] ??? 0x0 UNDEFINED
[11] RW 0x0 ALT_USB_DEV_DIEPINT0_PKTDRPSTS
[12] RW 0x0 ALT_USB_DEV_DIEPINT0_BBLEERR
[13] RW 0x0 ALT_USB_DEV_DIEPINT0_NAKINTRPT
[14] RW 0x0 ALT_USB_DEV_DIEPINT0_NYETINTRPT
[31:15] ??? 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_DIEPINT0_XFERCOMPL_E_INACT 0x0 No Interrupt
ALT_USB_DEV_DIEPINT0_XFERCOMPL_E_ACT 0x1 Transfer Completed Interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_LSB   0
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_MSB   0
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_SET_MSK   0x00000001
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_CLR_MSK   0xfffffffe
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_USB_DEV_DIEPINT0_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_DIEPINT0_EPDISBLD_E_INACT 0x0 No Interrupt
ALT_USB_DEV_DIEPINT0_EPDISBLD_E_ACT 0x1 Endpoint Disabled Interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_LSB   1
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_MSB   1
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_SET_MSK   0x00000002
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_CLR_MSK   0xfffffffd
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_EPDISBLD_GET(value)   (((value) & 0x00000002) >> 1)
 
#define ALT_USB_DEV_DIEPINT0_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_DIEPINT0_AHBERR_E_INACT 0x0 No Interrupt
ALT_USB_DEV_DIEPINT0_AHBERR_E_ACT 0x1 AHB Error interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_AHBERR_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_LSB   2
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_MSB   2
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_SET_MSK   0x00000004
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_CLR_MSK   0xfffffffb
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_GET(value)   (((value) & 0x00000004) >> 2)
 
#define ALT_USB_DEV_DIEPINT0_AHBERR_SET(value)   (((value) << 2) & 0x00000004)
 

Field : timeout

Timeout Condition (TimeOUT)

In shared TX FIFO mode, applies to non-isochronous IN

endpoints only.

In dedicated FIFO mode, applies only to Control IN

endpoints.

In Scatter/Gather DMA mode, the TimeOUT interrupt is not

asserted.

Indicates that the core has detected a timeout condition on the

USB For the last IN token on this endpoint.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DIEPINT0_TMO_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_TMO_E_ACT 0x1 Timeout interrupy

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_TMO_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_TMO_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_TMO_LSB   3
 
#define ALT_USB_DEV_DIEPINT0_TMO_MSB   3
 
#define ALT_USB_DEV_DIEPINT0_TMO_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_TMO_SET_MSK   0x00000008
 
#define ALT_USB_DEV_DIEPINT0_TMO_CLR_MSK   0xfffffff7
 
#define ALT_USB_DEV_DIEPINT0_TMO_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_TMO_GET(value)   (((value) & 0x00000008) >> 3)
 
#define ALT_USB_DEV_DIEPINT0_TMO_SET(value)   (((value) << 3) & 0x00000008)
 

Field : intkntxfemp

IN Token Received When TxFIFO is Empty (INTknTXFEmp)

Applies to non-periodic IN endpoints only.

Indicates that an IN token was received when the associated

TxFIFO (periodic/non-periodic) was empty. This interrupt is

asserted on the endpoint For which the IN token was received.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_E_ACT 0x1 IN Token Received Interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_LSB   4
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_MSB   4
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_SET_MSK   0x00000010
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_CLR_MSK   0xffffffef
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_GET(value)   (((value) & 0x00000010) >> 4)
 
#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_SET(value)   (((value) << 4) & 0x00000010)
 

Field : intknepmis

IN Token Received with EP Mismatch (INTknEPMis)

Applies to non-periodic IN endpoints only.

Indicates that the data in the top of the non-periodic TxFIFO

belongs to an endpoint other than the one For which the IN token

was received. This interrupt is asserted on the endpoint For

which the IN token was received.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DIEPINT0_INTKNEPMIS_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_INTKNEPMIS_E_ACT 0x1 IN Token Received with EP Mismatch interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_LSB   5
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_MSB   5
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_SET_MSK   0x00000020
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_CLR_MSK   0xffffffdf
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_GET(value)   (((value) & 0x00000020) >> 5)
 
#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_SET(value)   (((value) << 5) & 0x00000020)
 

Field : inepnakeff

IN Endpoint NAK Effective (INEPNakEff)

Applies to periodic IN endpoints only.

This bit can be cleared when the application clears the IN

endpoint NAK by writing to DIEPCTLn.CNAK.

This interrupt indicates that the core has sampled the NAK bit

Set (either by the application or by the core). The interrupt

indicates that the IN endpoint NAK bit Set by the application has

taken effect in the core.

This interrupt does not guarantee that a NAK handshake is sent

on the USB. A STALL bit takes priority over a NAK bit.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DIEPINT0_INEPNAKEFF_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_INEPNAKEFF_E_ACT 0x1 IN Endpoint NAK Effective interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_LSB   6
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_MSB   6
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_SET_MSK   0x00000040
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_CLR_MSK   0xffffffbf
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_GET(value)   (((value) & 0x00000040) >> 6)
 
#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_SET(value)   (((value) << 6) & 0x00000040)
 

Field : txfemp

Transmit FIFO Empty (TxFEmp)

This bit is valid only For IN Endpoints

This interrupt is asserted when the TxFIFO For this endpoint is

either half or completely empty. The half or completely empty

status is determined by the TxFIFO Empty Level bit in the Core

AHB Configuration register (GAHBCFG.NPTxFEmpLvl)).

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DIEPINT0_TXFEMP_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_TXFEMP_E_ACT 0x1 Transmit FIFO Empty interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_TXFEMP_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_LSB   7
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_MSB   7
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_SET_MSK   0x00000080
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_CLR_MSK   0xffffff7f
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_RESET   0x1
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_GET(value)   (((value) & 0x00000080) >> 7)
 
#define ALT_USB_DEV_DIEPINT0_TXFEMP_SET(value)   (((value) << 7) & 0x00000080)
 

Field : txfifoundrn

Fifo Underrun (TxfifoUndrn)

Applies to IN endpoints Only

The core generates this interrupt when it detects a transmit FIFO

underrun condition in threshold mode For this endpoint.

Field Enumeration Values:

Enum Value Description
ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_E_ACT 0x1 Fifo Underrun interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_LSB   8
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_MSB   8
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_SET_MSK   0x00000100
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_CLR_MSK   0xfffffeff
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_GET(value)   (((value) & 0x00000100) >> 8)
 
#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_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_DIEPINT0_BNAINTR_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_BNAINTR_E_ACT 0x1 BNA interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_BNAINTR_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_LSB   9
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_MSB   9
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_SET_MSK   0x00000200
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_CLR_MSK   0xfffffdff
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_BNAINTR_GET(value)   (((value) & 0x00000200) >> 9)
 
#define ALT_USB_DEV_DIEPINT0_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_DIEPINT0_PKTDRPSTS_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_PKTDRPSTS_E_ACT 0x1 Packet Drop Status interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_LSB   11
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_MSB   11
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_SET_MSK   0x00000800
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_CLR_MSK   0xfffff7ff
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_GET(value)   (((value) & 0x00000800) >> 11)
 
#define ALT_USB_DEV_DIEPINT0_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_DIEPINT0_BBLEERR_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_BBLEERR_E_ACT 0x1 BbleErr interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_BBLEERR_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_LSB   12
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_MSB   12
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_SET_MSK   0x00001000
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_CLR_MSK   0xffffefff
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_BBLEERR_GET(value)   (((value) & 0x00001000) >> 12)
 
#define ALT_USB_DEV_DIEPINT0_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_DIEPINT0_NAKINTRPT_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_NAKINTRPT_E_ACT 0x1 NAK Interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_LSB   13
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_MSB   13
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_SET_MSK   0x00002000
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_CLR_MSK   0xffffdfff
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_GET(value)   (((value) & 0x00002000) >> 13)
 
#define ALT_USB_DEV_DIEPINT0_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_DIEPINT0_NYETINTRPT_E_INACT 0x0 No interrupt
ALT_USB_DEV_DIEPINT0_NYETINTRPT_E_ACT 0x1 NYET Interrupt

Field Access Macros:

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_E_INACT   0x0
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_E_ACT   0x1
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_LSB   14
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_MSB   14
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_WIDTH   1
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_SET_MSK   0x00004000
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_CLR_MSK   0xffffbfff
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_RESET   0x0
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_GET(value)   (((value) & 0x00004000) >> 14)
 
#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_SET(value)   (((value) << 14) & 0x00004000)
 

Data Structures

struct  ALT_USB_DEV_DIEPINT0_s
 

Macros

#define ALT_USB_DEV_DIEPINT0_RESET   0x00000080
 
#define ALT_USB_DEV_DIEPINT0_OFST   0x108
 
#define ALT_USB_DEV_DIEPINT0_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DIEPINT0_OFST))
 

Typedefs

typedef struct
ALT_USB_DEV_DIEPINT0_s 
ALT_USB_DEV_DIEPINT0_t
 

Data Structure Documentation

struct ALT_USB_DEV_DIEPINT0_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_DIEPINT0.

Data Fields
uint32_t xfercompl: 1 ALT_USB_DEV_DIEPINT0_XFERCOMPL
uint32_t epdisbld: 1 ALT_USB_DEV_DIEPINT0_EPDISBLD
uint32_t ahberr: 1 ALT_USB_DEV_DIEPINT0_AHBERR
uint32_t timeout: 1 ALT_USB_DEV_DIEPINT0_TMO
uint32_t intkntxfemp: 1 ALT_USB_DEV_DIEPINT0_INTKNTXFEMP
uint32_t intknepmis: 1 ALT_USB_DEV_DIEPINT0_INTKNEPMIS
uint32_t inepnakeff: 1 ALT_USB_DEV_DIEPINT0_INEPNAKEFF
const uint32_t txfemp: 1 ALT_USB_DEV_DIEPINT0_TXFEMP
uint32_t txfifoundrn: 1 ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN
uint32_t bnaintr: 1 ALT_USB_DEV_DIEPINT0_BNAINTR
uint32_t __pad0__: 1 UNDEFINED
uint32_t pktdrpsts: 1 ALT_USB_DEV_DIEPINT0_PKTDRPSTS
uint32_t bbleerr: 1 ALT_USB_DEV_DIEPINT0_BBLEERR
uint32_t nakintrpt: 1 ALT_USB_DEV_DIEPINT0_NAKINTRPT
uint32_t nyetintrpt: 1 ALT_USB_DEV_DIEPINT0_NYETINTRPT
uint32_t __pad1__: 17 UNDEFINED

Macro Definitions

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_XFERCOMPL

No Interrupt

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_XFERCOMPL

Transfer Completed Interrupt

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_LSB   0

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

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_MSB   0

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

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_XFERCOMPL register field.

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_SET_MSK   0x00000001

The mask used to set the ALT_USB_DEV_DIEPINT0_XFERCOMPL register field value.

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_CLR_MSK   0xfffffffe

The mask used to clear the ALT_USB_DEV_DIEPINT0_XFERCOMPL register field value.

#define ALT_USB_DEV_DIEPINT0_XFERCOMPL_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_XFERCOMPL register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_XFERCOMPL field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_EPDISBLD

No Interrupt

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_EPDISBLD

Endpoint Disabled Interrupt

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_LSB   1

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

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_MSB   1

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

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_EPDISBLD register field.

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_SET_MSK   0x00000002

The mask used to set the ALT_USB_DEV_DIEPINT0_EPDISBLD register field value.

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_CLR_MSK   0xfffffffd

The mask used to clear the ALT_USB_DEV_DIEPINT0_EPDISBLD register field value.

#define ALT_USB_DEV_DIEPINT0_EPDISBLD_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_EPDISBLD register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_EPDISBLD field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_AHBERR_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_AHBERR

No Interrupt

#define ALT_USB_DEV_DIEPINT0_AHBERR_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_AHBERR

AHB Error interrupt

#define ALT_USB_DEV_DIEPINT0_AHBERR_LSB   2

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

#define ALT_USB_DEV_DIEPINT0_AHBERR_MSB   2

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

#define ALT_USB_DEV_DIEPINT0_AHBERR_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_AHBERR register field.

#define ALT_USB_DEV_DIEPINT0_AHBERR_SET_MSK   0x00000004

The mask used to set the ALT_USB_DEV_DIEPINT0_AHBERR register field value.

#define ALT_USB_DEV_DIEPINT0_AHBERR_CLR_MSK   0xfffffffb

The mask used to clear the ALT_USB_DEV_DIEPINT0_AHBERR register field value.

#define ALT_USB_DEV_DIEPINT0_AHBERR_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_AHBERR register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_AHBERR field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_TMO_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_TMO

No interrupt

#define ALT_USB_DEV_DIEPINT0_TMO_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_TMO

Timeout interrupy

#define ALT_USB_DEV_DIEPINT0_TMO_LSB   3

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

#define ALT_USB_DEV_DIEPINT0_TMO_MSB   3

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

#define ALT_USB_DEV_DIEPINT0_TMO_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_TMO register field.

#define ALT_USB_DEV_DIEPINT0_TMO_SET_MSK   0x00000008

The mask used to set the ALT_USB_DEV_DIEPINT0_TMO register field value.

#define ALT_USB_DEV_DIEPINT0_TMO_CLR_MSK   0xfffffff7

The mask used to clear the ALT_USB_DEV_DIEPINT0_TMO register field value.

#define ALT_USB_DEV_DIEPINT0_TMO_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_TMO register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_TMO field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_INTKNTXFEMP

No interrupt

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_INTKNTXFEMP

IN Token Received Interrupt

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_LSB   4

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

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_MSB   4

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

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_INTKNTXFEMP register field.

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_SET_MSK   0x00000010

The mask used to set the ALT_USB_DEV_DIEPINT0_INTKNTXFEMP register field value.

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_CLR_MSK   0xffffffef

The mask used to clear the ALT_USB_DEV_DIEPINT0_INTKNTXFEMP register field value.

#define ALT_USB_DEV_DIEPINT0_INTKNTXFEMP_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_INTKNTXFEMP register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_INTKNTXFEMP field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_INTKNEPMIS

No interrupt

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_INTKNEPMIS

IN Token Received with EP Mismatch interrupt

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_LSB   5

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

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_MSB   5

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

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_INTKNEPMIS register field.

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_SET_MSK   0x00000020

The mask used to set the ALT_USB_DEV_DIEPINT0_INTKNEPMIS register field value.

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_CLR_MSK   0xffffffdf

The mask used to clear the ALT_USB_DEV_DIEPINT0_INTKNEPMIS register field value.

#define ALT_USB_DEV_DIEPINT0_INTKNEPMIS_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_INTKNEPMIS register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_INTKNEPMIS field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_INEPNAKEFF

No interrupt

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_INEPNAKEFF

IN Endpoint NAK Effective interrupt

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_LSB   6

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

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_MSB   6

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

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_INEPNAKEFF register field.

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_SET_MSK   0x00000040

The mask used to set the ALT_USB_DEV_DIEPINT0_INEPNAKEFF register field value.

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_CLR_MSK   0xffffffbf

The mask used to clear the ALT_USB_DEV_DIEPINT0_INEPNAKEFF register field value.

#define ALT_USB_DEV_DIEPINT0_INEPNAKEFF_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_INEPNAKEFF register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_INEPNAKEFF field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_TXFEMP_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_TXFEMP

No interrupt

#define ALT_USB_DEV_DIEPINT0_TXFEMP_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_TXFEMP

Transmit FIFO Empty interrupt

#define ALT_USB_DEV_DIEPINT0_TXFEMP_LSB   7

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

#define ALT_USB_DEV_DIEPINT0_TXFEMP_MSB   7

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

#define ALT_USB_DEV_DIEPINT0_TXFEMP_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_TXFEMP register field.

#define ALT_USB_DEV_DIEPINT0_TXFEMP_SET_MSK   0x00000080

The mask used to set the ALT_USB_DEV_DIEPINT0_TXFEMP register field value.

#define ALT_USB_DEV_DIEPINT0_TXFEMP_CLR_MSK   0xffffff7f

The mask used to clear the ALT_USB_DEV_DIEPINT0_TXFEMP register field value.

#define ALT_USB_DEV_DIEPINT0_TXFEMP_RESET   0x1

The reset value of the ALT_USB_DEV_DIEPINT0_TXFEMP register field.

#define ALT_USB_DEV_DIEPINT0_TXFEMP_GET (   value)    (((value) & 0x00000080) >> 7)

Extracts the ALT_USB_DEV_DIEPINT0_TXFEMP field value from a register.

#define ALT_USB_DEV_DIEPINT0_TXFEMP_SET (   value)    (((value) << 7) & 0x00000080)

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

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN

No interrupt

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN

Fifo Underrun interrupt

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_LSB   8

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

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_MSB   8

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

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN register field.

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_SET_MSK   0x00000100

The mask used to set the ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN register field value.

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_CLR_MSK   0xfffffeff

The mask used to clear the ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN register field value.

#define ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_TXFIFOUNDRN field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_BNAINTR_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_BNAINTR

No interrupt

#define ALT_USB_DEV_DIEPINT0_BNAINTR_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_BNAINTR

BNA interrupt

#define ALT_USB_DEV_DIEPINT0_BNAINTR_LSB   9

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

#define ALT_USB_DEV_DIEPINT0_BNAINTR_MSB   9

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

#define ALT_USB_DEV_DIEPINT0_BNAINTR_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_BNAINTR register field.

#define ALT_USB_DEV_DIEPINT0_BNAINTR_SET_MSK   0x00000200

The mask used to set the ALT_USB_DEV_DIEPINT0_BNAINTR register field value.

#define ALT_USB_DEV_DIEPINT0_BNAINTR_CLR_MSK   0xfffffdff

The mask used to clear the ALT_USB_DEV_DIEPINT0_BNAINTR register field value.

#define ALT_USB_DEV_DIEPINT0_BNAINTR_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_BNAINTR register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_BNAINTR field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_PKTDRPSTS

No interrupt

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_PKTDRPSTS

Packet Drop Status interrupt

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_LSB   11

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

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_MSB   11

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

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_PKTDRPSTS register field.

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_SET_MSK   0x00000800

The mask used to set the ALT_USB_DEV_DIEPINT0_PKTDRPSTS register field value.

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_CLR_MSK   0xfffff7ff

The mask used to clear the ALT_USB_DEV_DIEPINT0_PKTDRPSTS register field value.

#define ALT_USB_DEV_DIEPINT0_PKTDRPSTS_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_PKTDRPSTS register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_PKTDRPSTS field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_BBLEERR_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_BBLEERR

No interrupt

#define ALT_USB_DEV_DIEPINT0_BBLEERR_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_BBLEERR

BbleErr interrupt

#define ALT_USB_DEV_DIEPINT0_BBLEERR_LSB   12

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

#define ALT_USB_DEV_DIEPINT0_BBLEERR_MSB   12

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

#define ALT_USB_DEV_DIEPINT0_BBLEERR_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_BBLEERR register field.

#define ALT_USB_DEV_DIEPINT0_BBLEERR_SET_MSK   0x00001000

The mask used to set the ALT_USB_DEV_DIEPINT0_BBLEERR register field value.

#define ALT_USB_DEV_DIEPINT0_BBLEERR_CLR_MSK   0xffffefff

The mask used to clear the ALT_USB_DEV_DIEPINT0_BBLEERR register field value.

#define ALT_USB_DEV_DIEPINT0_BBLEERR_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_BBLEERR register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_BBLEERR field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_NAKINTRPT

No interrupt

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_NAKINTRPT

NAK Interrupt

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_LSB   13

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

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_MSB   13

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

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_NAKINTRPT register field.

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_SET_MSK   0x00002000

The mask used to set the ALT_USB_DEV_DIEPINT0_NAKINTRPT register field value.

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_CLR_MSK   0xffffdfff

The mask used to clear the ALT_USB_DEV_DIEPINT0_NAKINTRPT register field value.

#define ALT_USB_DEV_DIEPINT0_NAKINTRPT_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_NAKINTRPT register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_NAKINTRPT field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_E_INACT   0x0

Enumerated value for register field ALT_USB_DEV_DIEPINT0_NYETINTRPT

No interrupt

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_E_ACT   0x1

Enumerated value for register field ALT_USB_DEV_DIEPINT0_NYETINTRPT

NYET Interrupt

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_LSB   14

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

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_MSB   14

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

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_WIDTH   1

The width in bits of the ALT_USB_DEV_DIEPINT0_NYETINTRPT register field.

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_SET_MSK   0x00004000

The mask used to set the ALT_USB_DEV_DIEPINT0_NYETINTRPT register field value.

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_CLR_MSK   0xffffbfff

The mask used to clear the ALT_USB_DEV_DIEPINT0_NYETINTRPT register field value.

#define ALT_USB_DEV_DIEPINT0_NYETINTRPT_RESET   0x0

The reset value of the ALT_USB_DEV_DIEPINT0_NYETINTRPT register field.

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

Extracts the ALT_USB_DEV_DIEPINT0_NYETINTRPT field value from a register.

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

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

#define ALT_USB_DEV_DIEPINT0_RESET   0x00000080

The reset value of the ALT_USB_DEV_DIEPINT0 register.

#define ALT_USB_DEV_DIEPINT0_OFST   0x108

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

#define ALT_USB_DEV_DIEPINT0_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DIEPINT0_OFST))

The address of the ALT_USB_DEV_DIEPINT0 register.

Typedef Documentation

The typedef declaration for register ALT_USB_DEV_DIEPINT0.