sensorsdriversutils.h header

This header is used by sensors. For more information, see:

sensorsdriversutils.h contains the following programming interfaces:

Functions

 
GetMethodArgumentFromAcpi

The GetMethodArgumentFromAcpi function reads the requested ACPI entry using the supplied method name.
GetRotationMatrixFromAcpi

The GetRotationMatrixFromAcpi function reads the rotation matrix from the ACPI entries.
I2C_REQUEST_SIZE

The I2C_REQUEST_SIZE macro defines the I2C request size.
I2CSensorReadRegister

The I2CSensorReadRegister function reads the devices register(s) over I2C.
I2CSensorWriteRegister

The I2CSensorWriteRegister function writes to the device register(s) over I2C.
InitTransformationMatrix

The InitTransformationMatrix function reads the rotation matrix from the ACPI entries.
ParseRotationMatrixEntry

The ParseRotationMatrixEntry function parses a string of three floats.
TranslateAxes

The TranslateAxes function applies the rotation matrix to the given sample.

Structures

 
I2C_REQUEST

An I2C request.