Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : Control/Status Word Register - imgcfg_fifo_status

Description

Consist of control bit and status information.

Register Layout

Bits Access Reset Description
[7:0] RW 0x0 ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL
[8] RW 0x0 ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL
[9] RW 0x1 ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY
[31:10] ??? Unknown UNDEFINED

Field : FifoLevel

Number of words remaining in FPGA Image Configuration Fifo.

Maximum value is 0x64

Field Access Macros:

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_LSB   0
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_MSB   7
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_WIDTH   8
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_SET_MSK   0x000000ff
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_CLR_MSK   0xffffff00
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_RESET   0x0
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_GET(value)   (((value) & 0x000000ff) >> 0)
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_SET(value)   (((value) << 0) & 0x000000ff)
 

Field : FifoFull

Read

1 -> Fifo Full

0 -> Fifo NOT full

Field Access Macros:

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_LSB   8
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_MSB   8
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_WIDTH   1
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_SET_MSK   0x00000100
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_CLR_MSK   0xfffffeff
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_RESET   0x0
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_GET(value)   (((value) & 0x00000100) >> 8)
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_SET(value)   (((value) << 8) & 0x00000100)
 

Field : FifoEmpty

Read

1 -> Fifo Empty

0 -> Fifo NOT Empty

Field Access Macros:

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_LSB   9
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_MSB   9
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_WIDTH   1
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_SET_MSK   0x00000200
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_CLR_MSK   0xfffffdff
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_RESET   0x1
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_GET(value)   (((value) & 0x00000200) >> 9)
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_SET(value)   (((value) << 9) & 0x00000200)
 

Data Structures

struct  ALT_FPGAMGR_IMGCFG_FIFO_STAT_s
 

Macros

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_RESET   0x00000200
 
#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_OFST   0x94
 

Typedefs

typedef struct
ALT_FPGAMGR_IMGCFG_FIFO_STAT_s 
ALT_FPGAMGR_IMGCFG_FIFO_STAT_t
 

Data Structure Documentation

struct ALT_FPGAMGR_IMGCFG_FIFO_STAT_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_FPGAMGR_IMGCFG_FIFO_STAT.

Data Fields
uint32_t FifoLevel: 8 ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL
uint32_t FifoFull: 1 ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL
uint32_t FifoEmpty: 1 ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY
uint32_t __pad0__: 22 UNDEFINED

Macro Definitions

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_LSB   0

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_MSB   7

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_WIDTH   8

The width in bits of the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL register field.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_SET_MSK   0x000000ff

The mask used to set the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL register field value.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_CLR_MSK   0xffffff00

The mask used to clear the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL register field value.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_RESET   0x0

The reset value of the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL register field.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_GET (   value)    (((value) & 0x000000ff) >> 0)

Extracts the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL field value from a register.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOLEVEL_SET (   value)    (((value) << 0) & 0x000000ff)

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_LSB   8

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_MSB   8

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_WIDTH   1

The width in bits of the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL register field.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_SET_MSK   0x00000100

The mask used to set the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL register field value.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_CLR_MSK   0xfffffeff

The mask used to clear the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL register field value.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_RESET   0x0

The reset value of the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL register field.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_GET (   value)    (((value) & 0x00000100) >> 8)

Extracts the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL field value from a register.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOFULL_SET (   value)    (((value) << 8) & 0x00000100)

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_LSB   9

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_MSB   9

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_WIDTH   1

The width in bits of the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY register field.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_SET_MSK   0x00000200

The mask used to set the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY register field value.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_CLR_MSK   0xfffffdff

The mask used to clear the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY register field value.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_RESET   0x1

The reset value of the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY register field.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_GET (   value)    (((value) & 0x00000200) >> 9)

Extracts the ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY field value from a register.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_FIFOEMPTY_SET (   value)    (((value) << 9) & 0x00000200)

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

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_RESET   0x00000200

The reset value of the ALT_FPGAMGR_IMGCFG_FIFO_STAT register.

#define ALT_FPGAMGR_IMGCFG_FIFO_STAT_OFST   0x94

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

Typedef Documentation