![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
This register contains the configuration options.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[3:0] | R | 0x0 | Number of Device Mode Periodic IN Endpoints |
[4] | R | 0x0 | Enable Partial Power Down |
[5] | R | 0x1 | Minimum AHB Frequency Less Than 60 MHz |
[6] | R | 0x0 | Enable Hibernation |
[13:7] | ??? | 0x0 | UNDEFINED |
[15:14] | R | 0x0 | UTMI+ PHY/ULPI-to-Internal UTMI+ Wrapper Data Width |
[19:16] | R | 0xf | Number of Device Mode Control Endpoints in Addition to Endpoint 0 |
[20] | R | 0x0 | Iddig Filter Enable |
[21] | R | 0x0 | Vbus Valid Filter Enabled |
[22] | R | 0x0 | a_valid Filter |
[23] | R | 0x0 | b_valid Filter |
[24] | R | 0x0 | Session End Filter |
[25] | R | 0x1 | Enable Dedicated Transmit FIFO for device IN Endpoints |
[29:26] | R | 0xf | Number of Device Mode IN Endpoints Including Control |
[30] | R | 0x1 | Scatter Gather DMA configuration |
[31] | R | 0x1 | Scatter Gather DMA |
Field : Number of Device Mode Periodic IN Endpoints - numdevperioeps | |
The maximum number of device IN operations is 16 active at any time including endpoint 0, which is always present. This parameter determines the number of device mode Tx FIFOs to be instantiated. Field Access Macros: | |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_LSB 0 |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_MSB 3 |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_WIDTH 4 |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_SET_MSK 0x0000000f |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_CLR_MSK 0xfffffff0 |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_RESET 0x0 |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_GET(value) (((value) & 0x0000000f) >> 0) |
#define | ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_SET(value) (((value) << 0) & 0x0000000f) |
Field : Enable Partial Power Down - partialpwrdn | |||||||
Specifies whether to enable power optimization. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_LSB 4 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_MSB 4 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_SET_MSK 0x00000010 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_CLR_MSK 0xffffffef | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_GET(value) (((value) & 0x00000010) >> 4) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_SET(value) (((value) << 4) & 0x00000010) | ||||||
Field : Minimum AHB Frequency Less Than 60 MHz - ahbfreq | |||||||
When the AHB frequency is less than 60 MHz, 4-deep clock-domain crossing sink and source buffers are instantiated between the MAC and the Packet FIFO Controller (PFC); otherwise, two-deep buffers are sufficient. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_E_END 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_LSB 5 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_MSB 5 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_SET_MSK 0x00000020 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_CLR_MSK 0xffffffdf | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_RESET 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_GET(value) (((value) & 0x00000020) >> 5) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AHBFREQ_SET(value) (((value) << 5) & 0x00000020) | ||||||
Field : Enable Hibernation - hibernation | |||||||
Enables power saving mode hibernation. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_LSB 6 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_MSB 6 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_SET_MSK 0x00000040 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_CLR_MSK 0xffffffbf | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_GET(value) (((value) & 0x00000040) >> 6) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_HIBERNATION_SET(value) (((value) << 6) & 0x00000040) | ||||||
Field : UTMI+ PHY/ULPI-to-Internal UTMI+ Wrapper Data Width - phydatawidth | |
Uses a ULPI interface only. Hence only 8-bit setting is relevant. This setting should not matter since UTMI is not enabled. Field Access Macros: | |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_LSB 14 |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_MSB 15 |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_WIDTH 2 |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_SET_MSK 0x0000c000 |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_CLR_MSK 0xffff3fff |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_RESET 0x0 |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_GET(value) (((value) & 0x0000c000) >> 14) |
#define | ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_SET(value) (((value) << 14) & 0x0000c000) |
Field : Iddig Filter Enable - iddgfltr | |||||||
Specifies whether to add a filter on the iddig input from the PHY. This is not relevant since we only support ULPI and there is no iddig pin exposed to I/O pads. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_LSB 20 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_MSB 20 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_SET_MSK 0x00100000 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_CLR_MSK 0xffefffff | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_GET(value) (((value) & 0x00100000) >> 20) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_IDDGFLTR_SET(value) (((value) << 20) & 0x00100000) | ||||||
Field : Vbus Valid Filter Enabled - vbusvalidfltr | |||||||
Vbus Valid Filter Enabled (VBusValidFltr) 0: No filter 1: Filter(coreConsultant parameter: OTG_EN_VBUSVALID_FILTER) Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_LSB 21 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_MSB 21 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_SET_MSK 0x00200000 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_CLR_MSK 0xffdfffff | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_GET(value) (((value) & 0x00200000) >> 21) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_SET(value) (((value) << 21) & 0x00200000) | ||||||
Field : a_valid Filter - avalidfltr | |||||||
Specifies whether to add a filter on the b_valid input from the PHY. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_LSB 22 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_MSB 22 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_SET_MSK 0x00400000 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_CLR_MSK 0xffbfffff | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_GET(value) (((value) & 0x00400000) >> 22) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_SET(value) (((value) << 22) & 0x00400000) | ||||||
Field : b_valid Filter - bvalidfltr | |||||||
Specifies whether to add a filter on the b_valid input from the PHY. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_LSB 23 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_MSB 23 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_SET_MSK 0x00800000 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_CLR_MSK 0xff7fffff | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_GET(value) (((value) & 0x00800000) >> 23) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_SET(value) (((value) << 23) & 0x00800000) | ||||||
Field : Session End Filter - sessendfltr | |||||||
Specifies whether to add a filter on the session_end input from the PHY. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_LSB 24 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_MSB 24 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_SET_MSK 0x01000000 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_CLR_MSK 0xfeffffff | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_GET(value) (((value) & 0x01000000) >> 24) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_SET(value) (((value) << 24) & 0x01000000) | ||||||
Field : Enable Dedicated Transmit FIFO for device IN Endpoints - dedfifomode | |||||||
Specifies whether Dedicated Transmit FIFOs should be enabled in device mode. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_E_END 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_LSB 25 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_MSB 25 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_SET_MSK 0x02000000 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_CLR_MSK 0xfdffffff | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_RESET 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_GET(value) (((value) & 0x02000000) >> 25) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_SET(value) (((value) << 25) & 0x02000000) | ||||||
Field : Number of Device Mode IN Endpoints Including Control - ineps | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Number of Device Mode IN Endpoints Including Control. Field Enumeration Values:
Field Access Macros: | ||||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT1 0x0 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT2 0x1 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT3 0x2 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT4 0x3 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT5 0x4 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT6 0x5 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT7 0x6 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT8 0x7 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT9 0x8 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT10 0x9 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT11 0xa | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT12 0xb | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT13 0xc | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT14 0xd | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT15 0xe | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT16 0xf | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_LSB 26 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_MSB 29 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_WIDTH 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_SET_MSK 0x3c000000 | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_CLR_MSK 0xc3ffffff | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_RESET 0xf | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_GET(value) (((value) & 0x3c000000) >> 26) | |||||||||||||||||||||||||||||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG4_INEPS_SET(value) (((value) << 26) & 0x3c000000) | |||||||||||||||||||||||||||||||||||||||||||||||||||
Field : Scatter Gather DMA configuration - dma_configuration | ||||||||||
Selects bewteen scatter and nonscatter configuration Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_E_NONSCATTER 0x0 | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_E_SCATTER 0x1 | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_LSB 30 | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_MSB 30 | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_WIDTH 1 | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_SET_MSK 0x40000000 | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_CLR_MSK 0xbfffffff | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_RESET 0x1 | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_GET(value) (((value) & 0x40000000) >> 30) | |||||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CFG_SET(value) (((value) << 30) & 0x40000000) | |||||||||
Field : Scatter Gather DMA - dma | |||||||
Enable descriptor based scatter/gather DMA. When enabled, DMA operations will be serviced with descriptor based scatter/gather DMA Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_E_END 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_LSB 31 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_MSB 31 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_SET_MSK 0x80000000 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_CLR_MSK 0x7fffffff | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_RESET 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_GET(value) (((value) & 0x80000000) >> 31) | ||||||
#define | ALT_USB_GLOB_GHWCFG4_DMA_SET(value) (((value) << 31) & 0x80000000) | ||||||
Data Structures | |
struct | ALT_USB_GLOB_GHWCFG4_s |
Macros | |
#define | ALT_USB_GLOB_GHWCFG4_OFST 0x50 |
#define | ALT_USB_GLOB_GHWCFG4_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GHWCFG4_OFST)) |
Typedefs | |
typedef struct ALT_USB_GLOB_GHWCFG4_s | ALT_USB_GLOB_GHWCFG4_t |
struct ALT_USB_GLOB_GHWCFG4_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_GLOB_GHWCFG4.
Data Fields | ||
---|---|---|
const uint32_t | numdevperioeps: 4 | Number of Device Mode Periodic IN Endpoints |
const uint32_t | partialpwrdn: 1 | Enable Partial Power Down |
const uint32_t | ahbfreq: 1 | Minimum AHB Frequency Less Than 60 MHz |
const uint32_t | hibernation: 1 | Enable Hibernation |
uint32_t | __pad0__: 7 | UNDEFINED |
const uint32_t | phydatawidth: 2 | UTMI+ PHY/ULPI-to-Internal UTMI+ Wrapper Data Width |
const uint32_t | numctleps: 4 | Number of Device Mode Control Endpoints in Addition to Endpoint 0 |
const uint32_t | iddgfltr: 1 | Iddig Filter Enable |
const uint32_t | vbusvalidfltr: 1 | Vbus Valid Filter Enabled |
const uint32_t | avalidfltr: 1 | a_valid Filter |
const uint32_t | bvalidfltr: 1 | b_valid Filter |
const uint32_t | sessendfltr: 1 | Session End Filter |
const uint32_t | dedfifomode: 1 | Enable Dedicated Transmit FIFO for device IN Endpoints |
const uint32_t | ineps: 4 | Number of Device Mode IN Endpoints Including Control |
const uint32_t | dma_configuration: 1 | Scatter Gather DMA configuration |
const uint32_t | dma: 1 | Scatter Gather DMA |
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_MSB 3 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_WIDTH 4 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_SET_MSK 0x0000000f |
The mask used to set the ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS register field value.
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_CLR_MSK 0xfffffff0 |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS register field value.
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_GET | ( | value | ) | (((value) & 0x0000000f) >> 0) |
Extracts the ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS field value from a register.
#define ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS_SET | ( | value | ) | (((value) << 0) & 0x0000000f) |
Produces a ALT_USB_GLOB_GHWCFG4_NUMDEVPERIOEPS register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN
Partial Power Down disabled
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_LSB 4 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN register field.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_MSB 4 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN register field.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN register field.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_SET_MSK 0x00000010 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN register field value.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_CLR_MSK 0xffffffef |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN register field value.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN register field.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_GET | ( | value | ) | (((value) & 0x00000010) >> 4) |
Extracts the ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN field value from a register.
#define ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN_SET | ( | value | ) | (((value) << 4) & 0x00000010) |
Produces a ALT_USB_GLOB_GHWCFG4_PARTIALPWRDN register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_E_END 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_AHBFREQ
Minimum AHB Frequency Less Than 60 MH
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_LSB 5 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_AHBFREQ register field.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_MSB 5 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_AHBFREQ register field.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_AHBFREQ register field.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_SET_MSK 0x00000020 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_AHBFREQ register field value.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_CLR_MSK 0xffffffdf |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_AHBFREQ register field value.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_RESET 0x1 |
The reset value of the ALT_USB_GLOB_GHWCFG4_AHBFREQ register field.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_GET | ( | value | ) | (((value) & 0x00000020) >> 5) |
Extracts the ALT_USB_GLOB_GHWCFG4_AHBFREQ field value from a register.
#define ALT_USB_GLOB_GHWCFG4_AHBFREQ_SET | ( | value | ) | (((value) << 5) & 0x00000020) |
Produces a ALT_USB_GLOB_GHWCFG4_AHBFREQ register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_HIBERNATION
Hibernation feature disabled
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_LSB 6 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_HIBERNATION register field.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_MSB 6 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_HIBERNATION register field.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_HIBERNATION register field.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_SET_MSK 0x00000040 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_HIBERNATION register field value.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_CLR_MSK 0xffffffbf |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_HIBERNATION register field value.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_HIBERNATION register field.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_GET | ( | value | ) | (((value) & 0x00000040) >> 6) |
Extracts the ALT_USB_GLOB_GHWCFG4_HIBERNATION field value from a register.
#define ALT_USB_GLOB_GHWCFG4_HIBERNATION_SET | ( | value | ) | (((value) << 6) & 0x00000040) |
Produces a ALT_USB_GLOB_GHWCFG4_HIBERNATION register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_LSB 14 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH register field.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_MSB 15 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH register field.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_WIDTH 2 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH register field.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_SET_MSK 0x0000c000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH register field value.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_CLR_MSK 0xffff3fff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH register field value.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH register field.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_GET | ( | value | ) | (((value) & 0x0000c000) >> 14) |
Extracts the ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH field value from a register.
#define ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH_SET | ( | value | ) | (((value) << 14) & 0x0000c000) |
Produces a ALT_USB_GLOB_GHWCFG4_PHYDATAWIDTH register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT0 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 0
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT1 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 1
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT2 0x2 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 2
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT3 0x3 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 3
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT4 0x4 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 4
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT5 0x5 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 5
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT6 0x6 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 6
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT7 0x7 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 7
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT8 0x8 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 8
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT9 0x9 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 9
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT10 0xa |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 10
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT11 0xb |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 11
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT12 0xc |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 12
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT13 0xd |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 13
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT14 0xe |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 14
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_E_ENDPT15 0xf |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_NUMCTLEPS
End point 15
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_LSB 16 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_NUMCTLEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_MSB 19 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_NUMCTLEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_WIDTH 4 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_NUMCTLEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_SET_MSK 0x000f0000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_NUMCTLEPS register field value.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_CLR_MSK 0xfff0ffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_NUMCTLEPS register field value.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_RESET 0xf |
The reset value of the ALT_USB_GLOB_GHWCFG4_NUMCTLEPS register field.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_GET | ( | value | ) | (((value) & 0x000f0000) >> 16) |
Extracts the ALT_USB_GLOB_GHWCFG4_NUMCTLEPS field value from a register.
#define ALT_USB_GLOB_GHWCFG4_NUMCTLEPS_SET | ( | value | ) | (((value) << 16) & 0x000f0000) |
Produces a ALT_USB_GLOB_GHWCFG4_NUMCTLEPS register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_IDDGFLTR
Iddig Filter Disabled
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_LSB 20 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_IDDGFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_MSB 20 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_IDDGFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_IDDGFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_SET_MSK 0x00100000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_IDDGFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_CLR_MSK 0xffefffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_IDDGFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_IDDGFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_GET | ( | value | ) | (((value) & 0x00100000) >> 20) |
Extracts the ALT_USB_GLOB_GHWCFG4_IDDGFLTR field value from a register.
#define ALT_USB_GLOB_GHWCFG4_IDDGFLTR_SET | ( | value | ) | (((value) << 20) & 0x00100000) |
Produces a ALT_USB_GLOB_GHWCFG4_IDDGFLTR register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR
Vbus Valid Filter Disabled
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_LSB 21 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_MSB 21 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_SET_MSK 0x00200000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_CLR_MSK 0xffdfffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_GET | ( | value | ) | (((value) & 0x00200000) >> 21) |
Extracts the ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR field value from a register.
#define ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR_SET | ( | value | ) | (((value) << 21) & 0x00200000) |
Produces a ALT_USB_GLOB_GHWCFG4_VBUSVALIDFLTR register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_AVALIDFLTR
No filter
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_LSB 22 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_AVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_MSB 22 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_AVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_AVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_SET_MSK 0x00400000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_AVALIDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_CLR_MSK 0xffbfffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_AVALIDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_AVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_GET | ( | value | ) | (((value) & 0x00400000) >> 22) |
Extracts the ALT_USB_GLOB_GHWCFG4_AVALIDFLTR field value from a register.
#define ALT_USB_GLOB_GHWCFG4_AVALIDFLTR_SET | ( | value | ) | (((value) << 22) & 0x00400000) |
Produces a ALT_USB_GLOB_GHWCFG4_AVALIDFLTR register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_BVALIDFLTR
No Filter
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_LSB 23 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_BVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_MSB 23 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_BVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_BVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_SET_MSK 0x00800000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_BVALIDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_CLR_MSK 0xff7fffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_BVALIDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_BVALIDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_GET | ( | value | ) | (((value) & 0x00800000) >> 23) |
Extracts the ALT_USB_GLOB_GHWCFG4_BVALIDFLTR field value from a register.
#define ALT_USB_GLOB_GHWCFG4_BVALIDFLTR_SET | ( | value | ) | (((value) << 23) & 0x00800000) |
Produces a ALT_USB_GLOB_GHWCFG4_BVALIDFLTR register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_SESSENDFLTR
No filter
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_LSB 24 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_SESSENDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_MSB 24 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_SESSENDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_SESSENDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_SET_MSK 0x01000000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_SESSENDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_CLR_MSK 0xfeffffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_SESSENDFLTR register field value.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG4_SESSENDFLTR register field.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_GET | ( | value | ) | (((value) & 0x01000000) >> 24) |
Extracts the ALT_USB_GLOB_GHWCFG4_SESSENDFLTR field value from a register.
#define ALT_USB_GLOB_GHWCFG4_SESSENDFLTR_SET | ( | value | ) | (((value) << 24) & 0x01000000) |
Produces a ALT_USB_GLOB_GHWCFG4_SESSENDFLTR register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_E_END 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD
Dedicated Transmit FIFO Operation enabled
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_LSB 25 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD register field.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_MSB 25 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD register field.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD register field.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_SET_MSK 0x02000000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD register field value.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_CLR_MSK 0xfdffffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD register field value.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_RESET 0x1 |
The reset value of the ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD register field.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_GET | ( | value | ) | (((value) & 0x02000000) >> 25) |
Extracts the ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD field value from a register.
#define ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD_SET | ( | value | ) | (((value) << 25) & 0x02000000) |
Produces a ALT_USB_GLOB_GHWCFG4_DEDFIFOMOD register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT1 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 1
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT2 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 2
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT3 0x2 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 3
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT4 0x3 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 4
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT5 0x4 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 5
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT6 0x5 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 6
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT7 0x6 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 7
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT8 0x7 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 8
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT9 0x8 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 9
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT10 0x9 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 10
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT11 0xa |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 11
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT12 0xb |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 12
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT13 0xc |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 13
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT14 0xd |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 14
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT15 0xe |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 15
#define ALT_USB_GLOB_GHWCFG4_INEPS_E_ENDPT16 0xf |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_INEPS
In Endpoint 16
#define ALT_USB_GLOB_GHWCFG4_INEPS_LSB 26 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_INEPS register field.
#define ALT_USB_GLOB_GHWCFG4_INEPS_MSB 29 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_INEPS register field.
#define ALT_USB_GLOB_GHWCFG4_INEPS_WIDTH 4 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_INEPS register field.
#define ALT_USB_GLOB_GHWCFG4_INEPS_SET_MSK 0x3c000000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_INEPS register field value.
#define ALT_USB_GLOB_GHWCFG4_INEPS_CLR_MSK 0xc3ffffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_INEPS register field value.
#define ALT_USB_GLOB_GHWCFG4_INEPS_RESET 0xf |
The reset value of the ALT_USB_GLOB_GHWCFG4_INEPS register field.
#define ALT_USB_GLOB_GHWCFG4_INEPS_GET | ( | value | ) | (((value) & 0x3c000000) >> 26) |
Extracts the ALT_USB_GLOB_GHWCFG4_INEPS field value from a register.
#define ALT_USB_GLOB_GHWCFG4_INEPS_SET | ( | value | ) | (((value) << 26) & 0x3c000000) |
Produces a ALT_USB_GLOB_GHWCFG4_INEPS register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_E_NONSCATTER 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_DMA_CFG
Non-Scatter/Gather DMA configuration
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_E_SCATTER 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_DMA_CFG
Scatter/Gather DMA configuration
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_LSB 30 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_DMA_CFG register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_MSB 30 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_DMA_CFG register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_DMA_CFG register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_SET_MSK 0x40000000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_DMA_CFG register field value.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_CLR_MSK 0xbfffffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_DMA_CFG register field value.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_RESET 0x1 |
The reset value of the ALT_USB_GLOB_GHWCFG4_DMA_CFG register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_GET | ( | value | ) | (((value) & 0x40000000) >> 30) |
Extracts the ALT_USB_GLOB_GHWCFG4_DMA_CFG field value from a register.
#define ALT_USB_GLOB_GHWCFG4_DMA_CFG_SET | ( | value | ) | (((value) << 30) & 0x40000000) |
Produces a ALT_USB_GLOB_GHWCFG4_DMA_CFG register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_DMA_E_END 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG4_DMA
Dynamic configuration
#define ALT_USB_GLOB_GHWCFG4_DMA_LSB 31 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG4_DMA register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_MSB 31 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG4_DMA register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG4_DMA register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_SET_MSK 0x80000000 |
The mask used to set the ALT_USB_GLOB_GHWCFG4_DMA register field value.
#define ALT_USB_GLOB_GHWCFG4_DMA_CLR_MSK 0x7fffffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG4_DMA register field value.
#define ALT_USB_GLOB_GHWCFG4_DMA_RESET 0x1 |
The reset value of the ALT_USB_GLOB_GHWCFG4_DMA register field.
#define ALT_USB_GLOB_GHWCFG4_DMA_GET | ( | value | ) | (((value) & 0x80000000) >> 31) |
Extracts the ALT_USB_GLOB_GHWCFG4_DMA field value from a register.
#define ALT_USB_GLOB_GHWCFG4_DMA_SET | ( | value | ) | (((value) << 31) & 0x80000000) |
Produces a ALT_USB_GLOB_GHWCFG4_DMA register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG4_OFST 0x50 |
The byte offset of the ALT_USB_GLOB_GHWCFG4 register from the beginning of the component.
#define ALT_USB_GLOB_GHWCFG4_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GHWCFG4_OFST)) |
The address of the ALT_USB_GLOB_GHWCFG4 register.
typedef struct ALT_USB_GLOB_GHWCFG4_s ALT_USB_GLOB_GHWCFG4_t |
The typedef declaration for register ALT_USB_GLOB_GHWCFG4.