|
Contiki 2.5
|
ADXL345 Accelerometer interface implementationMore...
#include "acc-adxl345.h"Go to the source code of this file.
Functions | |
| int8_t | adxl345_init (void) |
| Initialize the ADXL345 Acceleration Sensor. More... | |
| uint16_t | adxl345_get_x_acceleration (void) |
| This function returns the current measured acceleration at the x-axis of the adxl345. More... | |
| uint16_t | adxl345_get_y_acceleration (void) |
| This function returns the current measured acceleration at the y-axis of the adxl345. More... | |
| uint16_t | adxl345_get_z_acceleration (void) |
| This function returns the current measured acceleration at the z-axis of the adxl345. More... | |
| acc_data_t | adxl345_get_acceleration (void) |
| This function returns the current measured acceleration of all axis (x,y,z) More... | |
| void | adxl345_write (uint8_t reg, uint8_t data) |
| This function writes data to the given register of the ADXL345. More... | |
| uint8_t | adxl345_read (uint8_t reg) |
| This function reads from the given register of the ADXL345. More... | |
ADXL345 Accelerometer interface implementation
Definition in file acc-adxl345.c.
1.8.3.1