Go to the source code of this file.
Defines | |
#define | Uart_set_baudrate(bdr) |
#define | Uart_double_bdr() (UCSRA |= (1<<U2X1)) |
Definition in file uart_bdr.h.
#define Uart_set_baudrate | ( | bdr | ) |
Value:
( UBRRH = (Uchar)((((Uint32)FOSC*1000L)/((Uint32)bdr*16)-1)>>8),\ UBRRL = (Uchar)(((Uint32)FOSC*1000 )/((Uint32)bdr*16)-1) )
Definition at line 48 of file uart_bdr.h.
Referenced by cdc_set_line_coding(), and uart_init().
#define Uart_double_bdr | ( | ) | (UCSRA |= (1<<U2X1)) |