Functions
drv_mpu6050.h File Reference
#include "drv_i2c.h"
Include dependency graph for drv_mpu6050.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void mpu6050_async_read_all (volatile int16_t *accData, volatile int16_t *tempData, volatile int16_t *gyroData, volatile uint64_t *timeData)
 
void mpu6050_init (bool enableInterrupt, uint16_t *acc1G, float *gyroScale, int boardVersion)
 
bool mpu6050_new_data ()
 
void mpu6050_read_accel (int16_t *accData)
 
void mpu6050_read_all (int16_t *accData, int16_t *gyroData, int16_t *tempData, uint64_t *time_us)
 
void mpu6050_read_gyro (int16_t *gyroData)
 
void mpu6050_read_temperature (int16_t *tempData)
 
void mpu6050_register_interrupt_cb (void(*functionPtr)(void))
 
void mpu6050_request_async_accel_read (int16_t *accData, volatile uint8_t *status_)
 
void mpu6050_request_async_gyro_read (int16_t *gyroData, volatile uint8_t *status_)
 
void mpu6050_request_async_temp_read (volatile int16_t *tempData, volatile uint8_t *status_)
 

Function Documentation

void mpu6050_async_read_all ( volatile int16_t *  accData,
volatile int16_t *  tempData,
volatile int16_t *  gyroData,
volatile uint64_t *  timeData 
)

Definition at line 316 of file drv_mpu6050.c.

void mpu6050_init ( bool  enableInterrupt,
uint16_t *  acc1G,
float *  gyroScale,
int  boardVersion 
)

Definition at line 175 of file drv_mpu6050.c.

bool mpu6050_new_data ( )

Definition at line 328 of file drv_mpu6050.c.

void mpu6050_read_accel ( int16_t *  accData)

Definition at line 236 of file drv_mpu6050.c.

void mpu6050_read_all ( int16_t *  accData,
int16_t *  gyroData,
int16_t *  tempData,
uint64_t *  time_us 
)

Definition at line 216 of file drv_mpu6050.c.

void mpu6050_read_gyro ( int16_t *  gyroData)

Definition at line 250 of file drv_mpu6050.c.

void mpu6050_read_temperature ( int16_t *  tempData)

Definition at line 261 of file drv_mpu6050.c.

void mpu6050_register_interrupt_cb ( void(*)(void)  functionPtr)
void mpu6050_request_async_accel_read ( int16_t *  accData,
volatile uint8_t *  status_ 
)
void mpu6050_request_async_gyro_read ( int16_t *  gyroData,
volatile uint8_t *  status_ 
)
void mpu6050_request_async_temp_read ( volatile int16_t *  tempData,
volatile uint8_t *  status_ 
)


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:50