Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
switch_uart.c File Reference
+ Include dependency graph for switch_uart.c:

Go to the source code of this file.

Macros

#define DROP_STRINGLEN   19
 

Functions

void periodic_switch_uart (void)
 
void drop_ball (uint8_t number)
 

Variables

uint8_t switch_uart_channel = 0
 
uint8_t switch_uart_status = 0
 
static uint8_t drop_string [] = "<Drop_Paintball_Now"
 

Macro Definition Documentation

#define DROP_STRINGLEN   19

Definition at line 33 of file switch_uart.c.

Referenced by drop_ball().

Function Documentation

void drop_ball ( uint8_t  number)

Definition at line 44 of file switch_uart.c.

References drop_string, DROP_STRINGLEN, last, and uart_put_byte().

+ Here is the call graph for this function:

void periodic_switch_uart ( void  )

Definition at line 36 of file switch_uart.c.

References switch_uart_status, uart_char_available(), and uart_getch().

+ Here is the call graph for this function:

Variable Documentation

uint8_t drop_string[] = "<Drop_Paintball_Now"
static

Definition at line 32 of file switch_uart.c.

Referenced by drop_ball().

uint8_t switch_uart_channel = 0

Definition at line 29 of file switch_uart.c.

uint8_t switch_uart_status = 0

Definition at line 30 of file switch_uart.c.

Referenced by periodic_switch_uart().