sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
uart.h File Reference
#include "features.h"

Go to the source code of this file.

Macros

#define UART_BAUD_SELECT(baudRate, xtalCpu)   ((xtalCpu + baudRate * 8L) / (baudRate * 16L) - 1)
 UART Baudrate Expression. More...
 
#define P(s)   ({static const char c[] __attribute__ ((progmem)) = s;c;})
 
#define UART_FRAME_ERROR   0x0800 /* Framing Error by UART */
 
#define UART_OVERRUN_ERROR   0x0400 /* Overrun condition by UART */
 
#define UART_BUFFER_OVERFLOW   0x0200 /* receive ringbuffer overflow */
 
#define UART_NO_DATA   0x0100 /* no receive data available */
 
#define uart_init(baud)   do {} while(0)
 
#define uart_getc()   UART_NO_DATA
 
#define uart_putc(data)   do {} while(0)
 
#define uart_puts(s)   do {} while(0)
 
#define uart_puts_p(s)   do {} while(0)
 
#define uart_puts_P(s)   do {} while(0)
 
#define uart_puti(i)   do {} while(0)
 
#define uart_putl(i)   do {} while(0)
 
#define uart_puthex_nibble(b)   do {} while(0)
 
#define uart_puthex_byte(b)   do {} while(0)
 
#define uart_puthex_byte_(b)   do {} while(0)
 
#define uart_puthex_word(b)   do {} while(0)
 
#define uart_poll()   do {} while(0)