/* Fills each IrDA_InitStruct member with its default value.  */
void UART_IrDAStructInit(IrDA_InitTypeDef *IrDA_InitStruct)
/* Fills each IrDA_InitStruct member with its default value.  */
void UART_IrDAStructInit(IrDA_InitTypeDef *IrDA_InitStruct)
{
	IrDA_InitStruct->UART_IrDARxInv = DISABLE;
	IrDA_InitStruct->UART_IrDATxInv = DISABLE;
	IrDA_InitStruct->UART_LowShift = UART_IRDA_PULSE_LEFT_SHIFT;
	IrDA_InitStruct->UART_LowShiftVal = 0;
	IrDA_InitStruct->UART_UpperShift = UART_IRDA_PULSE_LEFT_SHIFT;
	IrDA_InitStruct->UART_UpperShiftVal = 0;
	IrDA_InitStruct->UART_RxFilterCmd = ENABLE;
	IrDA_InitStruct->UART_RxFilterThres = 7;
}