Type Alias R

Source
pub type R = R<CR2rs>;
Expand description

Register CR2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn adon(&self) -> ADON_R

Bit 0 - A/D converter ON / OFF

Source

pub fn cont(&self) -> CONT_R

Bit 1 - Continuous conversion

Source

pub fn cal(&self) -> CAL_R

Bit 2 - A/D calibration

Source

pub fn rstcal(&self) -> RSTCAL_R

Bit 3 - Reset calibration

Source

pub fn dma(&self) -> DMA_R

Bit 8 - Direct memory access mode

Source

pub fn align(&self) -> ALIGN_R

Bit 11 - Data alignment

Source

pub fn jextsel(&self) -> JEXTSEL_R

Bits 12:14 - External event select for injected group

Source

pub fn jexttrig(&self) -> JEXTTRIG_R

Bit 15 - External trigger conversion mode for injected channels

Source

pub fn extsel(&self) -> EXTSEL_R

Bits 17:19 - External event select for regular group

Source

pub fn exttrig(&self) -> EXTTRIG_R

Bit 20 - External trigger conversion mode for regular channels

Source

pub fn jswstart(&self) -> JSWSTART_R

Bit 21 - Start conversion of injected channels

Source

pub fn swstart(&self) -> SWSTART_R

Bit 22 - Start conversion of regular channels

Source

pub fn tsvrefe(&self) -> TSVREFE_R

Bit 23 - Temperature sensor and VREFINT enable

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more