Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
generic_uart.c File Reference
+ Include dependency graph for generic_uart.c:

Go to the source code of this file.

Macros

#define GENERIC_UART_ENDCHAR   '>'
 
#define GENERIC_UART_MAX_SENDLEN   64
 
#define GENERIC_UART_MAX_BUFSIZE   128
 

Functions

void generic_uart_event (void)
 

Variables

static struct link_device * gen_uart_dev = (&((GENERIC_UART_PORT).device))
 UART device for communication. More...
 

Detailed Description

Author
F. van Tienen Generic UART sensor, forwarding towards the GCS through telemetry

Definition in file generic_uart.c.

Macro Definition Documentation

◆ GENERIC_UART_ENDCHAR

#define GENERIC_UART_ENDCHAR   '>'

Definition at line 33 of file generic_uart.c.

◆ GENERIC_UART_MAX_BUFSIZE

#define GENERIC_UART_MAX_BUFSIZE   128

Definition at line 43 of file generic_uart.c.

◆ GENERIC_UART_MAX_SENDLEN

#define GENERIC_UART_MAX_SENDLEN   64

Definition at line 38 of file generic_uart.c.

Function Documentation

◆ generic_uart_event()

void generic_uart_event ( void  )

Definition at line 50 of file generic_uart.c.

References char_available(), DefaultChannel, DefaultDevice, gen_uart_dev, GENERIC_UART_ENDCHAR, GENERIC_UART_MAX_BUFSIZE, and GENERIC_UART_MAX_SENDLEN.

+ Here is the call graph for this function:

Variable Documentation

◆ gen_uart_dev

struct link_device* gen_uart_dev = (&((GENERIC_UART_PORT).device))
static

UART device for communication.

Definition at line 47 of file generic_uart.c.

Referenced by generic_uart_event().