![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Register CntSrc indicates the event source used to increment the counter. Unassigned values (non-existing Press level or ExtEvent index, or unimplemented Filter) are equivalent to OFF.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[4:0] | RW | 0x0 | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT |
[5] | RW | 0x0 | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT |
[31:6] | ??? | Unknown | UNDEFINED |
Field : INTEVENT | |
Internal packet event Field Access Macros: | |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_LSB 0 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_MSB 4 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_WIDTH 5 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_SET_MSK 0x0000001f |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_CLR_MSK 0xffffffe0 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_RESET 0x0 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_GET(value) (((value) & 0x0000001f) >> 0) |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_SET(value) (((value) << 0) & 0x0000001f) |
Field : EXTEVENT | |
When set to 1 counts the cycles where ExtEvent[IntEvent] = 1. It exists when nExtEvent > 0. Field Access Macros: | |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_LSB 5 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_MSB 5 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_WIDTH 1 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_SET_MSK 0x00000020 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_CLR_MSK 0xffffffdf |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_RESET 0x0 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_GET(value) (((value) & 0x00000020) >> 5) |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_SET(value) (((value) << 5) & 0x00000020) |
Data Structures | |
struct | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_s |
Macros | |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_RESET 0x00000000 |
#define | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_OFST 0x174 |
Typedefs | |
typedef struct ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_s | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_t |
struct ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_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_PRB_EMACS_MAIN_CNTRS_3_SRC.
Data Fields | ||
---|---|---|
uint32_t | INTEVENT: 5 | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT |
uint32_t | EXTEVENT: 1 | ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT |
uint32_t | __pad0__: 26 | UNDEFINED |
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_MSB 4 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_WIDTH 5 |
The width in bits of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_SET_MSK 0x0000001f |
The mask used to set the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT register field value.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_CLR_MSK 0xffffffe0 |
The mask used to clear the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT register field value.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_RESET 0x0 |
The reset value of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_GET | ( | value | ) | (((value) & 0x0000001f) >> 0) |
Extracts the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT field value from a register.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT_SET | ( | value | ) | (((value) << 0) & 0x0000001f) |
Produces a ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_INTEVENT register field value suitable for setting the register.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_LSB 5 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_MSB 5 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_WIDTH 1 |
The width in bits of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_SET_MSK 0x00000020 |
The mask used to set the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT register field value.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_CLR_MSK 0xffffffdf |
The mask used to clear the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT register field value.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_RESET 0x0 |
The reset value of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT register field.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_GET | ( | value | ) | (((value) & 0x00000020) >> 5) |
Extracts the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT field value from a register.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT_SET | ( | value | ) | (((value) << 5) & 0x00000020) |
Produces a ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_EXTEVENT register field value suitable for setting the register.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_RESET 0x00000000 |
The reset value of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC register.
#define ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC_OFST 0x174 |
The byte offset of the ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC register from the beginning of the component.
The typedef declaration for register ALT_NOC_MPU_PRB_EMACS_MAIN_CNTRS_3_SRC.