[][src]Struct stm32l0xx_hal::device::syscfg::comp2_csr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

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

Bit 0 - Comparator 2 enable bit

pub fn comp2speed(&mut self) -> _COMP2SPEEDW[src]

Bit 3 - Comparator 2 power mode selection bit

pub fn comp2innsel(&mut self) -> _COMP2INNSELW[src]

Bits 4:6 - Comparator 2 Input Minus connection configuration bit

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

Bits 8:10 - Comparator 2 Input Plus connection configuration bit

pub fn comp2lptimin2(&mut self) -> _COMP2LPTIMIN2W[src]

Bit 12 - Comparator 2 LPTIM input 2 propagation bit

pub fn comp2lptimin1(&mut self) -> _COMP2LPTIMIN1W[src]

Bit 13 - Comparator 2 LPTIM input 1 propagation bit

pub fn comp2polarity(&mut self) -> _COMP2POLARITYW[src]

Bit 15 - Comparator 2 polarity selection bit

pub fn comp2value(&mut self) -> _COMP2VALUEW[src]

Bit 30 - Comparator 2 output status bit

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

Bit 31 - COMP2_CSR register lock bit

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self