aversive_10-03-12/modules/comm/uart/uart_send.c File Reference

#include <uart.h>
#include <uart_defs.h>
#include <uart_private.h>

Go to the source code of this file.

Functions

int uart_send (uint8_t num, char c)


Function Documentation

int uart_send ( uint8_t  num,
char  c 
)

uart_send is used to send data to the uart 'num'. The data is first stored in the FIFO before beeing sent. If the FIFO is full, the function wait until the uart is ready. The function returns c.

Definition at line 28 of file uart_send.c.

References cirbuf_add_head(), g_tx_fifo, GLOBAL_IRQ_ARE_MASKED, RXCIE, uart_regs, uart_send_next_char(), uart_send_nowait(), and UDRE.


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6