typeUartParity

Parity of a serial frame, as for machine.UART

Information

Parity of the frames of an external serial device (Internal.Devices.PartialUartDevice). Same three choices as the parity argument of machine.UART on the microcontroller: None, 0 (even: the total number of 1 bits, data plus parity, is even) or 1 (odd). A received byte whose parity bit is wrong is kept, with a warning in the log — the symptom of a transmitter and a receiver configured differently.

Literals

NameDescription
NoneNo parity bit
EvenEven parity (machine.UART parity=0)
OddOdd parity (machine.UART parity=1)