Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
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.

Functions

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 64 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 71 of file uart.c.

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

Referenced by main(), main_event_task(), main_periodic(), test_uart_event(), and uart_transfer_event().

+ Here is the caller graph for this function: