mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
70c6df9330
For atmega boards a TX has not actually completed until UDRn is empty as well as the Transmit Shift Register. To avoid resetting an UART before a TX has completed we use the TXCn flash and ISR to set a variables that indicates TX is ongoing. This allows not reseting the UART while there are ongoing TX pending. This fixes an issue where part of the last byte is not shifted out of the TX shift register causing rubish on the first TX following an uart_init. |
||
---|---|---|
.. | ||
avr_libc_extra | ||
include | ||
periph | ||
cpu.c | ||
doc.txt | ||
irq_arch.c | ||
Makefile | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
startup.c | ||
thread_arch.c |