Docr

Type Alias Docr 

Source
pub type Docr = RegValueT<Docr_SPEC>;
Expand description

DOC Control Register

Aliased Type§

pub struct Docr { /* private fields */ }

Implementations§

Source§

impl Docr

Source

pub fn oms(self) -> RegisterField<0, 0x3, 1, 0, Oms, Oms, Docr_SPEC, RW>

Operating Mode Select

Source

pub fn dcsel(self) -> RegisterField<2, 0x1, 1, 0, Dcsel, Dcsel, Docr_SPEC, RW>

Detection Condition Select

Source

pub fn dopcf(self) -> RegisterFieldBool<5, 1, 0, Docr_SPEC, R>

DOC Flag

Source

pub fn dopcfcl( self, ) -> RegisterField<6, 0x1, 1, 0, Dopcfcl, Dopcfcl, Docr_SPEC, RW>

DOPCF Clear

Trait Implementations§

Source§

impl Default for Docr

Source§

fn default() -> Docr

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