usart_enhanced: mark STM32F4 compatible (no difference with STM32F1)
This commit is contained in:
parent
ce0848343d
commit
4d53d868fe
@ -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
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user