1#[doc = "Register `cflr%s` reader"]
2pub type R = crate::R<CFLR_SPEC>;
3#[doc = "Field `cflr` reader - When the capture channel captures a falling edge, the current value of the 16-bit up-counter is latched to the register."]
4pub type CFLR_R = crate::FieldReader<u16>;
5impl R {
6 #[doc = "Bits 0:15 - When the capture channel captures a falling edge, the current value of the 16-bit up-counter is latched to the register."]
7 #[inline(always)]
8 pub fn cflr(&self) -> CFLR_R {
9 CFLR_R::new((self.bits & 0xffff) as u16)
10 }
11}
12#[doc = "Capture Fall Lock Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cflr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct CFLR_SPEC;
14impl crate::RegisterSpec for CFLR_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`cflr::R`](R) reader structure"]
18impl crate::Readable for CFLR_SPEC {}
19#[doc = "`reset()` method sets cflr%s to value 0"]
20impl crate::Resettable for CFLR_SPEC {
21 const RESET_VALUE: Self::Ux = 0;
22}