driver number |
---|
458757 |
Three axis gyroscope and temperature sensor.
-
Description: Returns Ok(())
Argument 1: unused
Argument 2: unused
Returns: Success
-
Description: Verifies whether the hardware sensor is present.
Argument 1: unused
Argument 2: unused
Returns:
Ok(())
if there is no other command in progress,BUSY
otherwise. -
Description: Powers on the sensor.
Argument 1: unused
Argument 2: unused
Returns:
Ok(())
if there is no other command in progress,BUSY
otherwise. -
Description: Sets the sensors scale
Argument 1: 0, 1 or 2 (see manual 34)
Argument 2: unused
Returns:
Ok(())
if there is no other command in progress,BUSY
otherwise. -
Description: Enables or disables the high pass filter
Argument 1: 1 for enable, 0 for disable
Argument 2: unused
Returns:
Ok(())
if there is no other command in progress,BUSY
otherwise. -
Description: Sets the high pass filter mode and divider
Argument 1: mode (0, 1 or 2, see manual page 33)
Argument 2: divider (0 .. 9, see manual page 33)
Returns:
Ok(())
if there is no other command in progress,BUSY
otherwise. -
Description: Reads X, Y and Z
Argument 1: unused
Argument 2: unused
Returns:
Ok(())
if there is no other command in progress,BUSY
otherwise. -
Description: Reads the temperature
Argument 1: unused
Argument 2: unused
Returns:
Ok(())
if there is no other command in progress,BUSY
otherwise.
All the commands return a callback when done.
-
Description: Called when commands are done
Argument 1:
- Command 1: 1 present, 0 not present
- Command 6: X rotation
- Command 7: temperature in deg C
Argument 2:
- Command 6: Y rotation
Argument 3:
- Command 6: Z rotation
Unused for the L3GD20 driver. Will always return ENOSUPPORT
.