[][src]Type Definition stm32f3::stm32f303::comp::comp2_csr::R

type R = R<u32, COMP2_CSR>;

Reader of register COMP2_CSR

Methods

impl R[src]

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

Bit 0 - Comparator 2 enable

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

Bits 4:6 - Comparator 2 inverting input selection

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

Bits 10:13 - Comparator 2 output selection

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

Bit 15 - Comparator 2 output polarity

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

Bits 18:20 - Comparator 2 blanking source

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 comp2mode(&self) -> COMP2MODE_R[src]

Bits 2:3 - Comparator 2 mode

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

Bit 7 - Comparator 2 non inverted input

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

Bit 9 - Comparator 2 window mode

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

Bits 16:17 - Comparator 2 hysteresis

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

Bit 22 - Comparator 2 inverting input selection