[−][src]Struct stm32l0xx_hal::device::adc::cr::W
Value to write to the register
Methods
impl W
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut W
[src]
Writes raw bits to the register
pub fn aden(&mut self) -> _ADENW
[src]
Bit 0 - ADC enable command
pub fn addis(&mut self) -> _ADDISW
[src]
Bit 1 - ADC disable command
pub fn adstart(&mut self) -> _ADSTARTW
[src]
Bit 2 - ADC start conversion command
pub fn adstp(&mut self) -> _ADSTPW
[src]
Bit 4 - ADC stop conversion command
pub fn advregen(&mut self) -> _ADVREGENW
[src]
Bit 28 - ADC Voltage Regulator Enable
pub fn adcal(&mut self) -> _ADCALW
[src]
Bit 31 - ADC calibration
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
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, 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