Contiki-Inga 3.x
|
ST L3G4200D 3-axis Gyroscope interface implementationMore...
#include "l3g4200d.h"
Go to the source code of this file.
Functions | |
int8_t | l3g4200d_available (void) |
Checks if l3g4200d is avialable. More... | |
int8_t | l3g4200d_init (void) |
Inits the gyroscope. More... | |
int8_t | l3g4200d_deinit (void) |
Deinit the gyroscope. More... | |
uint8_t | l3g4200d_set_dps (uint8_t set) |
Sets the sensitivity value [dps]. More... | |
uint8_t | l3g4200d_set_data_rate (uint8_t set) |
Sets the data rate [Hz]. More... | |
void | l3g4200d_set_fifomode (uint8_t set) |
Sets the fifo mode. More... | |
void | l3g4200d_fifo_enable (void) |
Enables fifo mode. | |
int8_t | l3g4200d_fifo_overrun (void) |
Checks for fifo overrun. More... | |
angle_data_t | l3g4200d_get_angle (void) |
Reads data for x,y and z angle. More... | |
int8_t | l3g4200d_get_angle_fifo (angle_data_t *ret) |
Reads angle values from fifo. More... | |
int16_t | l3g4200d_get_x_angle (void) |
Reads x angle value. More... | |
int16_t | l3g4200d_get_y_angle (void) |
Reads y angle value. More... | |
int16_t | l3g4200d_get_z_angle (void) |
Reads z angle value. More... | |
int8_t | l3g4200d_get_temp (void) |
Reads temperature value. More... | |
uint8_t | l3g4200d_read8bit (uint8_t addr) |
Reads 8 bit register from gyroscopes. More... | |
uint16_t | l3g4200d_read16bit (uint8_t addr) |
Reads 2x8 bit register from gyroscopes. More... | |
void | l3g4200d_write8bit (uint8_t addr, uint8_t data) |
Writes 8 bit to gyroscope register. More... | |
ST L3G4200D 3-axis Gyroscope interface implementation
Definition in file l3g4200d.c.