Benjamin Valentin 585dc15f99 cpu/sam0_common: UART: implement inverted RX & TX
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.
2020-06-16 22:55:37 +02:00
..
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2017-01-20 13:36:26 +01:00