#[doc = "Register `OUT_EOF_DES_ADDR` reader"]
pub struct R(crate::R<OUT_EOF_DES_ADDR_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<OUT_EOF_DES_ADDR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<OUT_EOF_DES_ADDR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<OUT_EOF_DES_ADDR_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `DMA_OUT_EOF_DES_ADDR` reader - The last outlink descriptor address when spi dma produce to_eof."]
pub type DMA_OUT_EOF_DES_ADDR_R = crate::FieldReader<u32, u32>;
impl R {
#[doc = "Bits 0:31 - The last outlink descriptor address when spi dma produce to_eof."]
#[inline(always)]
pub fn dma_out_eof_des_addr(&self) -> DMA_OUT_EOF_DES_ADDR_R {
DMA_OUT_EOF_DES_ADDR_R::new(self.bits)
}
}
#[doc = "The latest SPI DMA eof TX descriptor address\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [out_eof_des_addr](index.html) module"]
pub struct OUT_EOF_DES_ADDR_SPEC;
impl crate::RegisterSpec for OUT_EOF_DES_ADDR_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [out_eof_des_addr::R](R) reader structure"]
impl crate::Readable for OUT_EOF_DES_ADDR_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets OUT_EOF_DES_ADDR to value 0"]
impl crate::Resettable for OUT_EOF_DES_ADDR_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}