[][src]Type Definition stm32f3::stm32f3x8::comp::comp2_csr::W

type W = W<u32, COMP2_CSR>;

Writer for register COMP2_CSR

Methods

impl W[src]

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

Bit 0 - Comparator 2 enable

pub fn comp2inmsel(&mut self) -> COMP2INMSEL_W[src]

Bits 4:6 - Comparator 2 inverting input selection

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

Bits 10:13 - Comparator 2 output selection

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

Bit 15 - Comparator 2 output polarity

pub fn comp2_blanking(&mut self) -> COMP2_BLANKING_W[src]

Bits 18:20 - Comparator 2 blanking source

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

Bit 31 - Comparator 2 lock

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

Bits 2:3 - Comparator 2 mode

pub fn comp2inpsel(&mut self) -> COMP2INPSEL_W[src]

Bit 7 - Comparator 2 non inverted input

pub fn comp2winmode(&mut self) -> COMP2WINMODE_W[src]

Bit 9 - Comparator 2 window mode

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

Bits 16:17 - Comparator 2 hysteresis

pub fn comp2inmsel3(&mut self) -> COMP2INMSEL3_W[src]

Bit 22 - Comparator 2 inverting input selection