Playing with Arduino
A page to record my playing with Arduino
USART_RX_vect

Abstract

The USART_RX_vect is an interrupt handler that is called when a data is received using serial communication. This routine calls HardwareSerial::_rx_complete_irq().

Source Code

The USART_RX_vect is defined in hardware/arduino/avr/cores/arduino/HardwareSerial0.cpp as below.

1
2
3
4
ISR(USART_RX_vect)
{
  Serial._rx_complete_irq();
}

The ISR() a macro to define an interrupt handler.

This function calls HardwareSerial::_rx_complete_irq().

Version

Arduino 1.8.13

Last Update

June 19, 2020

inserted by FC2 system