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
#[doc = "Reader of register DFSDM3_RDATAR"] pub type R = crate::R<u32, super::DFSDM3_RDATAR>; #[doc = "Reader of field `RDATACH`"] pub type RDATACH_R = crate::R<u8, u8>; #[doc = "Reader of field `RPEND`"] pub type RPEND_R = crate::R<bool, bool>; #[doc = "Reader of field `RDATA`"] pub type RDATA_R = crate::R<u32, u32>; impl R { #[doc = "Bits 0:2 - Regular channel most recently converted"] #[inline(always)] pub fn rdatach(&self) -> RDATACH_R { RDATACH_R::new((self.bits & 0x07) as u8) } #[doc = "Bit 4 - Regular channel pending data"] #[inline(always)] pub fn rpend(&self) -> RPEND_R { RPEND_R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bits 8:31 - Regular channel conversion data"] #[inline(always)] pub fn rdata(&self) -> RDATA_R { RDATA_R::new(((self.bits >> 8) & 0x00ff_ffff) as u32) } }