Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
link_mcu_usart.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010-2012 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, see
18
* <http://www.gnu.org/licenses/>.
19
*/
20
27
#ifndef LINK_MCU_USART_H
28
#define LINK_MCU_USART_H
29
30
#include <
inttypes.h
>
31
#include "
inter_mcu.h
"
32
33
struct
link_mcu_msg
{
34
union
{
35
struct
fbw_state
from_fbw;
36
struct
ap_state
from_ap;
37
}
payload
;
38
};
39
40
extern
struct
link_mcu_msg
link_mcu_from_ap_msg
;
41
extern
struct
link_mcu_msg
link_mcu_from_fbw_msg
;
42
43
extern
bool
link_mcu_received
;
44
45
extern
void
link_mcu_send
(
void
);
46
extern
void
link_mcu_init
(
void
);
47
extern
void
link_mcu_event_task
(
void
);
48
extern
void
link_mcu_periodic_task
(
void
);
49
50
51
#endif
/* LINK_MCU_USART_H */
link_mcu_send
void link_mcu_send(void)
inter_mcu.h
fbw_state
struct fbw_state * fbw_state
Definition:
inter_mcu.c:36
link_mcu_msg
Definition:
link_mcu_can.h:33
link_mcu_periodic_task
void link_mcu_periodic_task(void)
link_mcu_init
void link_mcu_init(void)
Definition:
link_mcu_can.c:216
link_mcu_from_ap_msg
struct link_mcu_msg link_mcu_from_ap_msg
Definition:
link_mcu_can.c:176
link_mcu_msg::payload
union link_mcu_msg::@281 payload
link_mcu_event_task
void link_mcu_event_task(void)
Definition:
link_mcu_can.c:229
link_mcu_from_fbw_msg
struct link_mcu_msg link_mcu_from_fbw_msg
Definition:
link_mcu_can.c:177
ap_state
struct ap_state * ap_state
Definition:
inter_mcu.c:37
inttypes.h
link_mcu_received
bool link_mcu_received
Definition:
link_mcu_spi.c:34
sw
airborne
link_mcu_usart.h
Generated on Tue Feb 1 2022 13:51:14 for Paparazzi UAS by
1.8.17