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

Description

Register Layout

Bits Access Reset Description
[19:0] RW Unknown High Priority QoS Value
[31:20] ??? 0x0 UNDEFINED

Field : High Priority QoS Value - highpriorityval

This 20 bit field is a 2 bit field for each of the 10 ports. The field used for each port in this register controls the priority used for a port

Field Access Macros:

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_LSB   0
 
#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_MSB   19
 
#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_WIDTH   20
 
#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_SET_MSK   0x000fffff
 
#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_CLR_MSK   0xfff00000
 
#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_RESET   0x0
 
#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_GET(value)   (((value) & 0x000fffff) >> 0)
 
#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_SET(value)   (((value) << 0) & 0x000fffff)
 

Data Structures

struct  ALT_SDR_CTL_QOSHIGHPRI_s
 

Macros

#define ALT_SDR_CTL_QOSHIGHPRI_OFST   0xa4
 

Typedefs

typedef struct
ALT_SDR_CTL_QOSHIGHPRI_s 
ALT_SDR_CTL_QOSHIGHPRI_t
 

Data Structure Documentation

struct ALT_SDR_CTL_QOSHIGHPRI_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_QOSHIGHPRI.

Data Fields
uint32_t highpriorityval: 20 High Priority QoS Value
uint32_t __pad0__: 12 UNDEFINED

Macro Definitions

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_LSB   0

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

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_MSB   19

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

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_WIDTH   20

The width in bits of the ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL register field.

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_SET_MSK   0x000fffff

The mask used to set the ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL register field value.

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_CLR_MSK   0xfff00000

The mask used to clear the ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL register field value.

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_RESET   0x0

The reset value of the ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL register field is UNKNOWN.

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_GET (   value)    (((value) & 0x000fffff) >> 0)

Extracts the ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL field value from a register.

#define ALT_SDR_CTL_QOSHIGHPRI_HIGHPRIORITYVAL_SET (   value)    (((value) << 0) & 0x000fffff)

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

#define ALT_SDR_CTL_QOSHIGHPRI_OFST   0xa4

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

Typedef Documentation

The typedef declaration for register ALT_SDR_CTL_QOSHIGHPRI.