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

Description

Register Layout

Bits Access Reset Description
[0] RW 0x1 ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG
[15:1] ??? 0x0 UNDEFINED
[16] RW 0x0 ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST
[23:17] ??? 0x0 UNDEFINED
[24] RW 0x1 ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE
[31:25] ??? 0x0 UNDEFINED

Field : s2f_nenable_config

HPS override Enable for DATA, DCLK, NCE and PR_REQUEST to CSS

1: override is disabled

0: override is enabled

Field Access Macros:

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_LSB   0
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_MSB   0
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_WIDTH   1
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_SET_MSK   0x00000001
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_CLR_MSK   0xfffffffe
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_RESET   0x1
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_GET(value)   (((value) & 0x00000001) >> 0)
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_SET(value)   (((value) << 0) & 0x00000001)
 

Field : s2f_pr_request

This bit carries the override value of PR_REQUEST to CSS.

Field Access Macros:

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_LSB   16
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_MSB   16
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_WIDTH   1
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_SET_MSK   0x00010000
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_CLR_MSK   0xfffeffff
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_RESET   0x0
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_GET(value)   (((value) & 0x00010000) >> 16)
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_SET(value)   (((value) << 16) & 0x00010000)
 

Field : s2f_nce

This bit carries the override value of nCE to CSS.

Field Access Macros:

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_LSB   24
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_MSB   24
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_WIDTH   1
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_SET_MSK   0x01000000
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_CLR_MSK   0xfeffffff
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_RESET   0x1
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_GET(value)   (((value) & 0x01000000) >> 24)
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_SET(value)   (((value) << 24) & 0x01000000)
 

Data Structures

struct  ALT_FPGAMGR_IMGCFG_CTL_01_s
 

Macros

#define ALT_FPGAMGR_IMGCFG_CTL_01_RESET   0x01000001
 
#define ALT_FPGAMGR_IMGCFG_CTL_01_OFST   0x74
 

Typedefs

typedef struct
ALT_FPGAMGR_IMGCFG_CTL_01_s 
ALT_FPGAMGR_IMGCFG_CTL_01_t
 

Data Structure Documentation

struct ALT_FPGAMGR_IMGCFG_CTL_01_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_CTL_01.

Data Fields
uint32_t s2f_nenable_config: 1 ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG
uint32_t __pad0__: 15 UNDEFINED
uint32_t s2f_pr_request: 1 ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST
uint32_t __pad1__: 7 UNDEFINED
uint32_t s2f_nce: 1 ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE
uint32_t __pad2__: 7 UNDEFINED

Macro Definitions

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_LSB   0

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_MSB   0

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_WIDTH   1

The width in bits of the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG register field.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_SET_MSK   0x00000001

The mask used to set the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG register field value.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_CLR_MSK   0xfffffffe

The mask used to clear the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG register field value.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_RESET   0x1

The reset value of the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG register field.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_GET (   value)    (((value) & 0x00000001) >> 0)

Extracts the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG field value from a register.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NEN_CFG_SET (   value)    (((value) << 0) & 0x00000001)

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_LSB   16

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_MSB   16

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_WIDTH   1

The width in bits of the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST register field.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_SET_MSK   0x00010000

The mask used to set the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST register field value.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_CLR_MSK   0xfffeffff

The mask used to clear the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST register field value.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_RESET   0x0

The reset value of the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST register field.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_GET (   value)    (((value) & 0x00010000) >> 16)

Extracts the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST field value from a register.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_PR_REQUEST_SET (   value)    (((value) << 16) & 0x00010000)

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_LSB   24

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_MSB   24

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_WIDTH   1

The width in bits of the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE register field.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_SET_MSK   0x01000000

The mask used to set the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE register field value.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_CLR_MSK   0xfeffffff

The mask used to clear the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE register field value.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_RESET   0x1

The reset value of the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE register field.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_GET (   value)    (((value) & 0x01000000) >> 24)

Extracts the ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE field value from a register.

#define ALT_FPGAMGR_IMGCFG_CTL_01_S2F_NCE_SET (   value)    (((value) << 24) & 0x01000000)

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

#define ALT_FPGAMGR_IMGCFG_CTL_01_RESET   0x01000001

The reset value of the ALT_FPGAMGR_IMGCFG_CTL_01 register.

#define ALT_FPGAMGR_IMGCFG_CTL_01_OFST   0x74

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

Typedef Documentation

The typedef declaration for register ALT_FPGAMGR_IMGCFG_CTL_01.