stm32mp1 0.16.0

Device support crates for STM32MP1 devices
Documentation
///Register `IDMACTRLR` reader
pub type R = crate::R<IDMACTRLRrs>;
///Register `IDMACTRLR` writer
pub type W = crate::W<IDMACTRLRrs>;
///Field `IDMAEN` reader - IDMAEN
pub type IDMAEN_R = crate::BitReader;
///Field `IDMAEN` writer - IDMAEN
pub type IDMAEN_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `IDMABMODE` reader - IDMABMODE
pub type IDMABMODE_R = crate::BitReader;
///Field `IDMABMODE` writer - IDMABMODE
pub type IDMABMODE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    ///Bit 0 - IDMAEN
    #[inline(always)]
    pub fn idmaen(&self) -> IDMAEN_R {
        IDMAEN_R::new((self.bits & 1) != 0)
    }
    ///Bit 1 - IDMABMODE
    #[inline(always)]
    pub fn idmabmode(&self) -> IDMABMODE_R {
        IDMABMODE_R::new(((self.bits >> 1) & 1) != 0)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("IDMACTRLR")
            .field("idmaen", &self.idmaen())
            .field("idmabmode", &self.idmabmode())
            .finish()
    }
}
impl W {
    ///Bit 0 - IDMAEN
    #[inline(always)]
    pub fn idmaen(&mut self) -> IDMAEN_W<IDMACTRLRrs> {
        IDMAEN_W::new(self, 0)
    }
    ///Bit 1 - IDMABMODE
    #[inline(always)]
    pub fn idmabmode(&mut self) -> IDMABMODE_W<IDMACTRLRrs> {
        IDMABMODE_W::new(self, 1)
    }
}
/**The receive and transmit FIFOs can be read or written as 32-bit wide registers. The FIFOs contain 32 entries on 32 sequential addresses. This allows the CPU to use its load and store multiple operands to read from/write to the FIFO.

You can [`read`](crate::Reg::read) this register and get [`idmactrlr::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`idmactrlr::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).

See register [structure](https://stm32-rs.github.io/stm32-rs/STM32MP153.html#SDMMC1:IDMACTRLR)*/
pub struct IDMACTRLRrs;
impl crate::RegisterSpec for IDMACTRLRrs {
    type Ux = u32;
}
///`read()` method returns [`idmactrlr::R`](R) reader structure
impl crate::Readable for IDMACTRLRrs {}
///`write(|w| ..)` method takes [`idmactrlr::W`](W) writer structure
impl crate::Writable for IDMACTRLRrs {
    type Safety = crate::Unsafe;
}
///`reset()` method sets IDMACTRLR to value 0
impl crate::Resettable for IDMACTRLRrs {}