#[repr(transparent)]pub struct Usb2MiscClr(pub u32);Expand description
USB Misc Register
Tuple Fields§
§0: u32Implementations§
Source§impl Usb2MiscClr
impl Usb2MiscClr
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 Usb2MiscClr
impl Clone for Usb2MiscClr
Source§fn clone(&self) -> Usb2MiscClr
fn clone(&self) -> Usb2MiscClr
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 Usb2MiscClr
impl Debug for Usb2MiscClr
Source§impl Default for Usb2MiscClr
impl Default for Usb2MiscClr
Source§fn default() -> Usb2MiscClr
fn default() -> Usb2MiscClr
Returns the “default value” for a type. Read more
Source§impl PartialEq for Usb2MiscClr
impl PartialEq for Usb2MiscClr
impl Copy for Usb2MiscClr
impl Eq for Usb2MiscClr
impl StructuralPartialEq for Usb2MiscClr
Auto Trait Implementations§
impl Freeze for Usb2MiscClr
impl RefUnwindSafe for Usb2MiscClr
impl Send for Usb2MiscClr
impl Sync for Usb2MiscClr
impl Unpin for Usb2MiscClr
impl UnwindSafe for Usb2MiscClr
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