Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
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 "
std.h
"
6
#include "
LPC21xx.h
"
7
8
#if !defined ASPIRIN_GYRO_EOC_IODIR && !defined ASPIRIN_GYRO_EOC_IOPIN && !defined ASPIRIN_GYRO_EOC_PIN
9
#define ASPIRIN_GYRO_EOC_IODIR IO0DIR
10
#define ASPIRIN_GYRO_EOC_IOPIN IO0PIN
11
#define ASPIRIN_GYRO_EOC_PIN 16
12
#endif
13
14
extern
void
imu_aspirin_arch_int_enable
(
void
);
15
extern
void
imu_aspirin_arch_int_disable
(
void
);
16
17
// gyro eoc
18
static
inline
int
imu_aspirin_eoc
(
void
)
19
{
20
return
bit_is_set(
ASPIRIN_GYRO_EOC_IOPIN
,
ASPIRIN_GYRO_EOC_PIN
);
21
}
22
#endif
/* IMU_ASPIRIN_ARCH_H */
ASPIRIN_GYRO_EOC_PIN
#define ASPIRIN_GYRO_EOC_PIN
Definition:
imu_aspirin_arch.h:11
imu_aspirin_arch_int_disable
void imu_aspirin_arch_int_disable(void)
Definition:
imu_aspirin_arch.c:15
imu_aspirin_arch_int_enable
void imu_aspirin_arch_int_enable(void)
Definition:
imu_aspirin_arch.c:11
imu.h
Inertial Measurement Unit interface.
std.h
imu_aspirin_eoc
static int imu_aspirin_eoc(void)
Definition:
imu_aspirin_arch.h:18
LPC21xx.h
ASPIRIN_GYRO_EOC_IOPIN
#define ASPIRIN_GYRO_EOC_IOPIN
Definition:
imu_aspirin_arch.h:10
sw
airborne
arch
lpc21
subsystems
imu
imu_aspirin_arch.h
Generated on Tue Jun 21 2016 14:01:10 for Paparazzi UAS by
1.8.8