[][src]Type Definition stm32f3::stm32f3x8::comp::comp1_csr::R

type R = R<u32, COMP1_CSR>;

Reader of register COMP1_CSR

Methods

impl R[src]

pub fn comp1en(&self) -> COMP1EN_R[src]

Bit 0 - Comparator 1 enable

pub fn comp1_inp_dac(&self) -> COMP1_INP_DAC_R[src]

Bit 1 - Comparator 1 non inverting input connection to DAC output

pub fn comp1mode(&self) -> COMP1MODE_R[src]

Bits 2:3 - Comparator 1 mode

pub fn comp1inmsel(&self) -> COMP1INMSEL_R[src]

Bits 4:6 - Comparator 1 inverting input selection

pub fn comp1outsel(&self) -> COMP1OUTSEL_R[src]

Bits 10:13 - Comparator 1 output selection

pub fn comp1pol(&self) -> COMP1POL_R[src]

Bit 15 - Comparator 1 output polarity

pub fn comp1hyst(&self) -> COMP1HYST_R[src]

Bits 16:17 - Comparator 1 hysteresis

pub fn comp1_blanking(&self) -> COMP1_BLANKING_R[src]

Bits 18:20 - Comparator 1 blanking source

pub fn comp1out(&self) -> COMP1OUT_R[src]

Bit 30 - Comparator 1 output

pub fn comp1lock(&self) -> COMP1LOCK_R[src]

Bit 31 - Comparator 1 lock