Type Alias R

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

Register COMP6_CSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn comp6en(&self) -> COMP6EN_R

Bit 0 - Comparator 6 enable

Source

pub fn comp6mode(&self) -> COMP6MODE_R

Bits 2:3 - Comparator 6 mode

Source

pub fn comp6inmsel(&self) -> COMP6INMSEL_R

Bits 4:6 - Comparator 6 inverting input selection

Source

pub fn comp6inpsel(&self) -> COMP6INPSEL_R

Bit 7 - Comparator 6 non inverted input

Source

pub fn comp6winmode(&self) -> COMP6WINMODE_R

Bit 9 - Comparator 6 window mode

Source

pub fn comp6outsel(&self) -> COMP6OUTSEL_R

Bits 10:13 - Comparator 6 output selection

Source

pub fn comp6pol(&self) -> COMP6POL_R

Bit 15 - Comparator 6 output polarity

Source

pub fn comp6hyst(&self) -> COMP6HYST_R

Bits 16:17 - Comparator 6 hysteresis

Source

pub fn comp6_blanking(&self) -> COMP6_BLANKING_R

Bits 18:20 - Comparator 6 blanking source

Source

pub fn comp6inmsel3(&self) -> COMP6INMSEL3_R

Bit 22 - Comparator 6 inverting input selection

Source

pub fn comp6out(&self) -> COMP6OUT_R

Bit 30 - Comparator 6 output

Source

pub fn comp6lock(&self) -> COMP6LOCK_R

Bit 31 - Comparator 6 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