Struct stm32f103xx::adc2::cr2::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 tsvrefe(&mut self) -> _TSVREFEW
[src]
Bit 23 - Temperature sensor and VREFINT enable
pub fn swstart(&mut self) -> _SWSTARTW
[src]
Bit 22 - Start conversion of regular channels
pub fn jswstart(&mut self) -> _JSWSTARTW
[src]
Bit 21 - Start conversion of injected channels
pub fn exttrig(&mut self) -> _EXTTRIGW
[src]
Bit 20 - External trigger conversion mode for regular channels
pub fn extsel(&mut self) -> _EXTSELW
[src]
Bits 17:19 - External event select for regular group
pub fn jexttrig(&mut self) -> _JEXTTRIGW
[src]
Bit 15 - External trigger conversion mode for injected channels
pub fn jextsel(&mut self) -> _JEXTSELW
[src]
Bits 12:14 - External event select for injected group
pub fn align(&mut self) -> _ALIGNW
[src]
Bit 11 - Data alignment
pub fn dma(&mut self) -> _DMAW
[src]
Bit 8 - Direct memory access mode
pub fn rstcal(&mut self) -> _RSTCALW
[src]
Bit 3 - Reset calibration
pub fn cal(&mut self) -> _CALW
[src]
Bit 2 - A/D calibration
pub fn cont(&mut self) -> _CONTW
[src]
Bit 1 - Continuous conversion
pub fn adon(&mut self) -> _ADONW
[src]
Bit 0 - A/D converter ON / OFF