/* 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)
{
uint8_t *ptemp;
  pBufferReadyForReception[uwNbReceivedChars++] = LL_USART_ReceiveData8(USARTx_INSTANCE);
  if (uwNbReceivedChars >= RX_BUFFER_SIZE)
  {
    uwBufferReadyIndication = 1;
    ptemp = pBufferReadyForUser;
    pBufferReadyForUser = pBufferReadyForReception;
    pBufferReadyForReception = ptemp;
    uwNbReceivedChars = 0;
  }
}