[riot-notifications] [RIOT-OS/RIOT] cpu/cc26x0: implement uart_mode() (#11612)

Ben Postman notifications at github.com
Thu Jun 6 00:07:38 CEST 2019


ben-postman commented on this pull request.



> +#define TOTAL_OPTIONS (DATA_BIT_OPTIONS * PARITY_OPTIONS * STOP_BIT_OPTIONS)
+
+/* Character positions in the mode string */
+#define DATA_BIT_POS (0)
+#define PARITY_POS (1)
+#define STOP_BIT_POS (2)
+
+/* Length of the printable mode string, includes null terminator */
+#define MODE_STR_LEN (4)
+
+/* UART_DEV is always 0 since this test is for device with 1 UART */
+#define _UART_DEV (UART_DEV(0))
+
+
+/* Delay between each mode, makes parsing results easier */
+#define DELAY_US 50000

Done

-- 
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/11612#discussion_r290954778
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190605/5ca6d978/attachment.html>


More information about the notifications mailing list