stm32f3_copterust/stm32f303/
comp.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 28usize],
5 #[doc = "0x1c - control and status register"]
6 pub comp1_csr: COMP1_CSR,
7 #[doc = "0x20 - control and status register"]
8 pub comp2_csr: COMP2_CSR,
9 #[doc = "0x24 - control and status register"]
10 pub comp3_csr: COMP3_CSR,
11 #[doc = "0x28 - control and status register"]
12 pub comp4_csr: COMP4_CSR,
13 #[doc = "0x2c - control and status register"]
14 pub comp5_csr: COMP5_CSR,
15 #[doc = "0x30 - control and status register"]
16 pub comp6_csr: COMP6_CSR,
17 #[doc = "0x34 - control and status register"]
18 pub comp7_csr: COMP7_CSR,
19}
20#[doc = "control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [comp2_csr](comp2_csr) module"]
21pub type COMP2_CSR = crate::Reg<u32, _COMP2_CSR>;
22#[allow(missing_docs)]
23#[doc(hidden)]
24pub struct _COMP2_CSR;
25#[doc = "`read()` method returns [comp2_csr::R](comp2_csr::R) reader structure"]
26impl crate::Readable for COMP2_CSR {}
27#[doc = "`write(|w| ..)` method takes [comp2_csr::W](comp2_csr::W) writer structure"]
28impl crate::Writable for COMP2_CSR {}
29#[doc = "control and status register"]
30pub mod comp2_csr;
31#[doc = "control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [comp4_csr](comp4_csr) module"]
32pub type COMP4_CSR = crate::Reg<u32, _COMP4_CSR>;
33#[allow(missing_docs)]
34#[doc(hidden)]
35pub struct _COMP4_CSR;
36#[doc = "`read()` method returns [comp4_csr::R](comp4_csr::R) reader structure"]
37impl crate::Readable for COMP4_CSR {}
38#[doc = "`write(|w| ..)` method takes [comp4_csr::W](comp4_csr::W) writer structure"]
39impl crate::Writable for COMP4_CSR {}
40#[doc = "control and status register"]
41pub mod comp4_csr;
42#[doc = "control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [comp6_csr](comp6_csr) module"]
43pub type COMP6_CSR = crate::Reg<u32, _COMP6_CSR>;
44#[allow(missing_docs)]
45#[doc(hidden)]
46pub struct _COMP6_CSR;
47#[doc = "`read()` method returns [comp6_csr::R](comp6_csr::R) reader structure"]
48impl crate::Readable for COMP6_CSR {}
49#[doc = "`write(|w| ..)` method takes [comp6_csr::W](comp6_csr::W) writer structure"]
50impl crate::Writable for COMP6_CSR {}
51#[doc = "control and status register"]
52pub mod comp6_csr;
53#[doc = "control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [comp3_csr](comp3_csr) module"]
54pub type COMP3_CSR = crate::Reg<u32, _COMP3_CSR>;
55#[allow(missing_docs)]
56#[doc(hidden)]
57pub struct _COMP3_CSR;
58#[doc = "`read()` method returns [comp3_csr::R](comp3_csr::R) reader structure"]
59impl crate::Readable for COMP3_CSR {}
60#[doc = "`write(|w| ..)` method takes [comp3_csr::W](comp3_csr::W) writer structure"]
61impl crate::Writable for COMP3_CSR {}
62#[doc = "control and status register"]
63pub mod comp3_csr;
64#[doc = "control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [comp5_csr](comp5_csr) module"]
65pub type COMP5_CSR = crate::Reg<u32, _COMP5_CSR>;
66#[allow(missing_docs)]
67#[doc(hidden)]
68pub struct _COMP5_CSR;
69#[doc = "`read()` method returns [comp5_csr::R](comp5_csr::R) reader structure"]
70impl crate::Readable for COMP5_CSR {}
71#[doc = "`write(|w| ..)` method takes [comp5_csr::W](comp5_csr::W) writer structure"]
72impl crate::Writable for COMP5_CSR {}
73#[doc = "control and status register"]
74pub mod comp5_csr;
75#[doc = "control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [comp7_csr](comp7_csr) module"]
76pub type COMP7_CSR = crate::Reg<u32, _COMP7_CSR>;
77#[allow(missing_docs)]
78#[doc(hidden)]
79pub struct _COMP7_CSR;
80#[doc = "`read()` method returns [comp7_csr::R](comp7_csr::R) reader structure"]
81impl crate::Readable for COMP7_CSR {}
82#[doc = "`write(|w| ..)` method takes [comp7_csr::W](comp7_csr::W) writer structure"]
83impl crate::Writable for COMP7_CSR {}
84#[doc = "control and status register"]
85pub mod comp7_csr;
86#[doc = "control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [comp1_csr](comp1_csr) module"]
87pub type COMP1_CSR = crate::Reg<u32, _COMP1_CSR>;
88#[allow(missing_docs)]
89#[doc(hidden)]
90pub struct _COMP1_CSR;
91#[doc = "`read()` method returns [comp1_csr::R](comp1_csr::R) reader structure"]
92impl crate::Readable for COMP1_CSR {}
93#[doc = "`write(|w| ..)` method takes [comp1_csr::W](comp1_csr::W) writer structure"]
94impl crate::Writable for COMP1_CSR {}
95#[doc = "control and status register"]
96pub mod comp1_csr;