#[repr(transparent)]pub struct AnactrlMask(pub u32);Expand description
ANACTRL 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 AnactrlMask
impl AnactrlMask
Sourcepub const fn lvi_en(&self) -> bool
pub const fn lvi_en(&self) -> bool
Internal Low Voltage Detector Enable. Raw encoding: 0b - Disable; 1b - Enable.
Sourcepub const fn set_lvi_en(&mut self, val: bool)
pub const fn set_lvi_en(&mut self, val: bool)
Internal Low Voltage Detector Enable. Raw encoding: 0b - Disable; 1b - Enable.
Sourcepub const fn pfd_clk_sel(&self) -> u8
pub const fn pfd_clk_sel(&self) -> u8
PFD Clock Selection. Raw encoding: 00b - USB1PFDCLK = USB PLL reference clock; 01b - USB1PFDCLK = pfd_clk ÷ 4; 10b - USB1PFDCLK frequency = pfd_clk ÷ 2; 11b - USB1PFDCLK = pfd_clk.
Sourcepub const fn set_pfd_clk_sel(&mut self, val: u8)
pub const fn set_pfd_clk_sel(&mut self, val: u8)
PFD Clock Selection. Raw encoding: 00b - USB1PFDCLK = USB PLL reference clock; 01b - USB1PFDCLK = pfd_clk ÷ 4; 10b - USB1PFDCLK frequency = pfd_clk ÷ 2; 11b - USB1PFDCLK = pfd_clk.
Sourcepub const fn dev_pulldown(&self) -> bool
pub const fn dev_pulldown(&self) -> bool
Device Pulldown Enable. Raw encoding: 0b - Disable; 1b - Enable.
Sourcepub const fn set_dev_pulldown(&mut self, val: bool)
pub const fn set_dev_pulldown(&mut self, val: bool)
Device Pulldown Enable. Raw encoding: 0b - Disable; 1b - Enable.
Trait Implementations§
Source§impl Clone for AnactrlMask
impl Clone for AnactrlMask
Source§fn clone(&self) -> AnactrlMask
fn clone(&self) -> AnactrlMask
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more