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