Struct rp_pac::usb::regs::UsbphyTrim
source · #[repr(transparent)]pub struct UsbphyTrim(pub u32);
Expand description
Note that most functions are driven directly from usb_fsls controller. This register allows more detailed control/status from the USB PHY. Useful for debug but not expected to be used in normal operation
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UsbphyTrim
impl Default for UsbphyTrim
source§fn default() -> UsbphyTrim
fn default() -> UsbphyTrim
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)