[−][src]Struct alt_stm32f30x_hal::device::comp::comp5_csr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn comp5en(&self) -> COMP5ENR
[src]
Bit 0 - Comparator 5 enable
pub fn comp5mode(&self) -> COMP5MODER
[src]
Bits 2:3 - Comparator 5 mode
pub fn comp5inmsel(&self) -> COMP5INMSELR
[src]
Bits 4:6 - Comparator 5 inverting input selection
pub fn comp5inpsel(&self) -> COMP5INPSELR
[src]
Bit 7 - Comparator 5 non inverted input
pub fn comp5outsel(&self) -> COMP5OUTSELR
[src]
Bits 10:13 - Comparator 5 output selection
pub fn comp5pol(&self) -> COMP5POLR
[src]
Bit 15 - Comparator 5 output polarity
pub fn comp5hyst(&self) -> COMP5HYSTR
[src]
Bits 16:17 - Comparator 5 hysteresis
pub fn comp5_blanking(&self) -> COMP5_BLANKINGR
[src]
Bits 18:20 - Comparator 5 blanking source
pub fn comp5out(&self) -> COMP5OUTR
[src]
Bit 30 - Comparator 5 output
pub fn comp5lock(&self) -> COMP5LOCKR
[src]
Bit 31 - Comparator 5 lock
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self