/* Sets the filter value for the IRDA demodulator.  */
void USART_SetIrdaFilter(AT91S_USART *pUsart, unsigned char filter)
/* Sets the filter value for the IRDA demodulator.  */
void USART_SetIrdaFilter(AT91S_USART *pUsart, unsigned char filter)
{
    SANITY_CHECK(pUsart);
    pUsart->US_IF = filter;
}