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