Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Device independent serial meteo code. More...
Go to the source code of this file.
Macros | |
#define | MetLinkDevice (&(MET_LINK).device) |
#define | MetBuffer() MetLinkDevice->char_available(MetLinkDevice->periph) |
#define | MetGetch() MetLinkDevice->get_byte(MetLinkDevice->periph) |
#define | ReadMetBuffer() { while (MetBuffer()&&!met_msg_received) parse_met_buffer(MetGetch()); } |
#define | MetSend1(c) MetLinkDevice->put_byte(MetLinkDevice->periph, 0, c) |
#define | MetUartSend1(c) MetSend1(c) |
#define | MetSend(_dat, _len) { for (uint8_t i = 0; i< (_len); i++) MetSend1(_dat[i]); }; |
#define | MetUartSetBaudrate(_b) uart_periph_set_baudrate(&(MET_LINK), _b) |
#define | MetUartRunning (MET_LINK).tx_running |
Device independent serial meteo code.
Definition in file met_module.h.
#define MetBuffer | ( | ) | MetLinkDevice->char_available(MetLinkDevice->periph) |
Definition at line 42 of file met_module.h.
#define MetGetch | ( | ) | MetLinkDevice->get_byte(MetLinkDevice->periph) |
Definition at line 43 of file met_module.h.
#define MetLinkDevice (&(MET_LINK).device) |
Definition at line 40 of file met_module.h.
Definition at line 47 of file met_module.h.
#define MetSend1 | ( | c | ) | MetLinkDevice->put_byte(MetLinkDevice->periph, 0, c) |
Definition at line 45 of file met_module.h.
#define MetUartRunning (MET_LINK).tx_running |
Definition at line 49 of file met_module.h.
#define MetUartSend1 | ( | c | ) | MetSend1(c) |
Definition at line 46 of file met_module.h.
#define MetUartSetBaudrate | ( | _b | ) | uart_periph_set_baudrate(&(MET_LINK), _b) |
Definition at line 48 of file met_module.h.
Definition at line 44 of file met_module.h.