aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usart.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/usart.h')
-rw-r--r--libmaple/usart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmaple/usart.h b/libmaple/usart.h
index beffa89..2bc472f 100644
--- a/libmaple/usart.h
+++ b/libmaple/usart.h
@@ -42,6 +42,8 @@ enum {
USART1,
USART2,
USART3,
+ UART4,
+ UART5,
};
/* peripheral register struct */
@@ -113,6 +115,7 @@ static inline void usart_reset_rx(uint8 usart_num) {
void usart_init(uint8 usart_num, uint32 baud);
void usart_disable(uint8 usart_num);
+void usart_disable_all();
void usart_putstr(uint8 usart_num, const char*);
void usart_putudec(uint8 usart_num, uint32 val);