uart_bdr.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define Uart_double_bdr()   (UCSRA |= (1<<U2X1))
#define Uart_set_baudrate(bdr)


Define Documentation

 
#define Uart_double_bdr (  )     (UCSRA |= (1<<U2X1))

Definition at line 22 of 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 16 of file uart_bdr.h.


Generated on Wed Oct 22 15:04:00 2008 for AVR172 : Atmel BLDC control on ATAVRMC310 with ATmega32M1 by  doxygen 1.5.7.1