Macros | Functions | Variables
accelgyro.c File Reference
#include <breezystm32.h>
Include dependency graph for accelgyro.c:

Go to the source code of this file.

Macros

#define BOARD_REV   2
 

Functions

void loop (void)
 
void setup (void)
 

Variables

volatile int16_t accel_data [3]
 
float accel_scale
 
volatile uint8_t accel_status = 0
 
volatile int16_t gyro_data [3]
 
float gyro_scale
 
volatile uint8_t gyro_status = 0
 
volatile bool mpu_new_measurement = false
 
uint32_t start_time = 0
 
volatile int16_t temp_data
 
volatile uint8_t temp_status = 0
 

Macro Definition Documentation

#define BOARD_REV   2

Definition at line 24 of file accelgyro.c.

Function Documentation

void loop ( void  )

Definition at line 50 of file accelgyro.c.

void setup ( void  )

Definition at line 40 of file accelgyro.c.

Variable Documentation

volatile int16_t accel_data[3]

Definition at line 29 of file accelgyro.c.

float accel_scale

Definition at line 26 of file accelgyro.c.

volatile uint8_t accel_status = 0

Definition at line 33 of file accelgyro.c.

volatile int16_t gyro_data[3]

Definition at line 30 of file accelgyro.c.

float gyro_scale

Definition at line 27 of file accelgyro.c.

volatile uint8_t gyro_status = 0

Definition at line 34 of file accelgyro.c.

volatile bool mpu_new_measurement = false

Definition at line 36 of file accelgyro.c.

uint32_t start_time = 0

Definition at line 38 of file accelgyro.c.

volatile int16_t temp_data

Definition at line 31 of file accelgyro.c.

volatile uint8_t temp_status = 0

Definition at line 35 of file accelgyro.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:20