Struct stm32_metapac::ucpd::regs::RxPayszr
#[repr(transparent)]pub struct RxPayszr(pub u32);
Tuple Fields§
§0: u32
Implementations§
§impl RxPayszr
impl RxPayszr
pub const fn rxpaysz(&self) -> u16
pub const fn rxpaysz(&self) -> u16
Rx payload size received This bitfield contains the number of bytes of a payload (including header but excluding CRC) received: each time a new data byte is received in the RXDR register, the bitfield value increments and the RXMSGEND flag is set (and an interrupt generated if enabled). The bitfield may return a spurious value when a byte reception is ongoing (the RXMSGEND flag is low).
pub fn set_rxpaysz(&mut self, val: u16)
pub fn set_rxpaysz(&mut self, val: u16)
Rx payload size received This bitfield contains the number of bytes of a payload (including header but excluding CRC) received: each time a new data byte is received in the RXDR register, the bitfield value increments and the RXMSGEND flag is set (and an interrupt generated if enabled). The bitfield may return a spurious value when a byte reception is ongoing (the RXMSGEND flag is low).
Trait Implementations§
impl Copy for RxPayszr
impl Eq for RxPayszr
impl StructuralPartialEq for RxPayszr
Auto Trait Implementations§
impl Freeze for RxPayszr
impl RefUnwindSafe for RxPayszr
impl Send for RxPayszr
impl Sync for RxPayszr
impl Unpin for RxPayszr
impl UnwindSafe for RxPayszr
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
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)
clone_to_uninit
)