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

Description

Register Layout

Bits Access Reset Description
[10:0] RW 0x100 ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH
[31:11] ??? Unknown UNDEFINED

Field : BANDWIDTH

In Bandwidth Limiter or Bandwidth Regulator mode, the bandwidth threshold in units of 1/256th bytes per cycle. For example, 80 MBps on a 250 MHz interface is value 0x0052.

Field Access Macros:

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_LSB   0
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_MSB   10
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_WIDTH   11
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_SET_MSK   0x000007ff
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_CLR_MSK   0xfffff800
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_RESET   0x100
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_GET(value)   (((value) & 0x000007ff) >> 0)
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_SET(value)   (((value) << 0) & 0x000007ff)
 

Data Structures

struct  ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_s
 

Macros

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_RESET   0x00000100
 
#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_OFST   0x10
 

Typedefs

typedef struct
ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_s 
ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_t
 

Data Structure Documentation

struct ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_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_NOC_MPU_USB1_M_MAIN_QOS_BWDTH.

Data Fields
uint32_t BANDWIDTH: 11 ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH
uint32_t __pad0__: 21 UNDEFINED

Macro Definitions

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_LSB   0

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

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_MSB   10

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

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_WIDTH   11

The width in bits of the ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH register field.

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_SET_MSK   0x000007ff

The mask used to set the ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH register field value.

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_CLR_MSK   0xfffff800

The mask used to clear the ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH register field value.

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_RESET   0x100

The reset value of the ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH register field.

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_GET (   value)    (((value) & 0x000007ff) >> 0)

Extracts the ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH field value from a register.

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_BANDWIDTH_SET (   value)    (((value) << 0) & 0x000007ff)

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

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_RESET   0x00000100

The reset value of the ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH register.

#define ALT_NOC_MPU_USB1_M_MAIN_QOS_BWDTH_OFST   0x10

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

Typedef Documentation