![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Provides information about the HPS capabilities.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[0] | R | Unknown | Dual Core |
[1] | R | Unknown | CAN |
[31:2] | ??? | 0x0 | UNDEFINED |
Field : Dual Core - dualcore | ||||||||||
Indicates if CPU1 is available in MPU or not. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_E_SINGLECORE 0x0 | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_E_DUALCORE 0x1 | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_LSB 0 | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_MSB 0 | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_WIDTH 1 | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_SET_MSK 0x00000001 | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_CLR_MSK 0xfffffffe | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_RESET 0x0 | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_GET(value) (((value) & 0x00000001) >> 0) | |||||||||
#define | ALT_SYSMGR_HPSINFO_DUALCORE_SET(value) (((value) << 0) & 0x00000001) | |||||||||
Field : CAN - can | ||||||||||
Indicates if CAN0 and CAN1 controllers are available or not. Field Enumeration Values:
Field Access Macros: | ||||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_E_CAN_UNAVAILABLE 0x0 | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_E_CAN_AVAILABLE 0x1 | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_LSB 1 | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_MSB 1 | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_WIDTH 1 | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_SET_MSK 0x00000002 | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_CLR_MSK 0xfffffffd | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_RESET 0x0 | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_GET(value) (((value) & 0x00000002) >> 1) | |||||||||
#define | ALT_SYSMGR_HPSINFO_CAN_SET(value) (((value) << 1) & 0x00000002) | |||||||||
Data Structures | |
struct | ALT_SYSMGR_HPSINFO_s |
Macros | |
#define | ALT_SYSMGR_HPSINFO_OFST 0x18 |
Typedefs | |
typedef struct ALT_SYSMGR_HPSINFO_s | ALT_SYSMGR_HPSINFO_t |
struct ALT_SYSMGR_HPSINFO_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_SYSMGR_HPSINFO.
Data Fields | ||
---|---|---|
const uint32_t | dualcore: 1 | Dual Core |
const uint32_t | can: 1 | CAN |
uint32_t | __pad0__: 30 | UNDEFINED |
#define ALT_SYSMGR_HPSINFO_DUALCORE_E_SINGLECORE 0x0 |
Enumerated value for register field ALT_SYSMGR_HPSINFO_DUALCORE
Not dual-core (only CPU0 available).
#define ALT_SYSMGR_HPSINFO_DUALCORE_E_DUALCORE 0x1 |
Enumerated value for register field ALT_SYSMGR_HPSINFO_DUALCORE
Is dual-core (CPU0 and CPU1 both available).
#define ALT_SYSMGR_HPSINFO_DUALCORE_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_SYSMGR_HPSINFO_DUALCORE register field.
#define ALT_SYSMGR_HPSINFO_DUALCORE_MSB 0 |
The Most Significant Bit (MSB) position of the ALT_SYSMGR_HPSINFO_DUALCORE register field.
#define ALT_SYSMGR_HPSINFO_DUALCORE_WIDTH 1 |
The width in bits of the ALT_SYSMGR_HPSINFO_DUALCORE register field.
#define ALT_SYSMGR_HPSINFO_DUALCORE_SET_MSK 0x00000001 |
The mask used to set the ALT_SYSMGR_HPSINFO_DUALCORE register field value.
#define ALT_SYSMGR_HPSINFO_DUALCORE_CLR_MSK 0xfffffffe |
The mask used to clear the ALT_SYSMGR_HPSINFO_DUALCORE register field value.
#define ALT_SYSMGR_HPSINFO_DUALCORE_RESET 0x0 |
The reset value of the ALT_SYSMGR_HPSINFO_DUALCORE register field is UNKNOWN.
#define ALT_SYSMGR_HPSINFO_DUALCORE_GET | ( | value | ) | (((value) & 0x00000001) >> 0) |
Extracts the ALT_SYSMGR_HPSINFO_DUALCORE field value from a register.
#define ALT_SYSMGR_HPSINFO_DUALCORE_SET | ( | value | ) | (((value) << 0) & 0x00000001) |
Produces a ALT_SYSMGR_HPSINFO_DUALCORE register field value suitable for setting the register.
#define ALT_SYSMGR_HPSINFO_CAN_E_CAN_UNAVAILABLE 0x0 |
Enumerated value for register field ALT_SYSMGR_HPSINFO_CAN
CAN0 and CAN1 are not available.
#define ALT_SYSMGR_HPSINFO_CAN_E_CAN_AVAILABLE 0x1 |
Enumerated value for register field ALT_SYSMGR_HPSINFO_CAN
CAN0 and CAN1 are available.
#define ALT_SYSMGR_HPSINFO_CAN_LSB 1 |
The Least Significant Bit (LSB) position of the ALT_SYSMGR_HPSINFO_CAN register field.
#define ALT_SYSMGR_HPSINFO_CAN_MSB 1 |
The Most Significant Bit (MSB) position of the ALT_SYSMGR_HPSINFO_CAN register field.
#define ALT_SYSMGR_HPSINFO_CAN_WIDTH 1 |
The width in bits of the ALT_SYSMGR_HPSINFO_CAN register field.
#define ALT_SYSMGR_HPSINFO_CAN_SET_MSK 0x00000002 |
The mask used to set the ALT_SYSMGR_HPSINFO_CAN register field value.
#define ALT_SYSMGR_HPSINFO_CAN_CLR_MSK 0xfffffffd |
The mask used to clear the ALT_SYSMGR_HPSINFO_CAN register field value.
#define ALT_SYSMGR_HPSINFO_CAN_RESET 0x0 |
The reset value of the ALT_SYSMGR_HPSINFO_CAN register field is UNKNOWN.
#define ALT_SYSMGR_HPSINFO_CAN_GET | ( | value | ) | (((value) & 0x00000002) >> 1) |
Extracts the ALT_SYSMGR_HPSINFO_CAN field value from a register.
#define ALT_SYSMGR_HPSINFO_CAN_SET | ( | value | ) | (((value) << 1) & 0x00000002) |
Produces a ALT_SYSMGR_HPSINFO_CAN register field value suitable for setting the register.
#define ALT_SYSMGR_HPSINFO_OFST 0x18 |
The byte offset of the ALT_SYSMGR_HPSINFO register from the beginning of the component.
typedef struct ALT_SYSMGR_HPSINFO_s ALT_SYSMGR_HPSINFO_t |
The typedef declaration for register ALT_SYSMGR_HPSINFO.