#[repr(transparent)]pub struct Debug0Mask(pub u32);Expand description
DEBUG0 SCT command mask. Zero construction default ensures only explicitly selected bits are written. Register-map hardware reset values are not command payload defaults. Source conflict: RM 42.8 (text lines 106616-106618) says SCT aliases always read 0, must be write-only, and cannot exist for read-only primaries; RM 42.7.1 maps writable primary aliases as RW and also lists aliases of read-only status registers. Mapped access is retained; no reliable alias readback is inferred.
Tuple Fields§
§0: u32Implementations§
Source§impl Debug0Mask
impl Debug0Mask
Sourcepub const fn otgidpiolock(&self) -> bool
pub const fn otgidpiolock(&self) -> bool
Hold OTG_ID.
Sourcepub const fn set_otgidpiolock(&mut self, val: bool)
pub const fn set_otgidpiolock(&mut self, val: bool)
Hold OTG_ID.
Sourcepub const fn hstpulldown(&self) -> u8
pub const fn hstpulldown(&self) -> u8
Host Pulldown Overdrive Mode. Raw encoding: 00b - Disconnect; 01b - Connect.
Sourcepub const fn set_hstpulldown(&mut self, val: u8)
pub const fn set_hstpulldown(&mut self, val: u8)
Host Pulldown Overdrive Mode. Raw encoding: 00b - Disconnect; 01b - Connect.
Sourcepub const fn enhstpulldown(&self) -> u8
pub const fn enhstpulldown(&self) -> u8
Enable Host Pulldown Overdrive Mode. Raw encoding: 00b - Disable; 01b - Enable.
Sourcepub const fn set_enhstpulldown(&mut self, val: u8)
pub const fn set_enhstpulldown(&mut self, val: u8)
Enable Host Pulldown Overdrive Mode. Raw encoding: 00b - Disable; 01b - Enable.
Trait Implementations§
Source§impl Clone for Debug0Mask
impl Clone for Debug0Mask
Source§fn clone(&self) -> Debug0Mask
fn clone(&self) -> Debug0Mask
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more