1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#[doc = "Reader of register DFSDM2_AWSR"]
pub type R = crate::R<u32, super::DFSDM2_AWSR>;
#[doc = "Reader of field `AWLTF`"]
pub type AWLTF_R = crate::R<u8, u8>;
#[doc = "Reader of field `AWHTF`"]
pub type AWHTF_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bits 0:7 - Analog watchdog low threshold flag"]
    #[inline(always)]
    pub fn awltf(&self) -> AWLTF_R {
        AWLTF_R::new((self.bits & 0xff) as u8)
    }
    #[doc = "Bits 8:15 - Analog watchdog high threshold flag"]
    #[inline(always)]
    pub fn awhtf(&self) -> AWHTF_R {
        AWHTF_R::new(((self.bits >> 8) & 0xff) as u8)
    }
}