1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 ana_conf0: ANA_CONF0,
6 ana_config: ANA_CONFIG,
7 ana_config2: ANA_CONFIG2,
8}
9impl RegisterBlock {
10 #[doc = "0x00 - ANA_CONF0 register"]
11 #[inline(always)]
12 pub const fn ana_conf0(&self) -> &ANA_CONF0 {
13 &self.ana_conf0
14 }
15 #[doc = "0x04 - ANA_CONFIG register"]
16 #[inline(always)]
17 pub const fn ana_config(&self) -> &ANA_CONFIG {
18 &self.ana_config
19 }
20 #[doc = "0x08 - ANA_CONFIG2 register"]
21 #[inline(always)]
22 pub const fn ana_config2(&self) -> &ANA_CONFIG2 {
23 &self.ana_config2
24 }
25}
26#[doc = "ANA_CONF0 (rw) register accessor: ANA_CONF0 register\n\nYou can [`read`](crate::Reg::read) this register and get [`ana_conf0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ana_conf0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ana_conf0`] module"]
27pub type ANA_CONF0 = crate::Reg<ana_conf0::ANA_CONF0_SPEC>;
28#[doc = "ANA_CONF0 register"]
29pub mod ana_conf0;
30#[doc = "ANA_CONFIG (rw) register accessor: ANA_CONFIG register\n\nYou can [`read`](crate::Reg::read) this register and get [`ana_config::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ana_config::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ana_config`] module"]
31pub type ANA_CONFIG = crate::Reg<ana_config::ANA_CONFIG_SPEC>;
32#[doc = "ANA_CONFIG register"]
33pub mod ana_config;
34#[doc = "ANA_CONFIG2 (rw) register accessor: ANA_CONFIG2 register\n\nYou can [`read`](crate::Reg::read) this register and get [`ana_config2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ana_config2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ana_config2`] module"]
35pub type ANA_CONFIG2 = crate::Reg<ana_config2::ANA_CONFIG2_SPEC>;
36#[doc = "ANA_CONFIG2 register"]
37pub mod ana_config2;