1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 verid: Verid,
6 param: Param,
7 opamp_ctrl: OpampCtrl,
8}
9impl RegisterBlock {
10 #[doc = "0x00 - Version ID"]
11 #[inline(always)]
12 pub const fn verid(&self) -> &Verid {
13 &self.verid
14 }
15 #[doc = "0x04 - Parameter"]
16 #[inline(always)]
17 pub const fn param(&self) -> &Param {
18 &self.param
19 }
20 #[doc = "0x08 - OPAMP Control"]
21 #[inline(always)]
22 pub const fn opamp_ctrl(&self) -> &OpampCtrl {
23 &self.opamp_ctrl
24 }
25}
26#[doc = "VERID (r) register accessor: Version ID\n\nYou can [`read`](crate::Reg::read) this register and get [`verid::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@verid`] module"]
27#[doc(alias = "VERID")]
28pub type Verid = crate::Reg<verid::VeridSpec>;
29#[doc = "Version ID"]
30pub mod verid;
31#[doc = "PARAM (r) register accessor: Parameter\n\nYou can [`read`](crate::Reg::read) this register and get [`param::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@param`] module"]
32#[doc(alias = "PARAM")]
33pub type Param = crate::Reg<param::ParamSpec>;
34#[doc = "Parameter"]
35pub mod param;
36#[doc = "OPAMP_CTRL (rw) register accessor: OPAMP Control\n\nYou can [`read`](crate::Reg::read) this register and get [`opamp_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`opamp_ctrl::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@opamp_ctrl`] module"]
37#[doc(alias = "OPAMP_CTRL")]
38pub type OpampCtrl = crate::Reg<opamp_ctrl::OpampCtrlSpec>;
39#[doc = "OPAMP Control"]
40pub mod opamp_ctrl;