Type Alias R

Source
pub type R = R<u32, COMP1_CSR>;
Expand description

Reader of register COMP1_CSR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn comp1_en(&self) -> COMP1_EN_R

Bit 0 - Comparator enable

Source

pub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R

Bits 2:3 - Comparator power mode

Source

pub fn comp1_inmsel(&self) -> COMP1_INMSEL_R

Bits 4:6 - Comparator input minus selection

Source

pub fn comp1_inpsel(&self) -> COMP1_INPSEL_R

Bits 7:8 - Comparator input plus selection

Source

pub fn comp1_polarity(&self) -> COMP1_POLARITY_R

Bit 15 - Comparator output polarity

Source

pub fn comp1_hyst(&self) -> COMP1_HYST_R

Bits 16:17 - Comparator hysteresis

Source

pub fn comp1_blanking(&self) -> COMP1_BLANKING_R

Bits 18:20 - Comparator blanking source

Source

pub fn comp1_brgen(&self) -> COMP1_BRGEN_R

Bit 22 - Comparator voltage scaler enable

Source

pub fn comp1_scalen(&self) -> COMP1_SCALEN_R

Bit 23 - Comparator scaler bridge enable

Source

pub fn comp1_inmesel(&self) -> COMP1_INMESEL_R

Bits 25:26 - Comparator input minus extended selection

Source

pub fn comp1_value(&self) -> COMP1_VALUE_R

Bit 30 - Comparator output level

Source

pub fn comp1_lock(&self) -> COMP1_LOCK_R

Bit 31 - Comparator lock