#[repr(transparent)]pub struct Rtune(pub u32);Expand description
The RTUNE mode is an alternative method for calibrating the DP and DM 45-Ohm source impedance.
Tuple Fields§
§0: u32Implementations§
Source§impl Rtune
impl Rtune
Sourcepub const fn rtunesel(&self) -> Rtunesel
pub const fn rtunesel(&self) -> Rtunesel
This signal selects the tuning method for the high-speed DP and DM source impedance of the USBHS.
Sourcepub const fn set_rtunesel(&mut self, val: Rtunesel)
pub const fn set_rtunesel(&mut self, val: Rtunesel)
This signal selects the tuning method for the high-speed DP and DM source impedance of the USBHS.
Sourcepub const fn rcalcode(&self) -> u8
pub const fn rcalcode(&self) -> u8
This signal is used to tune the internal 200 ohm resistor or the USBHS DP and DM high-speed source impedance.
Sourcepub const fn set_rcalcode(&mut self, val: u8)
pub const fn set_rcalcode(&mut self, val: u8)
This signal is used to tune the internal 200 ohm resistor or the USBHS DP and DM high-speed source impedance.
Trait Implementations§
impl Copy for Rtune
impl Eq for Rtune
impl StructuralPartialEq for Rtune
Auto Trait Implementations§
impl Freeze for Rtune
impl RefUnwindSafe for Rtune
impl Send for Rtune
impl Sync for Rtune
impl Unpin for Rtune
impl UnwindSafe for Rtune
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)