Silicon Labs Host Libraries
The parity for UART communication

HidUart_SetUartConfig() The parity for UART communication More...

Macros

#define HID_UART_NO_PARITY   0x00
 No parity. More...
 
#define HID_UART_ODD_PARITY   0x01
 Odd parity (sum of data bits is odd) More...
 
#define HID_UART_EVEN_PARITY   0x02
 Even parity (sum of data bits is even) More...
 
#define HID_UART_MARK_PARITY   0x03
 Mark parity (always 1) More...
 
#define HID_UART_SPACE_PARITY   0x04
 Space parity (always 0) More...
 

Detailed Description

HidUart_SetUartConfig() The parity for UART communication

Parity

Macro Definition Documentation

◆ HID_UART_EVEN_PARITY

#define HID_UART_EVEN_PARITY   0x02

Even parity (sum of data bits is even)

◆ HID_UART_MARK_PARITY

#define HID_UART_MARK_PARITY   0x03

Mark parity (always 1)

◆ HID_UART_NO_PARITY

#define HID_UART_NO_PARITY   0x00

No parity.

◆ HID_UART_ODD_PARITY

#define HID_UART_ODD_PARITY   0x01

Odd parity (sum of data bits is odd)

◆ HID_UART_SPACE_PARITY

#define HID_UART_SPACE_PARITY   0x04

Space parity (always 0)