From 7277d15c68641b4f840240aa4f0557b5f69d727d Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Sun, 3 Jun 2012 02:23:27 -0400 Subject: F2: Add usart_get_af(). Signed-off-by: Marti Bolivar --- libmaple/stm32f2/include/series/usart.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libmaple/stm32f2/include/series') diff --git a/libmaple/stm32f2/include/series/usart.h b/libmaple/stm32f2/include/series/usart.h index 805a2b2..8936efa 100644 --- a/libmaple/stm32f2/include/series/usart.h +++ b/libmaple/stm32f2/include/series/usart.h @@ -37,6 +37,8 @@ extern "C"{ #endif +#include /* for gpio_af */ + /* * Register map base pointers. */ @@ -96,6 +98,12 @@ extern struct usart_dev *UART4; extern struct usart_dev *UART5; extern struct usart_dev *USART6; +/* + * Routines + */ + +gpio_af usart_get_af(struct usart_dev *dev); + #ifdef __cplusplus } #endif -- cgit v1.2.3