#[repr(transparent)]pub struct Gusbcfg(pub u32);
Expand description
USB configuration register
Tuple Fields§
§0: u32
Implementations§
Source§impl Gusbcfg
impl Gusbcfg
Sourcepub fn set_physel(&mut self, val: bool)
pub fn set_physel(&mut self, val: bool)
Full-speed internal serial transceiver enable
Sourcepub fn set_srpcap(&mut self, val: bool)
pub fn set_srpcap(&mut self, val: bool)
SRP-capable
Sourcepub fn set_hnpcap(&mut self, val: bool)
pub fn set_hnpcap(&mut self, val: bool)
HNP-capable
Sourcepub fn set_phylpcs(&mut self, val: bool)
pub fn set_phylpcs(&mut self, val: bool)
PHY Low-power clock select
Sourcepub fn set_ulpifsls(&mut self, val: bool)
pub fn set_ulpifsls(&mut self, val: bool)
ULPI FS/LS select
Sourcepub fn set_ulpiar(&mut self, val: bool)
pub fn set_ulpiar(&mut self, val: bool)
ULPI Auto-resume
Sourcepub fn set_ulpicsm(&mut self, val: bool)
pub fn set_ulpicsm(&mut self, val: bool)
ULPI Clock SuspendM
Sourcepub const fn ulpievbusd(&self) -> bool
pub const fn ulpievbusd(&self) -> bool
ULPI External VBUS Drive
Sourcepub fn set_ulpievbusd(&mut self, val: bool)
pub fn set_ulpievbusd(&mut self, val: bool)
ULPI External VBUS Drive
Sourcepub const fn ulpievbusi(&self) -> bool
pub const fn ulpievbusi(&self) -> bool
ULPI external VBUS indicator
Sourcepub fn set_ulpievbusi(&mut self, val: bool)
pub fn set_ulpievbusi(&mut self, val: bool)
ULPI external VBUS indicator
Sourcepub fn set_ulpiipd(&mut self, val: bool)
pub fn set_ulpiipd(&mut self, val: bool)
ULPI interface protect disable
Sourcepub fn set_ctxpkt(&mut self, val: bool)
pub fn set_ctxpkt(&mut self, val: bool)
Corrupt Tx packet
Trait Implementations§
impl Copy for Gusbcfg
impl Eq for Gusbcfg
impl StructuralPartialEq for Gusbcfg
Auto Trait Implementations§
impl Freeze for Gusbcfg
impl RefUnwindSafe for Gusbcfg
impl Send for Gusbcfg
impl Sync for Gusbcfg
impl Unpin for Gusbcfg
impl UnwindSafe for Gusbcfg
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