Struct stm32_metapac::otg::regs::Dctl
#[repr(transparent)]pub struct Dctl(pub u32);
Expand description
Device control register
Tuple Fields§
§0: u32
Implementations§
§impl Dctl
impl Dctl
pub fn set_rwusig(&mut self, val: bool)
pub fn set_rwusig(&mut self, val: bool)
Remote wakeup signaling
pub fn set_ginsts(&mut self, val: bool)
pub fn set_ginsts(&mut self, val: bool)
Global IN NAK status
pub fn set_gonsts(&mut self, val: bool)
pub fn set_gonsts(&mut self, val: bool)
Global OUT NAK status
pub fn set_sginak(&mut self, val: bool)
pub fn set_sginak(&mut self, val: bool)
Set global IN NAK
pub fn set_cginak(&mut self, val: bool)
pub fn set_cginak(&mut self, val: bool)
Clear global IN NAK
pub fn set_sgonak(&mut self, val: bool)
pub fn set_sgonak(&mut self, val: bool)
Set global OUT NAK
pub fn set_cgonak(&mut self, val: bool)
pub fn set_cgonak(&mut self, val: bool)
Clear global OUT NAK
pub fn set_poprgdne(&mut self, val: bool)
pub fn set_poprgdne(&mut self, val: bool)
Power-on programming done
Trait Implementations§
impl Copy for Dctl
impl Eq for Dctl
impl StructuralPartialEq for Dctl
Auto Trait Implementations§
impl Freeze for Dctl
impl RefUnwindSafe for Dctl
impl Send for Dctl
impl Sync for Dctl
impl Unpin for Dctl
impl UnwindSafe for Dctl
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
)