/* Fills each UART_InitStruct member with its default value.  */
void UART_StructInit(UART_InitTypeDef *init_struct)
/* Fills each UART_InitStruct member with its default value.  */
void UART_StructInit(UART_InitTypeDef *init_struct)
{
    init_struct->BaudRate       = 9600;
    init_struct->WordLength     = UART_WordLength_8b;
    init_struct->StopBits       = UART_StopBits_1;
    init_struct->Parity         = UART_Parity_No;
    init_struct->Mode           = UART_GCR_RX | UART_GCR_TX;
    init_struct->HWFlowControl  = UART_HWFlowControl_None;
}