[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common: enable UART pin inversion (#10937)

Mohamed notifications at github.com
Thu Feb 7 01:13:27 CET 2019


@MrKevinWeiss , I understand now what you meant earlier by runtime :) Yes, I'll need this at runtime, ideally some function I call during system initialization. Here is how I do it now (all the parameters will come from some configuration store):

```
uart_init_ex(uart, baudrate, UartReceiveCallback, this, false);
uart_configure(uart, UART_9BITS, UART_PARITY_EVEN, UART_STOPBITS_TWO, UART_RX_INVERT);
uart_enable(uart);
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10937#issuecomment-461240420
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190206/c85ddcbc/attachment.html>


More information about the notifications mailing list