#[repr(u8)]pub enum PARITY_A {
NONE = 0,
EVEN = 2,
ODD = 3,
}
Expand description
Parity-Bit Mode
Value on reset: 0
Variants§
NONE = 0
0: Parity bits are not used
EVEN = 2
2: Even parity are used. Parity bits are automatically generated and checked by hardware.
ODD = 3
3: Odd parity is used. Parity bits are automatically generated and checked by hardware.
Trait Implementations§
impl Copy for PARITY_A
impl StructuralPartialEq for PARITY_A
Auto Trait Implementations§
impl Freeze for PARITY_A
impl RefUnwindSafe for PARITY_A
impl Send for PARITY_A
impl Sync for PARITY_A
impl Unpin for PARITY_A
impl UnwindSafe for PARITY_A
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