#[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 more