Struct stm32_metapac::ucpd::regs::TxOrdsetr
#[repr(transparent)]pub struct TxOrdsetr(pub u32);
Expand description
Tx ordered set type register
Tuple Fields§
§0: u32
Implementations§
§impl TxOrdsetr
impl TxOrdsetr
pub const fn txordset(&self) -> u32
pub const fn txordset(&self) -> u32
Ordered set to transmit The bitfield determines a full 20-bit sequence to transmit, consisting of four K-codes, each of five bits, defining the packet to transmit. The bit 0 (bit 0 of K-code1) is the first, the bit 19 (bit 4 of K‑code4) the last.
pub fn set_txordset(&mut self, val: u32)
pub fn set_txordset(&mut self, val: u32)
Ordered set to transmit The bitfield determines a full 20-bit sequence to transmit, consisting of four K-codes, each of five bits, defining the packet to transmit. The bit 0 (bit 0 of K-code1) is the first, the bit 19 (bit 4 of K‑code4) the last.
Trait Implementations§
impl Copy for TxOrdsetr
impl Eq for TxOrdsetr
impl StructuralPartialEq for TxOrdsetr
Auto Trait Implementations§
impl Freeze for TxOrdsetr
impl RefUnwindSafe for TxOrdsetr
impl Send for TxOrdsetr
impl Sync for TxOrdsetr
impl Unpin for TxOrdsetr
impl UnwindSafe for TxOrdsetr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)