Struct stm32l0x2::adc::cr::W
[−]
[src]
pub struct W { /* fields omitted */ }
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 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