/* ISR to manage the reception of data from the serial port, placing received bytes into a circular buffer for later transmission to the host.  */
ISR(USART1_RX_vect, ISR_BLOCK)
/* ISR to manage the reception of data from the serial port, placing received bytes into a circular buffer for later transmission to the host.  */
ISR(USART1_RX_vect, ISR_BLOCK)
{
	uint8_t ReceivedByte = UDR1;
	if (USB_DeviceState == DEVICE_STATE_Configured)
	  RingBuffer_Insert(&USARTtoUSB_Buffer, ReceivedByte);
}