Sensor reading

Overview

These APIs are for sensor reading More…

// global functions

XPUM_API xpum_result_t xpumGetAMCSensorReading(
    xpum_sensor_reading_t data[],
    int* count
    );

Detailed Documentation

These APIs are for sensor reading

Global Functions

XPUM_API xpum_result_t xpumGetAMCSensorReading(
    xpum_sensor_reading_t data[],
    int* count
    )

Get device sensor reading.

Support Platform: Linux

Parameters:

data

OUT: The buffer to store sensor reading data

count

IN/OUT: When data is NULL, count will be filled with the array size needed, and return. When data is not NULL, count denotes the length of data, count should be equal to or larger than needed size. When return, the count will store real size of array returned by data.

Returns:

xpum_result_t