![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
User HW Config3 Register
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[3:0] | R | 0x8 | ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH |
[6:4] | R | 0x6 | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH |
[7] | R | 0x1 | ALT_USB_GLOB_GHWCFG3_OTGEN |
[8] | R | 0x0 | ALT_USB_GLOB_GHWCFG3_I2CINTSEL |
[9] | R | 0x1 | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT |
[10] | R | 0x0 | ALT_USB_GLOB_GHWCFG3_OPTFEATURE |
[11] | R | 0x0 | ALT_USB_GLOB_GHWCFG3_RSTTYPE |
[12] | R | 0x0 | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT |
[13] | R | 0x0 | ALT_USB_GLOB_GHWCFG3_HSICMOD |
[14] | R | 0x0 | ALT_USB_GLOB_GHWCFG3_BCSUPPORT |
[15] | R | 0x0 | ALT_USB_GLOB_GHWCFG3_LPMMOD |
[31:16] | R | 0x1f80 | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH |
Field : pktsizewidth | |||||||||||||||||||||||||
Width of Packet Size Counters (PktSizeWidth) 3'b000: 4 bits 3'b001: 5 bits 3'b010: 6 bits 3'b011: 7 bits 3'b100: 8 bits 3'b101: 9 bits 3'b110: 10 bits Others: Reserved 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 : otgen | |||||||
OTG Function Enabled (OtgEn) The application uses this bit to indicate the DWC_otg core's OTG capabilities. 1'b0: Not OTG capable 1'b1: OTG Capable 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 : i2cintsel | |||||||
I2C Selection (I2CIntSel) 1'b0: I2C Interface is not available on the core. 1'b1: I2C Interface is available on the core. 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 : vndctlsupt | |||||||
Vendor Control Interface Support (VndctlSupt) 1'b0: Vendor Control Interface is not available on the core. 1'b1: Vendor Control Interface is available. 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 : optfeature | |||||||
Optional Features Removed (OptFeature) Indicates whether the User ID register, GPIO interface ports, and SOF toggle and counter ports were removed For gate count optimization by enabling Remove Optional Features. 1'b0: No 1'b1: Yes 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 : rsttype | |||||||
Reset Style For Clocked always Blocks in RTL (RstType) 1'b0: Asynchronous reset is used in the core 1'b1: Synchronous reset 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 : adpsupport | |||||||
This bit indicates whether ADP logic is present within or external to the HS OTG controller 0: No ADP logic present with HSOTG controller 1: ADP logic is present along with HSOTG controller. 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 : hsicmode | |||||||
HSIC mode specified for Mode of Operation Value Range: 0 - 1 1: HSIC-capable with shared UTMI PHY interface 0: Non-HSIC-capable 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 : bcsupport | |||||||
This bit indicates the HS OTG controller support for Battery Charger. 0 - No Battery Charger Support 1 - Battery Charger support present. 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 : lpmmode | |||||||
LPM mode specified for Mode of Operation. 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 : dfifodepth | |
DFIFO Depth (DfifoDepth - EP_LOC_CNT) This value is in terms of 32-bit words. Minimum value is 32 Maximum value is 32,768 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_RESET 0x1f8002e8 |
#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 | ALT_USB_GLOB_GHWCFG3_XFERSIZEWIDTH |
const uint32_t | pktsizewidth: 3 | ALT_USB_GLOB_GHWCFG3_PKTSIZEWIDTH |
const uint32_t | otgen: 1 | ALT_USB_GLOB_GHWCFG3_OTGEN |
const uint32_t | i2cintsel: 1 | ALT_USB_GLOB_GHWCFG3_I2CINTSEL |
const uint32_t | vndctlsupt: 1 | ALT_USB_GLOB_GHWCFG3_VNDCTLSUPT |
const uint32_t | optfeature: 1 | ALT_USB_GLOB_GHWCFG3_OPTFEATURE |
const uint32_t | rsttype: 1 | ALT_USB_GLOB_GHWCFG3_RSTTYPE |
const uint32_t | adpsupport: 1 | ALT_USB_GLOB_GHWCFG3_ADPSUPPORT |
const uint32_t | hsicmode: 1 | ALT_USB_GLOB_GHWCFG3_HSICMOD |
const uint32_t | bcsupport: 1 | ALT_USB_GLOB_GHWCFG3_BCSUPPORT |
const uint32_t | lpmmode: 1 | ALT_USB_GLOB_GHWCFG3_LPMMOD |
const uint32_t | dfifodepth: 16 | ALT_USB_GLOB_GHWCFG3_DFIFODEPTH |
#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_RESET 0x1f8002e8 |
The reset value of the ALT_USB_GLOB_GHWCFG3 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.