57 #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303
58 #error "This library requires AVR-GCC 3.3 or later, update to newer AVR-GCC compiler !"
71 #define UART_BAUD_SELECT(baudRate,xtalCpu) ((xtalCpu + baudRate * 8L) / (baudRate * 16L) - 1)
75 #define P(s) ({static const char c[] __attribute__ ((progmem)) = s;c;})
82 #define UART_FRAME_ERROR 0x0800
83 #define UART_OVERRUN_ERROR 0x0400
84 #define UART_BUFFER_OVERFLOW 0x0200
85 #define UART_NO_DATA 0x0100
98 extern void uart_init(
unsigned int baudrate);
166 #define uart_puts_P(__s) uart_puts_p(P(__s))
233 #if !defined(HAVE_UART_IRQ) && !defined(HAVE_UART_SYNC)
236 #define uart_poll() do {} while(0)
242 #define uart_init(baud) do {} while(0)
243 #define uart_getc() UART_NO_DATA
244 #define uart_putc(data) do {} while(0)
245 #define uart_puts(s) do {} while(0)
246 #define uart_puts_p(s) do {} while(0)
247 #define uart_puts_P(s) do {} while(0)
248 #define uart_puti(i) do {} while(0)
249 #define uart_putl(i) do {} while(0)
250 #define uart_puthex_nibble(b) do {} while(0)
251 #define uart_puthex_byte(b) do {} while(0)
252 #define uart_puthex_byte_(b) do {} while(0)
253 #define uart_puthex_word(b) do {} while(0)
254 #define uart_poll() do {} while(0)
#define uart_getc()
Definition: uart.h:243
#define uart_puthex_byte_(b)
Definition: uart.h:252
#define uart_puts_p(s)
Definition: uart.h:246
#define uart_puts(s)
Definition: uart.h:245
#define uart_puthex_byte(b)
Definition: uart.h:251
#define uart_puthex_nibble(b)
Definition: uart.h:250
#define uart_init(baud)
Definition: uart.h:242
#define uart_puthex_word(b)
Definition: uart.h:253
int32_t int16_t b
Definition: IMU.cpp:172
tuple s
Definition: ser-mon-AS7265X.py:36
tuple data
Definition: ser-mon-AS7265X.py:40
#define uart_poll()
Definition: uart.h:254
#define uart_puti(i)
Definition: uart.h:248
#define uart_putc(data)
Definition: uart.h:244
#define uart_putl(i)
Definition: uart.h:249
int i
Definition: ser-log.py:25