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

◆ BOARD_REV

#define BOARD_REV   2

Definition at line 24 of file accelgyro.c.

Function Documentation

◆ loop()

void loop ( void  )

Definition at line 50 of file accelgyro.c.

◆ setup()

void setup ( void  )

Definition at line 40 of file accelgyro.c.

Variable Documentation

◆ accel_data

volatile int16_t accel_data[3]

Definition at line 29 of file accelgyro.c.

◆ accel_scale

float accel_scale

Definition at line 26 of file accelgyro.c.

◆ accel_status

volatile uint8_t accel_status = 0

Definition at line 33 of file accelgyro.c.

◆ gyro_data

volatile int16_t gyro_data[3]

Definition at line 30 of file accelgyro.c.

◆ gyro_scale

float gyro_scale

Definition at line 27 of file accelgyro.c.

◆ gyro_status

volatile uint8_t gyro_status = 0

Definition at line 34 of file accelgyro.c.

◆ mpu_new_measurement

volatile bool mpu_new_measurement = false

Definition at line 36 of file accelgyro.c.

◆ start_time

uint32_t start_time = 0

Definition at line 38 of file accelgyro.c.

◆ temp_data

volatile int16_t temp_data

Definition at line 31 of file accelgyro.c.

◆ temp_status

volatile uint8_t temp_status = 0

Definition at line 35 of file accelgyro.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Mon Feb 28 2022 23:36:11