1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub ctrl: CTRL,
6 #[doc = "0x01 - Service Register"]
7 pub serv: SERV,
8 #[doc = "0x02 - Compare Low Register"]
9 pub cmpl: CMPL,
10 #[doc = "0x03 - Compare High Register"]
11 pub cmph: CMPH,
12}
13#[doc = "Control 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 [ctrl](ctrl) module"]
14pub type CTRL = crate::Reg<u8, _CTRL>;
15#[allow(missing_docs)]
16#[doc(hidden)]
17pub struct _CTRL;
18#[doc = "`read()` method returns [ctrl::R](ctrl::R) reader structure"]
19impl crate::Readable for CTRL {}
20#[doc = "`write(|w| ..)` method takes [ctrl::W](ctrl::W) writer structure"]
21impl crate::Writable for CTRL {}
22#[doc = "Control Register"]
23pub mod ctrl;
24#[doc = "Service Register\n\nThis register you can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [serv](serv) module"]
25pub type SERV = crate::Reg<u8, _SERV>;
26#[allow(missing_docs)]
27#[doc(hidden)]
28pub struct _SERV;
29#[doc = "`write(|w| ..)` method takes [serv::W](serv::W) writer structure"]
30impl crate::Writable for SERV {}
31#[doc = "Service Register"]
32pub mod serv;
33#[doc = "Compare Low 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 [cmpl](cmpl) module"]
34pub type CMPL = crate::Reg<u8, _CMPL>;
35#[allow(missing_docs)]
36#[doc(hidden)]
37pub struct _CMPL;
38#[doc = "`read()` method returns [cmpl::R](cmpl::R) reader structure"]
39impl crate::Readable for CMPL {}
40#[doc = "`write(|w| ..)` method takes [cmpl::W](cmpl::W) writer structure"]
41impl crate::Writable for CMPL {}
42#[doc = "Compare Low Register"]
43pub mod cmpl;
44#[doc = "Compare High 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 [cmph](cmph) module"]
45pub type CMPH = crate::Reg<u8, _CMPH>;
46#[allow(missing_docs)]
47#[doc(hidden)]
48pub struct _CMPH;
49#[doc = "`read()` method returns [cmph::R](cmph::R) reader structure"]
50impl crate::Readable for CMPH {}
51#[doc = "`write(|w| ..)` method takes [cmph::W](cmph::W) writer structure"]
52impl crate::Writable for CMPH {}
53#[doc = "Compare High Register"]
54pub mod cmph;