[−]Struct nucleo_f042k6::comp::csr::_COMP2INSELW
Proxy
Methods
impl<'a> _COMP2INSELW<'a>
pub fn variant(self, variant: COMP2INSELW) -> &'a mut W
Writes variant
to the field
pub fn one_quarter_vref(self) -> &'a mut W
1/4 of VRefint
pub fn one_half_vref(self) -> &'a mut W
1/2 of VRefint
pub fn three_quarter_vref(self) -> &'a mut W
3/4 of VRefint
pub fn vref(self) -> &'a mut W
VRefint
pub fn comp2_inm4(self) -> &'a mut W
COMP1_INM4 (PA4 with DAC_OUT1 if enabled)
pub fn comp2_inm5(self) -> &'a mut W
COMP1_INM5 (PA5 with DAC_OUT2 if present and enabled)
pub fn comp2_inm6(self) -> &'a mut W
COMP1_INM6 (PA2)
pub unsafe fn bits(self, value: u8) -> &'a mut W
Writes raw bits to the field
Auto Trait Implementations
impl<'a> Unpin for _COMP2INSELW<'a>
impl<'a> Sync for _COMP2INSELW<'a>
impl<'a> Send for _COMP2INSELW<'a>
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