diff --git a/lib/usart_enhanced.c b/lib/usart_enhanced.c index f519490..f7b8498 100644 --- a/lib/usart_enhanced.c +++ b/lib/usart_enhanced.c @@ -2,7 +2,7 @@ * @file usart_enhanced.c * @author King Kévin * @copyright SPDX-License-Identifier: GPL-3.0-or-later - * @date 2018 + * @date 2018-2021 * @details the USART peripherals only support 8 or 9-bit word and even or odd parity (included in the data bits). The library adds support for 5 to 8-bit words, none/even/odd/mark/space parity (on top of the data bits) * @note since parity is handled in software, the parity error (PE) flag is unused and should be replaced by the value return by usart_enhanced_parity_error * @remark 9-bit raw communication is not supported since this is not common and can be done without this library diff --git a/lib/usart_enhanced.h b/lib/usart_enhanced.h index 41b0353..20f1a02 100644 --- a/lib/usart_enhanced.h +++ b/lib/usart_enhanced.h @@ -2,13 +2,12 @@ * @file * @author King Kévin * @copyright SPDX-License-Identifier: GPL-3.0-or-later - * @date 2018 + * @date 2018-2021 * @details the USART peripherals only support 8 or 9-bit word and even or odd parity (included in the data bits). The library adds support for 5 to 8-bit words, none/even/odd/mark/space parity (on top of the data bits) * @note since parity is handled in software, the parity error (PE) flag is unused and should be replaced by the value return by usart_enhanced_parity_error * @remark 9-bit raw communication is not supported since this is not common and can be done without this library */ #pragma once -#error not converted for STM32F4 /** enhanced USART setting for the additional parity bit*/ enum usart_enhanced_parity_t {