[][src]Type Definition k210_pac::rtc::extended::LEAP_YEAR_R

type LEAP_YEAR_R = R<bool, LEAP_YEAR_A>;

Reader of field leap_year

Methods

impl LEAP_YEAR_R[src]

pub fn variant(&self) -> LEAP_YEAR_A[src]

Get enumerated values variant

pub fn is_not_leap(&self) -> bool[src]

Checks if the value of the field is NOT_LEAP

pub fn is_leap(&self) -> bool[src]

Checks if the value of the field is LEAP