pub type R = crate::R<SMISRrs>;
pub type ALRAMF_R = crate::BitReader;
pub type ALRBMF_R = crate::BitReader;
pub type WUTMF_R = crate::BitReader;
pub type TSMF_R = crate::BitReader;
pub type TSOVMF_R = crate::BitReader;
pub type ITSMF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn alramf(&self) -> ALRAMF_R {
ALRAMF_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn alrbmf(&self) -> ALRBMF_R {
ALRBMF_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn wutmf(&self) -> WUTMF_R {
WUTMF_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn tsmf(&self) -> TSMF_R {
TSMF_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn tsovmf(&self) -> TSOVMF_R {
TSOVMF_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn itsmf(&self) -> ITSMF_R {
ITSMF_R::new(((self.bits >> 5) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SMISR")
.field("alramf", &self.alramf())
.field("alrbmf", &self.alrbmf())
.field("wutmf", &self.wutmf())
.field("tsmf", &self.tsmf())
.field("tsovmf", &self.tsovmf())
.field("itsmf", &self.itsmf())
.finish()
}
}
pub struct SMISRrs;
impl crate::RegisterSpec for SMISRrs {
type Ux = u32;
}
impl crate::Readable for SMISRrs {}
impl crate::Resettable for SMISRrs {}