avr_device/devices/atmega4809/
rtc.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control A"]
5 pub ctrla: CTRLA,
6 #[doc = "0x01 - Status"]
7 pub status: STATUS,
8 #[doc = "0x02 - Interrupt Control"]
9 pub intctrl: INTCTRL,
10 #[doc = "0x03 - Interrupt Flags"]
11 pub intflags: INTFLAGS,
12 #[doc = "0x04 - Temporary"]
13 pub temp: TEMP,
14 #[doc = "0x05 - Debug control"]
15 pub dbgctrl: DBGCTRL,
16 #[doc = "0x06 - Calibration"]
17 pub calib: CALIB,
18 #[doc = "0x07 - Clock Select"]
19 pub clksel: CLKSEL,
20 #[doc = "0x08 - Counter"]
21 pub cnt: CNT,
22 #[doc = "0x0a - Period"]
23 pub per: PER,
24 #[doc = "0x0c - Compare"]
25 pub cmp: CMP,
26 _reserved11: [u8; 0x02],
27 #[doc = "0x10 - PIT Control A"]
28 pub pitctrla: PITCTRLA,
29 #[doc = "0x11 - PIT Status"]
30 pub pitstatus: PITSTATUS,
31 #[doc = "0x12 - PIT Interrupt Control"]
32 pub pitintctrl: PITINTCTRL,
33 #[doc = "0x13 - PIT Interrupt Flags"]
34 pub pitintflags: PITINTFLAGS,
35 _reserved15: [u8; 0x01],
36 #[doc = "0x15 - PIT Debug control"]
37 pub pitdbgctrl: PITDBGCTRL,
38}
39#[doc = "CALIB (rw) register accessor: an alias for `Reg<CALIB_SPEC>`"]
40pub type CALIB = crate::Reg<calib::CALIB_SPEC>;
41#[doc = "Calibration"]
42pub mod calib;
43#[doc = "CLKSEL (rw) register accessor: an alias for `Reg<CLKSEL_SPEC>`"]
44pub type CLKSEL = crate::Reg<clksel::CLKSEL_SPEC>;
45#[doc = "Clock Select"]
46pub mod clksel;
47#[doc = "CMP (rw) register accessor: an alias for `Reg<CMP_SPEC>`"]
48pub type CMP = crate::Reg<cmp::CMP_SPEC>;
49#[doc = "Compare"]
50pub mod cmp;
51#[doc = "CNT (rw) register accessor: an alias for `Reg<CNT_SPEC>`"]
52pub type CNT = crate::Reg<cnt::CNT_SPEC>;
53#[doc = "Counter"]
54pub mod cnt;
55#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
56pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
57#[doc = "Control A"]
58pub mod ctrla;
59#[doc = "DBGCTRL (rw) register accessor: an alias for `Reg<DBGCTRL_SPEC>`"]
60pub type DBGCTRL = crate::Reg<dbgctrl::DBGCTRL_SPEC>;
61#[doc = "Debug control"]
62pub mod dbgctrl;
63#[doc = "INTCTRL (rw) register accessor: an alias for `Reg<INTCTRL_SPEC>`"]
64pub type INTCTRL = crate::Reg<intctrl::INTCTRL_SPEC>;
65#[doc = "Interrupt Control"]
66pub mod intctrl;
67#[doc = "INTFLAGS (rw) register accessor: an alias for `Reg<INTFLAGS_SPEC>`"]
68pub type INTFLAGS = crate::Reg<intflags::INTFLAGS_SPEC>;
69#[doc = "Interrupt Flags"]
70pub mod intflags;
71#[doc = "PER (rw) register accessor: an alias for `Reg<PER_SPEC>`"]
72pub type PER = crate::Reg<per::PER_SPEC>;
73#[doc = "Period"]
74pub mod per;
75#[doc = "PITCTRLA (rw) register accessor: an alias for `Reg<PITCTRLA_SPEC>`"]
76pub type PITCTRLA = crate::Reg<pitctrla::PITCTRLA_SPEC>;
77#[doc = "PIT Control A"]
78pub mod pitctrla;
79#[doc = "PITDBGCTRL (rw) register accessor: an alias for `Reg<PITDBGCTRL_SPEC>`"]
80pub type PITDBGCTRL = crate::Reg<pitdbgctrl::PITDBGCTRL_SPEC>;
81#[doc = "PIT Debug control"]
82pub mod pitdbgctrl;
83#[doc = "PITINTCTRL (rw) register accessor: an alias for `Reg<PITINTCTRL_SPEC>`"]
84pub type PITINTCTRL = crate::Reg<pitintctrl::PITINTCTRL_SPEC>;
85#[doc = "PIT Interrupt Control"]
86pub mod pitintctrl;
87#[doc = "PITINTFLAGS (rw) register accessor: an alias for `Reg<PITINTFLAGS_SPEC>`"]
88pub type PITINTFLAGS = crate::Reg<pitintflags::PITINTFLAGS_SPEC>;
89#[doc = "PIT Interrupt Flags"]
90pub mod pitintflags;
91#[doc = "PITSTATUS (r) register accessor: an alias for `Reg<PITSTATUS_SPEC>`"]
92pub type PITSTATUS = crate::Reg<pitstatus::PITSTATUS_SPEC>;
93#[doc = "PIT Status"]
94pub mod pitstatus;
95#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
96pub type STATUS = crate::Reg<status::STATUS_SPEC>;
97#[doc = "Status"]
98pub mod status;
99#[doc = "TEMP (rw) register accessor: an alias for `Reg<TEMP_SPEC>`"]
100pub type TEMP = crate::Reg<temp::TEMP_SPEC>;
101#[doc = "Temporary"]
102pub mod temp;