Skip to main content

R

Type Alias R 

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

Register RTC_CONTROL reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn enable(&self) -> EnableR

Bit 0 - RTC enable

Source

pub fn mode(&self) -> ModeR

Bit 1 - Mode: 0=free running; 1=periodic

Source

pub fn int_mask(&self) -> IntMaskR

Bit 2 - Interrupt mask: 0=unmasked; 1=masked