stm32-metapac

Crates

git

Versions

stm32h7s7l8

Flavors

šŸ“£ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.
#[repr(transparent)]
pub struct RxOrdextr2(pub u32);
Expand description

Rx ordered set extension register 2

Tuple FieldsĀ§

Ā§0: u32

ImplementationsĀ§

Ā§

impl RxOrdextr2

pub const fn rxsopx2(&self) -> u32

Ordered set 2 received The bitfield contains a full 20-bit sequence received, consisting of four Kā€‘codes, each of five bits. The bit 0 (bit 0 of Kā€‘code1) is receive first, the bit 19 (bit 4 of Kā€‘code4) last.

pub fn set_rxsopx2(&mut self, val: u32)

Ordered set 2 received The bitfield contains a full 20-bit sequence received, consisting of four Kā€‘codes, each of five bits. The bit 0 (bit 0 of Kā€‘code1) is receive first, the bit 19 (bit 4 of Kā€‘code4) last.

Trait ImplementationsĀ§

Ā§

impl Clone for RxOrdextr2

Ā§

fn clone(&self) -> RxOrdextr2

Returns a copy of the value. Read more
1.0.0 Ā· sourceĀ§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Ā§

impl Default for RxOrdextr2

Ā§

fn default() -> RxOrdextr2

Returns the ā€œdefault valueā€ for a type. Read more
Ā§

impl PartialEq for RxOrdextr2

Ā§

fn eq(&self, other: &RxOrdextr2) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 Ā· sourceĀ§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Ā§

impl Copy for RxOrdextr2

Ā§

impl Eq for RxOrdextr2

Ā§

impl StructuralEq for RxOrdextr2

Ā§

impl StructuralPartialEq for RxOrdextr2

Auto Trait ImplementationsĀ§

Blanket ImplementationsĀ§

sourceĀ§

impl<T> Any for T
where T: 'static + ?Sized,

sourceĀ§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
sourceĀ§

impl<T> Borrow<T> for T
where T: ?Sized,

sourceĀ§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
sourceĀ§

impl<T> BorrowMut<T> for T
where T: ?Sized,

sourceĀ§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
sourceĀ§

impl<T> From<T> for T

sourceĀ§

fn from(t: T) -> T

Returns the argument unchanged.

sourceĀ§

impl<T, U> Into<U> for T
where U: From<T>,

sourceĀ§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

sourceĀ§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Ā§

type Error = Infallible

The type returned in the event of a conversion error.
sourceĀ§

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

Performs the conversion.
sourceĀ§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Ā§

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

The type returned in the event of a conversion error.
sourceĀ§

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

Performs the conversion.