|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Transport for the communication between FBW and AP via UART. More...
Include dependency graph for link_mcu_usart.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | link_mcu_msg |
| union | link_mcu_msg.payload |
Functions | |
| void | link_mcu_send (void) |
| void | link_mcu_init (void) |
| void | link_mcu_event_task (void) |
| void | link_mcu_periodic_task (void) |
Variables | |
| struct link_mcu_msg | link_mcu_from_ap_msg |
| struct link_mcu_msg | link_mcu_from_fbw_msg |
| bool | link_mcu_received |
Transport for the communication between FBW and AP via UART.
Definition in file link_mcu_usart.h.
| struct link_mcu_msg |
Definition at line 33 of file link_mcu_can.h.
| Data Fields | ||
|---|---|---|
| uint16_t | checksum | |
| union link_mcu_msg | payload | |
| union link_mcu_msg | payload | |
| union link_mcu_msg | payload | |
| union link_mcu_msg.payload |
Definition at line 34 of file link_mcu_usart.h.
| Data Fields | ||
|---|---|---|
| struct ap_state | from_ap | |
| struct fbw_state | from_fbw | |
| void link_mcu_event_task | ( | void | ) |
Definition at line 227 of file link_mcu_can.c.
References intermcu_data, intermcu_parse(), InterMcuBuffer, InterMcuUartGetch, InterMcuData::msg_available, and parse_mavpilot_msg().
Referenced by event_task_ap().
Here is the call graph for this function:
Here is the caller graph for this function:| void link_mcu_init | ( | void | ) |
Definition at line 214 of file link_mcu_can.c.
References DefaultPeriodic, InterMcuData::error_cnt, intermcu_data, link_mcu_on_can_msg(), LINK_MCU_UNINIT, InterMcuData::msg_available, ppz_can_init(), register_periodic_telemetry(), send_commands(), send_fbw_status(), and InterMcuData::status.
Referenced by init_ap(), and init_fbw().
Here is the call graph for this function:
Here is the caller graph for this function:| void link_mcu_periodic_task | ( | void | ) |
| void link_mcu_send | ( | void | ) |
| struct link_mcu_msg link_mcu_from_ap_msg |
Definition at line 175 of file link_mcu_can.c.
| struct link_mcu_msg link_mcu_from_fbw_msg |
Definition at line 176 of file link_mcu_can.c.
| bool link_mcu_received |
Definition at line 34 of file link_mcu_spi.c.