avr_device/devices/atmega4809/
adc0.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control A"]
5 pub ctrla: CTRLA,
6 #[doc = "0x01 - Control B"]
7 pub ctrlb: CTRLB,
8 #[doc = "0x02 - Control C"]
9 pub ctrlc: CTRLC,
10 #[doc = "0x03 - Control D"]
11 pub ctrld: CTRLD,
12 #[doc = "0x04 - Control E"]
13 pub ctrle: CTRLE,
14 #[doc = "0x05 - Sample Control"]
15 pub sampctrl: SAMPCTRL,
16 #[doc = "0x06 - Positive mux input"]
17 pub muxpos: MUXPOS,
18 _reserved7: [u8; 0x01],
19 #[doc = "0x08 - Command"]
20 pub command: COMMAND,
21 #[doc = "0x09 - Event Control"]
22 pub evctrl: EVCTRL,
23 #[doc = "0x0a - Interrupt Control"]
24 pub intctrl: INTCTRL,
25 #[doc = "0x0b - Interrupt Flags"]
26 pub intflags: INTFLAGS,
27 #[doc = "0x0c - Debug Control"]
28 pub dbgctrl: DBGCTRL,
29 #[doc = "0x0d - Temporary Data"]
30 pub temp: TEMP,
31 _reserved13: [u8; 0x02],
32 #[doc = "0x10 - ADC Accumulator Result"]
33 pub res: RES,
34 #[doc = "0x12 - Window comparator low threshold"]
35 pub winlt: WINLT,
36 #[doc = "0x14 - Window comparator high threshold"]
37 pub winht: WINHT,
38 #[doc = "0x16 - Calibration"]
39 pub calib: CALIB,
40}
41#[doc = "CALIB (rw) register accessor: an alias for `Reg<CALIB_SPEC>`"]
42pub type CALIB = crate::Reg<calib::CALIB_SPEC>;
43#[doc = "Calibration"]
44pub mod calib;
45#[doc = "COMMAND (rw) register accessor: an alias for `Reg<COMMAND_SPEC>`"]
46pub type COMMAND = crate::Reg<command::COMMAND_SPEC>;
47#[doc = "Command"]
48pub mod command;
49#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
50pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
51#[doc = "Control A"]
52pub mod ctrla;
53#[doc = "CTRLB (rw) register accessor: an alias for `Reg<CTRLB_SPEC>`"]
54pub type CTRLB = crate::Reg<ctrlb::CTRLB_SPEC>;
55#[doc = "Control B"]
56pub mod ctrlb;
57#[doc = "CTRLC (rw) register accessor: an alias for `Reg<CTRLC_SPEC>`"]
58pub type CTRLC = crate::Reg<ctrlc::CTRLC_SPEC>;
59#[doc = "Control C"]
60pub mod ctrlc;
61#[doc = "CTRLD (rw) register accessor: an alias for `Reg<CTRLD_SPEC>`"]
62pub type CTRLD = crate::Reg<ctrld::CTRLD_SPEC>;
63#[doc = "Control D"]
64pub mod ctrld;
65#[doc = "CTRLE (rw) register accessor: an alias for `Reg<CTRLE_SPEC>`"]
66pub type CTRLE = crate::Reg<ctrle::CTRLE_SPEC>;
67#[doc = "Control E"]
68pub mod ctrle;
69#[doc = "DBGCTRL (rw) register accessor: an alias for `Reg<DBGCTRL_SPEC>`"]
70pub type DBGCTRL = crate::Reg<dbgctrl::DBGCTRL_SPEC>;
71#[doc = "Debug Control"]
72pub mod dbgctrl;
73#[doc = "EVCTRL (rw) register accessor: an alias for `Reg<EVCTRL_SPEC>`"]
74pub type EVCTRL = crate::Reg<evctrl::EVCTRL_SPEC>;
75#[doc = "Event Control"]
76pub mod evctrl;
77#[doc = "INTCTRL (rw) register accessor: an alias for `Reg<INTCTRL_SPEC>`"]
78pub type INTCTRL = crate::Reg<intctrl::INTCTRL_SPEC>;
79#[doc = "Interrupt Control"]
80pub mod intctrl;
81#[doc = "INTFLAGS (rw) register accessor: an alias for `Reg<INTFLAGS_SPEC>`"]
82pub type INTFLAGS = crate::Reg<intflags::INTFLAGS_SPEC>;
83#[doc = "Interrupt Flags"]
84pub mod intflags;
85#[doc = "MUXPOS (rw) register accessor: an alias for `Reg<MUXPOS_SPEC>`"]
86pub type MUXPOS = crate::Reg<muxpos::MUXPOS_SPEC>;
87#[doc = "Positive mux input"]
88pub mod muxpos;
89#[doc = "RES (r) register accessor: an alias for `Reg<RES_SPEC>`"]
90pub type RES = crate::Reg<res::RES_SPEC>;
91#[doc = "ADC Accumulator Result"]
92pub mod res;
93#[doc = "SAMPCTRL (rw) register accessor: an alias for `Reg<SAMPCTRL_SPEC>`"]
94pub type SAMPCTRL = crate::Reg<sampctrl::SAMPCTRL_SPEC>;
95#[doc = "Sample Control"]
96pub mod sampctrl;
97#[doc = "TEMP (rw) register accessor: an alias for `Reg<TEMP_SPEC>`"]
98pub type TEMP = crate::Reg<temp::TEMP_SPEC>;
99#[doc = "Temporary Data"]
100pub mod temp;
101#[doc = "WINHT (rw) register accessor: an alias for `Reg<WINHT_SPEC>`"]
102pub type WINHT = crate::Reg<winht::WINHT_SPEC>;
103#[doc = "Window comparator high threshold"]
104pub mod winht;
105#[doc = "WINLT (rw) register accessor: an alias for `Reg<WINLT_SPEC>`"]
106pub type WINLT = crate::Reg<winlt::WINLT_SPEC>;
107#[doc = "Window comparator low threshold"]
108pub mod winlt;