aboutsummaryrefslogtreecommitdiff
path: root/03-refactor/include/usart.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2019-01-02 23:08:37 -0700
committerJosh Rahm <joshuarahm@gmail.com>2019-01-03 21:23:46 -0700
commit33a15696519e161cd823baaf4214d1ed452a410a (patch)
treee3491b0b7b7c570b36c1e4c5235e2d026c651b2c /03-refactor/include/usart.h
parent109cdf120ea85f46d664e77c44ea2a311fd49ba2 (diff)
downloadstm32l4-33a15696519e161cd823baaf4214d1ed452a410a.tar.gz
stm32l4-33a15696519e161cd823baaf4214d1ed452a410a.tar.bz2
stm32l4-33a15696519e161cd823baaf4214d1ed452a410a.zip
Add primitive printf functionality to the USART.
Diffstat (limited to '03-refactor/include/usart.h')
-rw-r--r--03-refactor/include/usart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/03-refactor/include/usart.h b/03-refactor/include/usart.h
index 3fea253..377048c 100644
--- a/03-refactor/include/usart.h
+++ b/03-refactor/include/usart.h
@@ -207,5 +207,7 @@ void usart_transmit_bytes(
void usart_transmit_str(__IO usart_t* usart, const char* str);
+void usart_printf(__IO usart_t* usart, const char* fmt, ...);
+
#endif /* H__USART_ */