pub type R = crate::R<MMCRIRrs>;
pub type W = crate::W<MMCRIRrs>;
pub type RFCES_R = crate::BitReader;
pub type RFCES_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RFAES_R = crate::BitReader;
pub type RFAES_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RGUFS_R = crate::BitReader;
pub type RGUFS_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn rfces(&self) -> RFCES_R {
RFCES_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn rfaes(&self) -> RFAES_R {
RFAES_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn rgufs(&self) -> RGUFS_R {
RGUFS_R::new(((self.bits >> 17) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("MMCRIR")
.field("rfces", &self.rfces())
.field("rfaes", &self.rfaes())
.field("rgufs", &self.rgufs())
.finish()
}
}
impl W {
#[inline(always)]
pub fn rfces(&mut self) -> RFCES_W<MMCRIRrs> {
RFCES_W::new(self, 5)
}
#[inline(always)]
pub fn rfaes(&mut self) -> RFAES_W<MMCRIRrs> {
RFAES_W::new(self, 6)
}
#[inline(always)]
pub fn rgufs(&mut self) -> RGUFS_W<MMCRIRrs> {
RGUFS_W::new(self, 17)
}
}
pub struct MMCRIRrs;
impl crate::RegisterSpec for MMCRIRrs {
type Ux = u32;
}
impl crate::Readable for MMCRIRrs {}
impl crate::Writable for MMCRIRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for MMCRIRrs {}