#[repr(u8)]
pub enum NBSTOPSELECT_A {
_1_BIT,
_1_5_BIT,
_2_BIT,
}
Expand description
Number of Stop Bits
Value on reset: 0
Variants
_1_BIT
0: 1 stop bit
_1_5_BIT
1: 1.5 stop bit (SYNC = 0) or reserved (SYNC = 1)
_2_BIT
2: 2 stop bits
Trait Implementations
sourceimpl Clone for NBSTOPSELECT_A
impl Clone for NBSTOPSELECT_A
sourcefn clone(&self) -> NBSTOPSELECT_A
fn clone(&self) -> NBSTOPSELECT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NBSTOPSELECT_A
impl Debug for NBSTOPSELECT_A
sourceimpl From<NBSTOPSELECT_A> for u8
impl From<NBSTOPSELECT_A> for u8
sourcefn from(variant: NBSTOPSELECT_A) -> Self
fn from(variant: NBSTOPSELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<NBSTOPSELECT_A> for NBSTOPSELECT_A
impl PartialEq<NBSTOPSELECT_A> for NBSTOPSELECT_A
sourcefn eq(&self, other: &NBSTOPSELECT_A) -> bool
fn eq(&self, other: &NBSTOPSELECT_A) -> bool
impl Copy for NBSTOPSELECT_A
impl StructuralPartialEq for NBSTOPSELECT_A
Auto Trait Implementations
impl RefUnwindSafe for NBSTOPSELECT_A
impl Send for NBSTOPSELECT_A
impl Sync for NBSTOPSELECT_A
impl Unpin for NBSTOPSELECT_A
impl UnwindSafe for NBSTOPSELECT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more