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.7. opae_mgr_get_sensor_value()

Prototype:

int opae_mgr_get_sensor_value(struct opae_manager *mgr, struct opae_sensor_info *sensor, unsigned int *value);

Arguments:

mgr: A pointer to the opae_manager.

sensor: A pointer to the opae_sensor_info struct.
struct opae_sensor_info *opae_mgr_get_sensor_by_id(unsigned int id);
value: A pointer to the sensor value.

Returns:

Int.

Description:

Gets the value of the specified sensor using the opae_sensor_info struct.
Related Defines None.