MAV'RIC
Main Page
Related Pages
Classes
Files
File List
File Members
MAVRIC_Library
hal_emu
itg3200_driver.h
1
/*
2
* itg3200.h
3
*
4
* Created: 18/05/2012 17:51:08
5
* Author: sfx
6
*/
7
8
9
#ifndef ITG3200_H_
10
#define ITG3200_H_
11
#include "compiler.h"
12
13
#define GY_X 0
14
#define GY_Y 1
15
#define GY_Z 2
16
17
#define ITG3200_SLAVE_ADDRESS 0b01101000
18
19
typedef
struct
{
20
int16_t temperature;
21
int16_t axes[3];
22
}
gyroscope_t
;
23
24
25
26
void
itg3200_init(
void
);
27
void
itg3200_reconfigure_gyro(
void
);
28
29
gyroscope_t
* itg3200_get_gyro_data(
void
);
30
31
void
itg3200_init_slow(
void
);
32
33
gyroscope_t
* itg3200_get_data_slow(
void
);
34
35
36
#endif
/* ITG3200_H_ */
gyroscope_t
The gyroscope structure.
Definition:
gyroscope.h:50
Generated on Wed Jan 14 2015 09:29:25 for MAV'RIC by
1.8.9.1