Data Plane Development Kit Reference Manual: Intel FPGA Programmable Acceleration Card N3000
ID
683512
Date
12/06/2019
Public
4.1. opae_manager_get_eth_group_nums()
4.2. opae_manager_get_eth_group_info()
4.3. opae_manager_eth_group_write_reg()
4.4. opae_manager_eth_group_read_reg()
4.5. opae_manager_get_eth_group_region_info()
4.6. Data Structures for Retiming
4.7. opae_manager_get_retimer_info()
4.8. opae_manager_get_retimer_status()
2.4.2.4. Sensor Information
The Intel® MAX® 10 Board Management Controller monitors approximately 19 sensors. The OPAE Manager enumerates all the sensors and adds the sensors to a global list. The FPGA reads this information through its SPI interface.
The following data structure describes the sensor info:
struct opae_sensor_info {
TAILQ_ENTRY(opae_sensor_info) node;
const char *name;
const char *type;
unsigned int id;
unsigned int high_fatal;
unsigned int high_warn;
unsigned int low_fatal;
unsigned int low_warn;
unsigned int hysteresis;
unsigned int multiplier;
unsigned int flags;
unsigned int value;
unsigned int value_reg;
};
| Data Structure Field Name | Description |
|---|---|
| name | A pointer to the name of the sensor. |
| type | The sensor type, such as temperature sensor or voltage sensor. |
| id | The Intel® FPGA PAC N3000 hardware ID for this sensor. |
| high_fatal | Specifies a fatal threshold for a sensor. |
| high_warn | Specifies a warning threshold for a sensor. |
| low_fatal | Specifies the low fatal threshold for a sensor. |
| low_warn | Specifies the low warning threshold for a sensor. |
| hysteresis | Specifies the hysteresis of a sensor. |
| multiplier | Specifies the multiplier for a sensor. |
| flags | Specifies sensor flags. |
| value | Specifies sensor data. |
| value_reg | Specifies the sensor register in the Intel® MAX® 10 device. |