#[doc = "Register `SLC1_RX_SHAREMEM_START` reader"]
pub type R = crate::R<SLC1_RX_SHAREMEM_START_SPEC>;
#[doc = "Register `SLC1_RX_SHAREMEM_START` writer"]
pub type W = crate::W<SLC1_RX_SHAREMEM_START_SPEC>;
#[doc = "Field `SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR` reader - Configures SLC1 slave to host channel AHB start address boundary."]
pub type SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR_R = crate::FieldReader<u32>;
#[doc = "Field `SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR` writer - Configures SLC1 slave to host channel AHB start address boundary."]
pub type SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[doc = "Bits 0:31 - Configures SLC1 slave to host channel AHB start address boundary."]
#[inline(always)]
pub fn sdio_sdio_slc1_rx_sharemem_start_addr(&self) -> SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR_R {
SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR_R::new(self.bits)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("SLC1_RX_SHAREMEM_START")
.field(
"sdio_sdio_slc1_rx_sharemem_start_addr",
&self.sdio_sdio_slc1_rx_sharemem_start_addr(),
)
.finish()
}
}
impl W {
#[doc = "Bits 0:31 - Configures SLC1 slave to host channel AHB start address boundary."]
#[inline(always)]
pub fn sdio_sdio_slc1_rx_sharemem_start_addr(
&mut self,
) -> SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR_W<'_, SLC1_RX_SHAREMEM_START_SPEC> {
SDIO_SDIO_SLC1_RX_SHAREMEM_START_ADDR_W::new(self, 0)
}
}
#[doc = "SLC1 AHB RX start address range\n\nYou can [`read`](crate::Reg::read) this register and get [`slc1_rx_sharemem_start::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`slc1_rx_sharemem_start::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct SLC1_RX_SHAREMEM_START_SPEC;
impl crate::RegisterSpec for SLC1_RX_SHAREMEM_START_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`slc1_rx_sharemem_start::R`](R) reader structure"]
impl crate::Readable for SLC1_RX_SHAREMEM_START_SPEC {}
#[doc = "`write(|w| ..)` method takes [`slc1_rx_sharemem_start::W`](W) writer structure"]
impl crate::Writable for SLC1_RX_SHAREMEM_START_SPEC {
type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets SLC1_RX_SHAREMEM_START to value 0"]
impl crate::Resettable for SLC1_RX_SHAREMEM_START_SPEC {}