stm32l476/dfsdm1/
dfsdm_flt1awsr.rs1#[doc = "Register `DFSDM_FLT1AWSR` reader"]
2pub type R = crate::R<DfsdmFlt1awsrSpec>;
3#[doc = "Field `AWLTF` reader - Analog watchdog low threshold flag"]
4pub type AwltfR = crate::FieldReader;
5#[doc = "Field `AWHTF` reader - Analog watchdog high threshold flag"]
6pub type AwhtfR = crate::FieldReader;
7impl R {
8 #[doc = "Bits 0:7 - Analog watchdog low threshold flag"]
9 #[inline(always)]
10 pub fn awltf(&self) -> AwltfR {
11 AwltfR::new((self.bits & 0xff) as u8)
12 }
13 #[doc = "Bits 8:15 - Analog watchdog high threshold flag"]
14 #[inline(always)]
15 pub fn awhtf(&self) -> AwhtfR {
16 AwhtfR::new(((self.bits >> 8) & 0xff) as u8)
17 }
18}
19#[doc = "analog watchdog status register\n\nYou can [`read`](crate::Reg::read) this register and get [`dfsdm_flt1awsr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
20pub struct DfsdmFlt1awsrSpec;
21impl crate::RegisterSpec for DfsdmFlt1awsrSpec {
22 type Ux = u32;
23}
24#[doc = "`read()` method returns [`dfsdm_flt1awsr::R`](R) reader structure"]
25impl crate::Readable for DfsdmFlt1awsrSpec {}
26#[doc = "`reset()` method sets DFSDM_FLT1AWSR to value 0"]
27impl crate::Resettable for DfsdmFlt1awsrSpec {}