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

type W = W<u32, CSR>;

Writer for register CSR

Methods

impl W[src]

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

Bit 0 - Comparator 1 enable

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

Bits 2:3 - Comparator 1 mode

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

Bits 4:6 - Comparator 1 inverting input selection

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

Bits 8:10 - Comparator 1 output selection

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

Bit 11 - Comparator 1 output polarity

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

Bits 12:13 - Comparator 1 hysteresis

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

Bit 15 - Comparator 1 lock

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

Bit 16 - Comparator 2 enable

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

Bits 18:19 - Comparator 2 mode

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

Bits 20:22 - Comparator 2 inverting input selection

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

Bit 23 - Window mode enable

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

Bits 24:26 - Comparator 2 output selection

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

Bit 27 - Comparator 2 output polarity

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

Bits 28:29 - Comparator 2 hysteresis

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

Bit 31 - Comparator 2 lock

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

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