![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[4:0] | RW | 0x0 | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD |
[31:5] | ??? | Unknown | UNDEFINED |
Field : STATPERIOD | |
Register StatPeriod is a 5-bit register that sets a period, within a range of 2 cycles to 2 gigacycles, during which statistics are collected before being dumped automatically. Setting the register implicitly enables automatic mode operation for statistics collection. The period is calculated with the formula: N_Cycle = 2**StatPeriodWhen register StatPeriod is set to its default value 0, automatic dump mode is disabled, and register StatGo is activated for manual mode operation. Note: When parameter statisticsCollection is set to False, StatPeriod is reserved. Field Access Macros: | |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_LSB 0 |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_MSB 4 |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_WIDTH 5 |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_SET_MSK 0x0000001f |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_CLR_MSK 0xffffffe0 |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_RESET 0x0 |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_GET(value) (((value) & 0x0000001f) >> 0) |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_SET(value) (((value) << 0) & 0x0000001f) |
Data Structures | |
struct | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_s |
Macros | |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_RESET 0x00000000 |
#define | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_OFST 0x24 |
Typedefs | |
typedef struct ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_s | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_t |
struct ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_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_MPU_MAIN_STATPERIOD.
Data Fields | ||
---|---|---|
uint32_t | STATPERIOD: 5 | ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD |
uint32_t | __pad0__: 27 | UNDEFINED |
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD register field.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_MSB 4 |
The Most Significant Bit (MSB) position of the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD register field.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_WIDTH 5 |
The width in bits of the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD register field.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_SET_MSK 0x0000001f |
The mask used to set the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD register field value.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_CLR_MSK 0xffffffe0 |
The mask used to clear the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD register field value.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_RESET 0x0 |
The reset value of the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD register field.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_GET | ( | value | ) | (((value) & 0x0000001f) >> 0) |
Extracts the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD field value from a register.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD_SET | ( | value | ) | (((value) << 0) & 0x0000001f) |
Produces a ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_STATPERIOD register field value suitable for setting the register.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_RESET 0x00000000 |
The reset value of the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD register.
#define ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD_OFST 0x24 |
The byte offset of the ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD register from the beginning of the component.
The typedef declaration for register ALT_NOC_MPU_PRB_MPU_MAIN_STATPERIOD.