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
44
45
46
47
48
49
50
51
52
53
54
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Control Register"]
    pub ctrl: CTRL,
    #[doc = "0x01 - Service Register"]
    pub serv: SERV,
    #[doc = "0x02 - Compare Low Register"]
    pub cmpl: CMPL,
    #[doc = "0x03 - Compare High Register"]
    pub cmph: CMPH,
}
#[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 avaliable fields see [ctrl](ctrl) module"]
pub type CTRL = crate::Reg<u8, _CTRL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _CTRL;
#[doc = "`read()` method returns [ctrl::R](ctrl::R) reader structure"]
impl crate::Readable for CTRL {}
#[doc = "`write(|w| ..)` method takes [ctrl::W](ctrl::W) writer structure"]
impl crate::Writable for CTRL {}
#[doc = "Control Register"]
pub mod ctrl;
#[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 avaliable fields see [serv](serv) module"]
pub type SERV = crate::Reg<u8, _SERV>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SERV;
#[doc = "`write(|w| ..)` method takes [serv::W](serv::W) writer structure"]
impl crate::Writable for SERV {}
#[doc = "Service Register"]
pub mod serv;
#[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 avaliable fields see [cmpl](cmpl) module"]
pub type CMPL = crate::Reg<u8, _CMPL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _CMPL;
#[doc = "`read()` method returns [cmpl::R](cmpl::R) reader structure"]
impl crate::Readable for CMPL {}
#[doc = "`write(|w| ..)` method takes [cmpl::W](cmpl::W) writer structure"]
impl crate::Writable for CMPL {}
#[doc = "Compare Low Register"]
pub mod cmpl;
#[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 avaliable fields see [cmph](cmph) module"]
pub type CMPH = crate::Reg<u8, _CMPH>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _CMPH;
#[doc = "`read()` method returns [cmph::R](cmph::R) reader structure"]
impl crate::Readable for CMPH {}
#[doc = "`write(|w| ..)` method takes [cmph::W](cmph::W) writer structure"]
impl crate::Writable for CMPH {}
#[doc = "Compare High Register"]
pub mod cmph;