#[repr(transparent)]pub struct DacBravoFieldsetFoxtrot(pub u32);Expand description
Global Control.
Tuple Fields§
§0: u32Implementations§
Source§impl DacBravoFieldsetFoxtrot
impl DacBravoFieldsetFoxtrot
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 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 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.
Trait Implementations§
Source§impl Clone for DacBravoFieldsetFoxtrot
impl Clone for DacBravoFieldsetFoxtrot
Source§fn clone(&self) -> DacBravoFieldsetFoxtrot
fn clone(&self) -> DacBravoFieldsetFoxtrot
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more