[−][src]Struct gd32vf103_pac::adc1::ctl0::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 rwden(&mut self) -> _RWDENW
[src]
Bit 23 - Regular channel analog watchdog enable
pub fn iwden(&mut self) -> _IWDENW
[src]
Bit 22 - Inserted channel analog watchdog enable
pub fn disnum(&mut self) -> _DISNUMW
[src]
Bits 13:15 - Number of conversions in discontinuous mode
pub fn disic(&mut self) -> _DISICW
[src]
Bit 12 - Discontinuous mode on inserted channels
pub fn disrc(&mut self) -> _DISRCW
[src]
Bit 11 - Discontinuous mode on regular channels
pub fn ica(&mut self) -> _ICAW
[src]
Bit 10 - Inserted channel group convert automatically
pub fn wdsc(&mut self) -> _WDSCW
[src]
Bit 9 - When in scan mode, analog watchdog is effective on a single channel
pub fn sm(&mut self) -> _SMW
[src]
Bit 8 - Scan mode
pub fn eoicie(&mut self) -> _EOICIEW
[src]
Bit 7 - Interrupt enable for EOIC
pub fn wdeie(&mut self) -> _WDEIEW
[src]
Bit 6 - Interrupt enable for WDE
pub fn eocie(&mut self) -> _EOCIEW
[src]
Bit 5 - Interrupt enable for EOC
pub fn wdchsel(&mut self) -> _WDCHSELW
[src]
Bits 0:4 - Analog watchdog channel select
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,