![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Thresholding is not supported in Slave mode and so this register must not be programmed in Slave mode. for threshold support, the AHB must be run at 60 MHz or higher.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[0] | RW | 0x0 | Non-ISO IN Endpoints Threshold Enable |
[1] | RW | 0x0 | ISO IN Endpoints Threshold Enable |
[10:2] | RW | 0x8 | Transmit Threshold |
[12:11] | RW | 0x0 | AHB Threshold Ratio |
[15:13] | ??? | 0x0 | UNDEFINED |
[16] | RW | 0x0 | Receive Threshold Enable |
[25:17] | RW | 0x8 | Receive Threshold Length |
[26] | ??? | 0x0 | UNDEFINED |
[27] | RW | 0x1 | Arbiter Parking Enable |
[31:28] | ??? | 0x0 | UNDEFINED |
Field : Non-ISO IN Endpoints Threshold Enable - nonisothren | ||||||||||
When this bit is Set, the core enables thresholding for Non Isochronous IN endpoints. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_E_DISD 0x0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_E_END 0x1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_LSB 0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_MSB 0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_SET_MSK 0x00000001 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_CLR_MSK 0xfffffffe | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_GET(value) (((value) & 0x00000001) >> 0) | |||||||||
#define | ALT_USB_DEV_DTHRCTL_NONISOTHREN_SET(value) (((value) << 0) & 0x00000001) | |||||||||
Field : ISO IN Endpoints Threshold Enable - isothren | ||||||||||
When this bit is Set, the core enables thresholding for isochronous IN endpoints. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_E_DISD 0x0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_E_END 0x1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_LSB 1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_MSB 1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_SET_MSK 0x00000002 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_CLR_MSK 0xfffffffd | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_GET(value) (((value) & 0x00000002) >> 1) | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ISOTHREN_SET(value) (((value) << 1) & 0x00000002) | |||||||||
Field : Transmit Threshold - txthrlen | |
This field specifies Transmit thresholding size in DWORDS. This also forms the MAC threshold and specifies the amount of data in bytes to be in the corresponding endpoint transmit FIFO, before the core can start transmit on the USB. The threshold length has to be at least eight DWORDS when the value of AHBThrRatio is 0. In case the AHBThrRatio is non zero the application needs to ensure that the AHB Threshold value does not go below the recommended eight DWORD. This field controls both isochronous and non-isochronous IN endpoint thresholds. The recommended value for ThrLen is to be the same as the programmed AHB Burst Length (GAHBCFG.HBstLen). Field Access Macros: | |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_LSB 2 |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_MSB 10 |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_WIDTH 9 |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_SET_MSK 0x000007fc |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_CLR_MSK 0xfffff803 |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_RESET 0x8 |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_GET(value) (((value) & 0x000007fc) >> 2) |
#define | ALT_USB_DEV_DTHRCTL_TXTHRLEN_SET(value) (((value) << 2) & 0x000007fc) |
Field : AHB Threshold Ratio - ahbthrratio | ||||||||||||||||
These bits define the ratio between the AHB threshold and the MAC threshold for the transmit path only. The AHB threshold always remains less than or equal to the USB threshold, because this does not increase overhead. Both the AHB and the MAC threshold must be DWORD-aligned. The application needs to program TxThrLen and the AHBThrRatio to make the AHB Threshold value DWORD aligned. If the AHB threshold value is not DWORD aligned, the core might not behave correctly. When programming the TxThrLen and AHBThrRatio, the application must ensure that the minimum AHB threshold value does not go below 8 DWORDS to meet the USB turnaround time requirements. Field Enumeration Values:
Field Access Macros: | ||||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESZERO 0x0 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESONE 0x1 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESTWO 0x2 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESTHREE 0x3 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_LSB 11 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_MSB 12 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_WIDTH 2 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_SET_MSK 0x00001800 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_CLR_MSK 0xffffe7ff | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_RESET 0x0 | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_GET(value) (((value) & 0x00001800) >> 11) | |||||||||||||||
#define | ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_SET(value) (((value) << 11) & 0x00001800) | |||||||||||||||
Field : Receive Threshold Enable - rxthren | ||||||||||
When this bit is Set, the core enables thresholding in the receive direction. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_E_DISD 0x0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_E_END 0x1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_LSB 16 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_MSB 16 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_SET_MSK 0x00010000 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_CLR_MSK 0xfffeffff | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_RESET 0x0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_GET(value) (((value) & 0x00010000) >> 16) | |||||||||
#define | ALT_USB_DEV_DTHRCTL_RXTHREN_SET(value) (((value) << 16) & 0x00010000) | |||||||||
Field : Receive Threshold Length - rxthrlen | |
This field specifies Receive thresholding size in DWORDS.This field also specifies the amount of data received on the USB before the core can start transmitting on the AHB. The threshold length has to be at least eight DWORDS. The recommended value for ThrLen is to be the same as the programmed AHB Burst Length (GAHBCFG.HBstLen). Field Access Macros: | |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_LSB 17 |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_MSB 25 |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_WIDTH 9 |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_SET_MSK 0x03fe0000 |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_CLR_MSK 0xfc01ffff |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_RESET 0x8 |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_GET(value) (((value) & 0x03fe0000) >> 17) |
#define | ALT_USB_DEV_DTHRCTL_RXTHRLEN_SET(value) (((value) << 17) & 0x03fe0000) |
Field : Arbiter Parking Enable - arbprken | ||||||||||
This bit controls internal DMA arbiter parking for IN endpoints. When thresholding is enabled and this bit is Set to one, Then the arbiter parks on the IN endpoint for which there is a token received on the USB. This is done to avoid getting into underrun conditions. By Default the parking is enabled. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_E_DISD 0x0 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_E_END 0x1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_LSB 27 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_MSB 27 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_WIDTH 1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_SET_MSK 0x08000000 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_CLR_MSK 0xf7ffffff | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_RESET 0x1 | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_GET(value) (((value) & 0x08000000) >> 27) | |||||||||
#define | ALT_USB_DEV_DTHRCTL_ARBPRKEN_SET(value) (((value) << 27) & 0x08000000) | |||||||||
Data Structures | |
struct | ALT_USB_DEV_DTHRCTL_s |
Macros | |
#define | ALT_USB_DEV_DTHRCTL_OFST 0x30 |
#define | ALT_USB_DEV_DTHRCTL_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DTHRCTL_OFST)) |
Typedefs | |
typedef struct ALT_USB_DEV_DTHRCTL_s | ALT_USB_DEV_DTHRCTL_t |
struct ALT_USB_DEV_DTHRCTL_s |
WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.
The struct declaration for register ALT_USB_DEV_DTHRCTL.
Data Fields | ||
---|---|---|
uint32_t | nonisothren: 1 | Non-ISO IN Endpoints Threshold Enable |
uint32_t | isothren: 1 | ISO IN Endpoints Threshold Enable |
uint32_t | txthrlen: 9 | Transmit Threshold |
uint32_t | ahbthrratio: 2 | AHB Threshold Ratio |
uint32_t | __pad0__: 3 | UNDEFINED |
uint32_t | rxthren: 1 | Receive Threshold Enable |
uint32_t | rxthrlen: 9 | Receive Threshold Length |
uint32_t | __pad1__: 1 | UNDEFINED |
uint32_t | arbprken: 1 | Arbiter Parking Enable |
uint32_t | __pad2__: 4 | UNDEFINED |
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_E_DISD 0x0 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_NONISOTHREN
No thresholding
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_E_END 0x1 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_NONISOTHREN
Enable thresholding
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DTHRCTL_NONISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_MSB 0 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DTHRCTL_NONISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DTHRCTL_NONISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_SET_MSK 0x00000001 |
The mask used to set the ALT_USB_DEV_DTHRCTL_NONISOTHREN register field value.
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_CLR_MSK 0xfffffffe |
The mask used to clear the ALT_USB_DEV_DTHRCTL_NONISOTHREN register field value.
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_RESET 0x0 |
The reset value of the ALT_USB_DEV_DTHRCTL_NONISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_GET | ( | value | ) | (((value) & 0x00000001) >> 0) |
Extracts the ALT_USB_DEV_DTHRCTL_NONISOTHREN field value from a register.
#define ALT_USB_DEV_DTHRCTL_NONISOTHREN_SET | ( | value | ) | (((value) << 0) & 0x00000001) |
Produces a ALT_USB_DEV_DTHRCTL_NONISOTHREN register field value suitable for setting the register.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_E_DISD 0x0 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_ISOTHREN
No thresholding
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_E_END 0x1 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_ISOTHREN
Enables thresholding
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_LSB 1 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DTHRCTL_ISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_MSB 1 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DTHRCTL_ISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DTHRCTL_ISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_SET_MSK 0x00000002 |
The mask used to set the ALT_USB_DEV_DTHRCTL_ISOTHREN register field value.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_CLR_MSK 0xfffffffd |
The mask used to clear the ALT_USB_DEV_DTHRCTL_ISOTHREN register field value.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_RESET 0x0 |
The reset value of the ALT_USB_DEV_DTHRCTL_ISOTHREN register field.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_GET | ( | value | ) | (((value) & 0x00000002) >> 1) |
Extracts the ALT_USB_DEV_DTHRCTL_ISOTHREN field value from a register.
#define ALT_USB_DEV_DTHRCTL_ISOTHREN_SET | ( | value | ) | (((value) << 1) & 0x00000002) |
Produces a ALT_USB_DEV_DTHRCTL_ISOTHREN register field value suitable for setting the register.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_LSB 2 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DTHRCTL_TXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_MSB 10 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DTHRCTL_TXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_WIDTH 9 |
The width in bits of the ALT_USB_DEV_DTHRCTL_TXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_SET_MSK 0x000007fc |
The mask used to set the ALT_USB_DEV_DTHRCTL_TXTHRLEN register field value.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_CLR_MSK 0xfffff803 |
The mask used to clear the ALT_USB_DEV_DTHRCTL_TXTHRLEN register field value.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_RESET 0x8 |
The reset value of the ALT_USB_DEV_DTHRCTL_TXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_GET | ( | value | ) | (((value) & 0x000007fc) >> 2) |
Extracts the ALT_USB_DEV_DTHRCTL_TXTHRLEN field value from a register.
#define ALT_USB_DEV_DTHRCTL_TXTHRLEN_SET | ( | value | ) | (((value) << 2) & 0x000007fc) |
Produces a ALT_USB_DEV_DTHRCTL_TXTHRLEN register field value suitable for setting the register.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESZERO 0x0 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_AHBTHRRATIO
AHB threshold = MAC threshold
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESONE 0x1 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_AHBTHRRATIO
AHB threshold = MAC threshold /2
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESTWO 0x2 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_AHBTHRRATIO
AHB threshold = MAC threshold /4
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_E_THRESTHREE 0x3 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_AHBTHRRATIO
AHB threshold = MAC threshold /
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_LSB 11 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DTHRCTL_AHBTHRRATIO register field.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_MSB 12 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DTHRCTL_AHBTHRRATIO register field.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_WIDTH 2 |
The width in bits of the ALT_USB_DEV_DTHRCTL_AHBTHRRATIO register field.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_SET_MSK 0x00001800 |
The mask used to set the ALT_USB_DEV_DTHRCTL_AHBTHRRATIO register field value.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_CLR_MSK 0xffffe7ff |
The mask used to clear the ALT_USB_DEV_DTHRCTL_AHBTHRRATIO register field value.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_RESET 0x0 |
The reset value of the ALT_USB_DEV_DTHRCTL_AHBTHRRATIO register field.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_GET | ( | value | ) | (((value) & 0x00001800) >> 11) |
Extracts the ALT_USB_DEV_DTHRCTL_AHBTHRRATIO field value from a register.
#define ALT_USB_DEV_DTHRCTL_AHBTHRRATIO_SET | ( | value | ) | (((value) << 11) & 0x00001800) |
Produces a ALT_USB_DEV_DTHRCTL_AHBTHRRATIO register field value suitable for setting the register.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_E_DISD 0x0 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_RXTHREN
Disable thresholding
#define ALT_USB_DEV_DTHRCTL_RXTHREN_E_END 0x1 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_RXTHREN
Enable thresholding in the receive direction
#define ALT_USB_DEV_DTHRCTL_RXTHREN_LSB 16 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DTHRCTL_RXTHREN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_MSB 16 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DTHRCTL_RXTHREN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DTHRCTL_RXTHREN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_SET_MSK 0x00010000 |
The mask used to set the ALT_USB_DEV_DTHRCTL_RXTHREN register field value.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_CLR_MSK 0xfffeffff |
The mask used to clear the ALT_USB_DEV_DTHRCTL_RXTHREN register field value.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_RESET 0x0 |
The reset value of the ALT_USB_DEV_DTHRCTL_RXTHREN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_GET | ( | value | ) | (((value) & 0x00010000) >> 16) |
Extracts the ALT_USB_DEV_DTHRCTL_RXTHREN field value from a register.
#define ALT_USB_DEV_DTHRCTL_RXTHREN_SET | ( | value | ) | (((value) << 16) & 0x00010000) |
Produces a ALT_USB_DEV_DTHRCTL_RXTHREN register field value suitable for setting the register.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_LSB 17 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DTHRCTL_RXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_MSB 25 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DTHRCTL_RXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_WIDTH 9 |
The width in bits of the ALT_USB_DEV_DTHRCTL_RXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_SET_MSK 0x03fe0000 |
The mask used to set the ALT_USB_DEV_DTHRCTL_RXTHRLEN register field value.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_CLR_MSK 0xfc01ffff |
The mask used to clear the ALT_USB_DEV_DTHRCTL_RXTHRLEN register field value.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_RESET 0x8 |
The reset value of the ALT_USB_DEV_DTHRCTL_RXTHRLEN register field.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_GET | ( | value | ) | (((value) & 0x03fe0000) >> 17) |
Extracts the ALT_USB_DEV_DTHRCTL_RXTHRLEN field value from a register.
#define ALT_USB_DEV_DTHRCTL_RXTHRLEN_SET | ( | value | ) | (((value) << 17) & 0x03fe0000) |
Produces a ALT_USB_DEV_DTHRCTL_RXTHRLEN register field value suitable for setting the register.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_E_DISD 0x0 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_ARBPRKEN
Disable DMA arbiter parking
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_E_END 0x1 |
Enumerated value for register field ALT_USB_DEV_DTHRCTL_ARBPRKEN
Enable DMA arbiter parking for IN endpoints
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_LSB 27 |
The Least Significant Bit (LSB) position of the ALT_USB_DEV_DTHRCTL_ARBPRKEN register field.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_MSB 27 |
The Most Significant Bit (MSB) position of the ALT_USB_DEV_DTHRCTL_ARBPRKEN register field.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_WIDTH 1 |
The width in bits of the ALT_USB_DEV_DTHRCTL_ARBPRKEN register field.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_SET_MSK 0x08000000 |
The mask used to set the ALT_USB_DEV_DTHRCTL_ARBPRKEN register field value.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_CLR_MSK 0xf7ffffff |
The mask used to clear the ALT_USB_DEV_DTHRCTL_ARBPRKEN register field value.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_RESET 0x1 |
The reset value of the ALT_USB_DEV_DTHRCTL_ARBPRKEN register field.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_GET | ( | value | ) | (((value) & 0x08000000) >> 27) |
Extracts the ALT_USB_DEV_DTHRCTL_ARBPRKEN field value from a register.
#define ALT_USB_DEV_DTHRCTL_ARBPRKEN_SET | ( | value | ) | (((value) << 27) & 0x08000000) |
Produces a ALT_USB_DEV_DTHRCTL_ARBPRKEN register field value suitable for setting the register.
#define ALT_USB_DEV_DTHRCTL_OFST 0x30 |
The byte offset of the ALT_USB_DEV_DTHRCTL register from the beginning of the component.
#define ALT_USB_DEV_DTHRCTL_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_DEV_DTHRCTL_OFST)) |
The address of the ALT_USB_DEV_DTHRCTL register.
typedef struct ALT_USB_DEV_DTHRCTL_s ALT_USB_DEV_DTHRCTL_t |
The typedef declaration for register ALT_USB_DEV_DTHRCTL.