![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Contains settings that control clock main_clk generated from the Main PLL VCO clock.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[10:0] | RW | 0x3 | Main PLL Internal Counter |
[15:11] | ??? | 0x0 | UNDEFINED |
[26:16] | RW | 0x3 | Peripheral PLL Internal Counter |
[31:27] | ??? | 0x0 | UNDEFINED |
Field : Main PLL Internal Counter - maincnt | |
Divides the VCO frequency by the value+1 in this field. Divides the VCO frequency by the value+1 in this field. This field loads the internal counter in the NOC PLL for the NOC Clock Group. Field Access Macros: | |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_LSB 0 |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_MSB 10 |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_WIDTH 11 |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_SET_MSK 0x000007ff |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_CLR_MSK 0xfffff800 |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_RESET 0x3 |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_GET(value) (((value) & 0x000007ff) >> 0) |
#define | ALT_CLKMGR_NOCCLK_MAINCNT_SET(value) (((value) << 0) & 0x000007ff) |
Field : Peripheral PLL Internal Counter - pericnt | |
Divides the VCO frequency by the value+1 in this field. Divides the VCO frequency by the value+1 in this field. This field loads the internal counter in the NOC PLL for the NOC Clock Group. Field Access Macros: | |
#define | ALT_CLKMGR_NOCCLK_PERICNT_LSB 16 |
#define | ALT_CLKMGR_NOCCLK_PERICNT_MSB 26 |
#define | ALT_CLKMGR_NOCCLK_PERICNT_WIDTH 11 |
#define | ALT_CLKMGR_NOCCLK_PERICNT_SET_MSK 0x07ff0000 |
#define | ALT_CLKMGR_NOCCLK_PERICNT_CLR_MSK 0xf800ffff |
#define | ALT_CLKMGR_NOCCLK_PERICNT_RESET 0x3 |
#define | ALT_CLKMGR_NOCCLK_PERICNT_GET(value) (((value) & 0x07ff0000) >> 16) |
#define | ALT_CLKMGR_NOCCLK_PERICNT_SET(value) (((value) << 16) & 0x07ff0000) |
Data Structures | |
struct | ALT_CLKMGR_NOCCLK_s |
Macros | |
#define | ALT_CLKMGR_NOCCLK_RESET 0x00030003 |
#define | ALT_CLKMGR_NOCCLK_OFST 0x4 |
Typedefs | |
typedef struct ALT_CLKMGR_NOCCLK_s | ALT_CLKMGR_NOCCLK_t |
struct ALT_CLKMGR_NOCCLK_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_CLKMGR_NOCCLK.
Data Fields | ||
---|---|---|
uint32_t | maincnt: 11 | Main PLL Internal Counter |
uint32_t | __pad0__: 5 | UNDEFINED |
uint32_t | pericnt: 11 | Peripheral PLL Internal Counter |
uint32_t | __pad1__: 5 | UNDEFINED |
#define ALT_CLKMGR_NOCCLK_MAINCNT_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_CLKMGR_NOCCLK_MAINCNT register field.
#define ALT_CLKMGR_NOCCLK_MAINCNT_MSB 10 |
The Most Significant Bit (MSB) position of the ALT_CLKMGR_NOCCLK_MAINCNT register field.
#define ALT_CLKMGR_NOCCLK_MAINCNT_WIDTH 11 |
The width in bits of the ALT_CLKMGR_NOCCLK_MAINCNT register field.
#define ALT_CLKMGR_NOCCLK_MAINCNT_SET_MSK 0x000007ff |
The mask used to set the ALT_CLKMGR_NOCCLK_MAINCNT register field value.
#define ALT_CLKMGR_NOCCLK_MAINCNT_CLR_MSK 0xfffff800 |
The mask used to clear the ALT_CLKMGR_NOCCLK_MAINCNT register field value.
#define ALT_CLKMGR_NOCCLK_MAINCNT_RESET 0x3 |
The reset value of the ALT_CLKMGR_NOCCLK_MAINCNT register field.
#define ALT_CLKMGR_NOCCLK_MAINCNT_GET | ( | value | ) | (((value) & 0x000007ff) >> 0) |
Extracts the ALT_CLKMGR_NOCCLK_MAINCNT field value from a register.
#define ALT_CLKMGR_NOCCLK_MAINCNT_SET | ( | value | ) | (((value) << 0) & 0x000007ff) |
Produces a ALT_CLKMGR_NOCCLK_MAINCNT register field value suitable for setting the register.
#define ALT_CLKMGR_NOCCLK_PERICNT_LSB 16 |
The Least Significant Bit (LSB) position of the ALT_CLKMGR_NOCCLK_PERICNT register field.
#define ALT_CLKMGR_NOCCLK_PERICNT_MSB 26 |
The Most Significant Bit (MSB) position of the ALT_CLKMGR_NOCCLK_PERICNT register field.
#define ALT_CLKMGR_NOCCLK_PERICNT_WIDTH 11 |
The width in bits of the ALT_CLKMGR_NOCCLK_PERICNT register field.
#define ALT_CLKMGR_NOCCLK_PERICNT_SET_MSK 0x07ff0000 |
The mask used to set the ALT_CLKMGR_NOCCLK_PERICNT register field value.
#define ALT_CLKMGR_NOCCLK_PERICNT_CLR_MSK 0xf800ffff |
The mask used to clear the ALT_CLKMGR_NOCCLK_PERICNT register field value.
#define ALT_CLKMGR_NOCCLK_PERICNT_RESET 0x3 |
The reset value of the ALT_CLKMGR_NOCCLK_PERICNT register field.
#define ALT_CLKMGR_NOCCLK_PERICNT_GET | ( | value | ) | (((value) & 0x07ff0000) >> 16) |
Extracts the ALT_CLKMGR_NOCCLK_PERICNT field value from a register.
#define ALT_CLKMGR_NOCCLK_PERICNT_SET | ( | value | ) | (((value) << 16) & 0x07ff0000) |
Produces a ALT_CLKMGR_NOCCLK_PERICNT register field value suitable for setting the register.
#define ALT_CLKMGR_NOCCLK_RESET 0x00030003 |
The reset value of the ALT_CLKMGR_NOCCLK register.
#define ALT_CLKMGR_NOCCLK_OFST 0x4 |
The byte offset of the ALT_CLKMGR_NOCCLK register from the beginning of the component.
typedef struct ALT_CLKMGR_NOCCLK_s ALT_CLKMGR_NOCCLK_t |
The typedef declaration for register ALT_CLKMGR_NOCCLK.