#[repr(transparent)]pub struct Usb2Misc(pub u32);Expand description
USB Misc Register
Tuple Fields§
§0: u32Implementations§
Source§impl Usb2Misc
impl Usb2Misc
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§
impl Copy for Usb2Misc
impl Eq for Usb2Misc
impl StructuralPartialEq for Usb2Misc
Auto Trait Implementations§
impl Freeze for Usb2Misc
impl RefUnwindSafe for Usb2Misc
impl Send for Usb2Misc
impl Sync for Usb2Misc
impl Unpin for Usb2Misc
impl UnwindSafe for Usb2Misc
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