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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
    modcfg: Modcfg,
    _reserved1: [u8; 0x04],
    dicfg: Dicfg,
    _reserved2: [u8; 0x08],
    fcfgc: Fcfgc,
    fcfga: Fcfga,
    _reserved4: [u8; 0x04],
    iwctr: Iwctr,
    _reserved5: [u8; 0x04],
    boundsel: Boundsel,
    _reserved6: [u8; 0x04],
    resm: Resm,
    _reserved7: [u8; 0x04],
    offm: Offm,
    _reserved8: [u8; 0x04],
    resa: Resa,
    _reserved9: [u8; 0x0c],
    tstmp: Tstmp,
    _reserved10: [u8; 0x4c],
    cgsync: Cgsync,
    _reserved11: [u8; 0x04],
    rectcfg: Rectcfg,
}
impl RegisterBlock {
    #[doc = "0x00 - Modulator Configuration Register"]
    #[inline(always)]
    pub const fn modcfg(&self) -> &Modcfg {
        &self.modcfg
    }
    #[doc = "0x08 - Demodulator Input Configuration Register"]
    #[inline(always)]
    pub const fn dicfg(&self) -> &Dicfg {
        &self.dicfg
    }
    #[doc = "0x14 - Filter Configuration Register, Main CIC Filter"]
    #[inline(always)]
    pub const fn fcfgc(&self) -> &Fcfgc {
        &self.fcfgc
    }
    #[doc = "0x18 - Filter Configuration Register, Auxiliary Filter"]
    #[inline(always)]
    pub const fn fcfga(&self) -> &Fcfga {
        &self.fcfga
    }
    #[doc = "0x20 - Integration Window Control Register"]
    #[inline(always)]
    pub const fn iwctr(&self) -> &Iwctr {
        &self.iwctr
    }
    #[doc = "0x28 - Boundary Select Register"]
    #[inline(always)]
    pub const fn boundsel(&self) -> &Boundsel {
        &self.boundsel
    }
    #[doc = "0x30 - Result Register, Main Filter"]
    #[inline(always)]
    pub const fn resm(&self) -> &Resm {
        &self.resm
    }
    #[doc = "0x38 - Offset Register, Main Filter"]
    #[inline(always)]
    pub const fn offm(&self) -> &Offm {
        &self.offm
    }
    #[doc = "0x40 - Result Register, Auxiliary Filter"]
    #[inline(always)]
    pub const fn resa(&self) -> &Resa {
        &self.resa
    }
    #[doc = "0x50 - Time-Stamp Register"]
    #[inline(always)]
    pub const fn tstmp(&self) -> &Tstmp {
        &self.tstmp
    }
    #[doc = "0xa0 - Carrier Generator Synchronization Register"]
    #[inline(always)]
    pub const fn cgsync(&self) -> &Cgsync {
        &self.cgsync
    }
    #[doc = "0xa8 - Rectification Configuration Register"]
    #[inline(always)]
    pub const fn rectcfg(&self) -> &Rectcfg {
        &self.rectcfg
    }
}
#[doc = "MODCFG (rw) register accessor: Modulator Configuration Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`modcfg::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`modcfg::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@modcfg`]
module"]
#[doc(alias = "MODCFG")]
pub type Modcfg = crate::Reg<modcfg::ModcfgSpec>;
#[doc = "Modulator Configuration Register"]
pub mod modcfg;
#[doc = "DICFG (rw) register accessor: Demodulator Input Configuration Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dicfg::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`dicfg::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@dicfg`]
module"]
#[doc(alias = "DICFG")]
pub type Dicfg = crate::Reg<dicfg::DicfgSpec>;
#[doc = "Demodulator Input Configuration Register"]
pub mod dicfg;
#[doc = "FCFGC (rw) register accessor: Filter Configuration Register, Main CIC Filter\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`fcfgc::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`fcfgc::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fcfgc`]
module"]
#[doc(alias = "FCFGC")]
pub type Fcfgc = crate::Reg<fcfgc::FcfgcSpec>;
#[doc = "Filter Configuration Register, Main CIC Filter"]
pub mod fcfgc;
#[doc = "FCFGA (rw) register accessor: Filter Configuration Register, Auxiliary Filter\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`fcfga::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`fcfga::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fcfga`]
module"]
#[doc(alias = "FCFGA")]
pub type Fcfga = crate::Reg<fcfga::FcfgaSpec>;
#[doc = "Filter Configuration Register, Auxiliary Filter"]
pub mod fcfga;
#[doc = "IWCTR (rw) register accessor: Integration Window Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`iwctr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`iwctr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@iwctr`]
module"]
#[doc(alias = "IWCTR")]
pub type Iwctr = crate::Reg<iwctr::IwctrSpec>;
#[doc = "Integration Window Control Register"]
pub mod iwctr;
#[doc = "BOUNDSEL (rw) register accessor: Boundary Select Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`boundsel::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`boundsel::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@boundsel`]
module"]
#[doc(alias = "BOUNDSEL")]
pub type Boundsel = crate::Reg<boundsel::BoundselSpec>;
#[doc = "Boundary Select Register"]
pub mod boundsel;
#[doc = "RESM (r) register accessor: Result Register, Main Filter\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`resm::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@resm`]
module"]
#[doc(alias = "RESM")]
pub type Resm = crate::Reg<resm::ResmSpec>;
#[doc = "Result Register, Main Filter"]
pub mod resm;
#[doc = "OFFM (rw) register accessor: Offset Register, Main Filter\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`offm::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`offm::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@offm`]
module"]
#[doc(alias = "OFFM")]
pub type Offm = crate::Reg<offm::OffmSpec>;
#[doc = "Offset Register, Main Filter"]
pub mod offm;
#[doc = "RESA (r) register accessor: Result Register, Auxiliary Filter\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`resa::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@resa`]
module"]
#[doc(alias = "RESA")]
pub type Resa = crate::Reg<resa::ResaSpec>;
#[doc = "Result Register, Auxiliary Filter"]
pub mod resa;
#[doc = "TSTMP (r) register accessor: Time-Stamp Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tstmp::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tstmp`]
module"]
#[doc(alias = "TSTMP")]
pub type Tstmp = crate::Reg<tstmp::TstmpSpec>;
#[doc = "Time-Stamp Register"]
pub mod tstmp;
#[doc = "CGSYNC (rw) register accessor: Carrier Generator Synchronization Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cgsync::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`cgsync::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cgsync`]
module"]
#[doc(alias = "CGSYNC")]
pub type Cgsync = crate::Reg<cgsync::CgsyncSpec>;
#[doc = "Carrier Generator Synchronization Register"]
pub mod cgsync;
#[doc = "RECTCFG (rw) register accessor: Rectification Configuration Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rectcfg::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`rectcfg::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rectcfg`]
module"]
#[doc(alias = "RECTCFG")]
pub type Rectcfg = crate::Reg<rectcfg::RectcfgSpec>;
#[doc = "Rectification Configuration Register"]
pub mod rectcfg;