Enum microbit::hal::uarte::Baudrate [−]
#[repr(u32)]
pub enum Baudrate {
Show variants
BAUD1200,
BAUD2400,
BAUD4800,
BAUD9600,
BAUD14400,
BAUD19200,
BAUD28800,
BAUD31250,
BAUD38400,
BAUD56000,
BAUD57600,
BAUD76800,
BAUD115200,
BAUD230400,
BAUD250000,
BAUD460800,
BAUD921600,
BAUD1M,
}Expand description
Baud rate
Value on reset: 67108864
Variants
323584: 1200 baud (actual rate: 1205)
643072: 2400 baud (actual rate: 2396)
1290240: 4800 baud (actual rate: 4808)
2576384: 9600 baud (actual rate: 9598)
3862528: 14400 baud (actual rate: 14401)
5152768: 19200 baud (actual rate: 19208)
7716864: 28800 baud (actual rate: 28777)
8388608: 31250 baud
10289152: 38400 baud (actual rate: 38369)
15007744: 56000 baud (actual rate: 55944)
15400960: 57600 baud (actual rate: 57554)
20615168: 76800 baud (actual rate: 76923)
30801920: 115200 baud (actual rate: 115108)
61865984: 230400 baud (actual rate: 231884)
67108864: 250000 baud
121634816: 460800 baud (actual rate: 457143)
251658240: 921600 baud (actual rate: 941176)
268435456: 1Mega baud
Trait Implementations
impl Clone for BAUDRATE_A
impl Clone for BAUDRATE_Apub fn clone(&self) -> BAUDRATE_A
pub fn clone(&self) -> BAUDRATE_AReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for BAUDRATE_A
impl Debug for BAUDRATE_Aimpl PartialEq<BAUDRATE_A> for BAUDRATE_A
impl PartialEq<BAUDRATE_A> for BAUDRATE_Apub fn eq(&self, other: &BAUDRATE_A) -> bool
pub fn eq(&self, other: &BAUDRATE_A) -> boolThis method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for BAUDRATE_A
impl StructuralPartialEq for BAUDRATE_A
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> CheckedAs for T[src]
impl<T> CheckedAs for T[src]pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>, [src]
pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>, [src]Casts the value.
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>, [src]
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>, [src]pub fn lossless_try_into(self) -> Option<Dst>[src]
pub fn lossless_try_into(self) -> Option<Dst>[src]Performs the conversion.
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>, [src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>, [src]pub fn lossy_into(self) -> Dst[src]
pub fn lossy_into(self) -> Dst[src]Performs the conversion.
impl<T> OverflowingAs for T[src]
impl<T> OverflowingAs for T[src]pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>, [src]
pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>, [src]Casts the value.
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> SaturatingAs for T[src]
impl<T> SaturatingAs for T[src]pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>, [src]
pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>, [src]Casts the value.
impl<T> UnwrappedAs for T[src]
impl<T> UnwrappedAs for T[src]pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>, [src]
pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>, [src]Casts the value.
impl<T> WrappingAs for T[src]
impl<T> WrappingAs for T[src]pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>, [src]
pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>, [src]Casts the value.