diff options
author | bnewbold <bnewbold@robocracy.org> | 2015-03-02 23:59:49 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2015-03-03 00:15:30 -0800 |
commit | ff3d197c123b85bb51bc2b930b4649124fe4bb54 (patch) | |
tree | 5d2a82d0cddc05f6545da74f9573e577d3ac89ef /libmaple | |
parent | 0b0b759e9f0105d37b3c01846b83631d32c8d15f (diff) | |
download | librambutan-ff3d197c123b85bb51bc2b930b4649124fe4bb54.tar.gz librambutan-ff3d197c123b85bb51bc2b930b4649124fe4bb54.zip |
stm32f4: note possibly incorrect max_baud entries
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/stm32f2-f4/usart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmaple/stm32f2-f4/usart.c b/libmaple/stm32f2-f4/usart.c index 1472d13..fce122f 100644 --- a/libmaple/stm32f2-f4/usart.c +++ b/libmaple/stm32f2-f4/usart.c @@ -42,7 +42,7 @@ static ring_buffer usart1_rb; static usart_dev usart1 = { .regs = USART1_BASE, .rb = &usart1_rb, - .max_baud = 4500000UL, /* TODO: are these correct? */ + .max_baud = 4500000UL, /* TODO: are these correct? 5250000UL for STM32F4? */ .clk_id = RCC_USART1, .irq_num = NVIC_USART1, }; @@ -53,7 +53,7 @@ static ring_buffer usart2_rb; static usart_dev usart2 = { .regs = USART2_BASE, .rb = &usart2_rb, - .max_baud = 2250000UL, /* TODO: are these correct? */ + .max_baud = 2250000UL, /* TODO: are these correct? 2620000UL for STM32F4? */ .clk_id = RCC_USART2, .irq_num = NVIC_USART2, }; @@ -97,7 +97,7 @@ static ring_buffer usart6_rb; static usart_dev usart6 = { .regs = USART6_BASE, .rb = &usart6_rb, - .max_baud = 4500000UL, /* TODO: are these correct? */ + .max_baud = 4500000UL, /* TODO: are these correct? 5250000UL for STM32F4? */ .clk_id = RCC_USART6, .irq_num = NVIC_USART6, }; |