1#[doc = "Register `rfl` reader"]
2pub type R = crate::R<RFL_SPEC>;
3#[doc = "Field `rfl` reader - RX FIFO Level"]
4pub type RFL_R = crate::FieldReader<u16>;
5impl R {
6 #[doc = "Bits 0:8 - RX FIFO Level"]
7 #[inline(always)]
8 pub fn rfl(&self) -> RFL_R {
9 RFL_R::new((self.bits & 0x01ff) as u16)
10 }
11}
12#[doc = "UART Receive FIFO Level Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rfl::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct RFL_SPEC;
14impl crate::RegisterSpec for RFL_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`rfl::R`](R) reader structure"]
18impl crate::Readable for RFL_SPEC {}
19#[doc = "`reset()` method sets rfl to value 0"]
20impl crate::Resettable for RFL_SPEC {
21 const RESET_VALUE: Self::Ux = 0;
22}