pub type R = crate::R<MISRrs>;
pub type INMIS_R = crate::BitReader;
pub type OUTMIS_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn inmis(&self) -> INMIS_R {
INMIS_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn outmis(&self) -> OUTMIS_R {
OUTMIS_R::new(((self.bits >> 1) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("MISR")
.field("outmis", &self.outmis())
.field("inmis", &self.inmis())
.finish()
}
}
pub struct MISRrs;
impl crate::RegisterSpec for MISRrs {
type Ux = u32;
}
impl crate::Readable for MISRrs {}
impl crate::Resettable for MISRrs {}