#[repr(u8)]pub enum Pm {
Value1 = 0,
Value3 = 2,
Value4 = 3,
}
Expand description
Parity Mode
Value on reset: 0
Variants§
Value1 = 0
0: The parity generation is disabled.
Value3 = 2
2: Even parity is selected (parity bit = 1 on odd number of 1s in data, parity bit = 0 on even number of 1s in data).
Value4 = 3
3: Odd parity is selected (parity bit = 0 on odd number of 1s in data, parity bit = 1 on even number of 1s in data).
Trait Implementations§
impl Copy for Pm
impl Eq for Pm
impl StructuralPartialEq for Pm
Auto Trait Implementations§
impl RefUnwindSafe for Pm
impl Send for Pm
impl Sync for Pm
impl Unpin for Pm
impl UnwindSafe for Pm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more