/* Check whether the USART in SPI master mode contains a received character.  */
uint32_t usart_spi_is_rx_ready(volatile avr32_usart_t *p_usart)
/* Check whether the USART in SPI master mode contains a received character.  */
uint32_t usart_spi_is_rx_ready(volatile avr32_usart_t *p_usart)
{
	return (p_usart->csr & AVR32_USART_CSR_RXRDY_MASK) != 0;
}