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
Value of the register as raw bits
fn comp2en(&self) -> Comp2enR
Bit 0 - Comparator 2 enable
fn comp2mode(&self) -> Comp2modeR
Bits 2:3 - Comparator 2 mode
fn comp2insel(&self) -> Comp2inselR
Bits 4:6 - Comparator 2 inverting input selection
fn comp2inpsel(&self) -> Comp2inpselR
Bit 7 - Comparator 2 non inverted input selection
fn comp2inmsel(&self) -> Comp2inmselR
Bit 9 - Comparator 1inverting input selection
fn comp2_out_sel(&self) -> Comp2OutSelR
Bits 10:13 - Comparator 2 output selection
fn comp2pol(&self) -> Comp2polR
Bit 15 - Comparator 2 output polarity
fn comp2hyst(&self) -> Comp2hystR
Bits 16:17 - Comparator 2 hysteresis
fn comp2_blanking(&self) -> Comp2BlankingR
Bits 18:20 - Comparator 2 blanking source
fn comp2out(&self) -> Comp2outR
Bit 30 - Comparator 2 output
fn comp2lock(&self) -> Comp2lockR
Bit 31 - Comparator 2 lock