Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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 <stm32/gpio.h>
6 
7 extern void imu_aspirin_arch_int_enable(void);
8 extern void imu_aspirin_arch_int_disable(void);
9 extern void adxl345_write_to_reg(uint8_t addr, uint8_t val);
10 extern void adxl345_clear_rx_buf(void);
11 extern void adxl345_start_reading_data(void);
12 
13 static inline int imu_aspirin_eoc(void)
14 {
15  return !GPIO_ReadInputDataBit(GPIOC, GPIO_Pin_14);
16 }
17 
18 
19 
20 #endif /* IMU_ASPIRIN_ARCH_H */
static int imu_aspirin_eoc(void)
void adxl345_start_reading_data(void)
void imu_aspirin_arch_int_disable(void)
void imu_aspirin_arch_int_enable(void)
void adxl345_clear_rx_buf(void)
uint16_t val[TCOUPLE_NB]
Inertial Measurement Unit interface.
unsigned char uint8_t
Definition: types.h:14
void adxl345_write_to_reg(uint8_t addr, uint8_t val)