[−][src]Struct stm32f3::stm32f303::syscfg_comp_opamp::comp2_csr::W
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W | [src] |
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self | [src] |
Writes raw bits to the register
pub fn comp2en(&mut self) -> _COMP2ENW | [src] |
Bit 0 - Comparator 2 enable
pub fn comp2mode(&mut self) -> _COMP2MODEW | [src] |
Bits 2:3 - Comparator 2 mode
pub fn comp2insel(&mut self) -> _COMP2INSELW | [src] |
Bits 4:6 - Comparator 2 inverting input selection
pub fn comp2inpsel(&mut self) -> _COMP2INPSELW | [src] |
Bit 7 - Comparator 2 non inverted input selection
pub fn comp2inmsel(&mut self) -> _COMP2INMSELW | [src] |
Bit 9 - Comparator 1inverting input selection
pub fn comp2_out_sel(&mut self) -> _COMP2_OUT_SELW | [src] |
Bits 10:13 - Comparator 2 output selection
pub fn comp2pol(&mut self) -> _COMP2POLW | [src] |
Bit 15 - Comparator 2 output polarity
pub fn comp2hyst(&mut self) -> _COMP2HYSTW | [src] |
Bits 16:17 - Comparator 2 hysteresis
pub fn comp2_blanking(&mut self) -> _COMP2_BLANKINGW | [src] |
Bits 18:20 - Comparator 2 blanking source
pub fn comp2lock(&mut self) -> _COMP2LOCKW | [src] |
Bit 31 - Comparator 2 lock
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |