1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#[doc = "Register `FFSR` reader"]
pub type R = crate::R<FFSR_SPEC>;
#[doc = "Field `FlInProg` reader - "]
pub type FL_IN_PROG_R = crate::BitReader;
#[doc = "Field `FtStopped` reader - "]
pub type FT_STOPPED_R = crate::BitReader;
#[doc = "Field `TCPresent` reader - "]
pub type TCPRESENT_R = crate::BitReader;
#[doc = "Field `FtNonStop` reader - "]
pub type FT_NON_STOP_R = crate::BitReader;
impl R {
    #[doc = "Bit 0"]
    #[inline(always)]
    pub fn fl_in_prog(&self) -> FL_IN_PROG_R {
        FL_IN_PROG_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1"]
    #[inline(always)]
    pub fn ft_stopped(&self) -> FT_STOPPED_R {
        FT_STOPPED_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2"]
    #[inline(always)]
    pub fn tcpresent(&self) -> TCPRESENT_R {
        TCPRESENT_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3"]
    #[inline(always)]
    pub fn ft_non_stop(&self) -> FT_NON_STOP_R {
        FT_NON_STOP_R::new(((self.bits >> 3) & 1) != 0)
    }
}
#[doc = "Formatter and Flush Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ffsr::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct FFSR_SPEC;
impl crate::RegisterSpec for FFSR_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`ffsr::R`](R) reader structure"]
impl crate::Readable for FFSR_SPEC {}
#[doc = "`reset()` method sets FFSR to value 0"]
impl crate::Resettable for FFSR_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}