![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Peripheral ID3
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[3:0] | R | 0x0 | Customer Model Number |
[7:4] | R | 0x0 | Revision |
[31:8] | ??? | 0x0 | UNDEFINED |
Field : Customer Model Number - cust_mod_num | |
Customer Model Number Field Access Macros: | |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_LSB 0 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_MSB 3 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_WIDTH 4 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_SET_MSK 0x0000000f |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_CLR_MSK 0xfffffff0 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_RESET 0x0 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_GET(value) (((value) & 0x0000000f) >> 0) |
#define | ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_SET(value) (((value) << 0) & 0x0000000f) |
Field : Revision - rev_and | |
Revision Field Access Macros: | |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_LSB 4 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_MSB 7 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_WIDTH 4 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_SET_MSK 0x000000f0 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_CLR_MSK 0xffffff0f |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_RESET 0x0 |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_GET(value) (((value) & 0x000000f0) >> 4) |
#define | ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_SET(value) (((value) << 4) & 0x000000f0) |
Data Structures | |
struct | ALT_LWH2F_ID_PERIPH_ID_3_s |
Macros | |
#define | ALT_LWH2F_ID_PERIPH_ID_3_OFST 0xfec |
Typedefs | |
typedef struct ALT_LWH2F_ID_PERIPH_ID_3_s | ALT_LWH2F_ID_PERIPH_ID_3_t |
struct ALT_LWH2F_ID_PERIPH_ID_3_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_LWH2F_ID_PERIPH_ID_3.
Data Fields | ||
---|---|---|
const uint32_t | cust_mod_num: 4 | Customer Model Number |
const uint32_t | rev_and: 4 | Revision |
uint32_t | __pad0__: 24 | UNDEFINED |
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_MSB 3 |
The Most Significant Bit (MSB) position of the ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_WIDTH 4 |
The width in bits of the ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_SET_MSK 0x0000000f |
The mask used to set the ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM register field value.
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_CLR_MSK 0xfffffff0 |
The mask used to clear the ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM register field value.
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_RESET 0x0 |
The reset value of the ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_GET | ( | value | ) | (((value) & 0x0000000f) >> 0) |
Extracts the ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM field value from a register.
#define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_SET | ( | value | ) | (((value) << 0) & 0x0000000f) |
Produces a ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM register field value suitable for setting the register.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_LSB 4 |
The Least Significant Bit (LSB) position of the ALT_LWH2F_ID_PERIPH_ID_3_REV_AND register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_MSB 7 |
The Most Significant Bit (MSB) position of the ALT_LWH2F_ID_PERIPH_ID_3_REV_AND register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_WIDTH 4 |
The width in bits of the ALT_LWH2F_ID_PERIPH_ID_3_REV_AND register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_SET_MSK 0x000000f0 |
The mask used to set the ALT_LWH2F_ID_PERIPH_ID_3_REV_AND register field value.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_CLR_MSK 0xffffff0f |
The mask used to clear the ALT_LWH2F_ID_PERIPH_ID_3_REV_AND register field value.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_RESET 0x0 |
The reset value of the ALT_LWH2F_ID_PERIPH_ID_3_REV_AND register field.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_GET | ( | value | ) | (((value) & 0x000000f0) >> 4) |
Extracts the ALT_LWH2F_ID_PERIPH_ID_3_REV_AND field value from a register.
#define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_SET | ( | value | ) | (((value) << 4) & 0x000000f0) |
Produces a ALT_LWH2F_ID_PERIPH_ID_3_REV_AND register field value suitable for setting the register.
#define ALT_LWH2F_ID_PERIPH_ID_3_OFST 0xfec |
The byte offset of the ALT_LWH2F_ID_PERIPH_ID_3 register from the beginning of the component.
typedef struct ALT_LWH2F_ID_PERIPH_ID_3_s ALT_LWH2F_ID_PERIPH_ID_3_t |
The typedef declaration for register ALT_LWH2F_ID_PERIPH_ID_3.