Enum rppal::uart::Parity [−][src]
pub enum Parity {
None,
Even,
Odd,
Mark,
Space,
}
Expand description
Parity bit modes.
The parity bit mode determines how the parity bit is calculated.
None
omits the parity bit. Even
and Odd
count the total number of
1-bits in the data bits. Mark
and Space
always set the parity
bit to 1
or 0
respectively.
Variants
No parity bit.
Even parity.
Odd parity.
Sets parity bit to 1
.
Sets parity bit to 0
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Parity
impl UnwindSafe for Parity
Blanket Implementations
Mutably borrows from an owned value. Read more