#[repr(transparent)]pub struct Cfg3(pub u32);Expand description
Configuration Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Cfg3
impl Cfg3
Sourcepub const fn set_tprictrl(&mut self, val: Tprictrl2)
pub const fn set_tprictrl(&mut self, val: Tprictrl2)
ADC Trigger Priority Control.
Sourcepub const fn set_pwrsel(&mut self, val: Pwrsel2)
pub const fn set_pwrsel(&mut self, val: Pwrsel2)
Power Configuration Select.
Sourcepub const fn set_refsel(&mut self, val: Refsel2)
pub const fn set_refsel(&mut self, val: Refsel2)
Voltage Reference Selection.
Sourcepub const fn tres(&self) -> bool
pub const fn tres(&self) -> bool
Trigger Resume Enable. Raw bit values: false (0) = Disabled: Not automatically resumed or restarted.; true (1) = Enabled: Automatically resumed or restarted.
Sourcepub const fn set_tres(&mut self, val: bool)
pub const fn set_tres(&mut self, val: bool)
Trigger Resume Enable. Raw bit values: false (0) = Disabled: Not automatically resumed or restarted.; true (1) = Enabled: Automatically resumed or restarted.
Sourcepub const fn tcmdres(&self) -> bool
pub const fn tcmdres(&self) -> bool
Trigger Command Resume. Raw bit values: false (0) = Disabled: Trigger sequence automatically restarted.; true (1) = Enabled: Trigger sequence resumed from the command that was executed prior to the exception.
Sourcepub const fn set_tcmdres(&mut self, val: bool)
pub const fn set_tcmdres(&mut self, val: bool)
Trigger Command Resume. Raw bit values: false (0) = Disabled: Trigger sequence automatically restarted.; true (1) = Enabled: Trigger sequence resumed from the command that was executed prior to the exception.
Sourcepub const fn hpt_exdi(&self) -> bool
pub const fn hpt_exdi(&self) -> bool
High-Priority Trigger Exception Disable. Raw bit values: false (0) = Enabled: Enabled.; true (1) = Disabled: Disabled.
Sourcepub const fn set_hpt_exdi(&mut self, val: bool)
pub const fn set_hpt_exdi(&mut self, val: bool)
High-Priority Trigger Exception Disable. Raw bit values: false (0) = Enabled: Enabled.; true (1) = Disabled: Disabled.
Sourcepub const fn pwren(&self) -> bool
pub const fn pwren(&self) -> bool
ADC Analog Pre-Enable. Raw bit values: false (0) = NotPreEnabled: ADC analog circuits are only enabled while conversions are active. Analog startup delays affect performance.; true (1) = PreEnabled: ADC analog circuits are pre-enabled and ready to execute conversions without startup delays, at the cost of higher DC current consumption. A single power-up delay (CFG[PUDLY]) is executed immediately once PWREN is set. No detected triggers begin ADC operation until the power-up delay time has passed. After this initial delay expires, the analog circuits remain pre-enabled, and no additional delays are executed.
Sourcepub const fn set_pwren(&mut self, val: bool)
pub const fn set_pwren(&mut self, val: bool)
ADC Analog Pre-Enable. Raw bit values: false (0) = NotPreEnabled: ADC analog circuits are only enabled while conversions are active. Analog startup delays affect performance.; true (1) = PreEnabled: ADC analog circuits are pre-enabled and ready to execute conversions without startup delays, at the cost of higher DC current consumption. A single power-up delay (CFG[PUDLY]) is executed immediately once PWREN is set. No detected triggers begin ADC operation until the power-up delay time has passed. After this initial delay expires, the analog circuits remain pre-enabled, and no additional delays are executed.