[−][src]Struct stm32f3xx_hal::stm32::comp::comp4_csr::COMP4INMSEL_W
Write proxy for field COMP4INMSEL
Implementations
impl<'a> COMP4INMSEL_W<'a>
[src]
pub fn variant(
self,
variant: COMP4INMSEL_A
) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
self,
variant: COMP4INMSEL_A
) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
Writes variant
to the field
pub fn one_quarter_vref(self) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
1/4 of VRefint
pub fn one_half_vref(self) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
1/2 of VRefint
pub fn three_quarter_vref(self) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
3/4 of VRefint
pub fn vref(self) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
VRefint
pub fn pa4_dac1_ch1(self) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
PA4 or DAC1_CH1 output if enabled
pub fn dac1_ch2(self) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
DAC1_CH2
pub fn pb2(self) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
PB2
pub unsafe fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _COMP4_CSR>>
[src]
Writes raw bits to the field
Auto Trait Implementations
impl<'a> Send for COMP4INMSEL_W<'a>
impl<'a> !Sync for COMP4INMSEL_W<'a>
impl<'a> Unpin for COMP4INMSEL_W<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,