![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Stores NTTP packet header fields Lock, Opc, ErrCode, Len1 and indicates version of NTTP transport protocol
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[0] | R | 0x0 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK |
[4:1] | R | 0x0 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC |
[7:5] | ??? | Unknown | UNDEFINED |
[10:8] | R | 0x0 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE |
[15:11] | ??? | Unknown | UNDEFINED |
[23:16] | R | 0x0 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 |
[30:24] | ??? | Unknown | UNDEFINED |
[31] | R | 0x1 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT |
Field : LOCK | |
Lock Field Access Macros: | |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_LSB 0 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_MSB 0 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_WIDTH 1 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_SET_MSK 0x00000001 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_CLR_MSK 0xfffffffe |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_RESET 0x0 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_GET(value) (((value) & 0x00000001) >> 0) |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_SET(value) (((value) << 0) & 0x00000001) |
Field : OPC | |
Opc Field Access Macros: | |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_LSB 1 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_MSB 4 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_WIDTH 4 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_SET_MSK 0x0000001e |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_CLR_MSK 0xffffffe1 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_RESET 0x0 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_GET(value) (((value) & 0x0000001e) >> 1) |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_SET(value) (((value) << 1) & 0x0000001e) |
Field : ERRCODE | |
ErrCode Field Access Macros: | |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_LSB 8 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_MSB 10 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_WIDTH 3 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_SET_MSK 0x00000700 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_CLR_MSK 0xfffff8ff |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_RESET 0x0 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_GET(value) (((value) & 0x00000700) >> 8) |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_SET(value) (((value) << 8) & 0x00000700) |
Field : LEN1 | |
Len1 Field Access Macros: | |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_LSB 16 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_MSB 23 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_WIDTH 8 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_SET_MSK 0x00ff0000 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_CLR_MSK 0xff00ffff |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_RESET 0x0 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_GET(value) (((value) & 0x00ff0000) >> 16) |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_SET(value) (((value) << 16) & 0x00ff0000) |
Field : FORMAT | |
NTTP transport protocol version Field Access Macros: | |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_LSB 31 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_MSB 31 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_WIDTH 1 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_SET_MSK 0x80000000 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_CLR_MSK 0x7fffffff |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_RESET 0x1 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_GET(value) (((value) & 0x80000000) >> 31) |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_SET(value) (((value) << 31) & 0x80000000) |
Data Structures | |
struct | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_s |
Macros | |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_RESET 0x80000000 |
#define | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OFST 0x14 |
Typedefs | |
typedef struct ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_s | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_t |
struct ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_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_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0.
Data Fields | ||
---|---|---|
const uint32_t | LOCK: 1 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK |
const uint32_t | OPC: 4 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC |
uint32_t | __pad0__: 3 | UNDEFINED |
const uint32_t | ERRCODE: 3 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE |
uint32_t | __pad1__: 5 | UNDEFINED |
const uint32_t | LEN1: 8 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 |
uint32_t | __pad2__: 7 | UNDEFINED |
const uint32_t | FORMAT: 1 | ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT |
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_MSB 0 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_WIDTH 1 |
The width in bits of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_SET_MSK 0x00000001 |
The mask used to set the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_CLR_MSK 0xfffffffe |
The mask used to clear the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_RESET 0x0 |
The reset value of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_GET | ( | value | ) | (((value) & 0x00000001) >> 0) |
Extracts the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK field value from a register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK_SET | ( | value | ) | (((value) << 0) & 0x00000001) |
Produces a ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LOCK register field value suitable for setting the register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_LSB 1 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_MSB 4 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_WIDTH 4 |
The width in bits of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_SET_MSK 0x0000001e |
The mask used to set the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_CLR_MSK 0xffffffe1 |
The mask used to clear the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_RESET 0x0 |
The reset value of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_GET | ( | value | ) | (((value) & 0x0000001e) >> 1) |
Extracts the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC field value from a register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC_SET | ( | value | ) | (((value) << 1) & 0x0000001e) |
Produces a ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OPC register field value suitable for setting the register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_LSB 8 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_MSB 10 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_WIDTH 3 |
The width in bits of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_SET_MSK 0x00000700 |
The mask used to set the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_CLR_MSK 0xfffff8ff |
The mask used to clear the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_RESET 0x0 |
The reset value of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_GET | ( | value | ) | (((value) & 0x00000700) >> 8) |
Extracts the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE field value from a register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE_SET | ( | value | ) | (((value) << 8) & 0x00000700) |
Produces a ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_ERRCODE register field value suitable for setting the register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_LSB 16 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_MSB 23 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_WIDTH 8 |
The width in bits of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_SET_MSK 0x00ff0000 |
The mask used to set the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_CLR_MSK 0xff00ffff |
The mask used to clear the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_RESET 0x0 |
The reset value of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_GET | ( | value | ) | (((value) & 0x00ff0000) >> 16) |
Extracts the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 field value from a register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1_SET | ( | value | ) | (((value) << 16) & 0x00ff0000) |
Produces a ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_LEN1 register field value suitable for setting the register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_LSB 31 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_MSB 31 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_WIDTH 1 |
The width in bits of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_SET_MSK 0x80000000 |
The mask used to set the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_CLR_MSK 0x7fffffff |
The mask used to clear the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT register field value.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_RESET 0x1 |
The reset value of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT register field.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_GET | ( | value | ) | (((value) & 0x80000000) >> 31) |
Extracts the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT field value from a register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT_SET | ( | value | ) | (((value) << 31) & 0x80000000) |
Produces a ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_FORMAT register field value suitable for setting the register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_RESET 0x80000000 |
The reset value of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0 register.
#define ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0_OFST 0x14 |
The byte offset of the ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0 register from the beginning of the component.
The typedef declaration for register ALT_NOC_MPU_CS_OBS_AT_ERRLOG_0_ERRLOG0.