#[repr(transparent)]pub struct Usb2MiscSet(pub u32);Expand description
USB Misc Register
Tuple Fields§
§0: u32Implementations§
Source§impl Usb2MiscSet
impl Usb2MiscSet
Sourcepub const fn hs_use_external_r(&self) -> bool
pub const fn hs_use_external_r(&self) -> bool
Use external resistor to generate the current bias for the high speed transmitter
Sourcepub const fn set_hs_use_external_r(&mut self, val: bool)
pub const fn set_hs_use_external_r(&mut self, val: bool)
Use external resistor to generate the current bias for the high speed transmitter
Sourcepub const fn en_deglitch(&self) -> bool
pub const fn en_deglitch(&self) -> bool
Enable the deglitching circuit of the USB PLL output.
Sourcepub const fn set_en_deglitch(&mut self, val: bool)
pub const fn set_en_deglitch(&mut self, val: bool)
Enable the deglitching circuit of the USB PLL output.
Sourcepub const fn en_clk_utmi(&self) -> bool
pub const fn en_clk_utmi(&self) -> bool
Enables the clk to the UTMI block.
Sourcepub const fn set_en_clk_utmi(&mut self, val: bool)
pub const fn set_en_clk_utmi(&mut self, val: bool)
Enables the clk to the UTMI block.
Trait Implementations§
Source§impl Clone for Usb2MiscSet
impl Clone for Usb2MiscSet
Source§fn clone(&self) -> Usb2MiscSet
fn clone(&self) -> Usb2MiscSet
Returns a duplicate 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 Usb2MiscSet
impl Debug for Usb2MiscSet
Source§impl Default for Usb2MiscSet
impl Default for Usb2MiscSet
Source§fn default() -> Usb2MiscSet
fn default() -> Usb2MiscSet
Returns the “default value” for a type. Read more
Source§impl PartialEq for Usb2MiscSet
impl PartialEq for Usb2MiscSet
impl Copy for Usb2MiscSet
impl Eq for Usb2MiscSet
impl StructuralPartialEq for Usb2MiscSet
Auto Trait Implementations§
impl Freeze for Usb2MiscSet
impl RefUnwindSafe for Usb2MiscSet
impl Send for Usb2MiscSet
impl Sync for Usb2MiscSet
impl Unpin for Usb2MiscSet
impl UnwindSafe for Usb2MiscSet
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