Paparazzi UAS
v5.8.2_stable-0-g6260b7c
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 "messages.h"
#include "subsystems/datalink/downlink.h"
#include "generated/settings.h"
Go to the source code of this file.
Macros | |
#define | MSG_SIZE 128 |
#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_t | dl_msg_available |
uint8_t | dl_buffer [MSG_SIZE] |
#define IdOfMsg | ( | x | ) | (x[1]) |
Definition at line 68 of file main_demo5.c.
Referenced by main_dl_parse_msg().
#define MSG_SIZE 128 |
Definition at line 63 of file main_demo5.c.
Referenced by set_datalink_message().
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, FALSE, LED_TOGGLE, main_dl_parse_msg(), and pprz_parse_payload().
Referenced by main().
|
inlinestatic |
Definition at line 28 of file main_demo5.c.
References mcu_init(), mcu_int_enable, PERIODIC_FREQUENCY, 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 dl_parse_msg(), main_dl_parse_msg(), mission_parse_CIRCLE(), mission_parse_CIRCLE_LLA(), mission_parse_END_MISSION(), mission_parse_GOTO_MISSION(), mission_parse_GOTO_WP(), mission_parse_GOTO_WP_LLA(), mission_parse_NEXT_MISSION(), mission_parse_PATH(), mission_parse_PATH_LLA(), mission_parse_SEGMENT(), mission_parse_SEGMENT_LLA(), parse_mf_daq_msg(), pprz_parse_payload(), set_datalink_message(), and xbee_parse_payload().
bool_t dl_msg_available |
Definition at line 61 of file main_demo5.c.
Referenced by main_event_task(), pprz_parse_payload(), set_datalink_message(), superbitrf_receive_packet_cb(), and xbee_parse_payload().
uint16_t foo |
Definition at line 59 of file main_demo5.c.
Referenced by ahrs_float_invariant_propagate(), baro_hca_read_event(), main(), main_event(), mf_daq_send_report(), read_values(), SPI1_ISR(), SpiReceive(), SSP_ISR(), and xsens_ask_message_rate().