Paparazzi UAS
v7.0_unstable
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 "modules/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 |
Flag provided to control calls to dl_parse_msg. More... | |
uint8_t | dl_buffer [MSG_SIZE] |
#define IdOfMsg | ( | x | ) | (x[1]) |
Definition at line 67 of file main_demo5.c.
#define MSG_SIZE 256 |
Definition at line 62 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 69 of file main_demo5.c.
References dl_buffer, and IdOfMsg.
Referenced by main_event_task().
|
inlinestatic |
Definition at line 42 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(), and sys_time_register_timer().
Referenced by main().
|
inlinestatic |
Definition at line 35 of file main_demo5.c.
References sys_time::nb_sec.
Referenced by main().
Definition at line 63 of file main_demo5.c.
Referenced by bluegiga_dl_event(), copilot_parse_move_wp_dl(), copilot_parse_payload_command_dl(), gec_dl_event(), LWC_callback(), main_dl_parse_msg(), parse_ctc_target_CleanTable(), parse_ctc_target_RegTable(), parseTcasRA(), pprz_dl_event(), superbitrf_dl_event(), and xbee_dl_event().
bool dl_msg_available |
Flag provided to control calls to dl_parse_msg.
NOT used in this module
Definition at line 60 of file main_demo5.c.
Referenced by bluegiga_dl_event(), gec_dl_event(), main_event_task(), pprz_dl_event(), superbitrf_dl_event(), superbitrf_receive_packet_cb(), and xbee_dl_event().
uint16_t foo |
Definition at line 58 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(), send_ahrs_quat(), send_att(), send_detect_gate_visual_position(), send_ins_ref(), send_jevois_mavlink_visual_position(), and xsens_ask_message_rate().