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

Description

Register Layout

Bits Access Reset Description
[9:0] RW Unknown Per-Port QoS Enable
[31:10] ??? 0x0 UNDEFINED

Field : Per-Port QoS Enable - priorityen

This 10 bit field is set to a one to enable QOS usage for a port.

Field Access Macros:

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_LSB   0
 
#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_MSB   9
 
#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_WIDTH   10
 
#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_SET_MSK   0x000003ff
 
#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_CLR_MSK   0xfffffc00
 
#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_RESET   0x0
 
#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_GET(value)   (((value) & 0x000003ff) >> 0)
 
#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_SET(value)   (((value) << 0) & 0x000003ff)
 

Data Structures

struct  ALT_SDR_CTL_QOSPRIORITYEN_s
 

Macros

#define ALT_SDR_CTL_QOSPRIORITYEN_OFST   0xa8
 

Typedefs

typedef struct
ALT_SDR_CTL_QOSPRIORITYEN_s 
ALT_SDR_CTL_QOSPRIORITYEN_t
 

Data Structure Documentation

struct ALT_SDR_CTL_QOSPRIORITYEN_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_SDR_CTL_QOSPRIORITYEN.

Data Fields
uint32_t priorityen: 10 Per-Port QoS Enable
uint32_t __pad0__: 22 UNDEFINED

Macro Definitions

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_LSB   0

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

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_MSB   9

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

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_WIDTH   10

The width in bits of the ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN register field.

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_SET_MSK   0x000003ff

The mask used to set the ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN register field value.

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_CLR_MSK   0xfffffc00

The mask used to clear the ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN register field value.

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_RESET   0x0

The reset value of the ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN register field is UNKNOWN.

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_GET (   value)    (((value) & 0x000003ff) >> 0)

Extracts the ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN field value from a register.

#define ALT_SDR_CTL_QOSPRIORITYEN_PRIORITYEN_SET (   value)    (((value) << 0) & 0x000003ff)

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

#define ALT_SDR_CTL_QOSPRIORITYEN_OFST   0xa8

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

Typedef Documentation

The typedef declaration for register ALT_SDR_CTL_QOSPRIORITYEN.