![]() |
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 | 0x8 | Width of Transfer Size Counters |
[6:4] | R | 0x6 | Width of Packet Size Counters |
[7] | R | 0x1 | OTG Function Enabled |
[8] | R | 0x0 | I2C Selection |
[9] | R | 0x1 | Vendor Control Interface Suppor |
[10] | R | 0x0 | Optional Features Removed |
[11] | R | 0x0 | Reset Style for Clocked always Blocks in RTL |
[12] | R | 0x0 | OTG ADP Support |
[13] | R | 0x0 | OTG ENABLE HSIC |
[14] | R | 0x0 | OTG BC SUPPORT |
[15] | R | 0x0 | OTG ENABLE LPM |
[31:16] | R | 0x1f80 | DFIFO Depth |
Field : Width of Packet Size Counters - pktsizewidth | |||||||||||||||||||||||||
Field Enumeration Values:
Field Access Macros: | |||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS4 0x0 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS5 0x1 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS6 0x2 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS7 0x3 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS8 0x4 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS9 0x5 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS10 0x6 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_LSB 4 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_MSB 6 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_WIDTH 3 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_SET_MSK 0x00000070 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_CLR_MSK 0xffffff8f | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_RESET 0x6 | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_GET(value) (((value) & 0x00000070) >> 4) | ||||||||||||||||||||||||
#define | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_SET(value) (((value) << 4) & 0x00000070) | ||||||||||||||||||||||||
Field : OTG Function Enabled - otgen | |||||||
HNP and SRP Capable OTG (Device and Host) Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_E_END 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_LSB 7 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_MSB 7 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_SET_MSK 0x00000080 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_CLR_MSK 0xffffff7f | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_RESET 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_GET(value) (((value) & 0x00000080) >> 7) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OTGEN_SET(value) (((value) << 7) & 0x00000080) | ||||||
Field : I2C Selection - i2cintsel | |||||||
I2C Interface not used. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_LSB 8 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_MSB 8 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_SET_MSK 0x00000100 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_CLR_MSK 0xfffffeff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_GET(value) (((value) & 0x00000100) >> 8) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_I2CINTSEL_SET(value) (((value) << 8) & 0x00000100) | ||||||
Field : Vendor Control Interface Suppor - vndctlsupt | |||||||
ULPI PHY internal registers can be accessed by software using register reads/writes to otg Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_E_END 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_LSB 9 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_MSB 9 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_SET_MSK 0x00000200 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_CLR_MSK 0xfffffdff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_RESET 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_GET(value) (((value) & 0x00000200) >> 9) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_SET(value) (((value) << 9) & 0x00000200) | ||||||
Field : Optional Features Removed - optfeature | |||||||
User ID register, GPIO interface ports, and SOF toggle and counter ports were removed. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_LSB 10 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_MSB 10 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_SET_MSK 0x00000400 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_CLR_MSK 0xfffffbff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_GET(value) (((value) & 0x00000400) >> 10) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_OPTFEATURE_SET(value) (((value) << 10) & 0x00000400) | ||||||
Field : Reset Style for Clocked always Blocks in RTL - rsttype | |||||||
Defines what reset type is used in the core. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_E_END 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_LSB 11 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_MSB 11 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_SET_MSK 0x00000800 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_CLR_MSK 0xfffff7ff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_GET(value) (((value) & 0x00000800) >> 11) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_RSTTYPE_SET(value) (((value) << 11) & 0x00000800) | ||||||
Field : OTG ADP Support - adpsupport | |||||||
ADP logic support. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_E_END 0x1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_LSB 12 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_MSB 12 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_SET_MSK 0x00001000 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_CLR_MSK 0xffffefff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_GET(value) (((value) & 0x00001000) >> 12) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_SET(value) (((value) << 12) & 0x00001000) | ||||||
Field : OTG ENABLE HSIC - hsicmode | |||||||
Supports HSIC and Non-HSIC Modes. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_LSB 13 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_MSB 13 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_SET_MSK 0x00002000 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_CLR_MSK 0xffffdfff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_GET(value) (((value) & 0x00002000) >> 13) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_HSICMOD_SET(value) (((value) << 13) & 0x00002000) | ||||||
Field : OTG BC SUPPORT - bcsupport | |||||||
Battery Charger Support. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_LSB 14 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_MSB 14 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_SET_MSK 0x00004000 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_CLR_MSK 0xffffbfff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_GET(value) (((value) & 0x00004000) >> 14) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_BCSUPPORT_SET(value) (((value) << 14) & 0x00004000) | ||||||
Field : OTG ENABLE LPM - lpmmode | |||||||
LPM Mode Enabled/Disabled. Field Enumeration Values:
Field Access Macros: | |||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_E_DISD 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_LSB 15 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_MSB 15 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_WIDTH 1 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_SET_MSK 0x00008000 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_CLR_MSK 0xffff7fff | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_RESET 0x0 | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_GET(value) (((value) & 0x00008000) >> 15) | ||||||
#define | ALT_USB_GLOB_GHWCFG3_LPMMOD_SET(value) (((value) << 15) & 0x00008000) | ||||||
Field : DFIFO Depth - dfifodepth | |
DFIFO Depth. This value is in terms of 35-bit words. Minimum value is 32 Maximum value is 8192 Field Access Macros: | |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_LSB 16 |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_MSB 31 |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_WIDTH 16 |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_SET_MSK 0xffff0000 |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_CLR_MSK 0x0000ffff |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_RESET 0x1f80 |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_GET(value) (((value) & 0xffff0000) >> 16) |
#define | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_SET(value) (((value) << 16) & 0xffff0000) |
Data Structures | |
struct | ALT_USB_GLOB_GHWCFG3_s |
Macros | |
#define | ALT_USB_GLOB_GHWCFG3_OFST 0x4c |
#define | ALT_USB_GLOB_GHWCFG3_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GHWCFG3_OFST)) |
Typedefs | |
typedef struct ALT_USB_GLOB_GHWCFG3_s | ALT_USB_GLOB_GHWCFG3_t |
struct ALT_USB_GLOB_GHWCFG3_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_GHWCFG3.
Data Fields | ||
---|---|---|
const uint32_t | xfersizewidth: 4 | Width of Transfer Size Counters |
const uint32_t | pktsizewidth: 3 | Width of Packet Size Counters |
const uint32_t | otgen: 1 | OTG Function Enabled |
const uint32_t | i2cintsel: 1 | I2C Selection |
const uint32_t | vndctlsupt: 1 | Vendor Control Interface Suppor |
const uint32_t | optfeature: 1 | Optional Features Removed |
const uint32_t | rsttype: 1 | Reset Style for Clocked always Blocks in RTL |
const uint32_t | adpsupport: 1 | OTG ADP Support |
const uint32_t | hsicmode: 1 | OTG ENABLE HSIC |
const uint32_t | bcsupport: 1 | OTG BC SUPPORT |
const uint32_t | lpmmode: 1 | OTG ENABLE LPM |
const uint32_t | dfifodepth: 16 | DFIFO Depth |
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH11 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 11 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH12 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 12 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH13 0x2 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 13 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH14 0x3 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 14 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH15 0x4 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 15 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH16 0x5 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 16 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH17 0x6 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 17 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH18 0x7 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 18 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_E_WIDTH19 0x8 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH
Width of Transfer Size Counter 19 bits
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_MSB 3 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_WIDTH 4 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_SET_MSK 0x0000000f |
The mask used to set the ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH register field value.
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_CLR_MSK 0xfffffff0 |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH register field value.
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_RESET 0x8 |
The reset value of the ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_GET | ( | value | ) | (((value) & 0x0000000f) >> 0) |
Extracts the ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH field value from a register.
#define ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH_SET | ( | value | ) | (((value) << 0) & 0x0000000f) |
Produces a ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS4 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH
Width of Packet Size Counter 4
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS5 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH
Width of Packet Size Counter 5
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS6 0x2 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH
Width of Packet Size Counter 6
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS7 0x3 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH
Width of Packet Size Counter 7
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS8 0x4 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH
Width of Packet Size Counter 8
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS9 0x5 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH
Width of Packet Size Counter 9
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_E_BITS10 0x6 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH
Width of Packet Size Counter 10
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_LSB 4 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_MSB 6 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_WIDTH 3 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_SET_MSK 0x00000070 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH register field value.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_CLR_MSK 0xffffff8f |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH register field value.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_RESET 0x6 |
The reset value of the ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH register field.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_GET | ( | value | ) | (((value) & 0x00000070) >> 4) |
Extracts the ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH field value from a register.
#define ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH_SET | ( | value | ) | (((value) << 4) & 0x00000070) |
Produces a ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_E_END 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_OTGEN
OTG Capable
#define ALT_USB_GLOB_GHWCFG3_OTGEN_LSB 7 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_OTGEN register field.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_MSB 7 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_OTGEN register field.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_OTGEN register field.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_SET_MSK 0x00000080 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_OTGEN register field value.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_CLR_MSK 0xffffff7f |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_OTGEN register field value.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_RESET 0x1 |
The reset value of the ALT_USB_GLOB_GHWCFG3_OTGEN register field.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_GET | ( | value | ) | (((value) & 0x00000080) >> 7) |
Extracts the ALT_USB_GLOB_GHWCFG3_OTGEN field value from a register.
#define ALT_USB_GLOB_GHWCFG3_OTGEN_SET | ( | value | ) | (((value) << 7) & 0x00000080) |
Produces a ALT_USB_GLOB_GHWCFG3_OTGEN register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_I2CINTSEL
I2C Interface
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_LSB 8 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_I2CINTSEL register field.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_MSB 8 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_I2CINTSEL register field.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_I2CINTSEL register field.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_SET_MSK 0x00000100 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_I2CINTSEL register field value.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_CLR_MSK 0xfffffeff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_I2CINTSEL register field value.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG3_I2CINTSEL register field.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_GET | ( | value | ) | (((value) & 0x00000100) >> 8) |
Extracts the ALT_USB_GLOB_GHWCFG3_I2CINTSEL field value from a register.
#define ALT_USB_GLOB_GHWCFG3_I2CINTSEL_SET | ( | value | ) | (((value) << 8) & 0x00000100) |
Produces a ALT_USB_GLOB_GHWCFG3_I2CINTSEL register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_E_END 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT
Vendor Control Interface is not available on the
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_LSB 9 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT register field.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_MSB 9 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT register field.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT register field.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_SET_MSK 0x00000200 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT register field value.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_CLR_MSK 0xfffffdff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT register field value.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_RESET 0x1 |
The reset value of the ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT register field.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_GET | ( | value | ) | (((value) & 0x00000200) >> 9) |
Extracts the ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT field value from a register.
#define ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT_SET | ( | value | ) | (((value) << 9) & 0x00000200) |
Produces a ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_OPTFEATURE
No Optional features
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_LSB 10 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_OPTFEATURE register field.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_MSB 10 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_OPTFEATURE register field.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_OPTFEATURE register field.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_SET_MSK 0x00000400 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_OPTFEATURE register field value.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_CLR_MSK 0xfffffbff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_OPTFEATURE register field value.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG3_OPTFEATURE register field.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_GET | ( | value | ) | (((value) & 0x00000400) >> 10) |
Extracts the ALT_USB_GLOB_GHWCFG3_OPTFEATURE field value from a register.
#define ALT_USB_GLOB_GHWCFG3_OPTFEATURE_SET | ( | value | ) | (((value) << 10) & 0x00000400) |
Produces a ALT_USB_GLOB_GHWCFG3_OPTFEATURE register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_E_END 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_RSTTYPE
Asynchronous reset is used in the core
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_LSB 11 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_RSTTYPE register field.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_MSB 11 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_RSTTYPE register field.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_RSTTYPE register field.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_SET_MSK 0x00000800 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_RSTTYPE register field value.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_CLR_MSK 0xfffff7ff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_RSTTYPE register field value.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG3_RSTTYPE register field.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_GET | ( | value | ) | (((value) & 0x00000800) >> 11) |
Extracts the ALT_USB_GLOB_GHWCFG3_RSTTYPE field value from a register.
#define ALT_USB_GLOB_GHWCFG3_RSTTYPE_SET | ( | value | ) | (((value) << 11) & 0x00000800) |
Produces a ALT_USB_GLOB_GHWCFG3_RSTTYPE register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_E_END 0x1 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_ADPSUPPORT
ADP logic is present along with HSOTG controller
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_LSB 12 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_ADPSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_MSB 12 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_ADPSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_ADPSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_SET_MSK 0x00001000 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_ADPSUPPORT register field value.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_CLR_MSK 0xffffefff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_ADPSUPPORT register field value.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG3_ADPSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_GET | ( | value | ) | (((value) & 0x00001000) >> 12) |
Extracts the ALT_USB_GLOB_GHWCFG3_ADPSUPPORT field value from a register.
#define ALT_USB_GLOB_GHWCFG3_ADPSUPPORT_SET | ( | value | ) | (((value) << 12) & 0x00001000) |
Produces a ALT_USB_GLOB_GHWCFG3_ADPSUPPORT register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_HSICMOD
Non-HSIC-capable
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_LSB 13 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_HSICMOD register field.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_MSB 13 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_HSICMOD register field.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_HSICMOD register field.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_SET_MSK 0x00002000 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_HSICMOD register field value.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_CLR_MSK 0xffffdfff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_HSICMOD register field value.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG3_HSICMOD register field.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_GET | ( | value | ) | (((value) & 0x00002000) >> 13) |
Extracts the ALT_USB_GLOB_GHWCFG3_HSICMOD field value from a register.
#define ALT_USB_GLOB_GHWCFG3_HSICMOD_SET | ( | value | ) | (((value) << 13) & 0x00002000) |
Produces a ALT_USB_GLOB_GHWCFG3_HSICMOD register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_BCSUPPORT
No Battery Charger Support
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_LSB 14 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_BCSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_MSB 14 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_BCSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_BCSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_SET_MSK 0x00004000 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_BCSUPPORT register field value.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_CLR_MSK 0xffffbfff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_BCSUPPORT register field value.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG3_BCSUPPORT register field.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_GET | ( | value | ) | (((value) & 0x00004000) >> 14) |
Extracts the ALT_USB_GLOB_GHWCFG3_BCSUPPORT field value from a register.
#define ALT_USB_GLOB_GHWCFG3_BCSUPPORT_SET | ( | value | ) | (((value) << 14) & 0x00004000) |
Produces a ALT_USB_GLOB_GHWCFG3_BCSUPPORT register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_E_DISD 0x0 |
Enumerated value for register field ALT_USB_GLOB_GHWCFG3_LPMMOD
LPM disabled
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_LSB 15 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_LPMMOD register field.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_MSB 15 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_LPMMOD register field.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_WIDTH 1 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_LPMMOD register field.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_SET_MSK 0x00008000 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_LPMMOD register field value.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_CLR_MSK 0xffff7fff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_LPMMOD register field value.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_RESET 0x0 |
The reset value of the ALT_USB_GLOB_GHWCFG3_LPMMOD register field.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_GET | ( | value | ) | (((value) & 0x00008000) >> 15) |
Extracts the ALT_USB_GLOB_GHWCFG3_LPMMOD field value from a register.
#define ALT_USB_GLOB_GHWCFG3_LPMMOD_SET | ( | value | ) | (((value) << 15) & 0x00008000) |
Produces a ALT_USB_GLOB_GHWCFG3_LPMMOD register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_LSB 16 |
The Least Significant Bit (LSB) position of the ALT_USB_GLOB_GHWCFG3_DFIFODEPTH register field.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_MSB 31 |
The Most Significant Bit (MSB) position of the ALT_USB_GLOB_GHWCFG3_DFIFODEPTH register field.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_WIDTH 16 |
The width in bits of the ALT_USB_GLOB_GHWCFG3_DFIFODEPTH register field.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_SET_MSK 0xffff0000 |
The mask used to set the ALT_USB_GLOB_GHWCFG3_DFIFODEPTH register field value.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_CLR_MSK 0x0000ffff |
The mask used to clear the ALT_USB_GLOB_GHWCFG3_DFIFODEPTH register field value.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_RESET 0x1f80 |
The reset value of the ALT_USB_GLOB_GHWCFG3_DFIFODEPTH register field.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_GET | ( | value | ) | (((value) & 0xffff0000) >> 16) |
Extracts the ALT_USB_GLOB_GHWCFG3_DFIFODEPTH field value from a register.
#define ALT_USB_GLOB_GHWCFG3_DFIFODEPTH_SET | ( | value | ) | (((value) << 16) & 0xffff0000) |
Produces a ALT_USB_GLOB_GHWCFG3_DFIFODEPTH register field value suitable for setting the register.
#define ALT_USB_GLOB_GHWCFG3_OFST 0x4c |
The byte offset of the ALT_USB_GLOB_GHWCFG3 register from the beginning of the component.
#define ALT_USB_GLOB_GHWCFG3_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GHWCFG3_OFST)) |
The address of the ALT_USB_GLOB_GHWCFG3 register.
typedef struct ALT_USB_GLOB_GHWCFG3_s ALT_USB_GLOB_GHWCFG3_t |
The typedef declaration for register ALT_USB_GLOB_GHWCFG3.