Struct rp2040_pac2::usb::regs::UsbphyTrim[][src]

#[repr(transparent)]pub struct UsbphyTrim(pub u32);

Used to adjust trim values of USB phy pull down resistors.

Implementations

impl UsbphyTrim[src]

pub const fn dm_pulldn_trim(&self) -> u8[src]

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

pub fn set_dm_pulldn_trim(&mut self, val: u8)[src]

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

pub const fn dp_pulldn_trim(&self) -> u8[src]

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

pub fn set_dp_pulldn_trim(&mut self, val: u8)[src]

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

Trait Implementations

impl Clone for UsbphyTrim[src]

impl Copy for UsbphyTrim[src]

impl Default for UsbphyTrim[src]

Auto Trait Implementations

impl Send for UsbphyTrim

impl Sync for UsbphyTrim

impl Unpin for UsbphyTrim

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.