atsam4lc4a_pac/
dacc.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control Register"]
5    pub cr: CR,
6    #[doc = "0x04 - Mode Register"]
7    pub mr: MR,
8    #[doc = "0x08 - Conversion Data Register"]
9    pub cdr: CDR,
10    #[doc = "0x0c - Interrupt Enable Register"]
11    pub ier: IER,
12    #[doc = "0x10 - Interrupt Disable Register"]
13    pub idr: IDR,
14    #[doc = "0x14 - Interrupt Mask Register"]
15    pub imr: IMR,
16    #[doc = "0x18 - Interrupt Status Register"]
17    pub isr: ISR,
18    _reserved7: [u8; 0xc8],
19    #[doc = "0xe4 - Write Protect Mode Register"]
20    pub wpmr: WPMR,
21    #[doc = "0xe8 - Write Protect Status Register"]
22    pub wpsr: WPSR,
23    _reserved9: [u8; 0x10],
24    #[doc = "0xfc - Version Register"]
25    pub version: VERSION,
26}
27#[doc = "CDR (w) register accessor: an alias for `Reg<CDR_SPEC>`"]
28pub type CDR = crate::Reg<cdr::CDR_SPEC>;
29#[doc = "Conversion Data Register"]
30pub mod cdr;
31#[doc = "CR (w) register accessor: an alias for `Reg<CR_SPEC>`"]
32pub type CR = crate::Reg<cr::CR_SPEC>;
33#[doc = "Control Register"]
34pub mod cr;
35#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
36pub type IDR = crate::Reg<idr::IDR_SPEC>;
37#[doc = "Interrupt Disable Register"]
38pub mod idr;
39#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
40pub type IER = crate::Reg<ier::IER_SPEC>;
41#[doc = "Interrupt Enable Register"]
42pub mod ier;
43#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
44pub type IMR = crate::Reg<imr::IMR_SPEC>;
45#[doc = "Interrupt Mask Register"]
46pub mod imr;
47#[doc = "ISR (r) register accessor: an alias for `Reg<ISR_SPEC>`"]
48pub type ISR = crate::Reg<isr::ISR_SPEC>;
49#[doc = "Interrupt Status Register"]
50pub mod isr;
51#[doc = "MR (rw) register accessor: an alias for `Reg<MR_SPEC>`"]
52pub type MR = crate::Reg<mr::MR_SPEC>;
53#[doc = "Mode Register"]
54pub mod mr;
55#[doc = "VERSION (r) register accessor: an alias for `Reg<VERSION_SPEC>`"]
56pub type VERSION = crate::Reg<version::VERSION_SPEC>;
57#[doc = "Version Register"]
58pub mod version;
59#[doc = "WPMR (rw) register accessor: an alias for `Reg<WPMR_SPEC>`"]
60pub type WPMR = crate::Reg<wpmr::WPMR_SPEC>;
61#[doc = "Write Protect Mode Register"]
62pub mod wpmr;
63#[doc = "WPSR (r) register accessor: an alias for `Reg<WPSR_SPEC>`"]
64pub type WPSR = crate::Reg<wpsr::WPSR_SPEC>;
65#[doc = "Write Protect Status Register"]
66pub mod wpsr;