Struct stm32_metapac::otg::regs::Gusbcfg
#[repr(transparent)]pub struct Gusbcfg(pub u32);
Expand description
USB configuration register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Gusbcfg
impl Gusbcfg
pub fn set_physel(&mut self, val: bool)
pub fn set_physel(&mut self, val: bool)
Full-speed internal serial transceiver enable
pub fn set_srpcap(&mut self, val: bool)
pub fn set_srpcap(&mut self, val: bool)
SRP-capable
pub fn set_hnpcap(&mut self, val: bool)
pub fn set_hnpcap(&mut self, val: bool)
HNP-capable
pub fn set_phylpcs(&mut self, val: bool)
pub fn set_phylpcs(&mut self, val: bool)
PHY Low-power clock select
pub fn set_ulpifsls(&mut self, val: bool)
pub fn set_ulpifsls(&mut self, val: bool)
ULPI FS/LS select
pub fn set_ulpiar(&mut self, val: bool)
pub fn set_ulpiar(&mut self, val: bool)
ULPI Auto-resume
pub fn set_ulpicsm(&mut self, val: bool)
pub 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 fn set_ulpievbusd(&mut self, val: bool)
pub 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 fn set_ulpievbusi(&mut self, val: bool)
pub fn set_ulpievbusi(&mut self, val: bool)
ULPI external VBUS indicator
pub fn set_ulpiipd(&mut self, val: bool)
pub fn set_ulpiipd(&mut self, val: bool)
ULPI interface protect disable
pub fn set_ctxpkt(&mut self, val: bool)
pub fn set_ctxpkt(&mut self, val: bool)
Corrupt Tx packet
Trait Implementationsยง
ยงimpl PartialEq for Gusbcfg
impl PartialEq for Gusbcfg
impl Copy for Gusbcfg
impl Eq for Gusbcfg
impl StructuralEq for Gusbcfg
impl StructuralPartialEq for Gusbcfg
Auto Trait Implementationsยง
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