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