Contiki-Inga 3.x
gyro-sensor.h File Reference

 Gyroscope sensor definition
More...

#include "lib/sensors.h"

Go to the source code of this file.

Macros

Data Output Channels

GYRO_X/Y/Z provide values for the respective axis in degree pre seconds (dps).

GYRO_X/Y/Z_RAW provide raw output values.

#define GYRO_X   0
 
#define GYRO_Y   1
 
#define GYRO_Z   2
 
#define GYRO_X_RAW   3
 
#define GYRO_Y_RAW   4
 
#define GYRO_Z_RAW   5
 
#define GYRO_TEMP   6
 
Configuration Types

Sensor specific configuration types.

#define GYRO_CONF_SENSITIVITY   10
 Configures the sensitivity. More...
 
#define GYRO_CONF_DATA_RATE   20
 Configures the output data rate. More...
 
SENSITIVITY Values
#define GYRO_250DPS   250
 
#define GYRO_500DPS   500
 
#define GYRO_2000DPS   2000
 
DATA_RATE Values.
#define GYRO_100HZ   100
 
#define GYRO_200HZ   200
 
#define GYRO_400HZ   400
 
#define GYRO_800HZ   800
 

Detailed Description

 Gyroscope sensor definition
Author
Ulf Kulau kulau.nosp@m.@ibr.nosp@m..cs.t.nosp@m.u-bs.nosp@m..de Enrico Joerns e.joe.nosp@m.rns@.nosp@m.tu-bs.nosp@m..de

Definition in file gyro-sensor.h.