usart_enhanced: mark STM32F4 compatible (no difference with STM32F1)

This commit is contained in:
King Kévin 2021-05-08 10:25:21 +02:00
parent c9dfb09ace
commit 1aa498d5bc
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @file usart_enhanced.c
* @author King Kévin <kingkevin@cuvoodoo.info>
* @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

View File

@ -2,13 +2,12 @@
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @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 {