aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/uart.h')
-rw-r--r--ports/stm32/uart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/uart.h b/ports/stm32/uart.h
index 9a38db593..570a79c93 100644
--- a/ports/stm32/uart.h
+++ b/ports/stm32/uart.h
@@ -86,6 +86,8 @@ void uart_irq_handler(mp_uint_t uart_id);
void uart_attach_to_repl(pyb_uart_obj_t *self, bool attached);
uint32_t uart_get_baudrate(pyb_uart_obj_t *self);
+void uart_set_baudrate(pyb_uart_obj_t *self, uint32_t baudrate);
+
mp_uint_t uart_rx_any(pyb_uart_obj_t *uart_obj);
bool uart_rx_wait(pyb_uart_obj_t *self, uint32_t timeout);
int uart_rx_char(pyb_uart_obj_t *uart_obj);