Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
uart.c File Reference
#include "mcu_periph/uart.h"
+ Include dependency graph for uart.c:

Go to the source code of this file.


void uart_periph_init (struct uart_periph *p)
bool_t uart_check_free_space (struct uart_periph *p, uint8_t len)
uint8_t uart_getch (struct uart_periph *p)

Function Documentation

bool_t uart_check_free_space ( struct uart_periph p,
uint8_t  len 

Definition at line 197 of file uart.c.

References uart_periph::tx_extract_idx, uart_periph::tx_insert_idx, and UART_TX_BUFFER_SIZE.

Referenced by main().

+ Here is the caller graph for this function:

uint8_t uart_getch ( struct uart_periph p)

Definition at line 204 of file uart.c.

References uart_periph::rx_buf, uart_periph::rx_extract_idx, and UART_RX_BUFFER_SIZE.

Referenced by hott_check_serial_data(), hott_send_telemetry_data(), main(), ReadGX3Buffer(), and sbus_common_decode_event().

+ Here is the caller graph for this function: