Enum nrf52832_hal::pac::uart0::baudrate::BAUDRATE_A
source · [−]pub enum BAUDRATE_A {
Show 18 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
BAUD1200
323584: 1200 baud (actual rate: 1205)
BAUD2400
643072: 2400 baud (actual rate: 2396)
BAUD4800
1290240: 4800 baud (actual rate: 4808)
BAUD9600
2576384: 9600 baud (actual rate: 9598)
BAUD14400
3866624: 14400 baud (actual rate: 14414)
BAUD19200
5152768: 19200 baud (actual rate: 19208)
BAUD28800
7729152: 28800 baud (actual rate: 28829)
BAUD31250
8388608: 31250 baud
BAUD38400
10309632: 38400 baud (actual rate: 38462)
BAUD56000
15007744: 56000 baud (actual rate: 55944)
BAUD57600
15462400: 57600 baud (actual rate: 57762)
BAUD76800
20615168: 76800 baud (actual rate: 76923)
BAUD115200
30924800: 115200 baud (actual rate: 115942)
BAUD230400
61845504: 230400 baud (actual rate: 231884)
BAUD250000
67108864: 250000 baud
BAUD460800
123695104: 460800 baud (actual rate: 470588)
BAUD921600
247386112: 921600 baud (actual rate: 941176)
BAUD1M
268435456: 1Mega baud
Trait Implementations
sourceimpl Clone for BAUDRATE_A
impl Clone for BAUDRATE_A
sourcefn clone(&self) -> BAUDRATE_A
fn clone(&self) -> BAUDRATE_A
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BAUDRATE_A
impl Debug for BAUDRATE_A
sourceimpl PartialEq<BAUDRATE_A> for BAUDRATE_A
impl PartialEq<BAUDRATE_A> for BAUDRATE_A
sourcefn eq(&self, other: &BAUDRATE_A) -> bool
fn eq(&self, other: &BAUDRATE_A) -> bool
impl Copy for BAUDRATE_A
impl StructuralPartialEq for BAUDRATE_A
Auto Trait Implementations
impl RefUnwindSafe for BAUDRATE_A
impl Send for BAUDRATE_A
impl Sync for BAUDRATE_A
impl Unpin for BAUDRATE_A
impl UnwindSafe for BAUDRATE_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
sourceimpl<T> CheckedAs for T
impl<T> CheckedAs for T
sourcefn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
sourcefn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
sourceimpl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
sourcefn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
sourceimpl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
sourcefn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
sourceimpl<T> OverflowingAs for T
impl<T> OverflowingAs for T
sourcefn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
sourcefn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
sourceimpl<T> SaturatingAs for T
impl<T> SaturatingAs for T
sourcefn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
sourcefn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
sourceimpl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
sourcefn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
sourcefn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
sourceimpl<T> WrappingAs for T
impl<T> WrappingAs for T
sourcefn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
sourceimpl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
sourcefn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.