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 StructuralEq for Dctl
impl StructuralPartialEq for Dctl
Auto Trait Implementationsยง
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