#[repr(transparent)]pub struct Usb1LoopbackHsfscntSet(pub u32);Expand description
USB PHY Loopback Packet Number Select Register
Tuple Fields§
§0: u32Implementations§
Source§impl Usb1LoopbackHsfscntSet
impl Usb1LoopbackHsfscntSet
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 Usb1LoopbackHsfscntSet
impl Clone for Usb1LoopbackHsfscntSet
Source§fn clone(&self) -> Usb1LoopbackHsfscntSet
fn clone(&self) -> Usb1LoopbackHsfscntSet
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 Usb1LoopbackHsfscntSet
impl Debug for Usb1LoopbackHsfscntSet
Source§impl Default for Usb1LoopbackHsfscntSet
impl Default for Usb1LoopbackHsfscntSet
Source§fn default() -> Usb1LoopbackHsfscntSet
fn default() -> Usb1LoopbackHsfscntSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for Usb1LoopbackHsfscntSet
impl PartialEq for Usb1LoopbackHsfscntSet
impl Copy for Usb1LoopbackHsfscntSet
impl Eq for Usb1LoopbackHsfscntSet
impl StructuralPartialEq for Usb1LoopbackHsfscntSet
Auto Trait Implementations§
impl Freeze for Usb1LoopbackHsfscntSet
impl RefUnwindSafe for Usb1LoopbackHsfscntSet
impl Send for Usb1LoopbackHsfscntSet
impl Sync for Usb1LoopbackHsfscntSet
impl Unpin for Usb1LoopbackHsfscntSet
impl UnwindSafe for Usb1LoopbackHsfscntSet
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