pub type R = crate::R<IFrs>;
pub type EdgeR = crate::BitReader;
pub type WarmupR = crate::BitReader;
pub type AportconflictR = crate::BitReader;
impl R {
#[inline(always)]
pub fn edge(&self) -> EdgeR {
EdgeR::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn warmup(&self) -> WarmupR {
WarmupR::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn aportconflict(&self) -> AportconflictR {
AportconflictR::new(((self.bits >> 2) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IF")
.field("edge", &self.edge())
.field("warmup", &self.warmup())
.field("aportconflict", &self.aportconflict())
.finish()
}
}
pub struct IFrs;
impl crate::RegisterSpec for IFrs {
type Ux = u32;
}
impl crate::Readable for IFrs {}
impl crate::Resettable for IFrs {}