![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Counter feature status flag
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[0] | RW | 0x0 | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA |
[7:1] | ??? | 0x0 | UNDEFINED |
[8] | RW | 0x0 | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG |
[31:9] | ??? | 0x0 | UNDEFINED |
Field : CMPFLGA | |
Counter Match occurred flag. This bit indicates that the internal counter and SERRCNT value matched. 1'b0: read indicates match check of SERR interrupt on compare match is disabled. 1'b1: read indicates compare has matched. Write of one will clear the pending compare match. This will not de-assert the serr_req signal - software needs to write to serrpen bit to clear the interrupt. When the match occurs, additional errors will not increment count until the compare status flag is cleared. If the software does not change the SERRCNT register prior to clearing this flag or reset the internal counter, next increment of internal counter could set this flag again in the next cycle. Field Access Macros: | |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_LSB 0 |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_MSB 0 |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_WIDTH 1 |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_SET_MSK 0x00000001 |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_CLR_MSK 0xfffffffe |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_RESET 0x0 |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_GET(value) (((value) & 0x00000001) >> 0) |
#define | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_SET(value) (((value) << 0) & 0x00000001) |
Field : AUTOWB_DROP_FLG | |
Auto writeback counter match flag. This bit indicates that the internal autoWB counter and autoWB_drop_cnt value matched. 1'b0: read indicates match check of hmi_intr interrupt on compare match is disabled. 1'b1: read indicates compare has matched. Write of one will clear the pending compare match. This will not de-assert the hmi_intr signal - software needs to write to hmi_intrpen bit to clear the interrupt. When the match occurs, additional errors will not increment count until the compare status flag is cleared. If the software does not change the autoWB_drop_cnt register prior to clearing this flag or reset the autoWB counter, next increment of internal autoWB counter could set this flag in the next cycle. Field Access Macros: | |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_LSB 8 |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_MSB 8 |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_WIDTH 1 |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_SET_MSK 0x00000100 |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_CLR_MSK 0xfffffeff |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_RESET 0x0 |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_GET(value) (((value) & 0x00000100) >> 8) |
#define | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_SET(value) (((value) << 8) & 0x00000100) |
Data Structures | |
struct | ALT_ECC_HMC_OCP_MODSTAT_s |
Macros | |
#define | ALT_ECC_HMC_OCP_MODSTAT_RESET 0x00000000 |
#define | ALT_ECC_HMC_OCP_MODSTAT_OFST 0x128 |
Typedefs | |
typedef struct ALT_ECC_HMC_OCP_MODSTAT_s | ALT_ECC_HMC_OCP_MODSTAT_t |
struct ALT_ECC_HMC_OCP_MODSTAT_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_ECC_HMC_OCP_MODSTAT.
Data Fields | ||
---|---|---|
uint32_t | CMPFLGA: 1 | ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA |
uint32_t | __pad0__: 7 | UNDEFINED |
uint32_t | AUTOWB_DROP_FLG: 1 | ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG |
uint32_t | __pad1__: 23 | UNDEFINED |
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA register field.
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_MSB 0 |
The Most Significant Bit (MSB) position of the ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA register field.
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_WIDTH 1 |
The width in bits of the ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA register field.
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_SET_MSK 0x00000001 |
The mask used to set the ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA register field value.
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_CLR_MSK 0xfffffffe |
The mask used to clear the ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA register field value.
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_RESET 0x0 |
The reset value of the ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA register field.
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_GET | ( | value | ) | (((value) & 0x00000001) >> 0) |
Extracts the ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA field value from a register.
#define ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA_SET | ( | value | ) | (((value) << 0) & 0x00000001) |
Produces a ALT_ECC_HMC_OCP_MODSTAT_CMPFLGA register field value suitable for setting the register.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_LSB 8 |
The Least Significant Bit (LSB) position of the ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG register field.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_MSB 8 |
The Most Significant Bit (MSB) position of the ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG register field.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_WIDTH 1 |
The width in bits of the ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG register field.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_SET_MSK 0x00000100 |
The mask used to set the ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG register field value.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_CLR_MSK 0xfffffeff |
The mask used to clear the ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG register field value.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_RESET 0x0 |
The reset value of the ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG register field.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_GET | ( | value | ) | (((value) & 0x00000100) >> 8) |
Extracts the ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG field value from a register.
#define ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG_SET | ( | value | ) | (((value) << 8) & 0x00000100) |
Produces a ALT_ECC_HMC_OCP_MODSTAT_AUTOWB_DROP_FLG register field value suitable for setting the register.
#define ALT_ECC_HMC_OCP_MODSTAT_RESET 0x00000000 |
The reset value of the ALT_ECC_HMC_OCP_MODSTAT register.
#define ALT_ECC_HMC_OCP_MODSTAT_OFST 0x128 |
The byte offset of the ALT_ECC_HMC_OCP_MODSTAT register from the beginning of the component.
typedef struct ALT_ECC_HMC_OCP_MODSTAT_s ALT_ECC_HMC_OCP_MODSTAT_t |
The typedef declaration for register ALT_ECC_HMC_OCP_MODSTAT.