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

Abstcart

The USART_UDRE_vect is an interrupt handler that is called when a data can be transmitted using serial communication. This routine calls HardwareSerial::_tx_udr_empty_irq().

Source Code

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

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

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

This function calls HardwareSerial::_tx_udr_empty_irq().

Version

Arduino 1.8.13

Last Update

June 19, 2020

inserted by FC2 system