[riot-notifications] [RIOT-OS/RIOT] RFC: UART enhanced settings (#10743)

Yegor Yefremov notifications at github.com
Thu Jan 24 10:16:57 CET 2019

yegorich commented on this pull request.

> @@ -154,6 +154,43 @@ int uart_init(uart_t uart, uint32_t baudrate, uart_rx_cb_t rx_cb, void *arg)
     return UART_OK;
+int uart_mode(uart_t uart, uart_data_bits_t data_bits, uart_parity_t parity, uart_stop_bits_t stop_bits)
+    assert(uart < UART_NUMOF);
+    uint32_t data_bits_holder = data_bits;

Another way to override would be to use `#define UART_INVALID_MODE 0xffffffff`. I'll test this variant.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190124/5bc869c7/attachment.html>

More information about the notifications mailing list