pub type R = crate::R<IFrs>;
pub type FpiocR = crate::BitReader;
pub type FpdzcR = crate::BitReader;
pub type FpufcR = crate::BitReader;
pub type FpofcR = crate::BitReader;
pub type FpidcR = crate::BitReader;
pub type FpixcR = crate::BitReader;
impl R {
#[inline(always)]
pub fn fpioc(&self) -> FpiocR {
FpiocR::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn fpdzc(&self) -> FpdzcR {
FpdzcR::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn fpufc(&self) -> FpufcR {
FpufcR::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn fpofc(&self) -> FpofcR {
FpofcR::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn fpidc(&self) -> FpidcR {
FpidcR::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn fpixc(&self) -> FpixcR {
FpixcR::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("IF")
.field("fpioc", &self.fpioc())
.field("fpdzc", &self.fpdzc())
.field("fpufc", &self.fpufc())
.field("fpofc", &self.fpofc())
.field("fpidc", &self.fpidc())
.field("fpixc", &self.fpixc())
.finish()
}
}
pub struct IFrs;
impl crate::RegisterSpec for IFrs {
type Ux = u32;
}
impl crate::Readable for IFrs {}
impl crate::Resettable for IFrs {}