Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
#include "mcu.h"
#include "mcu_periph/sys_time.h"
#include "led.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
#include "generated/settings.h"
Go to the source code of this file.
Macros | |
#define | MSG_SIZE 256 |
#define | IdOfMsg(x) (x[1]) |
Functions | |
static void | main_init (void) |
static void | main_periodic_task (void) |
static void | main_event_task (void) |
static void | main_dl_parse_msg (void) |
int | main (void) |
Variables | |
uint16_t | foo |
bool | dl_msg_available |
uint8_t | dl_buffer [MSG_SIZE] |
#define IdOfMsg | ( | x | ) | (x[1]) |
Definition at line 68 of file main_demo5.c.
#define MSG_SIZE 256 |
Definition at line 63 of file main_demo5.c.
int main | ( | void | ) |
Definition at line 16 of file main_demo5.c.
References main_event_task(), main_init(), main_periodic_task(), and sys_time_check_and_ack_timer().
|
inlinestatic |
Definition at line 70 of file main_demo5.c.
References dl_buffer, and IdOfMsg.
Referenced by main_event_task().
|
inlinestatic |
Definition at line 43 of file main_demo5.c.
References dl_msg_available, LED_TOGGLE, and main_dl_parse_msg().
Referenced by main().
|
inlinestatic |
Definition at line 28 of file main_demo5.c.
References mcu_init(), mcu_int_enable, and sys_time_register_timer().
Referenced by main().
|
inlinestatic |
Definition at line 36 of file main_demo5.c.
References sys_time::nb_sec.
Referenced by main().
Definition at line 64 of file main_demo5.c.
Referenced by bluegiga_dl_event(), copilot_parse_move_wp_dl(), copilot_parse_payload_command_dl(), gec_dl_event(), main_dl_parse_msg(), parse_ctc_target_CleanTable(), parse_ctc_target_RegTable(), parseTcasRA(), pprz_dl_event(), set_datalink_message(), superbitrf_dl_event(), w5100_event(), and xbee_dl_event().
bool dl_msg_available |
Definition at line 61 of file main_demo5.c.
Referenced by bluegiga_dl_event(), gec_dl_event(), main_event_task(), pprz_dl_event(), set_datalink_message(), superbitrf_dl_event(), superbitrf_receive_packet_cb(), w5100_event(), and xbee_dl_event().
uint16_t foo |
Definition at line 59 of file main_demo5.c.
Referenced by ahrs_float_invariant_propagate(), airspeed_otf_parse(), aoa_adc_update(), baro_hca_read_event(), main(), main_event(), mf_daq_send_report(), nps_autopilot_run_step(), read_values(), send_att(), send_detect_gate_visual_position(), send_ins_ref(), send_jevois_mavlink_visual_position(), SPI1_ISR(), SpiReceive(), SSP_ISR(), and xsens_ask_message_rate().