[][src]Type Definition atsamd21g18a::rtc::mode0::ctrl::W

type W = W<u16, CTRL>;

Writer for register CTRL

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 mode(&mut self) -> MODE_W<'_>[src]

Bits 2:3 - Operating Mode

pub fn matchclr(&mut self) -> MATCHCLR_W<'_>[src]

Bit 7 - Clear on Match

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

Bits 8:11 - Prescaler