#[repr(transparent)]pub struct UsbphyTrim(pub u32);
Expand description
Used to adjust trim values of USB phy pull down resistors.
Tuple Fields§
§0: u32
Implementations§
Source§impl UsbphyTrim
impl UsbphyTrim
Sourcepub const fn dp_pulldn_trim(&self) -> u8
pub const fn dp_pulldn_trim(&self) -> u8
Value to drive to USB PHY DP pulldown resistor trim control Experimental data suggests that the reset value will work, but this register allows adjustment if required
Sourcepub fn set_dp_pulldn_trim(&mut self, val: u8)
pub fn set_dp_pulldn_trim(&mut self, val: u8)
Value to drive to USB PHY DP pulldown resistor trim control Experimental data suggests that the reset value will work, but this register allows adjustment if required
Sourcepub const fn dm_pulldn_trim(&self) -> u8
pub const fn dm_pulldn_trim(&self) -> u8
Value to drive to USB PHY DM pulldown resistor trim control Experimental data suggests that the reset value will work, but this register allows adjustment if required
Sourcepub fn set_dm_pulldn_trim(&mut self, val: u8)
pub fn set_dm_pulldn_trim(&mut self, val: u8)
Value to drive to USB PHY DM pulldown resistor trim control Experimental data suggests that the reset value will work, but this register allows adjustment if required
Trait Implementations§
Source§impl Clone for UsbphyTrim
impl Clone for UsbphyTrim
Source§fn clone(&self) -> UsbphyTrim
fn clone(&self) -> UsbphyTrim
Returns a copy 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 UsbphyTrim
impl Debug for UsbphyTrim
Source§impl Default for UsbphyTrim
impl Default for UsbphyTrim
Source§fn default() -> UsbphyTrim
fn default() -> UsbphyTrim
Returns the “default value” for a type. Read more
Source§impl PartialEq for UsbphyTrim
impl PartialEq for UsbphyTrim
impl Copy for UsbphyTrim
impl Eq for UsbphyTrim
impl StructuralPartialEq for UsbphyTrim
Auto Trait Implementations§
impl Freeze for UsbphyTrim
impl RefUnwindSafe for UsbphyTrim
impl Send for UsbphyTrim
impl Sync for UsbphyTrim
impl Unpin for UsbphyTrim
impl UnwindSafe for UsbphyTrim
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