Struct stm32g4::stm32g431::adc12_common::ccr::CKMODE_W [−][src]
Write proxy for field CKMODE
Implementations
impl<'a> CKMODE_W<'a>
[src]
pub fn variant(self, variant: CKMODE_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn asynchronous(self) -> &'a mut W
[src]
Use Kernel Clock adc_ker_ck_input divided by PRESC. Asynchronous to AHB clock
pub fn sync_div1(self) -> &'a mut W
[src]
Use AHB clock rcc_hclk3. In this case rcc_hclk must equal sys_d1cpre_ck
pub fn sync_div2(self) -> &'a mut W
[src]
Use AHB clock rcc_hclk3 divided by 2
pub fn sync_div4(self) -> &'a mut W
[src]
Use AHB clock rcc_hclk3 divided by 4
pub fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
impl<'a> Send for CKMODE_W<'a>
[src]
impl<'a> !Sync for CKMODE_W<'a>
[src]
impl<'a> Unpin for CKMODE_W<'a>
[src]
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, 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>,