Struct microbit::hal::pac::uart0::baudrate::BAUDRATE_W[]

pub struct BAUDRATE_W<'a> { /* fields omitted */ }
Expand description

Write proxy for field BAUDRATE

Implementations

impl<'a> BAUDRATE_W<'a>

pub fn variant(self, variant: BAUDRATE_A) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

Writes variant to the field

pub fn baud1200(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

1200 baud (actual rate: 1205)

pub fn baud2400(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

2400 baud (actual rate: 2396)

pub fn baud4800(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

4800 baud (actual rate: 4808)

pub fn baud9600(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

9600 baud (actual rate: 9598)

pub fn baud14400(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

14400 baud (actual rate: 14414)

pub fn baud19200(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

19200 baud (actual rate: 19208)

pub fn baud28800(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

28800 baud (actual rate: 28829)

pub fn baud31250(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

31250 baud

pub fn baud38400(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

38400 baud (actual rate: 38462)

pub fn baud56000(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

56000 baud (actual rate: 55944)

pub fn baud57600(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

57600 baud (actual rate: 57762)

pub fn baud76800(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

76800 baud (actual rate: 76923)

pub fn baud115200(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

115200 baud (actual rate: 115942)

pub fn baud230400(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

230400 baud (actual rate: 231884)

pub fn baud250000(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

250000 baud

pub fn baud460800(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

460800 baud (actual rate: 470588)

pub fn baud921600(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

921600 baud (actual rate: 941176)

pub fn baud1m(self) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

1Mega baud

pub unsafe fn bits(self, value: u32) -> &'a mut W<u32, Reg<u32, _BAUDRATE>>

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for BAUDRATE_W<'a>

impl<'a> !Sync for BAUDRATE_W<'a>

impl<'a> Unpin for BAUDRATE_W<'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.