1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Decompressor peripheral configuration"]
5 pub config: CONFIG,
6 _reserved1: [u8; 0x0c],
7 #[doc = "0x10 - Writes source address before decompression"]
8 pub source_start: SOURCE_START,
9 #[doc = "0x14 - Reads the end address of source after decompression"]
10 pub source_end: SOURCE_END,
11 #[doc = "0x18 - Writes destination address before decompression"]
12 pub destination_start: DESTINATION_START,
13 #[doc = "0x1c - Reads the end address of destination after decompression"]
14 pub destination_end: DESTINATION_END,
15 #[doc = "0x20 - Interrupt enable register"]
16 pub interrupt_enable: INTERRUPT_ENABLE,
17 #[doc = "0x24 - Interrupt state register"]
18 pub interrupt_state: INTERRUPT_STATE,
19}
20#[doc = "config (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
21pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
22#[doc = "Decompressor peripheral configuration"]
23pub mod config;
24#[doc = "source_start (rw) register accessor: an alias for `Reg<SOURCE_START_SPEC>`"]
25pub type SOURCE_START = crate::Reg<source_start::SOURCE_START_SPEC>;
26#[doc = "Writes source address before decompression"]
27pub mod source_start;
28#[doc = "source_end (r) register accessor: an alias for `Reg<SOURCE_END_SPEC>`"]
29pub type SOURCE_END = crate::Reg<source_end::SOURCE_END_SPEC>;
30#[doc = "Reads the end address of source after decompression"]
31pub mod source_end;
32#[doc = "destination_start (rw) register accessor: an alias for `Reg<DESTINATION_START_SPEC>`"]
33pub type DESTINATION_START = crate::Reg<destination_start::DESTINATION_START_SPEC>;
34#[doc = "Writes destination address before decompression"]
35pub mod destination_start;
36#[doc = "destination_end (r) register accessor: an alias for `Reg<DESTINATION_END_SPEC>`"]
37pub type DESTINATION_END = crate::Reg<destination_end::DESTINATION_END_SPEC>;
38#[doc = "Reads the end address of destination after decompression"]
39pub mod destination_end;
40#[doc = "interrupt_enable (rw) register accessor: an alias for `Reg<INTERRUPT_ENABLE_SPEC>`"]
41pub type INTERRUPT_ENABLE = crate::Reg<interrupt_enable::INTERRUPT_ENABLE_SPEC>;
42#[doc = "Interrupt enable register"]
43pub mod interrupt_enable;
44#[doc = "interrupt_state (r) register accessor: an alias for `Reg<INTERRUPT_STATE_SPEC>`"]
45pub type INTERRUPT_STATE = crate::Reg<interrupt_state::INTERRUPT_STATE_SPEC>;
46#[doc = "Interrupt state register"]
47pub mod interrupt_state;