Rleg  2
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Functions
gyr_functions.c File Reference
#include "imu_functions.h"
Include dependency graph for gyr_functions.c:

Go to the source code of this file.

Functions

int gyr_write_reg (int i2c_dev, uint8_t reg, uint8_t data)
 WRITE TO REGISTER. More...
 
uint8_t * gyr_read_reg (int i2c_dev, uint8_t reg, uint8_t count)
 READ COUNT 8-BIT REGISTER IN SEQUENCE. More...
 
int gyr_init (int i2c_dev, float rate, short int lpf_bw, char clk_source, char *act)
 INITIALIZE GYROMETER. More...
 
int gyr_read_all_data (int i2c_dev, short int *data)
 READ ALL DATA AT ONCE (X, Y, Z and T) More...
 
short int gyr_read_data (int i2c_dev, int type)
 READ DATA (X, Y, Z or T) More...