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