[−][src]Struct gd32vf103_pac::adc1::ctl1::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn swrcst(&mut self) -> _SWRCSTW
[src]
Bit 22 - Start on regular channel
pub fn swicst(&mut self) -> _SWICSTW
[src]
Bit 21 - Start on inserted channel
pub fn eterc(&mut self) -> _ETERCW
[src]
Bit 20 - External trigger enable for regular channel
pub fn etsrc(&mut self) -> _ETSRCW
[src]
Bits 17:19 - External trigger select for regular channel
pub fn eteic(&mut self) -> _ETEICW
[src]
Bit 15 - External trigger enable for inserted channel
pub fn etsic(&mut self) -> _ETSICW
[src]
Bits 12:14 - External trigger select for inserted channel
pub fn dal(&mut self) -> _DALW
[src]
Bit 11 - Data alignment
pub fn dma(&mut self) -> _DMAW
[src]
Bit 8 - DMA request enable
pub fn rstclb(&mut self) -> _RSTCLBW
[src]
Bit 3 - Reset calibration
pub fn clb(&mut self) -> _CLBW
[src]
Bit 2 - ADC calibration
pub fn ctn(&mut self) -> _CTNW
[src]
Bit 1 - Continuous mode
pub fn adcon(&mut self) -> _ADCONW
[src]
Bit 0 - ADC on
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,