#[repr(transparent)]pub struct Dctl(pub u32);
Expand description
Device control register
Tuple Fields§
§0: u32
Implementations§
Source§impl Dctl
impl Dctl
Sourcepub fn set_rwusig(&mut self, val: bool)
pub fn set_rwusig(&mut self, val: bool)
Remote wakeup signaling
Sourcepub fn set_ginsts(&mut self, val: bool)
pub fn set_ginsts(&mut self, val: bool)
Global IN NAK status
Sourcepub fn set_gonsts(&mut self, val: bool)
pub fn set_gonsts(&mut self, val: bool)
Global OUT NAK status
Sourcepub fn set_sginak(&mut self, val: bool)
pub fn set_sginak(&mut self, val: bool)
Set global IN NAK
Sourcepub fn set_cginak(&mut self, val: bool)
pub fn set_cginak(&mut self, val: bool)
Clear global IN NAK
Sourcepub fn set_sgonak(&mut self, val: bool)
pub fn set_sgonak(&mut self, val: bool)
Set global OUT NAK
Sourcepub fn set_cgonak(&mut self, val: bool)
pub fn set_cgonak(&mut self, val: bool)
Clear global OUT NAK
Sourcepub 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