Type Alias atsamd51p::rtc::mode2::timestamp::R

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

Register TIMESTAMP reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn second(&self) -> SECOND_R

Bits 0:5 - Second Timestamp Value

source

pub fn minute(&self) -> MINUTE_R

Bits 6:11 - Minute Timestamp Value

source

pub fn hour(&self) -> HOUR_R

Bits 12:16 - Hour Timestamp Value

source

pub fn day(&self) -> DAY_R

Bits 17:21 - Day Timestamp Value

source

pub fn month(&self) -> MONTH_R

Bits 22:25 - Month Timestamp Value

source

pub fn year(&self) -> YEAR_R

Bits 26:31 - Year Timestamp Value