/* Function called from USART IRQ Handler when RXNE flag is set Function is in charge of reading character received on USART RX line.  */
void USART_CharReception_Callback(void)
/* Function called from USART IRQ Handler when RXNE flag is set Function is in charge of reading character received on USART RX line.  */
void USART_CharReception_Callback(void)
{
  __IO uint32_t received_char;
  received_char = LL_USART_ReceiveData8(USART1);
  if ((received_char == 'S') || (received_char == 's'))
  {
    ubFinalCharReceived = 1;
    LL_USART_DisableIT_RXNE(USART1);
  }
  LL_USART_TransmitData8(USART1, received_char);
}