atsam4lc8b_pac/
abdacb.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control Register"]
5    pub cr: CR,
6    #[doc = "0x04 - Sample Data Register 0"]
7    pub sdr0: SDR0,
8    #[doc = "0x08 - Sample Data Register 1"]
9    pub sdr1: SDR1,
10    #[doc = "0x0c - Volume Control Register 0"]
11    pub vcr0: VCR0,
12    #[doc = "0x10 - Volume Control Register 1"]
13    pub vcr1: VCR1,
14    #[doc = "0x14 - Interrupt Enable Register"]
15    pub ier: IER,
16    #[doc = "0x18 - Interupt Disable Register"]
17    pub idr: IDR,
18    #[doc = "0x1c - Interrupt Mask Register"]
19    pub imr: IMR,
20    #[doc = "0x20 - Status Register"]
21    pub sr: SR,
22    #[doc = "0x24 - Status Clear Register"]
23    pub scr: SCR,
24    #[doc = "0x28 - Parameter Register"]
25    pub parameter: PARAMETER,
26    #[doc = "0x2c - Version Register"]
27    pub version: VERSION,
28}
29#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
30pub type CR = crate::Reg<cr::CR_SPEC>;
31#[doc = "Control Register"]
32pub mod cr;
33#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
34pub type IDR = crate::Reg<idr::IDR_SPEC>;
35#[doc = "Interupt Disable Register"]
36pub mod idr;
37#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
38pub type IER = crate::Reg<ier::IER_SPEC>;
39#[doc = "Interrupt Enable Register"]
40pub mod ier;
41#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
42pub type IMR = crate::Reg<imr::IMR_SPEC>;
43#[doc = "Interrupt Mask Register"]
44pub mod imr;
45#[doc = "PARAMETER (r) register accessor: an alias for `Reg<PARAMETER_SPEC>`"]
46pub type PARAMETER = crate::Reg<parameter::PARAMETER_SPEC>;
47#[doc = "Parameter Register"]
48pub mod parameter;
49#[doc = "SCR (w) register accessor: an alias for `Reg<SCR_SPEC>`"]
50pub type SCR = crate::Reg<scr::SCR_SPEC>;
51#[doc = "Status Clear Register"]
52pub mod scr;
53#[doc = "SDR0 (rw) register accessor: an alias for `Reg<SDR0_SPEC>`"]
54pub type SDR0 = crate::Reg<sdr0::SDR0_SPEC>;
55#[doc = "Sample Data Register 0"]
56pub mod sdr0;
57#[doc = "SDR1 (rw) register accessor: an alias for `Reg<SDR1_SPEC>`"]
58pub type SDR1 = crate::Reg<sdr1::SDR1_SPEC>;
59#[doc = "Sample Data Register 1"]
60pub mod sdr1;
61#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
62pub type SR = crate::Reg<sr::SR_SPEC>;
63#[doc = "Status Register"]
64pub mod sr;
65#[doc = "VCR0 (rw) register accessor: an alias for `Reg<VCR0_SPEC>`"]
66pub type VCR0 = crate::Reg<vcr0::VCR0_SPEC>;
67#[doc = "Volume Control Register 0"]
68pub mod vcr0;
69#[doc = "VCR1 (rw) register accessor: an alias for `Reg<VCR1_SPEC>`"]
70pub type VCR1 = crate::Reg<vcr1::VCR1_SPEC>;
71#[doc = "Volume Control Register 1"]
72pub mod vcr1;
73#[doc = "VERSION (r) register accessor: an alias for `Reg<VERSION_SPEC>`"]
74pub type VERSION = crate::Reg<version::VERSION_SPEC>;
75#[doc = "Version Register"]
76pub mod version;