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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
#[doc = r"Value read from the register"] pub struct R { bits: u32, } impl super::ISI_IMR { #[doc = r"Reads the contents of the register"] #[inline(always)] pub fn read(&self) -> R { R { bits: self.register.get(), } } } #[doc = r"Reader of the field"] pub type DIS_DONE_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type SRST_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type VSYNC_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type PXFR_DONE_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type CXFR_DONE_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type P_OVR_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type C_OVR_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type CRC_ERR_R = crate::FR<bool, bool>; #[doc = r"Reader of the field"] pub type FR_OVR_R = crate::FR<bool, bool>; impl R { #[doc = r"Value of the register as raw bits"] #[inline(always)] pub fn bits(&self) -> u32 { self.bits } #[doc = "Bit 1 - Module Disable Operation Completed"] #[inline(always)] pub fn dis_done(&self) -> DIS_DONE_R { DIS_DONE_R::new(((self.bits() >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Software Reset Completed"] #[inline(always)] pub fn srst(&self) -> SRST_R { SRST_R::new(((self.bits() >> 2) & 0x01) != 0) } #[doc = "Bit 10 - Vertical Synchronization"] #[inline(always)] pub fn vsync(&self) -> VSYNC_R { VSYNC_R::new(((self.bits() >> 10) & 0x01) != 0) } #[doc = "Bit 16 - Preview DMA Transfer Completed"] #[inline(always)] pub fn pxfr_done(&self) -> PXFR_DONE_R { PXFR_DONE_R::new(((self.bits() >> 16) & 0x01) != 0) } #[doc = "Bit 17 - Codec DMA Transfer Completed"] #[inline(always)] pub fn cxfr_done(&self) -> CXFR_DONE_R { CXFR_DONE_R::new(((self.bits() >> 17) & 0x01) != 0) } #[doc = "Bit 24 - Preview FIFO Overflow"] #[inline(always)] pub fn p_ovr(&self) -> P_OVR_R { P_OVR_R::new(((self.bits() >> 24) & 0x01) != 0) } #[doc = "Bit 25 - Codec FIFO Overflow"] #[inline(always)] pub fn c_ovr(&self) -> C_OVR_R { C_OVR_R::new(((self.bits() >> 25) & 0x01) != 0) } #[doc = "Bit 26 - CRC Synchronization Error"] #[inline(always)] pub fn crc_err(&self) -> CRC_ERR_R { CRC_ERR_R::new(((self.bits() >> 26) & 0x01) != 0) } #[doc = "Bit 27 - Frame Rate Overrun"] #[inline(always)] pub fn fr_ovr(&self) -> FR_OVR_R { FR_OVR_R::new(((self.bits() >> 27) & 0x01) != 0) } }