1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
#[doc = "Reader of register IF"] pub type R = crate::R<u32, super::IF>; #[doc = "Reader of field `ERASE`"] pub type ERASE_R = crate::R<bool, bool>; #[doc = "Reader of field `WRITE`"] pub type WRITE_R = crate::R<bool, bool>; #[doc = "Reader of field `CHOF`"] pub type CHOF_R = crate::R<bool, bool>; #[doc = "Reader of field `CMOF`"] pub type CMOF_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Erase Done Interrupt Read Flag"] #[inline(always)] pub fn erase(&self) -> ERASE_R { ERASE_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Write Done Interrupt Read Flag"] #[inline(always)] pub fn write(&self) -> WRITE_R { WRITE_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Cache Hits Overflow Interrupt Flag"] #[inline(always)] pub fn chof(&self) -> CHOF_R { CHOF_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Cache Misses Overflow Interrupt Flag"] #[inline(always)] pub fn cmof(&self) -> CMOF_R { CMOF_R::new(((self.bits >> 3) & 0x01) != 0) } }