d1_pac/
emac.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    emac_basic_ctl0: EMAC_BASIC_CTL0,
5    emac_basic_ctl1: EMAC_BASIC_CTL1,
6    emac_int_sta: EMAC_INT_STA,
7    emac_int_en: EMAC_INT_EN,
8    emac_tx_ctl0: EMAC_TX_CTL0,
9    emac_tx_ctl1: EMAC_TX_CTL1,
10    _reserved6: [u8; 0x04],
11    emac_tx_flow_ctl: EMAC_TX_FLOW_CTL,
12    emac_tx_dma_desc_list: EMAC_TX_DMA_DESC_LIST,
13    emac_rx_ctl0: EMAC_RX_CTL0,
14    emac_rx_ctl1: EMAC_RX_CTL1,
15    _reserved10: [u8; 0x08],
16    emac_rx_dma_desc_list: EMAC_RX_DMA_DESC_LIST,
17    emac_rx_frm_flt: EMAC_RX_FRM_FLT,
18    _reserved12: [u8; 0x04],
19    emac_rx_hash0: EMAC_RX_HASH0,
20    emac_rx_hash1: EMAC_RX_HASH1,
21    emac_mii_cmd: EMAC_MII_CMD,
22    emac_mii_data: EMAC_MII_DATA,
23    emac_addr_high0: EMAC_ADDR_HIGH0,
24    emac_addr_low: (),
25    _reserved18: [u8; 0x04],
26    emac_addr_high: (),
27    _reserved19: [u8; 0x58],
28    emac_tx_dma_sta: EMAC_TX_DMA_STA,
29    emac_tx_cur_desc: EMAC_TX_CUR_DESC,
30    emac_tx_cur_buf: EMAC_TX_CUR_BUF,
31    _reserved22: [u8; 0x04],
32    emac_rx_dma_sta: EMAC_RX_DMA_STA,
33    emac_rx_cur_desc: EMAC_RX_CUR_DESC,
34    emac_rx_cur_buf: EMAC_RX_CUR_BUF,
35    _reserved25: [u8; 0x04],
36    emac_rgmii_sta: EMAC_RGMII_STA,
37}
38impl RegisterBlock {
39    #[doc = "0x00 - EMAC Basic Control Register0"]
40    #[inline(always)]
41    pub const fn emac_basic_ctl0(&self) -> &EMAC_BASIC_CTL0 {
42        &self.emac_basic_ctl0
43    }
44    #[doc = "0x04 - EMAC Basic Control Register1"]
45    #[inline(always)]
46    pub const fn emac_basic_ctl1(&self) -> &EMAC_BASIC_CTL1 {
47        &self.emac_basic_ctl1
48    }
49    #[doc = "0x08 - EMAC Interrupt Status Register"]
50    #[inline(always)]
51    pub const fn emac_int_sta(&self) -> &EMAC_INT_STA {
52        &self.emac_int_sta
53    }
54    #[doc = "0x0c - EMAC Interrupt Enable Register"]
55    #[inline(always)]
56    pub const fn emac_int_en(&self) -> &EMAC_INT_EN {
57        &self.emac_int_en
58    }
59    #[doc = "0x10 - EMAC Transmit Control Register0"]
60    #[inline(always)]
61    pub const fn emac_tx_ctl0(&self) -> &EMAC_TX_CTL0 {
62        &self.emac_tx_ctl0
63    }
64    #[doc = "0x14 - EMAC Transmit Control Register1"]
65    #[inline(always)]
66    pub const fn emac_tx_ctl1(&self) -> &EMAC_TX_CTL1 {
67        &self.emac_tx_ctl1
68    }
69    #[doc = "0x1c - EMAC Transmit Flow Control Register"]
70    #[inline(always)]
71    pub const fn emac_tx_flow_ctl(&self) -> &EMAC_TX_FLOW_CTL {
72        &self.emac_tx_flow_ctl
73    }
74    #[doc = "0x20 - EMAC Transmit Descriptor List Address Register"]
75    #[inline(always)]
76    pub const fn emac_tx_dma_desc_list(&self) -> &EMAC_TX_DMA_DESC_LIST {
77        &self.emac_tx_dma_desc_list
78    }
79    #[doc = "0x24 - EMAC Receive Control Register0"]
80    #[inline(always)]
81    pub const fn emac_rx_ctl0(&self) -> &EMAC_RX_CTL0 {
82        &self.emac_rx_ctl0
83    }
84    #[doc = "0x28 - EMAC Receive Control Register1"]
85    #[inline(always)]
86    pub const fn emac_rx_ctl1(&self) -> &EMAC_RX_CTL1 {
87        &self.emac_rx_ctl1
88    }
89    #[doc = "0x34 - EMAC Receive Descriptor List Address Register"]
90    #[inline(always)]
91    pub const fn emac_rx_dma_desc_list(&self) -> &EMAC_RX_DMA_DESC_LIST {
92        &self.emac_rx_dma_desc_list
93    }
94    #[doc = "0x38 - EMAC Receive Frame Filter Register"]
95    #[inline(always)]
96    pub const fn emac_rx_frm_flt(&self) -> &EMAC_RX_FRM_FLT {
97        &self.emac_rx_frm_flt
98    }
99    #[doc = "0x40 - EMAC Hash Table Register0"]
100    #[inline(always)]
101    pub const fn emac_rx_hash0(&self) -> &EMAC_RX_HASH0 {
102        &self.emac_rx_hash0
103    }
104    #[doc = "0x44 - EMAC Hash Table Register1"]
105    #[inline(always)]
106    pub const fn emac_rx_hash1(&self) -> &EMAC_RX_HASH1 {
107        &self.emac_rx_hash1
108    }
109    #[doc = "0x48 - EMAC Management Interface Command Register"]
110    #[inline(always)]
111    pub const fn emac_mii_cmd(&self) -> &EMAC_MII_CMD {
112        &self.emac_mii_cmd
113    }
114    #[doc = "0x4c - EMAC Management Interface Data Register"]
115    #[inline(always)]
116    pub const fn emac_mii_data(&self) -> &EMAC_MII_DATA {
117        &self.emac_mii_data
118    }
119    #[doc = "0x50 - EMAC MAC Address High Register"]
120    #[inline(always)]
121    pub const fn emac_addr_high0(&self) -> &EMAC_ADDR_HIGH0 {
122        &self.emac_addr_high0
123    }
124    #[doc = "0x54..0x74 - EMAC MAC Address Low Register"]
125    #[inline(always)]
126    pub const fn emac_addr_low(&self, n: usize) -> &EMAC_ADDR_LOW {
127        #[allow(clippy::no_effect)]
128        [(); 8][n];
129        unsafe { &*(self as *const Self).cast::<u8>().add(84).add(8 * n).cast() }
130    }
131    #[doc = "0x58..0x74 - EMAC MAC Address High Register"]
132    #[inline(always)]
133    pub const fn emac_addr_high(&self, n: usize) -> &EMAC_ADDR_HIGH {
134        #[allow(clippy::no_effect)]
135        [(); 7][n];
136        unsafe { &*(self as *const Self).cast::<u8>().add(88).add(8 * n).cast() }
137    }
138    #[doc = "0x58 - EMAC MAC Address High Register"]
139    #[inline(always)]
140    pub const fn emac_addr_high1(&self) -> &EMAC_ADDR_HIGH {
141        self.emac_addr_high(0)
142    }
143    #[doc = "0x60 - EMAC MAC Address High Register"]
144    #[inline(always)]
145    pub const fn emac_addr_high2(&self) -> &EMAC_ADDR_HIGH {
146        self.emac_addr_high(1)
147    }
148    #[doc = "0x68 - EMAC MAC Address High Register"]
149    #[inline(always)]
150    pub const fn emac_addr_high3(&self) -> &EMAC_ADDR_HIGH {
151        self.emac_addr_high(2)
152    }
153    #[doc = "0x70 - EMAC MAC Address High Register"]
154    #[inline(always)]
155    pub const fn emac_addr_high4(&self) -> &EMAC_ADDR_HIGH {
156        self.emac_addr_high(3)
157    }
158    #[doc = "0x78 - EMAC MAC Address High Register"]
159    #[inline(always)]
160    pub const fn emac_addr_high5(&self) -> &EMAC_ADDR_HIGH {
161        self.emac_addr_high(4)
162    }
163    #[doc = "0x80 - EMAC MAC Address High Register"]
164    #[inline(always)]
165    pub const fn emac_addr_high6(&self) -> &EMAC_ADDR_HIGH {
166        self.emac_addr_high(5)
167    }
168    #[doc = "0x88 - EMAC MAC Address High Register"]
169    #[inline(always)]
170    pub const fn emac_addr_high7(&self) -> &EMAC_ADDR_HIGH {
171        self.emac_addr_high(6)
172    }
173    #[doc = "0xb0 - EMAC Transmit DMA Status Register"]
174    #[inline(always)]
175    pub const fn emac_tx_dma_sta(&self) -> &EMAC_TX_DMA_STA {
176        &self.emac_tx_dma_sta
177    }
178    #[doc = "0xb4 - EMAC Current Transmit Descriptor Register"]
179    #[inline(always)]
180    pub const fn emac_tx_cur_desc(&self) -> &EMAC_TX_CUR_DESC {
181        &self.emac_tx_cur_desc
182    }
183    #[doc = "0xb8 - EMAC Current Transmit Buffer Address Register"]
184    #[inline(always)]
185    pub const fn emac_tx_cur_buf(&self) -> &EMAC_TX_CUR_BUF {
186        &self.emac_tx_cur_buf
187    }
188    #[doc = "0xc0 - EMAC Receive DMA Status Register"]
189    #[inline(always)]
190    pub const fn emac_rx_dma_sta(&self) -> &EMAC_RX_DMA_STA {
191        &self.emac_rx_dma_sta
192    }
193    #[doc = "0xc4 - EMAC Current Receive Descriptor Register"]
194    #[inline(always)]
195    pub const fn emac_rx_cur_desc(&self) -> &EMAC_RX_CUR_DESC {
196        &self.emac_rx_cur_desc
197    }
198    #[doc = "0xc8 - EMAC Current Receive Buffer Address Register"]
199    #[inline(always)]
200    pub const fn emac_rx_cur_buf(&self) -> &EMAC_RX_CUR_BUF {
201        &self.emac_rx_cur_buf
202    }
203    #[doc = "0xd0 - EMAC RGMII Status Register"]
204    #[inline(always)]
205    pub const fn emac_rgmii_sta(&self) -> &EMAC_RGMII_STA {
206        &self.emac_rgmii_sta
207    }
208}
209#[doc = "emac_basic_ctl0 (rw) register accessor: EMAC Basic Control Register0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_basic_ctl0::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_basic_ctl0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_basic_ctl0`] module"]
210pub type EMAC_BASIC_CTL0 = crate::Reg<emac_basic_ctl0::EMAC_BASIC_CTL0_SPEC>;
211#[doc = "EMAC Basic Control Register0"]
212pub mod emac_basic_ctl0;
213#[doc = "emac_basic_ctl1 (rw) register accessor: EMAC Basic Control Register1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_basic_ctl1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_basic_ctl1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_basic_ctl1`] module"]
214pub type EMAC_BASIC_CTL1 = crate::Reg<emac_basic_ctl1::EMAC_BASIC_CTL1_SPEC>;
215#[doc = "EMAC Basic Control Register1"]
216pub mod emac_basic_ctl1;
217#[doc = "emac_int_sta (rw) register accessor: EMAC Interrupt Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_int_sta::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_int_sta::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_int_sta`] module"]
218pub type EMAC_INT_STA = crate::Reg<emac_int_sta::EMAC_INT_STA_SPEC>;
219#[doc = "EMAC Interrupt Status Register"]
220pub mod emac_int_sta;
221#[doc = "emac_int_en (rw) register accessor: EMAC Interrupt Enable Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_int_en::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_int_en::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_int_en`] module"]
222pub type EMAC_INT_EN = crate::Reg<emac_int_en::EMAC_INT_EN_SPEC>;
223#[doc = "EMAC Interrupt Enable Register"]
224pub mod emac_int_en;
225#[doc = "emac_tx_ctl0 (rw) register accessor: EMAC Transmit Control Register0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_tx_ctl0::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_tx_ctl0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_tx_ctl0`] module"]
226pub type EMAC_TX_CTL0 = crate::Reg<emac_tx_ctl0::EMAC_TX_CTL0_SPEC>;
227#[doc = "EMAC Transmit Control Register0"]
228pub mod emac_tx_ctl0;
229#[doc = "emac_tx_ctl1 (rw) register accessor: EMAC Transmit Control Register1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_tx_ctl1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_tx_ctl1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_tx_ctl1`] module"]
230pub type EMAC_TX_CTL1 = crate::Reg<emac_tx_ctl1::EMAC_TX_CTL1_SPEC>;
231#[doc = "EMAC Transmit Control Register1"]
232pub mod emac_tx_ctl1;
233#[doc = "emac_tx_flow_ctl (rw) register accessor: EMAC Transmit Flow Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_tx_flow_ctl::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_tx_flow_ctl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_tx_flow_ctl`] module"]
234pub type EMAC_TX_FLOW_CTL = crate::Reg<emac_tx_flow_ctl::EMAC_TX_FLOW_CTL_SPEC>;
235#[doc = "EMAC Transmit Flow Control Register"]
236pub mod emac_tx_flow_ctl;
237#[doc = "emac_tx_dma_desc_list (rw) register accessor: EMAC Transmit Descriptor List Address Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_tx_dma_desc_list::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_tx_dma_desc_list::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_tx_dma_desc_list`] module"]
238pub type EMAC_TX_DMA_DESC_LIST = crate::Reg<emac_tx_dma_desc_list::EMAC_TX_DMA_DESC_LIST_SPEC>;
239#[doc = "EMAC Transmit Descriptor List Address Register"]
240pub mod emac_tx_dma_desc_list;
241#[doc = "emac_rx_ctl0 (rw) register accessor: EMAC Receive Control Register0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_ctl0::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_rx_ctl0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_ctl0`] module"]
242pub type EMAC_RX_CTL0 = crate::Reg<emac_rx_ctl0::EMAC_RX_CTL0_SPEC>;
243#[doc = "EMAC Receive Control Register0"]
244pub mod emac_rx_ctl0;
245#[doc = "emac_rx_ctl1 (rw) register accessor: EMAC Receive Control Register1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_ctl1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_rx_ctl1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_ctl1`] module"]
246pub type EMAC_RX_CTL1 = crate::Reg<emac_rx_ctl1::EMAC_RX_CTL1_SPEC>;
247#[doc = "EMAC Receive Control Register1"]
248pub mod emac_rx_ctl1;
249#[doc = "emac_rx_dma_desc_list (rw) register accessor: EMAC Receive Descriptor List Address Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_dma_desc_list::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_rx_dma_desc_list::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_dma_desc_list`] module"]
250pub type EMAC_RX_DMA_DESC_LIST = crate::Reg<emac_rx_dma_desc_list::EMAC_RX_DMA_DESC_LIST_SPEC>;
251#[doc = "EMAC Receive Descriptor List Address Register"]
252pub mod emac_rx_dma_desc_list;
253#[doc = "emac_rx_frm_flt (rw) register accessor: EMAC Receive Frame Filter Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_frm_flt::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_rx_frm_flt::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_frm_flt`] module"]
254pub type EMAC_RX_FRM_FLT = crate::Reg<emac_rx_frm_flt::EMAC_RX_FRM_FLT_SPEC>;
255#[doc = "EMAC Receive Frame Filter Register"]
256pub mod emac_rx_frm_flt;
257#[doc = "emac_rx_hash0 (rw) register accessor: EMAC Hash Table Register0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_hash0::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_rx_hash0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_hash0`] module"]
258pub type EMAC_RX_HASH0 = crate::Reg<emac_rx_hash0::EMAC_RX_HASH0_SPEC>;
259#[doc = "EMAC Hash Table Register0"]
260pub mod emac_rx_hash0;
261#[doc = "emac_rx_hash1 (rw) register accessor: EMAC Hash Table Register1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_hash1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_rx_hash1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_hash1`] module"]
262pub type EMAC_RX_HASH1 = crate::Reg<emac_rx_hash1::EMAC_RX_HASH1_SPEC>;
263#[doc = "EMAC Hash Table Register1"]
264pub mod emac_rx_hash1;
265#[doc = "emac_mii_cmd (rw) register accessor: EMAC Management Interface Command Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_mii_cmd::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_mii_cmd::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_mii_cmd`] module"]
266pub type EMAC_MII_CMD = crate::Reg<emac_mii_cmd::EMAC_MII_CMD_SPEC>;
267#[doc = "EMAC Management Interface Command Register"]
268pub mod emac_mii_cmd;
269#[doc = "emac_mii_data (rw) register accessor: EMAC Management Interface Data Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_mii_data::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_mii_data::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_mii_data`] module"]
270pub type EMAC_MII_DATA = crate::Reg<emac_mii_data::EMAC_MII_DATA_SPEC>;
271#[doc = "EMAC Management Interface Data Register"]
272pub mod emac_mii_data;
273#[doc = "emac_addr_high0 (rw) register accessor: EMAC MAC Address High Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_addr_high0::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_addr_high0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_addr_high0`] module"]
274pub type EMAC_ADDR_HIGH0 = crate::Reg<emac_addr_high0::EMAC_ADDR_HIGH0_SPEC>;
275#[doc = "EMAC MAC Address High Register"]
276pub mod emac_addr_high0;
277#[doc = "emac_addr_high (rw) register accessor: EMAC MAC Address High Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_addr_high::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_addr_high::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_addr_high`] module"]
278pub type EMAC_ADDR_HIGH = crate::Reg<emac_addr_high::EMAC_ADDR_HIGH_SPEC>;
279#[doc = "EMAC MAC Address High Register"]
280pub mod emac_addr_high;
281#[doc = "emac_addr_low (rw) register accessor: EMAC MAC Address Low Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_addr_low::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_addr_low::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_addr_low`] module"]
282pub type EMAC_ADDR_LOW = crate::Reg<emac_addr_low::EMAC_ADDR_LOW_SPEC>;
283#[doc = "EMAC MAC Address Low Register"]
284pub mod emac_addr_low;
285#[doc = "emac_tx_dma_sta (r) register accessor: EMAC Transmit DMA Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_tx_dma_sta::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_tx_dma_sta`] module"]
286pub type EMAC_TX_DMA_STA = crate::Reg<emac_tx_dma_sta::EMAC_TX_DMA_STA_SPEC>;
287#[doc = "EMAC Transmit DMA Status Register"]
288pub mod emac_tx_dma_sta;
289#[doc = "emac_tx_cur_desc (r) register accessor: EMAC Current Transmit Descriptor Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_tx_cur_desc::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_tx_cur_desc`] module"]
290pub type EMAC_TX_CUR_DESC = crate::Reg<emac_tx_cur_desc::EMAC_TX_CUR_DESC_SPEC>;
291#[doc = "EMAC Current Transmit Descriptor Register"]
292pub mod emac_tx_cur_desc;
293#[doc = "emac_tx_cur_buf (r) register accessor: EMAC Current Transmit Buffer Address Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_tx_cur_buf::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_tx_cur_buf`] module"]
294pub type EMAC_TX_CUR_BUF = crate::Reg<emac_tx_cur_buf::EMAC_TX_CUR_BUF_SPEC>;
295#[doc = "EMAC Current Transmit Buffer Address Register"]
296pub mod emac_tx_cur_buf;
297#[doc = "emac_rx_dma_sta (r) register accessor: EMAC Receive DMA Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_dma_sta::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_dma_sta`] module"]
298pub type EMAC_RX_DMA_STA = crate::Reg<emac_rx_dma_sta::EMAC_RX_DMA_STA_SPEC>;
299#[doc = "EMAC Receive DMA Status Register"]
300pub mod emac_rx_dma_sta;
301#[doc = "emac_rx_cur_desc (r) register accessor: EMAC Current Receive Descriptor Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_cur_desc::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_cur_desc`] module"]
302pub type EMAC_RX_CUR_DESC = crate::Reg<emac_rx_cur_desc::EMAC_RX_CUR_DESC_SPEC>;
303#[doc = "EMAC Current Receive Descriptor Register"]
304pub mod emac_rx_cur_desc;
305#[doc = "emac_rx_cur_buf (r) register accessor: EMAC Current Receive Buffer Address Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rx_cur_buf::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rx_cur_buf`] module"]
306pub type EMAC_RX_CUR_BUF = crate::Reg<emac_rx_cur_buf::EMAC_RX_CUR_BUF_SPEC>;
307#[doc = "EMAC Current Receive Buffer Address Register"]
308pub mod emac_rx_cur_buf;
309#[doc = "emac_rgmii_sta (rw) register accessor: EMAC RGMII Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`emac_rgmii_sta::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`emac_rgmii_sta::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@emac_rgmii_sta`] module"]
310pub type EMAC_RGMII_STA = crate::Reg<emac_rgmii_sta::EMAC_RGMII_STA_SPEC>;
311#[doc = "EMAC RGMII Status Register"]
312pub mod emac_rgmii_sta;