avr: more work on hardware based uart module.

This commit is contained in:
Martin Preuss
2025-01-27 00:20:45 +01:00
parent a96bd7fc07
commit 52bbfcfb15
11 changed files with 650 additions and 71 deletions

View File

@@ -4,7 +4,7 @@
<extradist>
crc8.asm
fixedbuffers.asm
m_fixedbuffers.asm
m_ringbuffer.asm
m_ringbuffer_y.asm
ringbuffer.asm

View File

@@ -92,7 +92,7 @@ l_end:
; @param %1 constant maxBuffers
; @clobbers r16, X
.macro m_fixedbuf_locate:
.macro m_fixedbuf_locate
cpi r16, @1
brcc l_end ; idx out of range, use cleared CFLAG
tst r16 ; doesn't change CFLAG which is set from CPI above