aboutsummaryrefslogtreecommitdiff
path: root/02-usart/include/arch
diff options
context:
space:
mode:
Diffstat (limited to '02-usart/include/arch')
-rw-r--r--02-usart/include/arch/stm32l4xxx/peripherals/clock.h2
-rw-r--r--02-usart/include/arch/stm32l4xxx/peripherals/usart.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/02-usart/include/arch/stm32l4xxx/peripherals/clock.h b/02-usart/include/arch/stm32l4xxx/peripherals/clock.h
index 6e461de..6f628fd 100644
--- a/02-usart/include/arch/stm32l4xxx/peripherals/clock.h
+++ b/02-usart/include/arch/stm32l4xxx/peripherals/clock.h
@@ -123,4 +123,6 @@ int configure_pll(
pllm_divisor_t pllm, /* PLL denominator. */
pll_src_t pllsrc /* PLL source */);
+uint8_t get_clock_mhz();
+
#endif /* CORE_CLOCK_H__ */
diff --git a/02-usart/include/arch/stm32l4xxx/peripherals/usart.h b/02-usart/include/arch/stm32l4xxx/peripherals/usart.h
index e42e31e..a1542f4 100644
--- a/02-usart/include/arch/stm32l4xxx/peripherals/usart.h
+++ b/02-usart/include/arch/stm32l4xxx/peripherals/usart.h
@@ -3,6 +3,7 @@
#include <arch.h>
#include <stdint.h>
+#include <stdarg.h>
#include "kern/common.h"
#include "arch/stm32l4xxx/peripherals/rcc.h"
@@ -197,5 +198,7 @@ void usart_transmit_str_sync(__IO usart_t* usart, const char* str);
void usart_printf(__IO usart_t* usart, const char* fmt, ...);
+void usart_vprintf(__IO usart_t* usart, const char* fmt, va_list l);
+
#endif /* H__USART_ */