Struct 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)