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
#[doc = "Reader of register DSEQSTAT"] pub type R = crate::R<u32, super::DSEQSTAT>; #[doc = "Reader of field `INPUTCTRL`"] pub type INPUTCTRL_R = crate::R<bool, bool>; #[doc = "Reader of field `CTRLB`"] pub type CTRLB_R = crate::R<bool, bool>; #[doc = "Reader of field `REFCTRL`"] pub type REFCTRL_R = crate::R<bool, bool>; #[doc = "Reader of field `AVGCTRL`"] pub type AVGCTRL_R = crate::R<bool, bool>; #[doc = "Reader of field `SAMPCTRL`"] pub type SAMPCTRL_R = crate::R<bool, bool>; #[doc = "Reader of field `WINLT`"] pub type WINLT_R = crate::R<bool, bool>; #[doc = "Reader of field `WINUT`"] pub type WINUT_R = crate::R<bool, bool>; #[doc = "Reader of field `GAINCORR`"] pub type GAINCORR_R = crate::R<bool, bool>; #[doc = "Reader of field `OFFSETCORR`"] pub type OFFSETCORR_R = crate::R<bool, bool>; #[doc = "Reader of field `BUSY`"] pub type BUSY_R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - Input Control"] #[inline(always)] pub fn inputctrl(&self) -> INPUTCTRL_R { INPUTCTRL_R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - Control B"] #[inline(always)] pub fn ctrlb(&self) -> CTRLB_R { CTRLB_R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - Reference Control"] #[inline(always)] pub fn refctrl(&self) -> REFCTRL_R { REFCTRL_R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - Average Control"] #[inline(always)] pub fn avgctrl(&self) -> AVGCTRL_R { AVGCTRL_R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - Sampling Time Control"] #[inline(always)] pub fn sampctrl(&self) -> SAMPCTRL_R { SAMPCTRL_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - Window Monitor Lower Threshold"] #[inline(always)] pub fn winlt(&self) -> WINLT_R { WINLT_R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - Window Monitor Upper Threshold"] #[inline(always)] pub fn winut(&self) -> WINUT_R { WINUT_R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - Gain Correction"] #[inline(always)] pub fn gaincorr(&self) -> GAINCORR_R { GAINCORR_R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - Offset Correction"] #[inline(always)] pub fn offsetcorr(&self) -> OFFSETCORR_R { OFFSETCORR_R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 31 - DMA Sequencing Busy"] #[inline(always)] pub fn busy(&self) -> BUSY_R { BUSY_R::new(((self.bits >> 31) & 0x01) != 0) } }