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