summaryrefslogtreecommitdiff
path: root/platforms/avr/drivers/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/avr/drivers/uart.h')
-rw-r--r--platforms/avr/drivers/uart.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/platforms/avr/drivers/uart.h b/platforms/avr/drivers/uart.h
index 602eb3d8b0..9cb7652b08 100644
--- a/platforms/avr/drivers/uart.h
+++ b/platforms/avr/drivers/uart.h
@@ -28,8 +28,12 @@
void uart_init(uint32_t baud);
-void uart_putchar(uint8_t c);
+void uart_write(uint8_t data);
-uint8_t uart_getchar(void);
+uint8_t uart_read(void);
+
+void uart_transmit(const char *data, uint16_t length);
+
+void uart_receive(char *data, uint16_t length);
bool uart_available(void);