aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usart.h
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-07-15 23:34:23 -0400
committerbnewbold <bnewbold@robocracy.org>2010-07-19 00:38:00 -0400
commit432cf91f7d61b3d0642609a33c683388de626e32 (patch)
treef2e496e82d57a9f5fc3323386910f1942e0e5f4e /libmaple/usart.h
parenta852f8d6a62d5e94afd7092c64c242ab4d5a1c60 (diff)
downloadlibrambutan-432cf91f7d61b3d0642609a33c683388de626e32.tar.gz
librambutan-432cf91f7d61b3d0642609a33c683388de626e32.zip
added Serial.flush()
Diffstat (limited to 'libmaple/usart.h')
-rw-r--r--libmaple/usart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmaple/usart.h b/libmaple/usart.h
index e2c2328..02fb6e0 100644
--- a/libmaple/usart.h
+++ b/libmaple/usart.h
@@ -48,6 +48,7 @@ void usart_putc(uint8 usart_num, uint8 ch);
uint32 usart_data_available(uint8 usart_num);
uint8 usart_getc(uint8 usart_num);
+void usart_clear_buffer(uint8 usart_num);
#ifdef __cplusplus
} // extern "C"