stm32f7_staging/stm32f779/dsi/
isr1.rs1pub type R = crate::R<ISR1rs>;
3pub type TOHSTX_R = crate::BitReader;
5pub type TOLPRX_R = crate::BitReader;
7pub type ECCSE_R = crate::BitReader;
9pub type ECCME_R = crate::BitReader;
11pub type CRCE_R = crate::BitReader;
13pub type PSE_R = crate::BitReader;
15pub type EOTPE_R = crate::BitReader;
17pub type LPWRE_R = crate::BitReader;
19pub type GCWRE_R = crate::BitReader;
21pub type GPWRE_R = crate::BitReader;
23pub type GPTXE_R = crate::BitReader;
25pub type GPRDE_R = crate::BitReader;
27pub type GPRXE_R = crate::BitReader;
29impl R {
30 #[inline(always)]
32 pub fn tohstx(&self) -> TOHSTX_R {
33 TOHSTX_R::new((self.bits & 1) != 0)
34 }
35 #[inline(always)]
37 pub fn tolprx(&self) -> TOLPRX_R {
38 TOLPRX_R::new(((self.bits >> 1) & 1) != 0)
39 }
40 #[inline(always)]
42 pub fn eccse(&self) -> ECCSE_R {
43 ECCSE_R::new(((self.bits >> 2) & 1) != 0)
44 }
45 #[inline(always)]
47 pub fn eccme(&self) -> ECCME_R {
48 ECCME_R::new(((self.bits >> 3) & 1) != 0)
49 }
50 #[inline(always)]
52 pub fn crce(&self) -> CRCE_R {
53 CRCE_R::new(((self.bits >> 4) & 1) != 0)
54 }
55 #[inline(always)]
57 pub fn pse(&self) -> PSE_R {
58 PSE_R::new(((self.bits >> 5) & 1) != 0)
59 }
60 #[inline(always)]
62 pub fn eotpe(&self) -> EOTPE_R {
63 EOTPE_R::new(((self.bits >> 6) & 1) != 0)
64 }
65 #[inline(always)]
67 pub fn lpwre(&self) -> LPWRE_R {
68 LPWRE_R::new(((self.bits >> 7) & 1) != 0)
69 }
70 #[inline(always)]
72 pub fn gcwre(&self) -> GCWRE_R {
73 GCWRE_R::new(((self.bits >> 8) & 1) != 0)
74 }
75 #[inline(always)]
77 pub fn gpwre(&self) -> GPWRE_R {
78 GPWRE_R::new(((self.bits >> 9) & 1) != 0)
79 }
80 #[inline(always)]
82 pub fn gptxe(&self) -> GPTXE_R {
83 GPTXE_R::new(((self.bits >> 10) & 1) != 0)
84 }
85 #[inline(always)]
87 pub fn gprde(&self) -> GPRDE_R {
88 GPRDE_R::new(((self.bits >> 11) & 1) != 0)
89 }
90 #[inline(always)]
92 pub fn gprxe(&self) -> GPRXE_R {
93 GPRXE_R::new(((self.bits >> 12) & 1) != 0)
94 }
95}
96impl core::fmt::Debug for R {
97 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
98 f.debug_struct("ISR1")
99 .field("tohstx", &self.tohstx())
100 .field("tolprx", &self.tolprx())
101 .field("eccse", &self.eccse())
102 .field("eccme", &self.eccme())
103 .field("crce", &self.crce())
104 .field("pse", &self.pse())
105 .field("eotpe", &self.eotpe())
106 .field("lpwre", &self.lpwre())
107 .field("gcwre", &self.gcwre())
108 .field("gpwre", &self.gpwre())
109 .field("gptxe", &self.gptxe())
110 .field("gprde", &self.gprde())
111 .field("gprxe", &self.gprxe())
112 .finish()
113 }
114}
115pub struct ISR1rs;
121impl crate::RegisterSpec for ISR1rs {
122 type Ux = u32;
123}
124impl crate::Readable for ISR1rs {}
126impl crate::Resettable for ISR1rs {}