pub type R = crate::R<IFrs>;
pub type InstrdoneR = crate::BitReader;
pub type SeqdoneR = crate::BitReader;
impl R {
#[inline(always)]
pub fn instrdone(&self) -> InstrdoneR {
InstrdoneR::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn seqdone(&self) -> SeqdoneR {
SeqdoneR::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("IF")
.field("instrdone", &self.instrdone())
.field("seqdone", &self.seqdone())
.finish()
}
}
pub struct IFrs;
impl crate::RegisterSpec for IFrs {
type Ux = u32;
}
impl crate::Readable for IFrs {}
impl crate::Resettable for IFrs {}