atsam4lc4c_pac/
crccu.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Descriptor Base Register"]
5    pub dscr: DSCR,
6    _reserved1: [u8; 0x04],
7    #[doc = "0x08 - DMA Enable Register"]
8    pub dmaen: DMAEN,
9    #[doc = "0x0c - DMA Disable Register"]
10    pub dmadis: DMADIS,
11    #[doc = "0x10 - DMA Status Register"]
12    pub dmasr: DMASR,
13    #[doc = "0x14 - DMA Interrupt Enable Register"]
14    pub dmaier: DMAIER,
15    #[doc = "0x18 - DMA Interrupt Disable Register"]
16    pub dmaidr: DMAIDR,
17    #[doc = "0x1c - DMA Interrupt Mask Register"]
18    pub dmaimr: DMAIMR,
19    #[doc = "0x20 - DMA Interrupt Status Register"]
20    pub dmaisr: DMAISR,
21    _reserved8: [u8; 0x10],
22    #[doc = "0x34 - Control Register"]
23    pub cr: CR,
24    #[doc = "0x38 - Mode Register"]
25    pub mr: MR,
26    #[doc = "0x3c - Status Register"]
27    pub sr: SR,
28    #[doc = "0x40 - Interrupt Enable Register"]
29    pub ier: IER,
30    #[doc = "0x44 - Interrupt Disable Register"]
31    pub idr: IDR,
32    #[doc = "0x48 - Interrupt Mask Register"]
33    pub imr: IMR,
34    #[doc = "0x4c - Interrupt Status Register"]
35    pub isr: ISR,
36    _reserved15: [u8; 0xac],
37    #[doc = "0xfc - Version Register"]
38    pub version: VERSION,
39}
40#[doc = "CR (w) register accessor: an alias for `Reg<CR_SPEC>`"]
41pub type CR = crate::Reg<cr::CR_SPEC>;
42#[doc = "Control Register"]
43pub mod cr;
44#[doc = "DMADIS (w) register accessor: an alias for `Reg<DMADIS_SPEC>`"]
45pub type DMADIS = crate::Reg<dmadis::DMADIS_SPEC>;
46#[doc = "DMA Disable Register"]
47pub mod dmadis;
48#[doc = "DMAEN (w) register accessor: an alias for `Reg<DMAEN_SPEC>`"]
49pub type DMAEN = crate::Reg<dmaen::DMAEN_SPEC>;
50#[doc = "DMA Enable Register"]
51pub mod dmaen;
52#[doc = "DMAIDR (w) register accessor: an alias for `Reg<DMAIDR_SPEC>`"]
53pub type DMAIDR = crate::Reg<dmaidr::DMAIDR_SPEC>;
54#[doc = "DMA Interrupt Disable Register"]
55pub mod dmaidr;
56#[doc = "DMAIER (w) register accessor: an alias for `Reg<DMAIER_SPEC>`"]
57pub type DMAIER = crate::Reg<dmaier::DMAIER_SPEC>;
58#[doc = "DMA Interrupt Enable Register"]
59pub mod dmaier;
60#[doc = "DMAIMR (r) register accessor: an alias for `Reg<DMAIMR_SPEC>`"]
61pub type DMAIMR = crate::Reg<dmaimr::DMAIMR_SPEC>;
62#[doc = "DMA Interrupt Mask Register"]
63pub mod dmaimr;
64#[doc = "DMAISR (r) register accessor: an alias for `Reg<DMAISR_SPEC>`"]
65pub type DMAISR = crate::Reg<dmaisr::DMAISR_SPEC>;
66#[doc = "DMA Interrupt Status Register"]
67pub mod dmaisr;
68#[doc = "DMASR (r) register accessor: an alias for `Reg<DMASR_SPEC>`"]
69pub type DMASR = crate::Reg<dmasr::DMASR_SPEC>;
70#[doc = "DMA Status Register"]
71pub mod dmasr;
72#[doc = "DSCR (rw) register accessor: an alias for `Reg<DSCR_SPEC>`"]
73pub type DSCR = crate::Reg<dscr::DSCR_SPEC>;
74#[doc = "Descriptor Base Register"]
75pub mod dscr;
76#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
77pub type IDR = crate::Reg<idr::IDR_SPEC>;
78#[doc = "Interrupt Disable Register"]
79pub mod idr;
80#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
81pub type IER = crate::Reg<ier::IER_SPEC>;
82#[doc = "Interrupt Enable Register"]
83pub mod ier;
84#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
85pub type IMR = crate::Reg<imr::IMR_SPEC>;
86#[doc = "Interrupt Mask Register"]
87pub mod imr;
88#[doc = "ISR (r) register accessor: an alias for `Reg<ISR_SPEC>`"]
89pub type ISR = crate::Reg<isr::ISR_SPEC>;
90#[doc = "Interrupt Status Register"]
91pub mod isr;
92#[doc = "MR (rw) register accessor: an alias for `Reg<MR_SPEC>`"]
93pub type MR = crate::Reg<mr::MR_SPEC>;
94#[doc = "Mode Register"]
95pub mod mr;
96#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
97pub type SR = crate::Reg<sr::SR_SPEC>;
98#[doc = "Status Register"]
99pub mod sr;
100#[doc = "VERSION (r) register accessor: an alias for `Reg<VERSION_SPEC>`"]
101pub type VERSION = crate::Reg<version::VERSION_SPEC>;
102#[doc = "Version Register"]
103pub mod version;