Skip to main content

Srcctrl

Type Alias Srcctrl 

Source
pub type Srcctrl = RegValueT<Srcctrl_SPEC>;
Expand description

Control Register

Aliased Type§

pub struct Srcctrl { /* private fields */ }

Implementations§

Source§

impl Srcctrl

Source

pub fn ficrae( self, ) -> RegisterField<15, 0x1, 1, 0, Ficrae, Ficrae, Srcctrl_SPEC, RW>

Filter Coefficient Table Access Enable

Source

pub fn ceen(self) -> RegisterField<13, 0x1, 1, 0, Ceen, Ceen, Srcctrl_SPEC, RW>

Conversion End Interrupt Enable

Source

pub fn srcen( self, ) -> RegisterField<12, 0x1, 1, 0, Srcen, Srcen, Srcctrl_SPEC, RW>

Module Enable

Source

pub fn uden(self) -> RegisterField<11, 0x1, 1, 0, Uden, Uden, Srcctrl_SPEC, RW>

Output Data FIFO Underflow Interrupt Enable

Source

pub fn oven(self) -> RegisterField<10, 0x1, 1, 0, Oven, Oven, Srcctrl_SPEC, RW>

Output Data FIFO Overwrite Interrupt Enable

Source

pub fn fl(self) -> RegisterField<9, 0x1, 1, 0, Fl, Fl, Srcctrl_SPEC, W>

Internal Work Memory Flush

Source

pub fn cl(self) -> RegisterField<8, 0x1, 1, 0, Cl, Cl, Srcctrl_SPEC, W>

Internal Work Memory Clear

Source

pub fn ifs(self) -> RegisterField<4, 0xf, 1, 0, Ifs, Ifs, Srcctrl_SPEC, RW>

Input Sampling Rate

Source

pub fn ofs(self) -> RegisterField<0, 0x7, 1, 0, Ofs, Ofs, Srcctrl_SPEC, RW>

Output Sampling Rate

Trait Implementations§

Source§

impl Default for Srcctrl

Source§

fn default() -> Srcctrl

Returns the “default value” for a type. Read more