1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Comparator control and status register"]
5 pub comp1_csr: COMP1_CSR,
6 #[doc = "0x04 - Comparator 2 control and status register"]
7 pub comp2_csr: COMP2_CSR,
8}
9#[doc = "Comparator 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"]
10pub type COMP1_CSR = crate::Reg<u32, _COMP1_CSR>;
11#[allow(missing_docs)]
12#[doc(hidden)]
13pub struct _COMP1_CSR;
14#[doc = "`read()` method returns [comp1_csr::R](comp1_csr::R) reader structure"]
15impl crate::Readable for COMP1_CSR {}
16#[doc = "`write(|w| ..)` method takes [comp1_csr::W](comp1_csr::W) writer structure"]
17impl crate::Writable for COMP1_CSR {}
18#[doc = "Comparator control and status register"]
19pub mod comp1_csr;
20#[doc = "Comparator 2 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 = "Comparator 2 control and status register"]
30pub mod comp2_csr;