#[repr(transparent)]pub struct Usb1LoopbackHsfscnt(pub u32);Expand description
USB PHY Loopback Packet Number Select Register
Tuple Fields§
§0: u32Implementations§
Source§impl Usb1LoopbackHsfscnt
impl Usb1LoopbackHsfscnt
Sourcepub const fn tsti_hs_number(&self) -> u16
pub const fn tsti_hs_number(&self) -> u16
High speed packet number, used when USB1_LOOPBACK[TSTI_HSFS_MODE_EN] is set to value 1’b1.
Sourcepub const fn set_tsti_hs_number(&mut self, val: u16)
pub const fn set_tsti_hs_number(&mut self, val: u16)
High speed packet number, used when USB1_LOOPBACK[TSTI_HSFS_MODE_EN] is set to value 1’b1.
Sourcepub const fn tsti_fs_number(&self) -> u16
pub const fn tsti_fs_number(&self) -> u16
Full speed packet number, used when USB1_LOOPBACK[TSTI_HSFS_MODE_EN] is set to value 1’b1.
Sourcepub const fn set_tsti_fs_number(&mut self, val: u16)
pub const fn set_tsti_fs_number(&mut self, val: u16)
Full speed packet number, used when USB1_LOOPBACK[TSTI_HSFS_MODE_EN] is set to value 1’b1.
Trait Implementations§
Source§impl Clone for Usb1LoopbackHsfscnt
impl Clone for Usb1LoopbackHsfscnt
Source§fn clone(&self) -> Usb1LoopbackHsfscnt
fn clone(&self) -> Usb1LoopbackHsfscnt
Returns a duplicate 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 moreSource§impl Debug for Usb1LoopbackHsfscnt
impl Debug for Usb1LoopbackHsfscnt
Source§impl Default for Usb1LoopbackHsfscnt
impl Default for Usb1LoopbackHsfscnt
Source§fn default() -> Usb1LoopbackHsfscnt
fn default() -> Usb1LoopbackHsfscnt
Returns the “default value” for a type. Read more
Source§impl PartialEq for Usb1LoopbackHsfscnt
impl PartialEq for Usb1LoopbackHsfscnt
impl Copy for Usb1LoopbackHsfscnt
impl Eq for Usb1LoopbackHsfscnt
impl StructuralPartialEq for Usb1LoopbackHsfscnt
Auto Trait Implementations§
impl Freeze for Usb1LoopbackHsfscnt
impl RefUnwindSafe for Usb1LoopbackHsfscnt
impl Send for Usb1LoopbackHsfscnt
impl Sync for Usb1LoopbackHsfscnt
impl Unpin for Usb1LoopbackHsfscnt
impl UnwindSafe for Usb1LoopbackHsfscnt
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