swm341_pac/
adc0.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - CR register"]
5    pub cr: CR,
6    #[doc = "0x04 - GO register"]
7    pub go: GO,
8    #[doc = "0x08 - IE register"]
9    pub ie: IE,
10    #[doc = "0x0c - IF register"]
11    pub if_: IF,
12    #[doc = "0x10..0x1c - register cluster"]
13    pub seq0: SEQ0,
14    _reserved5: [u8; 0x04],
15    #[doc = "0x20..0x2c - register cluster"]
16    pub seq1: SEQ1,
17    _reserved6: [u8; 0x04],
18    #[doc = "0x30..0x3c - register cluster"]
19    pub seq2: SEQ2,
20    _reserved7: [u8; 0x04],
21    #[doc = "0x40..0x4c - register cluster"]
22    pub seq3: SEQ3,
23    _reserved8: [u8; 0x40],
24    #[doc = "0x8c - SEQCHN0 register"]
25    pub seqchn0: SEQCHN0,
26    #[doc = "0x90 - SEQCHN1 register"]
27    pub seqchn1: SEQCHN1,
28    #[doc = "0x94 - SEQTRG register"]
29    pub seqtrg: SEQTRG,
30    #[doc = "0x98 - SEQCOV register"]
31    pub seqcov: SEQCOV,
32    #[doc = "0x9c - SEQSMP register"]
33    pub seqsmp: SEQSMP,
34    _reserved13: [u8; 0x10],
35    #[doc = "0xb0 - CR2 register"]
36    pub cr2: CR2,
37    _reserved14: [u8; 0x3c],
38    #[doc = "0xf0 - CALIB register"]
39    pub calib: CALIB,
40}
41#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
42pub type CR = crate::Reg<cr::CR_SPEC>;
43#[doc = "CR register"]
44pub mod cr;
45#[doc = "GO (rw) register accessor: an alias for `Reg<GO_SPEC>`"]
46pub type GO = crate::Reg<go::GO_SPEC>;
47#[doc = "GO register"]
48pub mod go;
49#[doc = "IE (rw) register accessor: an alias for `Reg<IE_SPEC>`"]
50pub type IE = crate::Reg<ie::IE_SPEC>;
51#[doc = "IE register"]
52pub mod ie;
53#[doc = "IF (rw) register accessor: an alias for `Reg<IF_SPEC>`"]
54pub type IF = crate::Reg<if_::IF_SPEC>;
55#[doc = "IF register"]
56pub mod if_;
57#[doc = "register cluster"]
58pub use seq0::SEQ0;
59#[doc = r"Cluster"]
60#[doc = "register cluster"]
61pub mod seq0;
62#[doc = "register cluster"]
63pub use seq1::SEQ1;
64#[doc = r"Cluster"]
65#[doc = "register cluster"]
66pub mod seq1;
67#[doc = "register cluster"]
68pub use seq2::SEQ2;
69#[doc = r"Cluster"]
70#[doc = "register cluster"]
71pub mod seq2;
72#[doc = "register cluster"]
73pub use seq3::SEQ3;
74#[doc = r"Cluster"]
75#[doc = "register cluster"]
76pub mod seq3;
77#[doc = "SEQCHN0 (rw) register accessor: an alias for `Reg<SEQCHN0_SPEC>`"]
78pub type SEQCHN0 = crate::Reg<seqchn0::SEQCHN0_SPEC>;
79#[doc = "SEQCHN0 register"]
80pub mod seqchn0;
81#[doc = "SEQCHN1 (rw) register accessor: an alias for `Reg<SEQCHN1_SPEC>`"]
82pub type SEQCHN1 = crate::Reg<seqchn1::SEQCHN1_SPEC>;
83#[doc = "SEQCHN1 register"]
84pub mod seqchn1;
85#[doc = "SEQTRG (rw) register accessor: an alias for `Reg<SEQTRG_SPEC>`"]
86pub type SEQTRG = crate::Reg<seqtrg::SEQTRG_SPEC>;
87#[doc = "SEQTRG register"]
88pub mod seqtrg;
89#[doc = "SEQCOV (rw) register accessor: an alias for `Reg<SEQCOV_SPEC>`"]
90pub type SEQCOV = crate::Reg<seqcov::SEQCOV_SPEC>;
91#[doc = "SEQCOV register"]
92pub mod seqcov;
93#[doc = "SEQSMP (rw) register accessor: an alias for `Reg<SEQSMP_SPEC>`"]
94pub type SEQSMP = crate::Reg<seqsmp::SEQSMP_SPEC>;
95#[doc = "SEQSMP register"]
96pub mod seqsmp;
97#[doc = "CR2 (rw) register accessor: an alias for `Reg<CR2_SPEC>`"]
98pub type CR2 = crate::Reg<cr2::CR2_SPEC>;
99#[doc = "CR2 register"]
100pub mod cr2;
101#[doc = "CALIB (rw) register accessor: an alias for `Reg<CALIB_SPEC>`"]
102pub type CALIB = crate::Reg<calib::CALIB_SPEC>;
103#[doc = "CALIB register"]
104pub mod calib;