mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 16:01:18 +01:00
The UART TX and TX lines on SAMD5x and SAML1x can be inverted. However, the flags don't do exactly what one would expect. See errata 2.18.5: SERCOM-UART: TXINV and RXINV Bits Reference: > The TXINV and RXINV bits in the CTRLA register have inverted functionality. > > Workaround: > In software interpret the TXINV bit as a functionality of RXINV, and conversely, > interpret the RXINV bit as a functionality of TXINV.