Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_aspirin_arch.h
Go to the documentation of this file.
1 #ifndef IMU_ASPIRIN_ARCH_H
2 #define IMU_ASPIRIN_ARCH_H
3 
4 #include "subsystems/imu.h"
5 #include <libopencm3/stm32/f1/gpio.h>
6 
7 extern void imu_aspirin_arch_int_enable(void);
8 extern void imu_aspirin_arch_int_disable(void);
9 
10 // gyro eoc
11 static inline int imu_aspirin_eoc(void)
12 {
13  return (gpio_get(GPIOC, GPIO14) == 0);
14 }
15 
16 
17 
18 #endif /* IMU_ASPIRIN_ARCH_H */
static int imu_aspirin_eoc(void)
void imu_aspirin_arch_int_disable(void)
void imu_aspirin_arch_int_enable(void)
Inertial Measurement Unit interface.