C4EV3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros | Typedefs | Enumerations | Functions | Variables
ev3_gyro.h File Reference
#include "ev3_sensors.h"

Go to the source code of this file.

Macros

#define EV3_GYRO_SENSOR_ANGLE_MODE   0
 
#define EV3_GYRO_SENSOR_RATE_MODE   1
 
#define EV3_GYRO_SENSOR_ANGLE_AND_RATE_MODE   3
 

Typedefs

typedef enum EV3GyroReadingMode EV3GyroReadingMode
 

Enumerations

enum  EV3GyroReadingMode { EV3GyroAngle, EV3GyroRate }
 

Functions

int ReadEV3GyroSensor (int port, EV3GyroReadingMode mode)
 
void ResetEV3GyroSensor (int port)
 

Variables

SensorHandler * EV3Gyro
 

Macro Definition Documentation

#define EV3_GYRO_SENSOR_ANGLE_AND_RATE_MODE   3
#define EV3_GYRO_SENSOR_ANGLE_MODE   0
#define EV3_GYRO_SENSOR_RATE_MODE   1

Typedef Documentation

Enumeration Type Documentation

Enumerator
EV3GyroAngle 
EV3GyroRate 

Function Documentation

int ReadEV3GyroSensor ( int  port,
EV3GyroReadingMode  mode 
)
void ResetEV3GyroSensor ( int  port)

Variable Documentation

SensorHandler* EV3Gyro