Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
high_speed_logger_spi_link.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2005-2013 The Paparazzi Team
3
*
4
* This file is part of paparazzi.
5
*
6
* paparazzi is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* paparazzi is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with paparazzi; see the file COPYING. If not, write to
18
* the Free Software Foundation, 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
20
*
21
*/
22
23
#ifndef HIGH_SPEED_LOGGER_SPI_LINK_H_
24
#define HIGH_SPEED_LOGGER_SPI_LINK_H_
25
26
#include "
std.h
"
27
28
extern
void
high_speed_logger_spi_link_init
(
void
);
29
extern
void
high_speed_logger_spi_link_periodic
(
void
);
30
31
#define PACKED __attribute__((__packed__))
32
33
struct
PACKED
high_speed_logger_spi_link_data
{
34
int32_t
id
;
// 1
35
int32_t
gyro_p
;
// 2
36
int32_t
gyro_q
;
37
int32_t
gyro_r
;
38
int32_t
acc_x
;
// 5
39
int32_t
acc_y
;
40
int32_t
acc_z
;
41
int32_t
mag_x
;
// 8
42
int32_t
mag_y
;
43
int32_t
mag_z
;
44
int32_t
phi
;
// 11
45
int32_t
theta
;
46
int32_t
psi
;
47
int32_t
extra1
;
// 14
48
int32_t
extra2
;
// 15
49
int32_t
extra3
;
// 16
50
};
51
52
#endif
/* HIGH_SPEED_LOGGER_SPI_LINK_H_ */
high_speed_logger_spi_link_data::mag_z
int32_t mag_z
Definition:
high_speed_logger_spi_link.h:43
high_speed_logger_spi_link_init
void high_speed_logger_spi_link_init(void)
Definition:
high_speed_logger_spi_link.c:36
high_speed_logger_spi_link_data::acc_x
int32_t acc_x
Definition:
high_speed_logger_spi_link.h:38
high_speed_logger_spi_link_data::acc_z
int32_t acc_z
Definition:
high_speed_logger_spi_link.h:40
high_speed_logger_spi_link_data::gyro_p
int32_t gyro_p
Definition:
high_speed_logger_spi_link.h:35
high_speed_logger_spi_link_data::gyro_q
int32_t gyro_q
Definition:
high_speed_logger_spi_link.h:36
std.h
high_speed_logger_spi_link_data::psi
int32_t psi
Definition:
high_speed_logger_spi_link.h:46
high_speed_logger_spi_link_data::extra2
int32_t extra2
Definition:
high_speed_logger_spi_link.h:48
high_speed_logger_spi_link_data::mag_x
int32_t mag_x
Definition:
high_speed_logger_spi_link.h:41
high_speed_logger_spi_link_data::extra1
int32_t extra1
Definition:
high_speed_logger_spi_link.h:47
high_speed_logger_spi_link_data::theta
int32_t theta
Definition:
high_speed_logger_spi_link.h:45
high_speed_logger_spi_link_data::id
int32_t id
Definition:
high_speed_logger_spi_link.h:34
high_speed_logger_spi_link_periodic
void high_speed_logger_spi_link_periodic(void)
Definition:
high_speed_logger_spi_link.c:55
int32_t
signed long int32_t
Definition:
types.h:19
high_speed_logger_spi_link_data::phi
int32_t phi
Definition:
high_speed_logger_spi_link.h:44
PACKED
#define PACKED
Definition:
high_speed_logger_spi_link.h:31
high_speed_logger_spi_link_data
Definition:
high_speed_logger_spi_link.h:33
high_speed_logger_spi_link_data::extra3
int32_t extra3
Definition:
high_speed_logger_spi_link.h:49
high_speed_logger_spi_link_data::gyro_r
int32_t gyro_r
Definition:
high_speed_logger_spi_link.h:37
high_speed_logger_spi_link_data::mag_y
int32_t mag_y
Definition:
high_speed_logger_spi_link.h:42
high_speed_logger_spi_link_data::acc_y
int32_t acc_y
Definition:
high_speed_logger_spi_link.h:39
sw
airborne
modules
loggers
high_speed_logger_spi_link.h
Generated on Tue Feb 1 2022 13:51:16 for Paparazzi UAS by
1.8.17