diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-19 17:25:27 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-05-19 18:45:46 -0400 |
commit | 82b15eb8db23418fe14e9c39d1ac6c4bf06c5d6f (patch) | |
tree | e9e72cdf2d8f7d12c124d8b92cc7d0cd55f36fd1 /libmaple | |
parent | 176b6160418a667a86790165fa6a638d16fa8243 (diff) | |
download | librambutan-82b15eb8db23418fe14e9c39d1ac6c4bf06c5d6f.tar.gz librambutan-82b15eb8db23418fe14e9c39d1ac6c4bf06c5d6f.zip |
usart: Moving Doxygen comments to points of definition
In keeping with convention.
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/usart.c | 5 | ||||
-rw-r--r-- | libmaple/usart.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libmaple/usart.c b/libmaple/usart.c index fbd4d70..e6a6b90 100644 --- a/libmaple/usart.c +++ b/libmaple/usart.c @@ -45,6 +45,7 @@ static usart_dev usart1 = { .clk_id = RCC_USART1, .irq_num = NVIC_USART1 }; +/** USART1 device */ usart_dev *USART1 = &usart1; static ring_buffer usart2_rb; @@ -55,6 +56,7 @@ static usart_dev usart2 = { .clk_id = RCC_USART2, .irq_num = NVIC_USART2 }; +/** USART2 device */ usart_dev *USART2 = &usart2; static ring_buffer usart3_rb; @@ -65,6 +67,7 @@ static usart_dev usart3 = { .clk_id = RCC_USART3, .irq_num = NVIC_USART3 }; +/** USART3 device */ usart_dev *USART3 = &usart3; #ifdef STM32_HIGH_DENSITY @@ -76,6 +79,7 @@ static usart_dev uart4 = { .clk_id = RCC_UART4, .irq_num = NVIC_UART4 }; +/** UART4 device */ usart_dev *UART4 = &uart4; static ring_buffer uart5_rb; @@ -86,6 +90,7 @@ static usart_dev uart5 = { .clk_id = RCC_UART5, .irq_num = NVIC_UART5 }; +/** UART5 device */ usart_dev *UART5 = &uart5; #endif diff --git a/libmaple/usart.h b/libmaple/usart.h index 0743c53..60ed0ac 100644 --- a/libmaple/usart.h +++ b/libmaple/usart.h @@ -240,16 +240,11 @@ typedef struct usart_dev { nvic_irq_num irq_num; } usart_dev; -/** USART1 device */ extern usart_dev *USART1; -/** USART2 device */ extern usart_dev *USART2; -/** USART3 device */ extern usart_dev *USART3; #ifdef STM32_HIGH_DENSITY -/** UART4 device */ extern usart_dev *UART4; -/** UART5 device */ extern usart_dev *UART5; #endif |