1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 tar0_low: TAR0_LOW,
6 tar0_high: TAR0_HIGH,
7 _reserved2: [u8; 0x08],
8 update: UPDATE,
9 main_buf0_low: MAIN_BUF0_LOW,
10 main_buf0_high: MAIN_BUF0_HIGH,
11 main_buf1_low: MAIN_BUF1_LOW,
12 main_buf1_high: MAIN_BUF1_HIGH,
13 main_overflow: MAIN_OVERFLOW,
14 int_raw: INT_RAW,
15 int_st: INT_ST,
16 int_ena: INT_ENA,
17 int_clr: INT_CLR,
18 _reserved12: [u8; 0x03c4],
19 date: DATE,
20}
21impl RegisterBlock {
22 #[doc = "0x00 - need_des"]
23 #[inline(always)]
24 pub const fn tar0_low(&self) -> &TAR0_LOW {
25 &self.tar0_low
26 }
27 #[doc = "0x04 - need_des"]
28 #[inline(always)]
29 pub const fn tar0_high(&self) -> &TAR0_HIGH {
30 &self.tar0_high
31 }
32 #[doc = "0x10 - need_des"]
33 #[inline(always)]
34 pub const fn update(&self) -> &UPDATE {
35 &self.update
36 }
37 #[doc = "0x14 - need_des"]
38 #[inline(always)]
39 pub const fn main_buf0_low(&self) -> &MAIN_BUF0_LOW {
40 &self.main_buf0_low
41 }
42 #[doc = "0x18 - need_des"]
43 #[inline(always)]
44 pub const fn main_buf0_high(&self) -> &MAIN_BUF0_HIGH {
45 &self.main_buf0_high
46 }
47 #[doc = "0x1c - need_des"]
48 #[inline(always)]
49 pub const fn main_buf1_low(&self) -> &MAIN_BUF1_LOW {
50 &self.main_buf1_low
51 }
52 #[doc = "0x20 - need_des"]
53 #[inline(always)]
54 pub const fn main_buf1_high(&self) -> &MAIN_BUF1_HIGH {
55 &self.main_buf1_high
56 }
57 #[doc = "0x24 - need_des"]
58 #[inline(always)]
59 pub const fn main_overflow(&self) -> &MAIN_OVERFLOW {
60 &self.main_overflow
61 }
62 #[doc = "0x28 - need_des"]
63 #[inline(always)]
64 pub const fn int_raw(&self) -> &INT_RAW {
65 &self.int_raw
66 }
67 #[doc = "0x2c - need_des"]
68 #[inline(always)]
69 pub const fn int_st(&self) -> &INT_ST {
70 &self.int_st
71 }
72 #[doc = "0x30 - need_des"]
73 #[inline(always)]
74 pub const fn int_ena(&self) -> &INT_ENA {
75 &self.int_ena
76 }
77 #[doc = "0x34 - need_des"]
78 #[inline(always)]
79 pub const fn int_clr(&self) -> &INT_CLR {
80 &self.int_clr
81 }
82 #[doc = "0x3fc - need_des"]
83 #[inline(always)]
84 pub const fn date(&self) -> &DATE {
85 &self.date
86 }
87}
88#[doc = "TAR0_LOW (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`tar0_low::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tar0_low::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tar0_low`] module"]
89pub type TAR0_LOW = crate::Reg<tar0_low::TAR0_LOW_SPEC>;
90#[doc = "need_des"]
91pub mod tar0_low;
92#[doc = "TAR0_HIGH (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`tar0_high::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tar0_high::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tar0_high`] module"]
93pub type TAR0_HIGH = crate::Reg<tar0_high::TAR0_HIGH_SPEC>;
94#[doc = "need_des"]
95pub mod tar0_high;
96#[doc = "UPDATE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`update::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`update::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@update`] module"]
97pub type UPDATE = crate::Reg<update::UPDATE_SPEC>;
98#[doc = "need_des"]
99pub mod update;
100#[doc = "MAIN_BUF0_LOW (r) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`main_buf0_low::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@main_buf0_low`] module"]
101pub type MAIN_BUF0_LOW = crate::Reg<main_buf0_low::MAIN_BUF0_LOW_SPEC>;
102#[doc = "need_des"]
103pub mod main_buf0_low;
104#[doc = "MAIN_BUF0_HIGH (r) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`main_buf0_high::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@main_buf0_high`] module"]
105pub type MAIN_BUF0_HIGH = crate::Reg<main_buf0_high::MAIN_BUF0_HIGH_SPEC>;
106#[doc = "need_des"]
107pub mod main_buf0_high;
108#[doc = "MAIN_BUF1_LOW (r) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`main_buf1_low::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@main_buf1_low`] module"]
109pub type MAIN_BUF1_LOW = crate::Reg<main_buf1_low::MAIN_BUF1_LOW_SPEC>;
110#[doc = "need_des"]
111pub mod main_buf1_low;
112#[doc = "MAIN_BUF1_HIGH (r) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`main_buf1_high::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@main_buf1_high`] module"]
113pub type MAIN_BUF1_HIGH = crate::Reg<main_buf1_high::MAIN_BUF1_HIGH_SPEC>;
114#[doc = "need_des"]
115pub mod main_buf1_high;
116#[doc = "MAIN_OVERFLOW (w) register accessor: need_des\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`main_overflow::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@main_overflow`] module"]
117pub type MAIN_OVERFLOW = crate::Reg<main_overflow::MAIN_OVERFLOW_SPEC>;
118#[doc = "need_des"]
119pub mod main_overflow;
120#[doc = "INT_RAW (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`int_raw::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_raw::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_raw`] module"]
121pub type INT_RAW = crate::Reg<int_raw::INT_RAW_SPEC>;
122#[doc = "need_des"]
123pub mod int_raw;
124#[doc = "INT_ST (r) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`int_st::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_st`] module"]
125pub type INT_ST = crate::Reg<int_st::INT_ST_SPEC>;
126#[doc = "need_des"]
127pub mod int_st;
128#[doc = "INT_ENA (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`int_ena::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_ena::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_ena`] module"]
129pub type INT_ENA = crate::Reg<int_ena::INT_ENA_SPEC>;
130#[doc = "need_des"]
131pub mod int_ena;
132#[doc = "INT_CLR (w) register accessor: need_des\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_clr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_clr`] module"]
133pub type INT_CLR = crate::Reg<int_clr::INT_CLR_SPEC>;
134#[doc = "need_des"]
135pub mod int_clr;
136#[doc = "DATE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`date::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`date::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@date`] module"]
137pub type DATE = crate::Reg<date::DATE_SPEC>;
138#[doc = "need_des"]
139pub mod date;