Type Definition atsame54p19a_pac::adc0::ctrla::W[][src]

type W = W<u16, CTRLA>;

Writer for register CTRLA

Implementations

impl W[src]

pub fn swrst(&mut self) -> SWRST_W<'_>[src]

Bit 0 - Software Reset

pub fn enable(&mut self) -> ENABLE_W<'_>[src]

Bit 1 - Enable

pub fn dualsel(&mut self) -> DUALSEL_W<'_>[src]

Bits 3:4 - Dual Mode Trigger Selection

pub fn slaveen(&mut self) -> SLAVEEN_W<'_>[src]

Bit 5 - Slave Enable

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_>[src]

Bit 6 - Run in Standby

pub fn ondemand(&mut self) -> ONDEMAND_W<'_>[src]

Bit 7 - On Demand Control

pub fn prescaler(&mut self) -> PRESCALER_W<'_>[src]

Bits 8:10 - Prescaler Configuration

pub fn r2r(&mut self) -> R2R_W<'_>[src]

Bit 15 - Rail to Rail Operation Enable