Struct Dfltcr
#[repr(transparent)]pub struct Dfltcr(pub u32);Expand description
ADF digital filter control register 0.
Tuple Fields§
§0: u32Implementations§
§impl Dfltcr
impl Dfltcr
pub const fn dflten(&self) -> bool
pub const fn dflten(&self) -> bool
DFLT enable. This bit is set and reset by software. It is used to enable the digital filter.
pub const fn set_dflten(&mut self, val: bool)
pub const fn set_dflten(&mut self, val: bool)
DFLT enable. This bit is set and reset by software. It is used to enable the digital filter.
pub const fn dmaen(&self) -> bool
pub const fn dmaen(&self) -> bool
DMA requests enable. This bit is set and reset by software. It is used to control the generation of DMA request to transfer the processed samples into the memory.
pub const fn set_dmaen(&mut self, val: bool)
pub const fn set_dmaen(&mut self, val: bool)
DMA requests enable. This bit is set and reset by software. It is used to control the generation of DMA request to transfer the processed samples into the memory.
pub const fn set_acqmod(&mut self, val: Acqmod)
pub const fn set_acqmod(&mut self, val: Acqmod)
DFLT trigger mode.
pub const fn trgsens(&self) -> Trgsens
pub const fn trgsens(&self) -> Trgsens
DFLT trigger sensitivity selection. When the trigger source is TRGO, TRGSENS is not taken into account (sensitivity forced to falling edge).
pub const fn set_trgsens(&mut self, val: Trgsens)
pub const fn set_trgsens(&mut self, val: Trgsens)
DFLT trigger sensitivity selection. When the trigger source is TRGO, TRGSENS is not taken into account (sensitivity forced to falling edge).
pub const fn set_trgsrc(&mut self, val: Trgsrc)
pub const fn set_trgsrc(&mut self, val: Trgsrc)
DFLT trigger signal selection.
pub const fn set_dfltrun(&mut self, val: bool)
pub const fn set_dfltrun(&mut self, val: bool)
DFLT run status flag.
pub const fn dfltactive(&self) -> bool
pub const fn dfltactive(&self) -> bool
DFLT active flag.
pub const fn set_dfltactive(&mut self, val: bool)
pub const fn set_dfltactive(&mut self, val: bool)
DFLT active flag.