We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc23978 commit 025d419Copy full SHA for 025d419
ports/teensy/uart.h
@@ -0,0 +1,16 @@
1
+#ifndef MICROPY_INCLUDED_TEENSY_UART_H
2
+#define MICROPY_INCLUDED_TEENSY_UART_H
3
+
4
+typedef enum {
5
+ PYB_UART_NONE = 0,
6
+} pyb_uart_t;
7
8
+typedef struct _pyb_uart_obj_t pyb_uart_obj_t;
9
10
+extern const mp_obj_type_t pyb_uart_type;
11
12
+mp_uint_t uart_rx_any(pyb_uart_obj_t *uart_obj);
13
+int uart_rx_char(pyb_uart_obj_t *uart_obj);
14
+void uart_tx_strn(pyb_uart_obj_t *uart_obj, const char *str, uint len);
15
16
+#endif // MICROPY_INCLUDED_TEENSY_UART_H
0 commit comments