101 FIFO_overflow_interrupt,
151 void reset(
modules selected_module);
161 void sleep_disable();
162 void disable(
modules selected_module);
163 void enable(
modules selected_module);
166 double mx_sensitivity;
167 double my_sensitivity;
168 double mz_sensitivity;
171 void requestBytes(uint8_t address, uint8_t subAddress, uint8_t bytes);
172 uint8_t read(uint8_t address, uint8_t subAddress);
173 void readArray(uint8_t *output,
char size);
174 void write(uint8_t address, uint8_t subAddress, uint8_t data);
175 void write_OR(uint8_t address, uint8_t subAddress, uint8_t data);
176 void write_AND(uint8_t address, uint8_t subAddress, uint8_t data);
177 uint8_t getScale(uint8_t current_state, scales selected_scale);
200 SIGNAL_PATH_RESET = 0x68,
204 ACCEL_CONFIG_2 = 0x1D,
205 MOT_DETECT_CTRL = 0x69,
void disable_interrupt_output(interrupts selected_interrupt)
Disable interrupt.
void set_INT_signal_mode(interrupt_pin selected_mode)
Set interrupt signal mode.
void enable_motion_interrupt()
Enable motion detector interrupt.
void set_INT_active_state(interrupt_pin selected_mode)
Set interrupt pin active state.
void disable_motion_interrput()
Disable motion detector interrupt.
modules
modules (for enable / disable / reset functions)
void enable_interrupt_output(interrupts selected_interrupt)
Enable interrupt.
void set_acc_scale(scales selected_scale)
Set accelerometer scale.
void clear_interrupt()
Clear interrupt flag (this also clears interrupt pin).
void set_INT_pin_mode(interrupt_pin selected_mode)
Set interrupt pin mode.
void set_gyro_bandwidth(bandwidth selected_bandwidth)
Set gyroscope bandwidth.
void read_mag()
Read readings from magnetometer.
void read_acc()
Read readings from accelerometer.
uint8_t testMag()
Test if magnetometer is working.
uint8_t init()
Initialise MPU9255 module.
int16_t read_temp()
Take a reading of the temperature.
void set_acc_bandwidth(bandwidth selected_bandwidth)
Set accelerometer bandwidth.
void set_acc_offset(axis selected_axis, int16_t offset)
Set accelerometer offset.
void set_motion_threshold_level(uint8_t threshold)
Set motion detector threeshold level.
void read_gyro()
Read readings from gyroscope.
void set_gyro_scale(scales selected_scale)
Set gyroscope scale.
uint8_t testIMU()
Test if IMU (gyroscope and accelerometer) is working.
void set_gyro_offset(axis selected_axis, int16_t offset)
Set gyroscope offset.