[][src]Type Definition stm32f3::stm32f373::comp::csr::R

type R = R<u32, CSR>;

Reader of register CSR

Methods

impl R[src]

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

Bit 0 - Comparator 1 enable

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

Bits 2:3 - Comparator 1 mode

pub fn comp1insel(&self) -> COMP1INSEL_R[src]

Bits 4:6 - Comparator 1 inverting input selection

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

Bits 8:10 - Comparator 1 output selection

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

Bit 11 - Comparator 1 output polarity

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

Bits 12:13 - Comparator 1 hysteresis

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

Bit 14 - Comparator 1 output

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

Bit 15 - Comparator 1 lock

pub fn comp2en(&self) -> COMP2EN_R[src]

Bit 16 - Comparator 2 enable

pub fn comp2mode(&self) -> COMP2MODE_R[src]

Bits 18:19 - Comparator 2 mode

pub fn comp2insel(&self) -> COMP2INSEL_R[src]

Bits 20:22 - Comparator 2 inverting input selection

pub fn wndwen(&self) -> WNDWEN_R[src]

Bit 23 - Window mode enable

pub fn comp2outsel(&self) -> COMP2OUTSEL_R[src]

Bits 24:26 - Comparator 2 output selection

pub fn comp2pol(&self) -> COMP2POL_R[src]

Bit 27 - Comparator 2 output polarity

pub fn comp2hyst(&self) -> COMP2HYST_R[src]

Bits 28:29 - Comparator 2 hysteresis

pub fn comp2out(&self) -> COMP2OUT_R[src]

Bit 30 - Comparator 2 output

pub fn comp2lock(&self) -> COMP2LOCK_R[src]

Bit 31 - Comparator 2 lock

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

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