Struct stm32_metapac::ucpd::regs::RxOrdextr2
#[repr(transparent)]pub struct RxOrdextr2(pub u32);
Expand description
Rx ordered set extension register 2
Tuple FieldsĀ§
Ā§0: u32
ImplementationsĀ§
Ā§impl RxOrdextr2
impl RxOrdextr2
pub const fn rxsopx2(&self) -> u32
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)
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
impl Clone for RxOrdextr2
Ā§fn clone(&self) -> RxOrdextr2
fn clone(&self) -> RxOrdextr2
Returns a copy of the value. Read more
1.0.0 Ā· sourceĀ§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreĀ§impl Default for RxOrdextr2
impl Default for RxOrdextr2
Ā§fn default() -> RxOrdextr2
fn default() -> RxOrdextr2
Returns the ādefault valueā for a type. Read more
Ā§impl PartialEq for RxOrdextr2
impl PartialEq for RxOrdextr2
Ā§fn eq(&self, other: &RxOrdextr2) -> bool
fn eq(&self, other: &RxOrdextr2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RxOrdextr2
impl Eq for RxOrdextr2
impl StructuralEq for RxOrdextr2
impl StructuralPartialEq for RxOrdextr2
Auto Trait ImplementationsĀ§
impl RefUnwindSafe for RxOrdextr2
impl Send for RxOrdextr2
impl Sync for RxOrdextr2
impl Unpin for RxOrdextr2
impl UnwindSafe for RxOrdextr2
Blanket ImplementationsĀ§
sourceĀ§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceĀ§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more