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

Description

This register is used to configure the DRAM burst operation scheduling.

Register Layout

Bits Access Reset Description
[29:0] RW Unknown Port User Priorities
[31:30] ??? 0x0 UNDEFINED

Field : Port User Priorities - userpriority

Set absolute user priority of the port. Each port is represented by a 3 bit value, 000=lowest priority, 111=highest priority. Port 0 is bits 2:0. Port number offset corresponds to the control port assignment.

Field Access Macros:

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_LSB   0
 
#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_MSB   29
 
#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_WIDTH   30
 
#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_SET_MSK   0x3fffffff
 
#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_CLR_MSK   0xc0000000
 
#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_RESET   0x0
 
#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_GET(value)   (((value) & 0x3fffffff) >> 0)
 
#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_SET(value)   (((value) << 0) & 0x3fffffff)
 

Data Structures

struct  ALT_SDR_CTL_MPPRIORITY_s
 

Macros

#define ALT_SDR_CTL_MPPRIORITY_OFST   0xac
 

Typedefs

typedef struct
ALT_SDR_CTL_MPPRIORITY_s 
ALT_SDR_CTL_MPPRIORITY_t
 

Data Structure Documentation

struct ALT_SDR_CTL_MPPRIORITY_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_MPPRIORITY.

Data Fields
uint32_t userpriority: 30 Port User Priorities
uint32_t __pad0__: 2 UNDEFINED

Macro Definitions

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_LSB   0

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

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_MSB   29

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

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_WIDTH   30

The width in bits of the ALT_SDR_CTL_MPPRIORITY_USERPRIORITY register field.

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_SET_MSK   0x3fffffff

The mask used to set the ALT_SDR_CTL_MPPRIORITY_USERPRIORITY register field value.

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_CLR_MSK   0xc0000000

The mask used to clear the ALT_SDR_CTL_MPPRIORITY_USERPRIORITY register field value.

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_RESET   0x0

The reset value of the ALT_SDR_CTL_MPPRIORITY_USERPRIORITY register field is UNKNOWN.

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_GET (   value)    (((value) & 0x3fffffff) >> 0)

Extracts the ALT_SDR_CTL_MPPRIORITY_USERPRIORITY field value from a register.

#define ALT_SDR_CTL_MPPRIORITY_USERPRIORITY_SET (   value)    (((value) << 0) & 0x3fffffff)

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

#define ALT_SDR_CTL_MPPRIORITY_OFST   0xac

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

Typedef Documentation

The typedef declaration for register ALT_SDR_CTL_MPPRIORITY.