Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
switch_uart.h File Reference
#include "std.h"
+ Include dependency graph for switch_uart.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define switch_uart_SwitchUartChannel(X)   ({switch_uart_channel=X;drop_ball(switch_uart_channel); false;})
 

Functions

void drop_ball (uint8_t number)
 
void periodic_switch_uart (void)
 

Variables

uint8_t switch_uart_channel
 
uint8_t switch_uart_status
 

Detailed Description

Author
Freek van Tienen Module for dropping balls using UART

Definition in file switch_uart.h.

Macro Definition Documentation

#define switch_uart_SwitchUartChannel (   X)    ({switch_uart_channel=X;drop_ball(switch_uart_channel); false;})

Definition at line 31 of file switch_uart.h.

Function Documentation

void drop_ball ( uint8_t  number)

Definition at line 44 of file switch_uart.c.

References drop_string, DROP_STRINGLEN, 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 switch_uart_channel

Definition at line 29 of file switch_uart.c.

uint8_t switch_uart_status

Definition at line 30 of file switch_uart.c.

Referenced by periodic_switch_uart().