From ff3d197c123b85bb51bc2b930b4649124fe4bb54 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 2 Mar 2015 23:59:49 -0800 Subject: stm32f4: note possibly incorrect max_baud entries --- libmaple/stm32f2-f4/usart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmaple/stm32f2-f4') 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, }; -- cgit v1.2.3