#include "imu_functions.h"
Go to the source code of this file.
Functions | |
int | acc_init (int i2c_dev, uint8_t full_res, uint16_t rate, uint8_t range) |
Rev 0 - 11/11/2012 RLEG project - 2012. More... | |
int | acc_write_reg (int i2c_dev, uint8_t reg, uint8_t data) |
WRITE TO REGISTER. More... | |
uint8_t * | acc_read_reg (int i2c_dev, uint8_t reg, uint8_t count) |
READ COUNT 8-BIT REGISTER IN SEQUENCE More... | |
short int | acc_read_data (int i2c_dev, int axis) |
READ DATA (X, Y or Z) More... | |
int | acc_read_all_data (int i2c_dev, short int *data) |
READ ALL DATA AT ONCE (X, Y and Z) More... | |
char * | conv_byte_hex_bin (uint8_t *hvalue) |
int | acc_read_all_reg (int i2c_dev) |
Read all accelerometer data and print in stdio. More... | |
char* conv_byte_hex_bin | ( | uint8_t * | hvalue | ) |
Definition at line 184 of file acc_functions.c.
Referenced by acc_read_all_reg().