esp32s2/wifi/
rx_dma_list.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "RX_DMA_LIST"]
4pub struct RX_DMA_LIST {
5    rx_descr_base: RX_DESCR_BASE,
6    rx_descr_next: RX_DESCR_NEXT,
7    rx_descr_last: RX_DESCR_LAST,
8}
9impl RX_DMA_LIST {
10    #[doc = "0x00 - base address of the RX DMA list"]
11    #[inline(always)]
12    pub const fn rx_descr_base(&self) -> &RX_DESCR_BASE {
13        &self.rx_descr_base
14    }
15    #[doc = "0x04 - next item in the RX DMA list"]
16    #[inline(always)]
17    pub const fn rx_descr_next(&self) -> &RX_DESCR_NEXT {
18        &self.rx_descr_next
19    }
20    #[doc = "0x08 - last item in RX DMA list"]
21    #[inline(always)]
22    pub const fn rx_descr_last(&self) -> &RX_DESCR_LAST {
23        &self.rx_descr_last
24    }
25}
26#[doc = "RX_DESCR_BASE (rw) register accessor: base address of the RX DMA list\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_descr_base::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_descr_base::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@rx_descr_base`] module"]
27pub type RX_DESCR_BASE = crate::Reg<rx_descr_base::RX_DESCR_BASE_SPEC>;
28#[doc = "base address of the RX DMA list"]
29pub mod rx_descr_base;
30#[doc = "RX_DESCR_NEXT (rw) register accessor: next item in the RX DMA list\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_descr_next::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_descr_next::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@rx_descr_next`] module"]
31pub type RX_DESCR_NEXT = crate::Reg<rx_descr_next::RX_DESCR_NEXT_SPEC>;
32#[doc = "next item in the RX DMA list"]
33pub mod rx_descr_next;
34#[doc = "RX_DESCR_LAST (rw) register accessor: last item in RX DMA list\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_descr_last::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_descr_last::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@rx_descr_last`] module"]
35pub type RX_DESCR_LAST = crate::Reg<rx_descr_last::RX_DESCR_LAST_SPEC>;
36#[doc = "last item in RX DMA list"]
37pub mod rx_descr_last;