Type Alias R

Source
pub type R = R<COMP4_CSRrs>;
Expand description

Register COMP4_CSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn comp4en(&self) -> COMP4EN_R

Bit 0 - Comparator 4 enable

Source

pub fn comp4mode(&self) -> COMP4MODE_R

Bits 2:3 - Comparator 4 mode

Source

pub fn comp4inmsel(&self) -> COMP4INMSEL_R

Bits 4:6 - Comparator 4 inverting input selection

Source

pub fn comp4inpsel(&self) -> COMP4INPSEL_R

Bit 7 - Comparator 4 non inverted input

Source

pub fn comp4outsel(&self) -> COMP4OUTSEL_R

Bits 10:13 - Comparator 4 output selection

Source

pub fn comp4pol(&self) -> COMP4POL_R

Bit 15 - Comparator 4 output polarity

Source

pub fn comp4hyst(&self) -> COMP4HYST_R

Bits 16:17 - Comparator 4 hysteresis

Source

pub fn comp4_blanking(&self) -> COMP4_BLANKING_R

Bits 18:20 - Comparator 4 blanking source

Source

pub fn comp4out(&self) -> COMP4OUT_R

Bit 30 - Comparator 4 output

Source

pub fn comp4lock(&self) -> COMP4LOCK_R

Bit 31 - Comparator 4 lock

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more