Struct stm32f30x::comp::comp2_csr::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
fn bits(&self) -> u32
[src]
Value of the register as raw bits
fn comp2en(&self) -> COMP2ENR
[src]
Bit 0 - Comparator 2 enable
fn comp2mode(&self) -> COMP2MODER
[src]
Bits 2:3 - Comparator 2 mode
fn comp2insel(&self) -> COMP2INSELR
[src]
Bits 4:6 - Comparator 2 inverting input selection
fn comp2inpsel(&self) -> COMP2INPSELR
[src]
Bit 7 - Comparator 2 non inverted input selection
fn comp2inmsel(&self) -> COMP2INMSELR
[src]
Bit 9 - Comparator 1inverting input selection
fn comp2_out_sel(&self) -> COMP2_OUT_SELR
[src]
Bits 10:13 - Comparator 2 output selection
fn comp2pol(&self) -> COMP2POLR
[src]
Bit 15 - Comparator 2 output polarity
fn comp2hyst(&self) -> COMP2HYSTR
[src]
Bits 16:17 - Comparator 2 hysteresis
fn comp2_blanking(&self) -> COMP2_BLANKINGR
[src]
Bits 18:20 - Comparator 2 blanking source
fn comp2out(&self) -> COMP2OUTR
[src]
Bit 30 - Comparator 2 output
fn comp2lock(&self) -> COMP2LOCKR
[src]
Bit 31 - Comparator 2 lock