Struct atsamd21e18a::rtc::mode2::ctrl::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u16) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u16) -> &mut Self
Writes raw bits to the register
pub fn swrst(&mut self) -> _SWRSTW
[src]
pub fn swrst(&mut self) -> _SWRSTW
Bit 0 - Software Reset
pub fn enable(&mut self) -> _ENABLEW
[src]
pub fn enable(&mut self) -> _ENABLEW
Bit 1 - Enable
pub fn mode(&mut self) -> _MODEW
[src]
pub fn mode(&mut self) -> _MODEW
Bits 2:3 - Operating Mode
pub fn clkrep(&mut self) -> _CLKREPW
[src]
pub fn clkrep(&mut self) -> _CLKREPW
Bit 6 - Clock Representation
pub fn matchclr(&mut self) -> _MATCHCLRW
[src]
pub fn matchclr(&mut self) -> _MATCHCLRW
Bit 7 - Clear on Match
pub fn prescaler(&mut self) -> _PRESCALERW
[src]
pub fn prescaler(&mut self) -> _PRESCALERW
Bits 8:11 - Prescaler