Type Alias atsamd51p::adc0::ctrla::R

source ·
pub type R = R<CTRLA_SPEC>;
Expand description

Register CTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn swrst(&self) -> SWRST_R

Bit 0 - Software Reset

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn dualsel(&self) -> DUALSEL_R

Bits 3:4 - Dual Mode Trigger Selection

source

pub fn slaveen(&self) -> SLAVEEN_R

Bit 5 - Slave Enable

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 6 - Run in Standby

source

pub fn ondemand(&self) -> ONDEMAND_R

Bit 7 - On Demand Control

source

pub fn prescaler(&self) -> PRESCALER_R

Bits 8:10 - Prescaler Configuration

source

pub fn r2r(&self) -> R2R_R

Bit 15 - Rail to Rail Operation Enable