target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h
//*----------------------------------------------------------------------------
//* \fn    AT91F_US_SetBaudrate
//* \brief Set the baudrate according to the CPU clock
//*----------------------------------------------------------------------------
\fn    AT91F_US_SetBaudrate
\brief Set the baudrate according to the CPU clock
\ fn AT91F_US_SetBaudrate \ brief Set the baudrate according to the CPU clock
static inline void AT91F_US_SetBaudrate (
	AT91PS_USART pUSART,    
	unsigned int mainClock, 
	unsigned int speed)     
{
	pUSART->US_BRGR = AT91F_US_Baudrate(mainClock, speed);
}
static inline void AT91F_US_SetBaudrate ( AT91PS_USART pUSART , unsigned int mainClock , unsigned int speed ) { pUSART -> US_BRGR = AT91F_US_Baudrate ( mainClock , speed ) ; }
\fn    AT91F_US_SetBaudrate
\brief Set the baudrate according to the CPU clock
\ fn AT91F_US_SetBaudrate \ brief Set the baudrate according to the CPU clock
// \arg pointer to a USART controller // \arg peripheral clock // \arg UART baudrate //* Define the baud rate divisor register