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