Data Plane Development Kit Reference Manual: Intel FPGA Programmable Acceleration Card N3000

ID 683512
Date 12/06/2019
Public
Document Table of Contents

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;
};
Table 4.  opae_sensor_info Fields
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.

Did you find the information on this page useful?

Characters remaining:

Feedback Message