Enum nrf52832_hal::uarte::Baudrate[][src]

#[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

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

3862528: 14400 baud (actual rate: 14401)

BAUD19200

5152768: 19200 baud (actual rate: 19208)

BAUD28800

7716864: 28800 baud (actual rate: 28777)

BAUD31250

8388608: 31250 baud

BAUD38400

10289152: 38400 baud (actual rate: 38369)

BAUD56000

15007744: 56000 baud (actual rate: 55944)

BAUD57600

15400960: 57600 baud (actual rate: 57554)

BAUD76800

20615168: 76800 baud (actual rate: 76923)

BAUD115200

30801920: 115200 baud (actual rate: 115108)

BAUD230400

61865984: 230400 baud (actual rate: 231884)

BAUD250000

67108864: 250000 baud

BAUD460800

121634816: 460800 baud (actual rate: 457143)

BAUD921600

251658240: 921600 baud (actual rate: 941176)

BAUD1M

268435456: 1Mega baud

Trait Implementations

impl Clone for BAUDRATE_A[src]

pub fn clone(&self) -> BAUDRATE_A[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for BAUDRATE_A[src]

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

Formats the value using the given formatter. Read more

impl PartialEq<BAUDRATE_A> for BAUDRATE_A[src]

pub fn eq(&self, other: &BAUDRATE_A) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Copy for BAUDRATE_A[src]

impl StructuralPartialEq for BAUDRATE_A[src]

Auto Trait Implementations

impl Send for BAUDRATE_A

impl Sync for BAUDRATE_A

impl Unpin for BAUDRATE_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Az for T[src]

pub fn az<Dst>(self) -> Dst where
    T: Cast<Dst>, 
[src]

Casts the value.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> CheckedAs for T[src]

pub fn checked_as<Dst>(self) -> Option<Dst> where
    T: CheckedCast<Dst>, 
[src]

Casts the value.

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[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]

pub fn lossy_into(self) -> Dst[src]

Performs the conversion.

impl<T> OverflowingAs for T[src]

pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
    T: OverflowingCast<Dst>, 
[src]

Casts the value.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

pub fn saturating_as<Dst>(self) -> Dst where
    T: SaturatingCast<Dst>, 
[src]

Casts the value.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> UnwrappedAs for T[src]

pub fn unwrapped_as<Dst>(self) -> Dst where
    T: UnwrappedCast<Dst>, 
[src]

Casts the value.

impl<T> WrappingAs for T[src]

pub fn wrapping_as<Dst>(self) -> Dst where
    T: WrappingCast<Dst>, 
[src]

Casts the value.