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

Description

This register controls the mapping of AXI4 QOS received from the FPGA fabric to the internal priority used for traffic prioritization.

Register Layout

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

Field : Low Priority QoS Value - lowpriorityval

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_QOSLOWPRI_LOWPRIORITYVAL_LSB   0
 
#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_MSB   19
 
#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_WIDTH   20
 
#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_SET_MSK   0x000fffff
 
#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_CLR_MSK   0xfff00000
 
#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_RESET   0x0
 
#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_GET(value)   (((value) & 0x000fffff) >> 0)
 
#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_SET(value)   (((value) << 0) & 0x000fffff)
 

Data Structures

struct  ALT_SDR_CTL_QOSLOWPRI_s
 

Macros

#define ALT_SDR_CTL_QOSLOWPRI_OFST   0xa0
 

Typedefs

typedef struct
ALT_SDR_CTL_QOSLOWPRI_s 
ALT_SDR_CTL_QOSLOWPRI_t
 

Data Structure Documentation

struct ALT_SDR_CTL_QOSLOWPRI_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_QOSLOWPRI.

Data Fields
uint32_t lowpriorityval: 20 Low Priority QoS Value
uint32_t __pad0__: 12 UNDEFINED

Macro Definitions

#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_LSB   0

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

#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_MSB   19

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

#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_WIDTH   20

The width in bits of the ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL register field.

#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_SET_MSK   0x000fffff

The mask used to set the ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL register field value.

#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_CLR_MSK   0xfff00000

The mask used to clear the ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL register field value.

#define ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL_RESET   0x0

The reset value of the ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL register field is UNKNOWN.

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

Extracts the ALT_SDR_CTL_QOSLOWPRI_LOWPRIORITYVAL field value from a register.

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

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

#define ALT_SDR_CTL_QOSLOWPRI_OFST   0xa0

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

Typedef Documentation

The typedef declaration for register ALT_SDR_CTL_QOSLOWPRI.