mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
kinetis: Use 9 bit UART config for 8E1, 8O1 modes
This commit is contained in:
parent
1a4c01a912
commit
282dafdd25
@ -205,9 +205,9 @@ typedef enum {
|
||||
/** @brief 8 data bits, no parity, 1 stop bit */
|
||||
#define UART_MODE_8N1 (0)
|
||||
/** @brief 8 data bits, even parity, 1 stop bit */
|
||||
#define UART_MODE_8E1 (UART_C1_PE_MASK)
|
||||
#define UART_MODE_8E1 (UART_C1_PE_MASK | UART_C1_M_MASK)
|
||||
/** @brief 8 data bits, odd parity, 1 stop bit */
|
||||
#define UART_MODE_8O1 (UART_C1_PE_MASK | UART_C1_PT_MASK)
|
||||
#define UART_MODE_8O1 (UART_C1_PE_MASK | UART_C1_M_MASK | UART_C1_PT_MASK)
|
||||
/** @} */
|
||||
|
||||
#ifndef DOXYGEN
|
||||
|
Loading…
Reference in New Issue
Block a user