#[repr(transparent)]pub struct DacAlphaFieldsetFoxtrot(pub u32);Expand description
Global Control.
Tuple Fields§
§0: u32Implementations§
Source§impl DacAlphaFieldsetFoxtrot
impl DacAlphaFieldsetFoxtrot
Sourcepub const fn dacen(&self) -> bool
pub const fn dacen(&self) -> bool
DAC Enable. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_dacen(&mut self, val: bool)
pub const fn set_dacen(&mut self, val: bool)
DAC Enable. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn dacrfs(&self) -> DacAlphaEnumDelta
pub const fn dacrfs(&self) -> DacAlphaEnumDelta
DAC Reference Select.
Sourcepub const fn set_dacrfs(&mut self, val: DacAlphaEnumDelta)
pub const fn set_dacrfs(&mut self, val: DacAlphaEnumDelta)
DAC Reference Select.
Sourcepub const fn fifoen(&self) -> bool
pub const fn fifoen(&self) -> bool
FIFO Enable. Raw bit values: false (0) = BufferMode: Enables FIFO mode and disables Buffer mode. Any data written to DATA[DATA] goes to buffer then goes to conversion.; true (1) = FifoMode: Enables FIFO mode. Data will be first read from FIFO to buffer and then goes to conversion.
Sourcepub const fn set_fifoen(&mut self, val: bool)
pub const fn set_fifoen(&mut self, val: bool)
FIFO Enable. Raw bit values: false (0) = BufferMode: Enables FIFO mode and disables Buffer mode. Any data written to DATA[DATA] goes to buffer then goes to conversion.; true (1) = FifoMode: Enables FIFO mode. Data will be first read from FIFO to buffer and then goes to conversion.
Sourcepub const fn swmd(&self) -> bool
pub const fn swmd(&self) -> bool
Swing Back Mode. Raw bit values: false (0) = Disable: Disables.; true (1) = Enable: Enables.
Sourcepub const fn set_swmd(&mut self, val: bool)
pub const fn set_swmd(&mut self, val: bool)
Swing Back Mode. Raw bit values: false (0) = Disable: Disables.; true (1) = Enable: Enables.
Sourcepub const fn trgsel(&self) -> bool
pub const fn trgsel(&self) -> bool
DAC Trigger Select. Raw bit values: false (0) = Hardware: Hardware trigger.; true (1) = Software: Software trigger.
Sourcepub const fn set_trgsel(&mut self, val: bool)
pub const fn set_trgsel(&mut self, val: bool)
DAC Trigger Select. Raw bit values: false (0) = Hardware: Hardware trigger.; true (1) = Software: Software trigger.
Sourcepub const fn ptgen(&self) -> bool
pub const fn ptgen(&self) -> bool
DAC Periodic Trigger Mode Enable. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_ptgen(&mut self, val: bool)
pub const fn set_ptgen(&mut self, val: bool)
DAC Periodic Trigger Mode Enable. Raw bit values: false (0) = Disabled: Disables.; true (1) = Enabled: Enables.
Sourcepub const fn set_latch_cyc(&mut self, val: u8)
pub const fn set_latch_cyc(&mut self, val: u8)
RCLK Cycles Before Data Latch.
Sourcepub const fn buf_en(&self) -> bool
pub const fn buf_en(&self) -> bool
Buffer Enable. Raw bit values: false (0) = UseBuf: Not used.; true (1) = NoUseBuf: Used.
Sourcepub const fn set_buf_en(&mut self, val: bool)
pub const fn set_buf_en(&mut self, val: bool)
Buffer Enable. Raw bit values: false (0) = UseBuf: Not used.; true (1) = NoUseBuf: Used.
Sourcepub const fn iref_ptat_ext_sel(&self) -> bool
pub const fn iref_ptat_ext_sel(&self) -> bool
External On-Chip PTAT Current Reference Select. Raw bit values: false (0) = NotSelected: Not selected.; true (1) = Selected: Selected.
Sourcepub const fn set_iref_ptat_ext_sel(&mut self, val: bool)
pub const fn set_iref_ptat_ext_sel(&mut self, val: bool)
External On-Chip PTAT Current Reference Select. Raw bit values: false (0) = NotSelected: Not selected.; true (1) = Selected: Selected.
Sourcepub const fn iref_ztc_ext_sel(&self) -> bool
pub const fn iref_ztc_ext_sel(&self) -> bool
External On-Chip ZTC Current Reference Select. Raw bit values: false (0) = NotSelected: Not selected.; true (1) = Selected: Selected.
Sourcepub const fn set_iref_ztc_ext_sel(&mut self, val: bool)
pub const fn set_iref_ztc_ext_sel(&mut self, val: bool)
External On-Chip ZTC Current Reference Select. Raw bit values: false (0) = NotSelected: Not selected.; true (1) = Selected: Selected.
Sourcepub const fn buf_spd_ctrl(&self) -> bool
pub const fn buf_spd_ctrl(&self) -> bool
OPAMP as Buffer, Speed Control Signal. Raw bit values: false (0) = LlpMode: Lower Low-Power mode.; true (1) = LpMode: Low-Power mode.
Sourcepub const fn set_buf_spd_ctrl(&mut self, val: bool)
pub const fn set_buf_spd_ctrl(&mut self, val: bool)
OPAMP as Buffer, Speed Control Signal. Raw bit values: false (0) = LlpMode: Lower Low-Power mode.; true (1) = LpMode: Low-Power mode.
Trait Implementations§
Source§impl Clone for DacAlphaFieldsetFoxtrot
impl Clone for DacAlphaFieldsetFoxtrot
Source§fn clone(&self) -> DacAlphaFieldsetFoxtrot
fn clone(&self) -> DacAlphaFieldsetFoxtrot
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more