atsam4ls8a_pac/
ast.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control Register"]
5    pub cr: CR,
6    #[doc = "0x04 - Counter Value"]
7    pub cv: CV,
8    #[doc = "0x08 - Status Register"]
9    pub sr: SR,
10    #[doc = "0x0c - Status Clear Register"]
11    pub scr: SCR,
12    #[doc = "0x10 - Interrupt Enable Register"]
13    pub ier: IER,
14    #[doc = "0x14 - Interrupt Disable Register"]
15    pub idr: IDR,
16    #[doc = "0x18 - Interrupt Mask Register"]
17    pub imr: IMR,
18    #[doc = "0x1c - Wake Enable Register"]
19    pub wer: WER,
20    #[doc = "0x20 - Alarm Register 0"]
21    pub ar0: AR0,
22    #[doc = "0x24 - Alarm Register 1"]
23    pub ar1: AR1,
24    _reserved10: [u8; 0x08],
25    #[doc = "0x30 - Periodic Interval Register 0"]
26    pub pir0: PIR0,
27    #[doc = "0x34 - Periodic Interval Register 1"]
28    pub pir1: PIR1,
29    _reserved12: [u8; 0x08],
30    #[doc = "0x40 - Clock Control Register"]
31    pub clock: CLOCK,
32    #[doc = "0x44 - Digital Tuner Register"]
33    pub dtr: DTR,
34    #[doc = "0x48 - Event Enable Register"]
35    pub eve: EVE,
36    #[doc = "0x4c - Event Disable Register"]
37    pub evd: EVD,
38    #[doc = "0x50 - Event Mask Register"]
39    pub evm: EVM,
40    #[doc = "0x54 - Calendar Value"]
41    pub calv: CALV,
42    _reserved18: [u8; 0x98],
43    #[doc = "0xf0 - Parameter Register"]
44    pub parameter: PARAMETER,
45    _reserved19: [u8; 0x08],
46    #[doc = "0xfc - Version Register"]
47    pub version: VERSION,
48}
49#[doc = "AR0 (rw) register accessor: an alias for `Reg<AR0_SPEC>`"]
50pub type AR0 = crate::Reg<ar0::AR0_SPEC>;
51#[doc = "Alarm Register 0"]
52pub mod ar0;
53#[doc = "AR1 (rw) register accessor: an alias for `Reg<AR1_SPEC>`"]
54pub type AR1 = crate::Reg<ar1::AR1_SPEC>;
55#[doc = "Alarm Register 1"]
56pub mod ar1;
57#[doc = "CALV (rw) register accessor: an alias for `Reg<CALV_SPEC>`"]
58pub type CALV = crate::Reg<calv::CALV_SPEC>;
59#[doc = "Calendar Value"]
60pub mod calv;
61#[doc = "CLOCK (rw) register accessor: an alias for `Reg<CLOCK_SPEC>`"]
62pub type CLOCK = crate::Reg<clock::CLOCK_SPEC>;
63#[doc = "Clock Control Register"]
64pub mod clock;
65#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
66pub type CR = crate::Reg<cr::CR_SPEC>;
67#[doc = "Control Register"]
68pub mod cr;
69#[doc = "CV (rw) register accessor: an alias for `Reg<CV_SPEC>`"]
70pub type CV = crate::Reg<cv::CV_SPEC>;
71#[doc = "Counter Value"]
72pub mod cv;
73#[doc = "DTR (rw) register accessor: an alias for `Reg<DTR_SPEC>`"]
74pub type DTR = crate::Reg<dtr::DTR_SPEC>;
75#[doc = "Digital Tuner Register"]
76pub mod dtr;
77#[doc = "EVD (w) register accessor: an alias for `Reg<EVD_SPEC>`"]
78pub type EVD = crate::Reg<evd::EVD_SPEC>;
79#[doc = "Event Disable Register"]
80pub mod evd;
81#[doc = "EVE (w) register accessor: an alias for `Reg<EVE_SPEC>`"]
82pub type EVE = crate::Reg<eve::EVE_SPEC>;
83#[doc = "Event Enable Register"]
84pub mod eve;
85#[doc = "EVM (r) register accessor: an alias for `Reg<EVM_SPEC>`"]
86pub type EVM = crate::Reg<evm::EVM_SPEC>;
87#[doc = "Event Mask Register"]
88pub mod evm;
89#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
90pub type IDR = crate::Reg<idr::IDR_SPEC>;
91#[doc = "Interrupt Disable Register"]
92pub mod idr;
93#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
94pub type IER = crate::Reg<ier::IER_SPEC>;
95#[doc = "Interrupt Enable Register"]
96pub mod ier;
97#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
98pub type IMR = crate::Reg<imr::IMR_SPEC>;
99#[doc = "Interrupt Mask Register"]
100pub mod imr;
101#[doc = "PARAMETER (r) register accessor: an alias for `Reg<PARAMETER_SPEC>`"]
102pub type PARAMETER = crate::Reg<parameter::PARAMETER_SPEC>;
103#[doc = "Parameter Register"]
104pub mod parameter;
105#[doc = "PIR0 (rw) register accessor: an alias for `Reg<PIR0_SPEC>`"]
106pub type PIR0 = crate::Reg<pir0::PIR0_SPEC>;
107#[doc = "Periodic Interval Register 0"]
108pub mod pir0;
109#[doc = "PIR1 (rw) register accessor: an alias for `Reg<PIR1_SPEC>`"]
110pub type PIR1 = crate::Reg<pir1::PIR1_SPEC>;
111#[doc = "Periodic Interval Register 1"]
112pub mod pir1;
113#[doc = "SCR (w) register accessor: an alias for `Reg<SCR_SPEC>`"]
114pub type SCR = crate::Reg<scr::SCR_SPEC>;
115#[doc = "Status Clear Register"]
116pub mod scr;
117#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
118pub type SR = crate::Reg<sr::SR_SPEC>;
119#[doc = "Status Register"]
120pub mod sr;
121#[doc = "VERSION (r) register accessor: an alias for `Reg<VERSION_SPEC>`"]
122pub type VERSION = crate::Reg<version::VERSION_SPEC>;
123#[doc = "Version Register"]
124pub mod version;
125#[doc = "WER (rw) register accessor: an alias for `Reg<WER_SPEC>`"]
126pub type WER = crate::Reg<wer::WER_SPEC>;
127#[doc = "Wake Enable Register"]
128pub mod wer;