Clive One

Moderation makes things hard to understand

Discussion created by Clive One on Feb 1, 2018
Latest reply on Feb 2, 2018 by Francesco Cariati
Branched from an earlier discussion

This is a moderation test case for pasting Syntax Highlighter preview into "simple" editor, tags apparently follow

 

static void UART_Config(void)
{
  UartHandle.Instance = UARTx;
  UartHandle.Init.BaudRate = 115200;
  UartHandle.Init.WordLength = UART_WORDLENGTH_8B;
  UartHandle.Init.StopBits = UART_STOPBITS_1;
  UartHandle.Init.Parity = UART_PARITY_NONE;
  UartHandle.Init.HwFlowCtl  = UART_HWCONTROL_NONE;
  UartHandle.Init.Mode = UART_MODE_TX_RX;
  UartHandle.Init.OverSampling = UART_OVERSAMPLING_16;
  UartHandle.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;

  if(HAL_UART_Init(&UartHandle) != HAL_OK)
  {
    /* Initialization Error */
    Error_Handler();
  }
}

Outcomes